]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/html_wrap.cpp
reSWIGged
[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
7e08d4ef 12#define SWIG_VERSION 0x010327
d14a1e28
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d14a1e28
RD
28#endif
29
32fe5131
RD
30/***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
d14a1e28 36
32fe5131
RD
37/* template workaround for compilers that cannot correctly implement the C++ standard */
38#ifndef SWIGTEMPLATEDISAMBIGUATOR
39# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 41# else
32fe5131 42# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
43# endif
44#endif
d14a1e28 45
32fe5131
RD
46/* inline attribute */
47#ifndef SWIGINLINE
48# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49# define SWIGINLINE inline
50# else
51# define SWIGINLINE
52# endif
53#endif
54
55/* attribute recognised by some compilers to avoid 'unused' warnings */
56#ifndef SWIGUNUSED
57# if defined(__GNUC__) || defined(__ICC)
58# define SWIGUNUSED __attribute__ ((unused))
59# else
60# define SWIGUNUSED
61# endif
62#endif
63
64/* internal SWIG method */
65#ifndef SWIGINTERN
66# define SWIGINTERN static SWIGUNUSED
67#endif
68
69/* internal inline SWIG method */
70#ifndef SWIGINTERNINLINE
71# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72#endif
73
74/* exporting methods for Windows DLLs */
75#ifndef SWIGEXPORT
76# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77# if defined(STATIC_LINKED)
78# define SWIGEXPORT
79# else
80# define SWIGEXPORT __declspec(dllexport)
81# endif
82# else
83# define SWIGEXPORT
84# endif
85#endif
86
87/* calling conventions for Windows */
88#ifndef SWIGSTDCALL
89# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90# define SWIGSTDCALL __stdcall
91# else
92# define SWIGSTDCALL
93# endif
94#endif
95
96
9fd4be55 97
36ed4f51 98#include <Python.h>
d14a1e28
RD
99
100/***********************************************************************
36ed4f51 101 * swigrun.swg
d14a1e28 102 *
36ed4f51
RD
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
d14a1e28
RD
105 *
106 ************************************************************************/
107
36ed4f51
RD
108/* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
32fe5131 110#define SWIG_RUNTIME_VERSION "2"
d14a1e28 111
36ed4f51
RD
112/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113#ifdef SWIG_TYPE_TABLE
32fe5131
RD
114# define SWIG_QUOTE_STRING(x) #x
115# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 117#else
32fe5131 118# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
119#endif
120
121/*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128*/
32fe5131 129
36ed4f51 130#ifndef SWIGRUNTIME
32fe5131 131# define SWIGRUNTIME SWIGINTERN
36ed4f51 132#endif
32fe5131 133
36ed4f51 134#ifndef SWIGRUNTIMEINLINE
32fe5131 135# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
136#endif
137
32fe5131
RD
138#include <string.h>
139
d14a1e28
RD
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144typedef void *(*swig_converter_func)(void *);
145typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
32fe5131 147/* Structure to store inforomation on one type */
d14a1e28 148typedef struct swig_type_info {
32fe5131
RD
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
d14a1e28
RD
154} swig_type_info;
155
32fe5131
RD
156/* Structure to store a type and conversion function used for casting */
157typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162} swig_cast_info;
163
164/* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174} swig_module_info;
175
176
36ed4f51
RD
177/*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183*/
184SWIGRUNTIME int
185SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 190 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
191 }
192 return (l1 - f1) - (l2 - f2);
193}
194
195/*
196 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 197 Return 0 if not equal, 1 if equal
36ed4f51
RD
198*/
199SWIGRUNTIME int
200SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
32fe5131 208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
209 if (*ne) ++ne;
210 }
211 return equiv;
212}
213
214/*
32fe5131
RD
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 217*/
32fe5131
RD
218SWIGRUNTIME int
219SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
36ed4f51 226 }
32fe5131
RD
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
36ed4f51 229 }
32fe5131 230 return equiv;
36ed4f51
RD
231}
232
32fe5131
RD
233
234/* think of this as a c++ template<> or a scheme macro */
235#define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
36ed4f51
RD
256/*
257 Check the typename
258*/
32fe5131 259SWIGRUNTIME swig_cast_info *
36ed4f51 260SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262}
263
264/* Same as previous function, except strcmp is replaced with a pointer comparison */
265SWIGRUNTIME swig_cast_info *
266SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
268}
269
270/*
271 Cast a pointer up an inheritance hierarchy
272*/
273SWIGRUNTIMEINLINE void *
32fe5131 274SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276}
277
278/*
279 Dynamic pointer casting. Down an inheritance hierarchy
280*/
281SWIGRUNTIME swig_type_info *
282SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290}
291
292/*
293 Return the name associated with this type
294*/
295SWIGRUNTIMEINLINE const char *
296SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298}
299
300/*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303*/
304SWIGRUNTIME const char *
305SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319}
320
36ed4f51
RD
321/*
322 Set the clientdata field for a type
323*/
324SWIGRUNTIME void
32fe5131
RD
325SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
36ed4f51
RD
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
32fe5131
RD
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
36ed4f51 335 }
32fe5131
RD
336 }
337 cast = cast->next;
338 }
339}
340
341/*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348*/
349SWIGRUNTIME swig_type_info *
350SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
36ed4f51 379 }
32fe5131
RD
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383}
384
385/*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393*/
394SWIGRUNTIME swig_type_info *
395SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
36ed4f51 414 }
32fe5131
RD
415
416 /* neither found a match */
417 return 0;
36ed4f51 418}
d14a1e28 419
32fe5131 420
36ed4f51
RD
421/*
422 Pack binary data into a string
423*/
424SWIGRUNTIME char *
425SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
36ed4f51 429 for (; u != eu; ++u) {
32fe5131 430 register unsigned char uu = *u;
36ed4f51
RD
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435}
436
437/*
438 Unpack binary data from a string
439*/
440SWIGRUNTIME const char *
441SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
32fe5131 443 register const unsigned char *eu = u + sz;
36ed4f51 444 for (; u != eu; ++u) {
32fe5131 445 register char d = *(c++);
36ed4f51
RD
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463}
464
36ed4f51
RD
465/*
466 Pack 'void *' into a string buffer.
467*/
468SWIGRUNTIME char *
469SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477}
478
479SWIGRUNTIME const char *
480SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490}
491
492SWIGRUNTIME char *
493SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505}
506
507SWIGRUNTIME const char *
508SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518}
d14a1e28
RD
519
520#ifdef __cplusplus
521}
522#endif
523
36ed4f51
RD
524/* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
527
528#ifdef __cplusplus
529extern "C" {
530#endif
531
532/* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
535
536#ifndef SWIGINTERN
32fe5131 537# define SWIGINTERN static SWIGUNUSED
36ed4f51
RD
538#endif
539
32fe5131
RD
540#ifndef SWIGINTERNINLINE
541# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51
RD
542#endif
543
36ed4f51
RD
544/*
545 Exception handling in wrappers
546*/
547#define SWIG_fail goto fail
548#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554/*
555 Contract support
556*/
557#define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560/* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
563
564/* Constant Types */
d14a1e28
RD
565#define SWIG_PY_INT 1
566#define SWIG_PY_FLOAT 2
567#define SWIG_PY_STRING 3
568#define SWIG_PY_POINTER 4
569#define SWIG_PY_BINARY 5
570
d14a1e28
RD
571/* Constant information structure */
572typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579} swig_const_info;
580
36ed4f51
RD
581
582/* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585#define SWIG_OLDOBJ 1
586#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587#define SWIG_PYSTR SWIG_NEWOBJ + 1
588
589#ifdef __cplusplus
590}
591#endif
592
593
594/***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
603
d14a1e28 604/* Common SWIG API */
36ed4f51
RD
605#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 608
d14a1e28 609
36ed4f51
RD
610/* Python-specific SWIG API */
611#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 613
32fe5131
RD
614/* Runtime API */
615#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d14a1e28 617
36ed4f51
RD
618/* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621/*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625*/
626#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627# define SWIG_COBJECT_TYPES
628#endif
d14a1e28 629
36ed4f51
RD
630/* Flags for pointer conversion */
631#define SWIG_POINTER_EXCEPTION 0x1
632#define SWIG_POINTER_DISOWN 0x2
d14a1e28 633
d14a1e28 634
32fe5131
RD
635/* Add PyOS_snprintf for old Pythons */
636#if PY_VERSION_HEX < 0x02020000
637#define PyOS_snprintf snprintf
638#endif
639
d14a1e28 640#ifdef __cplusplus
36ed4f51
RD
641extern "C" {
642#endif
643
644/* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
36ed4f51
RD
647#ifndef SWIG_BUFFER_SIZE
648#define SWIG_BUFFER_SIZE 1024
649#endif
650
32fe5131
RD
651/* A crude PyString_FromFormat implementation for old Pythons */
652#if PY_VERSION_HEX < 0x02020000
653static PyObject *
654PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662}
663#endif
664
665#if PY_VERSION_HEX < 0x01060000
666#define PyObject_Del(op) PyMem_DEL((op))
667#endif
668
36ed4f51
RD
669#if defined(SWIG_COBJECT_TYPES)
670#if !defined(SWIG_COBJECT_PYTHON)
671/* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
674
675typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679} PySwigObject;
680
681/* Declarations for objects of type PySwigObject */
682
683SWIGRUNTIME int
684PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
685{
686 char result[SWIG_BUFFER_SIZE];
32fe5131 687 flags = flags;
36ed4f51
RD
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
693 }
694}
695
696SWIGRUNTIME PyObject *
697PySwigObject_repr(PySwigObject *v)
698{
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
702}
703
704SWIGRUNTIME PyObject *
705PySwigObject_str(PySwigObject *v)
706{
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
d14a1e28 710}
36ed4f51
RD
711
712SWIGRUNTIME PyObject *
713PySwigObject_long(PySwigObject *v)
714{
32fe5131
RD
715 return PyLong_FromVoidPtr(v->ptr);
716}
717
718SWIGRUNTIME PyObject *
719PySwigObject_format(const char* fmt, PySwigObject *v)
720{
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
36ed4f51
RD
732}
733
734SWIGRUNTIME PyObject *
735PySwigObject_oct(PySwigObject *v)
736{
32fe5131 737 return PySwigObject_format("%o",v);
36ed4f51
RD
738}
739
740SWIGRUNTIME PyObject *
741PySwigObject_hex(PySwigObject *v)
742{
32fe5131 743 return PySwigObject_format("%x",v);
36ed4f51
RD
744}
745
746SWIGRUNTIME int
747PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748{
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
32fe5131 751 return (c > 0) ? 1 : -1;
36ed4f51
RD
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
32fe5131 755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
756 }
757}
758
759SWIGRUNTIME void
760PySwigObject_dealloc(PySwigObject *self)
761{
32fe5131 762 PyObject_Del(self);
36ed4f51
RD
763}
764
765SWIGRUNTIME PyTypeObject*
32fe5131
RD
766PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
36ed4f51
RD
768 "Swig object carries a C/C++ instance pointer";
769
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 794#if PY_VERSION_HEX >= 0x02020000
36ed4f51 795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
796#elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
798#endif
799 };
800
32fe5131
RD
801 static PyTypeObject pyswigobject_type
802#if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
36ed4f51 805 if (!type_init) {
32fe5131
RD
806 PyTypeObject tmp
807#endif
808 = {
36ed4f51
RD
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
32fe5131 811 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
32fe5131
RD
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
830#if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833#endif
834#if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837#endif
838#if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840#endif
841#if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
d14a1e28 843#endif
36ed4f51
RD
844#ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846#endif
847 };
32fe5131
RD
848#if !defined(__cplusplus)
849 pyswigobject_type = tmp;
36ed4f51
RD
850 type_init = 1;
851 }
32fe5131
RD
852#endif
853 return &pyswigobject_type;
36ed4f51 854}
c370783e 855
36ed4f51
RD
856SWIGRUNTIME PyObject *
857PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858{
32fe5131
RD
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
36ed4f51
RD
864 return (PyObject *)self;
865}
d14a1e28 866
36ed4f51
RD
867SWIGRUNTIMEINLINE void *
868PySwigObject_AsVoidPtr(PyObject *self)
869{
870 return ((PySwigObject *)self)->ptr;
871}
d14a1e28 872
36ed4f51
RD
873SWIGRUNTIMEINLINE const char *
874PySwigObject_GetDesc(PyObject *self)
875{
876 return ((PySwigObject *)self)->desc;
877}
d14a1e28 878
36ed4f51
RD
879SWIGRUNTIMEINLINE int
880PySwigObject_Check(PyObject *op) {
32fe5131 881 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883}
d14a1e28 884
36ed4f51
RD
885/* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
d14a1e28 888
36ed4f51
RD
889typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894} PySwigPacked;
d14a1e28 895
36ed4f51
RD
896SWIGRUNTIME int
897PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898{
899 char result[SWIG_BUFFER_SIZE];
32fe5131 900 flags = flags;
36ed4f51
RD
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
905 }
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
909}
910
911SWIGRUNTIME PyObject *
912PySwigPacked_repr(PySwigPacked *v)
913{
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
920}
c370783e 921
36ed4f51
RD
922SWIGRUNTIME PyObject *
923PySwigPacked_str(PySwigPacked *v)
924{
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
32fe5131 929 return PyString_FromString(v->desc);
36ed4f51
RD
930 }
931}
932
933SWIGRUNTIME int
934PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935{
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
32fe5131 938 return (c > 0) ? 1 : -1;
36ed4f51
RD
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
32fe5131 942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945}
946
947SWIGRUNTIME void
948PySwigPacked_dealloc(PySwigPacked *self)
949{
950 free(self->pack);
32fe5131 951 PyObject_Del(self);
36ed4f51
RD
952}
953
954SWIGRUNTIME PyTypeObject*
32fe5131
RD
955PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
36ed4f51 957 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
958 static PyTypeObject pyswigpacked_type
959#if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
36ed4f51 962 if (!type_init) {
32fe5131
RD
963 PyTypeObject tmp
964#endif
965 = {
36ed4f51
RD
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
32fe5131 968 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
32fe5131
RD
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
987#if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990#endif
991#if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994#endif
995#if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997#endif
998#if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000#endif
1001#ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003#endif
1004 };
32fe5131
RD
1005#if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
36ed4f51
RD
1007 type_init = 1;
1008 }
32fe5131
RD
1009#endif
1010 return &pyswigpacked_type;
36ed4f51
RD
1011}
1012
1013SWIGRUNTIME PyObject *
1014PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015{
32fe5131 1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
32fe5131
RD
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
36ed4f51
RD
1029 }
1030}
1031
1032SWIGRUNTIMEINLINE const char *
1033PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1034{
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039}
1040
1041SWIGRUNTIMEINLINE const char *
1042PySwigPacked_GetDesc(PyObject *self)
1043{
1044 return ((PySwigPacked *)self)->desc;
1045}
1046
1047SWIGRUNTIMEINLINE int
1048PySwigPacked_Check(PyObject *op) {
32fe5131 1049 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051}
1052
1053#else
1054/* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059#define PySwigObject_Check(obj) PyCObject_Check(obj)
1060#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063#endif
1064
1065#endif
1066
1067/* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071SWIGRUNTIME void
1072SWIG_Python_TypeError(const char *type, PyObject *obj)
1073{
1074 if (type) {
1075#if defined(SWIG_COBJECT_TYPES)
32fe5131 1076 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084#endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
32fe5131 1097 Py_XDECREF(str);
36ed4f51
RD
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1104 }
1105}
1106
1107SWIGRUNTIMEINLINE void
1108SWIG_Python_NullRef(const char *type)
1109{
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
1115}
1116
1117SWIGRUNTIME int
1118SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119{
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140}
1141
1142SWIGRUNTIME int
1143SWIG_Python_ArgFail(int argnum)
1144{
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
32fe5131 1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
1153}
1154
1155
1156/* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160/* Convert a pointer value */
1161SWIGRUNTIME int
1162SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1163 swig_cast_info *tc;
36ed4f51
RD
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
1169
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176#ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
1193#else
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
32fe5131 1206 c = PyString_AsString(obj);
36ed4f51
RD
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
1211#endif
1212
1213type_check:
36ed4f51
RD
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
36ed4f51
RD
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
32fe5131 1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
1246 }
1247 }
1248 return -1;
1249}
1250
1251/* Convert a pointer value, signal an exception on a type mismatch */
1252SWIGRUNTIME void *
1253SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
1260 }
1261 }
1262 return result;
1263}
1264
1265/* Convert a packed value value */
1266SWIGRUNTIME int
1267SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1268 swig_cast_info *tc;
36ed4f51
RD
1269 const char *c = 0;
1270
1271#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273#else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1275 c = PyString_AsString(obj);
36ed4f51
RD
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278#endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
1285
1286type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296}
1297
1298/* Create a new array object */
1299SWIGRUNTIME PyObject *
1300SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
32fe5131
RD
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
36ed4f51
RD
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312#ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314#else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320#endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336}
1337
1338SWIGRUNTIME PyObject *
1339SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347#else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
1353#endif
1354 return robj;
1355}
1356
1357/* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
1360
1361#ifdef SWIG_LINK_RUNTIME
1362void *SWIG_ReturnGlobalTypeList(void *);
1363#endif
1364
32fe5131
RD
1365SWIGRUNTIME swig_module_info *
1366SWIG_Python_GetModule(void) {
36ed4f51
RD
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370#ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372#else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
36ed4f51 1379#endif
32fe5131
RD
1380 }
1381 return (swig_module_info *) type_pointer;
36ed4f51
RD
1382}
1383
32fe5131
RD
1384#if PY_MAJOR_VERSION < 2
1385/* PyModule_AddObject function was introduced in Python 2.0. The following function
1386is copied out of Python/modsupport.c in python version 2.3.4 */
1387SWIGINTERN int
1388PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389{
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
36ed4f51 1413}
32fe5131 1414#endif
36ed4f51 1415
32fe5131
RD
1416SWIGRUNTIME void
1417SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426}
8edf1c75 1427
8edf1c75 1428#ifdef __cplusplus
36ed4f51
RD
1429}
1430#endif
8edf1c75 1431
2f4c0a16 1432
36ed4f51 1433/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1434
32fe5131
RD
1435#define SWIGTYPE_p_bool swig_types[0]
1436#define SWIGTYPE_p_char swig_types[1]
1437#define SWIGTYPE_p_form_ops_t swig_types[2]
1438#define SWIGTYPE_p_int swig_types[3]
1439#define SWIGTYPE_p_unsigned_char swig_types[4]
1440#define SWIGTYPE_p_unsigned_int swig_types[5]
1441#define SWIGTYPE_p_unsigned_long swig_types[6]
1442#define SWIGTYPE_p_wxANIHandler swig_types[7]
1443#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445#define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446#define SWIGTYPE_p_wxBitmap swig_types[11]
1447#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448#define SWIGTYPE_p_wxCURHandler swig_types[13]
1449#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451#define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452#define SWIGTYPE_p_wxColour swig_types[17]
1453#define SWIGTYPE_p_wxColourData swig_types[18]
1454#define SWIGTYPE_p_wxColourDialog swig_types[19]
1455#define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456#define SWIGTYPE_p_wxConfigBase swig_types[21]
1457#define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
1458#define SWIGTYPE_p_wxControl swig_types[23]
1459#define SWIGTYPE_p_wxControlWithItems swig_types[24]
1460#define SWIGTYPE_p_wxCursor swig_types[25]
1461#define SWIGTYPE_p_wxDC swig_types[26]
1462#define SWIGTYPE_p_wxDateEvent swig_types[27]
1463#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28]
1464#define SWIGTYPE_p_wxDialog swig_types[29]
1465#define SWIGTYPE_p_wxDirDialog swig_types[30]
1466#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1467#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1468#define SWIGTYPE_p_wxDuplexMode swig_types[33]
1469#define SWIGTYPE_p_wxEraseEvent swig_types[34]
1470#define SWIGTYPE_p_wxEvent swig_types[35]
1471#define SWIGTYPE_p_wxEvtHandler swig_types[36]
1472#define SWIGTYPE_p_wxFSFile swig_types[37]
1473#define SWIGTYPE_p_wxFileDialog swig_types[38]
1474#define SWIGTYPE_p_wxFileSystem swig_types[39]
1475#define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
1476#define SWIGTYPE_p_wxFindReplaceData swig_types[41]
1477#define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
1478#define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
1479#define SWIGTYPE_p_wxFocusEvent swig_types[44]
1480#define SWIGTYPE_p_wxFont swig_types[45]
1481#define SWIGTYPE_p_wxFontData swig_types[46]
1482#define SWIGTYPE_p_wxFontDialog swig_types[47]
1483#define SWIGTYPE_p_wxFrame swig_types[48]
1484#define SWIGTYPE_p_wxGBSizerItem swig_types[49]
1485#define SWIGTYPE_p_wxGIFHandler swig_types[50]
1486#define SWIGTYPE_p_wxGridBagSizer swig_types[51]
1487#define SWIGTYPE_p_wxGridSizer swig_types[52]
1488#define SWIGTYPE_p_wxHelpControllerBase swig_types[53]
1489#define SWIGTYPE_p_wxHelpSearchMode swig_types[54]
1490#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55]
1491#define SWIGTYPE_p_wxHtmlBookRecord swig_types[56]
1492#define SWIGTYPE_p_wxHtmlCell swig_types[57]
1493#define SWIGTYPE_p_wxHtmlColourCell swig_types[58]
1494#define SWIGTYPE_p_wxHtmlContainerCell swig_types[59]
1495#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60]
1496#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61]
1497#define SWIGTYPE_p_wxHtmlFilter swig_types[62]
1498#define SWIGTYPE_p_wxHtmlFontCell swig_types[63]
1499#define SWIGTYPE_p_wxHtmlHelpController swig_types[64]
1500#define SWIGTYPE_p_wxHtmlHelpData swig_types[65]
1501#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66]
1502#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67]
1503#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68]
1504#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69]
1505#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70]
1506#define SWIGTYPE_p_wxHtmlModalHelp swig_types[71]
1507#define SWIGTYPE_p_wxHtmlParser swig_types[72]
1508#define SWIGTYPE_p_wxHtmlPrintout swig_types[73]
1509#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74]
1510#define SWIGTYPE_p_wxHtmlRenderingState swig_types[75]
1511#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76]
1512#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77]
1513#define SWIGTYPE_p_wxHtmlSelection swig_types[78]
1514#define SWIGTYPE_p_wxHtmlTag swig_types[79]
1515#define SWIGTYPE_p_wxHtmlTagHandler swig_types[80]
1516#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81]
1517#define SWIGTYPE_p_wxHtmlWinParser swig_types[82]
1518#define SWIGTYPE_p_wxHtmlWindow swig_types[83]
1519#define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84]
1520#define SWIGTYPE_p_wxHtmlWordCell swig_types[85]
1521#define SWIGTYPE_p_wxICOHandler swig_types[86]
1522#define SWIGTYPE_p_wxIconizeEvent swig_types[87]
1523#define SWIGTYPE_p_wxIdleEvent swig_types[88]
1524#define SWIGTYPE_p_wxImage swig_types[89]
1525#define SWIGTYPE_p_wxImageHandler swig_types[90]
1526#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91]
1527#define SWIGTYPE_p_wxInitDialogEvent swig_types[92]
1528#define SWIGTYPE_p_wxJPEGHandler swig_types[93]
1529#define SWIGTYPE_p_wxKeyEvent swig_types[94]
1530#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95]
1531#define SWIGTYPE_p_wxLayoutConstraints swig_types[96]
1532#define SWIGTYPE_p_wxMDIChildFrame swig_types[97]
1533#define SWIGTYPE_p_wxMDIClientWindow swig_types[98]
1534#define SWIGTYPE_p_wxMDIParentFrame swig_types[99]
1535#define SWIGTYPE_p_wxMaximizeEvent swig_types[100]
1536#define SWIGTYPE_p_wxMenu swig_types[101]
1537#define SWIGTYPE_p_wxMenuBar swig_types[102]
1538#define SWIGTYPE_p_wxMenuEvent swig_types[103]
1539#define SWIGTYPE_p_wxMenuItem swig_types[104]
1540#define SWIGTYPE_p_wxMessageDialog swig_types[105]
1541#define SWIGTYPE_p_wxMiniFrame swig_types[106]
1542#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107]
1543#define SWIGTYPE_p_wxMouseEvent swig_types[108]
1544#define SWIGTYPE_p_wxMoveEvent swig_types[109]
1545#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110]
1546#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111]
1547#define SWIGTYPE_p_wxNcPaintEvent swig_types[112]
1548#define SWIGTYPE_p_wxNotifyEvent swig_types[113]
1549#define SWIGTYPE_p_wxObject swig_types[114]
1550#define SWIGTYPE_p_wxPCXHandler swig_types[115]
1551#define SWIGTYPE_p_wxPNGHandler swig_types[116]
1552#define SWIGTYPE_p_wxPNMHandler swig_types[117]
1553#define SWIGTYPE_p_wxPageSetupDialog swig_types[118]
1554#define SWIGTYPE_p_wxPageSetupDialogData swig_types[119]
1555#define SWIGTYPE_p_wxPaintEvent swig_types[120]
1556#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121]
1557#define SWIGTYPE_p_wxPanel swig_types[122]
1558#define SWIGTYPE_p_wxPaperSize swig_types[123]
1559#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124]
1560#define SWIGTYPE_p_wxPoint swig_types[125]
1561#define SWIGTYPE_p_wxPopupWindow swig_types[126]
1562#define SWIGTYPE_p_wxPreviewCanvas swig_types[127]
1563#define SWIGTYPE_p_wxPreviewControlBar swig_types[128]
1564#define SWIGTYPE_p_wxPreviewFrame swig_types[129]
1565#define SWIGTYPE_p_wxPrintData swig_types[130]
1566#define SWIGTYPE_p_wxPrintDialog swig_types[131]
1567#define SWIGTYPE_p_wxPrintDialogData swig_types[132]
1568#define SWIGTYPE_p_wxPrintPreview swig_types[133]
1569#define SWIGTYPE_p_wxPrinter swig_types[134]
1570#define SWIGTYPE_p_wxProgressDialog swig_types[135]
1571#define SWIGTYPE_p_wxPyApp swig_types[136]
1572#define SWIGTYPE_p_wxPyCommandEvent swig_types[137]
1573#define SWIGTYPE_p_wxPyEvent swig_types[138]
1574#define SWIGTYPE_p_wxPyHtmlFilter swig_types[139]
1575#define SWIGTYPE_p_wxPyHtmlListBox swig_types[140]
1576#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141]
1577#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142]
1578#define SWIGTYPE_p_wxPyHtmlWindow swig_types[143]
1579#define SWIGTYPE_p_wxPyImageHandler swig_types[144]
1580#define SWIGTYPE_p_wxPyPanel swig_types[145]
1581#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146]
1582#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147]
1583#define SWIGTYPE_p_wxPyPreviewFrame swig_types[148]
1584#define SWIGTYPE_p_wxPyPrintPreview swig_types[149]
1585#define SWIGTYPE_p_wxPyPrintout swig_types[150]
1586#define SWIGTYPE_p_wxPyScrolledWindow swig_types[151]
1587#define SWIGTYPE_p_wxPySizer swig_types[152]
1588#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153]
1589#define SWIGTYPE_p_wxPyVListBox swig_types[154]
1590#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155]
1591#define SWIGTYPE_p_wxPyValidator swig_types[156]
1592#define SWIGTYPE_p_wxPyWindow swig_types[157]
1593#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158]
1594#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159]
1595#define SWIGTYPE_p_wxSashEvent swig_types[160]
1596#define SWIGTYPE_p_wxSashLayoutWindow swig_types[161]
1597#define SWIGTYPE_p_wxSashWindow swig_types[162]
1598#define SWIGTYPE_p_wxScrollEvent swig_types[163]
1599#define SWIGTYPE_p_wxScrollWinEvent swig_types[164]
1600#define SWIGTYPE_p_wxScrolledWindow swig_types[165]
1601#define SWIGTYPE_p_wxSetCursorEvent swig_types[166]
1602#define SWIGTYPE_p_wxShowEvent swig_types[167]
1603#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168]
1604#define SWIGTYPE_p_wxSize swig_types[169]
1605#define SWIGTYPE_p_wxSizeEvent swig_types[170]
1606#define SWIGTYPE_p_wxSizer swig_types[171]
1607#define SWIGTYPE_p_wxSizerItem swig_types[172]
1608#define SWIGTYPE_p_wxSplashScreen swig_types[173]
1609#define SWIGTYPE_p_wxSplashScreenWindow swig_types[174]
1610#define SWIGTYPE_p_wxSplitterEvent swig_types[175]
1611#define SWIGTYPE_p_wxSplitterWindow swig_types[176]
1612#define SWIGTYPE_p_wxStaticBoxSizer swig_types[177]
1613#define SWIGTYPE_p_wxStatusBar swig_types[178]
1614#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179]
1615#define SWIGTYPE_p_wxString swig_types[180]
1616#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181]
1617#define SWIGTYPE_p_wxTIFFHandler swig_types[182]
1618#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183]
1619#define SWIGTYPE_p_wxTextEntryDialog swig_types[184]
1620#define SWIGTYPE_p_wxTipWindow swig_types[185]
1621#define SWIGTYPE_p_wxTopLevelWindow swig_types[186]
1622#define SWIGTYPE_p_wxTreeCtrl swig_types[187]
1623#define SWIGTYPE_p_wxUpdateUIEvent swig_types[188]
1624#define SWIGTYPE_p_wxValidator swig_types[189]
1625#define SWIGTYPE_p_wxVisualAttributes swig_types[190]
1626#define SWIGTYPE_p_wxWindow swig_types[191]
1627#define SWIGTYPE_p_wxWindowCreateEvent swig_types[192]
1628#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193]
1629#define SWIGTYPE_p_wxXPMHandler swig_types[194]
1630#define SWIGTYPE_ptrdiff_t swig_types[195]
1631#define SWIGTYPE_std__ptrdiff_t swig_types[196]
1632#define SWIGTYPE_unsigned_int swig_types[197]
1633static swig_type_info *swig_types[199];
1634static swig_module_info swig_module = {swig_types, 198, 0, 0, 0, 0};
1635#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1636#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
8edf1c75 1637
36ed4f51 1638/* -------- TYPES TABLE (END) -------- */
8edf1c75 1639
8edf1c75 1640
36ed4f51
RD
1641/*-----------------------------------------------
1642 @(target):= _html.so
1643 ------------------------------------------------*/
1644#define SWIG_init init_html
1645
1646#define SWIG_name "_html"
8edf1c75 1647
d14a1e28
RD
1648#include "wx/wxPython/wxPython.h"
1649#include "wx/wxPython/pyclasses.h"
1650#include "wx/wxPython/pyistream.h"
1651#include "wx/wxPython/printfw.h"
1652
1653#include <wx/html/htmlwin.h>
1654#include <wx/html/htmprint.h>
1655#include <wx/html/helpctrl.h>
32fe5131
RD
1656#include <wx/html/helpwnd.h>
1657#include <wx/html/helpfrm.h>
1658#include <wx/html/helpdlg.h>
d14a1e28
RD
1659
1660
cbd72d4f
RD
1661 static const wxString wxPyEmptyString(wxEmptyString);
1662 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1663 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1664 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
8edf1c75 1665
32fe5131 1666 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1667#define SWIG_From_int PyInt_FromLong
1668/*@@*/
1669
1670
2f4c0a16
RD
1671#include <limits.h>
1672
1673
36ed4f51 1674SWIGINTERN int
c370783e
RD
1675 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1676 const char *errmsg)
2f4c0a16 1677{
c370783e
RD
1678 if (value < min_value) {
1679 if (errmsg) {
1680 PyErr_Format(PyExc_OverflowError,
1681 "value %ld is less than '%s' minimum %ld",
1682 value, errmsg, min_value);
1683 }
1684 return 0;
1685 } else if (value > max_value) {
1686 if (errmsg) {
1687 PyErr_Format(PyExc_OverflowError,
1688 "value %ld is greater than '%s' maximum %ld",
1689 value, errmsg, max_value);
2f4c0a16 1690 }
c370783e 1691 return 0;
2f4c0a16 1692 }
c370783e 1693 return 1;
2f4c0a16
RD
1694}
1695
1696
36ed4f51 1697SWIGINTERN int
c370783e 1698SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1699{
c370783e
RD
1700 if (PyNumber_Check(obj)) {
1701 if (val) *val = PyInt_AsLong(obj);
1702 return 1;
1703 }
69223c70 1704 else {
7e08d4ef 1705 SWIG_Python_TypeError("number", obj);
69223c70 1706 }
c370783e 1707 return 0;
2f4c0a16
RD
1708}
1709
1710
1711#if INT_MAX != LONG_MAX
36ed4f51 1712SWIGINTERN int
c370783e 1713 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1714{
36ed4f51 1715 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1716 long v;
1717 if (SWIG_AsVal_long(obj, &v)) {
1718 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1719 if (val) *val = static_cast<int >(v);
c370783e
RD
1720 return 1;
1721 } else {
1722 return 0;
1723 }
1724 } else {
1725 PyErr_Clear();
1726 }
1727 if (val) {
36ed4f51 1728 SWIG_type_error(errmsg, obj);
c370783e
RD
1729 }
1730 return 0;
2f4c0a16
RD
1731}
1732#else
32fe5131 1733SWIGINTERNINLINE int
c370783e
RD
1734 SWIG_AsVal_int(PyObject *obj, int *val)
1735{
1736 return SWIG_AsVal_long(obj,(long*)val);
1737}
2f4c0a16
RD
1738#endif
1739
1740
32fe5131 1741SWIGINTERNINLINE int
c370783e 1742SWIG_As_int(PyObject* obj)
2f4c0a16 1743{
c370783e
RD
1744 int v;
1745 if (!SWIG_AsVal_int(obj, &v)) {
1746 /*
36ed4f51 1747 this is needed to make valgrind/purify happier.
c370783e
RD
1748 */
1749 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1750 }
c370783e
RD
1751 return v;
1752}
1753
1754
32fe5131 1755SWIGINTERNINLINE int
c370783e
RD
1756SWIG_Check_int(PyObject* obj)
1757{
1758 return SWIG_AsVal_int(obj, (int*)0);
8edf1c75
RD
1759}
1760
36ed4f51 1761static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
1762 int* temp = NULL;
1763 if (sizes) temp = int_LIST_helper(sizes);
1764 self->SetFonts(normal_face, fixed_face, temp);
1765 if (temp)
1766 delete [] temp;
1767 }
1768
1769class wxPyHtmlTagHandler : public wxHtmlTagHandler {
32fe5131 1770 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
d14a1e28
RD
1771public:
1772 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1773
1774 wxHtmlParser* GetParser() { return m_Parser; }
1775 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1776
1777 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1778 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1779
1780 PYPRIVATE;
1781};
1782
1783IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1784
1785IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1786IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1787
1788
1789class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
32fe5131 1790 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
d14a1e28
RD
1791public:
1792 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1793
1794 wxHtmlWinParser* GetParser() { return m_WParser; }
1795 void ParseInner(const wxHtmlTag& tag)
1796 { wxHtmlWinTagHandler::ParseInner(tag); }
1797
1798 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1799 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1800
1801 PYPRIVATE;
1802};
1803
1804IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1805
1806IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1807IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1808
1809
1810
1811class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1812public:
1813 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1814 m_tagHandlerClass = thc;
1815 Py_INCREF(m_tagHandlerClass);
1816 RegisterModule(this);
1817 wxHtmlWinParser::AddModule(this);
1818 }
1819
1820 void OnExit() {
5a446332 1821 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1822 Py_DECREF(m_tagHandlerClass);
1823 m_tagHandlerClass = NULL;
1824 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1825 PyObject* obj = (PyObject*)m_objArray.Item(x);
1826 Py_DECREF(obj);
1827 }
fbc46b20 1828 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1829 };
1830
1831 void FillHandlersTable(wxHtmlWinParser *parser) {
1832 // Wave our magic wand... (if it works it's a miracle! ;-)
1833
1834 // First, make a new instance of the tag handler
5a446332 1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
100c4552
RD
1836 PyObject* arg = PyTuple_New(0);
1837 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 1838 Py_DECREF(arg);
32fe5131 1839
d14a1e28
RD
1840 // now figure out where it's C++ object is...
1841 wxPyHtmlWinTagHandler* thPtr;
100c4552 1842 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
fbc46b20 1843 wxPyEndBlockThreads(blocked);
d14a1e28 1844 return;
100c4552 1845 }
fbc46b20 1846 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1847
1848 // add it,
1849 parser->AddTagHandler(thPtr);
1850
1851 // and track it.
1852 m_objArray.Add(obj);
1853 }
1854
1855private:
1856 PyObject* m_tagHandlerClass;
1857 wxArrayPtrVoid m_objArray;
1858
1859};
1860
1861
1862 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1863 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1864 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1865 new wxPyHtmlTagsModule(tagHandlerClass);
1866 }
1867
1868
32fe5131 1869SWIGINTERNINLINE PyObject*
36ed4f51
RD
1870 SWIG_From_bool(bool value)
1871{
1872 PyObject *obj = value ? Py_True : Py_False;
1873 Py_INCREF(obj);
1874 return obj;
1875}
1876
1877
7e08d4ef
RD
1878 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1879 {
1880 PyObject* o2;
1881 PyObject* o3;
1882 if (!result) {
1883 result = obj;
1884 } else if (result == Py_None) {
1885 Py_DECREF(result);
1886 result = obj;
1887 } else {
1888 if (!PyTuple_Check(result)) {
1889 o2 = result;
1890 result = PyTuple_New(1);
1891 PyTuple_SET_ITEM(result, 0, o2);
1892 }
1893 o3 = PyTuple_New(1);
1894 PyTuple_SetItem(o3, 0, obj);
1895 o2 = result;
1896 result = PySequence_Concat(o2, o3);
1897 Py_DECREF(o2);
1898 Py_DECREF(o3);
1899 }
1900 return result;
1901 }
d14a1e28 1902
8edf1c75 1903
8edf1c75 1904
36ed4f51 1905SWIGINTERN int
c370783e 1906 SWIG_AsVal_bool(PyObject *obj, bool *val)
2f4c0a16 1907{
c370783e
RD
1908 if (obj == Py_True) {
1909 if (val) *val = true;
1910 return 1;
1911 }
1912 if (obj == Py_False) {
1913 if (val) *val = false;
1914 return 1;
1915 }
1916 int res = 0;
1917 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1918 if (val) *val = res ? true : false;
2f4c0a16 1919 return 1;
36ed4f51
RD
1920 } else {
1921 PyErr_Clear();
1922 }
c370783e 1923 if (val) {
36ed4f51 1924 SWIG_type_error("bool", obj);
c370783e
RD
1925 }
1926 return 0;
2f4c0a16
RD
1927}
1928
1929
32fe5131 1930SWIGINTERNINLINE bool
c370783e 1931SWIG_As_bool(PyObject* obj)
2f4c0a16 1932{
c370783e
RD
1933 bool v;
1934 if (!SWIG_AsVal_bool(obj, &v)) {
1935 /*
36ed4f51 1936 this is needed to make valgrind/purify happier.
c370783e
RD
1937 */
1938 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 1939 }
c370783e
RD
1940 return v;
1941}
1942
1943
32fe5131 1944SWIGINTERNINLINE int
c370783e
RD
1945SWIG_Check_bool(PyObject* obj)
1946{
1947 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
1948}
1949
1950
32fe5131 1951SWIGINTERNINLINE int
c370783e
RD
1952 SWIG_CheckUnsignedLongInRange(unsigned long value,
1953 unsigned long max_value,
1954 const char *errmsg)
2f4c0a16 1955{
c370783e
RD
1956 if (value > max_value) {
1957 if (errmsg) {
1958 PyErr_Format(PyExc_OverflowError,
36ed4f51 1959 "value %lu is greater than '%s' minimum %lu",
c370783e 1960 value, errmsg, max_value);
2f4c0a16 1961 }
c370783e 1962 return 0;
2f4c0a16 1963 }
c370783e
RD
1964 return 1;
1965 }
1966
1967
36ed4f51 1968SWIGINTERN int
c370783e
RD
1969SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1970{
1971 long v = 0;
1972 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1973 SWIG_Python_TypeError("unsigned number", obj);
c370783e
RD
1974 }
1975 else if (val)
1976 *val = (unsigned long)v;
1977 return 1;
2f4c0a16
RD
1978}
1979
1980
1981#if UINT_MAX != ULONG_MAX
36ed4f51 1982SWIGINTERN int
c370783e 1983 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 1984{
36ed4f51 1985 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
1986 unsigned long v;
1987 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1988 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
32fe5131 1989 if (val) *val = static_cast<unsigned int >(v);
c370783e
RD
1990 return 1;
1991 }
1992 } else {
1993 PyErr_Clear();
1994 }
1995 if (val) {
36ed4f51 1996 SWIG_type_error(errmsg, obj);
c370783e
RD
1997 }
1998 return 0;
8edf1c75 1999}
2f4c0a16 2000#else
32fe5131 2001SWIGINTERNINLINE unsigned int
c370783e
RD
2002 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2003{
2004 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2005}
2f4c0a16 2006#endif
8edf1c75
RD
2007
2008
32fe5131 2009SWIGINTERNINLINE unsigned int
c370783e 2010SWIG_As_unsigned_SS_int(PyObject* obj)
8edf1c75 2011{
c370783e
RD
2012 unsigned int v;
2013 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2014 /*
36ed4f51 2015 this is needed to make valgrind/purify happier.
c370783e
RD
2016 */
2017 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 2018 }
c370783e
RD
2019 return v;
2020}
2021
2022
32fe5131 2023SWIGINTERNINLINE int
c370783e
RD
2024SWIG_Check_unsigned_SS_int(PyObject* obj)
2025{
2026 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2f4c0a16
RD
2027}
2028
2029
32fe5131 2030 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2031#define SWIG_From_long PyInt_FromLong
2032/*@@*/
2033
2034
32fe5131 2035SWIGINTERNINLINE PyObject*
c370783e 2036 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
2037{
2038 return (value > LONG_MAX) ?
2039 PyLong_FromUnsignedLong(value)
32fe5131 2040 : PyInt_FromLong(static_cast<long >(value));
8edf1c75
RD
2041}
2042
2043
2f4c0a16 2044#if UINT_MAX < LONG_MAX
32fe5131 2045/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
c370783e
RD
2046#define SWIG_From_unsigned_SS_int SWIG_From_long
2047/*@@*/
2f4c0a16 2048#else
32fe5131 2049/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
c370783e
RD
2050#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2051/*@@*/
2f4c0a16 2052#endif
8edf1c75 2053
d14a1e28
RD
2054 // here's the C++ version
2055class wxPyHtmlFilter : public wxHtmlFilter {
32fe5131 2056 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
d14a1e28
RD
2057public:
2058 wxPyHtmlFilter() : wxHtmlFilter() {}
2059
423f194a 2060 // returns True if this filter is able to open&read given file
d14a1e28 2061 virtual bool CanRead(const wxFSFile& file) const {
b411df4a 2062 bool rval = false;
d14a1e28 2063 bool found;
5a446332 2064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2065 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 2066 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
2067 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2068 Py_DECREF(obj);
2069 }
fbc46b20 2070 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2071 return rval;
2072 }
2073
2074
2075 // Reads given file and returns HTML document.
2076 // Returns empty string if opening failed
2077 virtual wxString ReadFile(const wxFSFile& file) const {
2078 wxString rval;
2079 bool found;
5a446332 2080 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2081 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 2082 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
2083 PyObject* ro;
2084 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
2085 Py_DECREF(obj);
2086 if (ro) {
2087 rval = Py2wxString(ro);
2088 Py_DECREF(ro);
2089 }
2090 }
fbc46b20 2091 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2092 return rval;
2093 }
2094
2095 PYPRIVATE;
2096};
2097
2098IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
2099
2100
2101class wxPyHtmlWindow : public wxHtmlWindow {
32fe5131 2102 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
d14a1e28
RD
2103public:
2104 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
2105 const wxPoint& pos = wxDefaultPosition,
2106 const wxSize& size = wxDefaultSize,
2107 long style = wxHW_DEFAULT_STYLE,
2108 const wxString& name = wxPyHtmlWindowNameStr)
2109 : wxHtmlWindow(parent, id, pos, size, style, name) {};
2110 wxPyHtmlWindow() : wxHtmlWindow() {};
2111
2112 bool ScrollToAnchor(const wxString& anchor) {
2113 return wxHtmlWindow::ScrollToAnchor(anchor);
2114 }
2115
2116 bool HasAnchor(const wxString& anchor) {
2117 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
2118 return c!=NULL;
2119 }
2120
2121 void OnLinkClicked(const wxHtmlLinkInfo& link);
2122 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
2123
2124 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
2125 const wxString& url,
2126 wxString *redirect) const;
2127
2128 DEC_PYCALLBACK__STRING(OnSetTitle);
2129 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
2130 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
2131 PYPRIVATE;
2132};
2133
2134IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
2135IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
2136IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
2137IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
2138
2139
2140void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
2141 bool found;
5a446332 2142 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2143 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
2144 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
2145 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2146 Py_DECREF(obj);
2147 }
fbc46b20 2148 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2149 if (! found)
2150 wxHtmlWindow::OnLinkClicked(link);
2151}
2152void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
2153 wxHtmlWindow::OnLinkClicked(link);
2154}
2155
2156
2157wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
2158 const wxString& url,
2159 wxString *redirect) const {
2160 bool found;
2161 wxHtmlOpeningStatus rval;
5a446332 2162 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2163 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
2164 PyObject* ro;
2165 PyObject* s = wx2PyString(url);
2166 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
2167 Py_DECREF(s);
2168 if (PyString_Check(ro)
2169#if PYTHON_API_VERSION >= 1009
2170 || PyUnicode_Check(ro)
2171#endif
2172 ) {
2173 *redirect = Py2wxString(ro);
2174 rval = wxHTML_REDIRECT;
2175 }
2176 else {
2177 PyObject* num = PyNumber_Int(ro);
2178 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
2179 Py_DECREF(num);
2180 }
2181 Py_DECREF(ro);
2182 }
fbc46b20 2183 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2184 if (! found)
2185 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
2186 return rval;
2187}
2188
2189
2190
36ed4f51 2191static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2192 int* temp = NULL;
2193 if (sizes) temp = int_LIST_helper(sizes);
2194 self->SetFonts(normal_face, fixed_face, temp);
2195 if (temp)
2196 delete [] temp;
2197 }
36ed4f51 2198static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2199 int* temp = NULL;
2200 if (sizes) temp = int_LIST_helper(sizes);
2201 self->SetFonts(normal_face, fixed_face, temp);
2202 if (temp)
2203 delete [] temp;
2204 }
36ed4f51 2205static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2206 int* temp = NULL;
2207 if (sizes) temp = int_LIST_helper(sizes);
2208 self->SetFonts(normal_face, fixed_face, temp);
2209 if (temp)
2210 delete [] temp;
2211 }
8edf1c75 2212
2f4c0a16 2213#include <float.h>
36ed4f51 2214SWIGINTERN int
c370783e
RD
2215 SWIG_CheckDoubleInRange(double value, double min_value,
2216 double max_value, const char* errmsg)
2f4c0a16 2217{
c370783e
RD
2218 if (value < min_value) {
2219 if (errmsg) {
2220 PyErr_Format(PyExc_OverflowError,
2221 "value %g is less than %s minimum %g",
2222 value, errmsg, min_value);
2f4c0a16 2223 }
c370783e
RD
2224 return 0;
2225 } else if (value > max_value) {
2226 if (errmsg) {
2227 PyErr_Format(PyExc_OverflowError,
2228 "value %g is greater than %s maximum %g",
2229 value, errmsg, max_value);
2230 }
2231 return 0;
2f4c0a16 2232 }
c370783e 2233 return 1;
2f4c0a16
RD
2234}
2235
2236
36ed4f51 2237SWIGINTERN int
c370783e 2238SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 2239{
c370783e
RD
2240 if (PyNumber_Check(obj)) {
2241 if (val) *val = PyFloat_AsDouble(obj);
2242 return 1;
2243 }
69223c70 2244 else {
7e08d4ef 2245 SWIG_Python_TypeError("number", obj);
69223c70 2246 }
c370783e
RD
2247 return 0;
2248}
2249
2250
36ed4f51 2251SWIGINTERN int
c370783e
RD
2252 SWIG_AsVal_float(PyObject *obj, float *val)
2253{
36ed4f51 2254 const char* errmsg = val ? "float" : (char*)0;
c370783e
RD
2255 double v;
2256 if (SWIG_AsVal_double(obj, &v)) {
2257 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
32fe5131 2258 if (val) *val = static_cast<float >(v);
c370783e
RD
2259 return 1;
2260 } else {
2261 return 0;
2262 }
2263 } else {
2264 PyErr_Clear();
2265 }
2266 if (val) {
36ed4f51 2267 SWIG_type_error(errmsg, obj);
c370783e
RD
2268 }
2269 return 0;
8edf1c75
RD
2270}
2271
2272
32fe5131 2273SWIGINTERNINLINE float
c370783e 2274SWIG_As_float(PyObject* obj)
8edf1c75 2275{
c370783e
RD
2276 float v;
2277 if (!SWIG_AsVal_float(obj, &v)) {
2278 /*
36ed4f51 2279 this is needed to make valgrind/purify happier.
c370783e
RD
2280 */
2281 memset((void*)&v, 0, sizeof(float));
2282 }
2283 return v;
2f4c0a16
RD
2284}
2285
c370783e 2286
32fe5131 2287SWIGINTERNINLINE int
c370783e 2288SWIG_Check_float(PyObject* obj)
2f4c0a16 2289{
c370783e 2290 return SWIG_AsVal_float(obj, (float*)0);
8edf1c75
RD
2291}
2292
36ed4f51 2293static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2294 int* temp = NULL;
2295 if (sizes) temp = int_LIST_helper(sizes);
2296 self->SetFonts(normal_face, fixed_face, temp);
2297 if (temp)
2298 delete [] temp;
2299 }
32fe5131
RD
2300
2301SWIGINTERNINLINE long
2302SWIG_As_long(PyObject* obj)
2303{
2304 long v;
2305 if (!SWIG_AsVal_long(obj, &v)) {
2306 /*
2307 this is needed to make valgrind/purify happier.
2308 */
2309 memset((void*)&v, 0, sizeof(long));
2310 }
2311 return v;
2312}
2313
2314
2315SWIGINTERNINLINE int
2316SWIG_Check_long(PyObject* obj)
2317{
2318 return SWIG_AsVal_long(obj, (long*)0);
2319}
2320
d14a1e28
RD
2321#ifdef __cplusplus
2322extern "C" {
2323#endif
c370783e 2324static int _wrap_HtmlWindowNameStr_set(PyObject *) {
cbd72d4f
RD
2325 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2326 return 1;
2327}
2328
2329
36ed4f51 2330static PyObject *_wrap_HtmlWindowNameStr_get(void) {
32fe5131 2331 PyObject *pyobj = NULL;
cbd72d4f
RD
2332
2333 {
2334#if wxUSE_UNICODE
2335 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2336#else
2337 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2338#endif
2339 }
2340 return pyobj;
2341}
2342
2343
c370783e 2344static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
cbd72d4f
RD
2345 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2346 return 1;
2347}
2348
2349
36ed4f51 2350static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
32fe5131 2351 PyObject *pyobj = NULL;
cbd72d4f
RD
2352
2353 {
2354#if wxUSE_UNICODE
2355 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2356#else
2357 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2358#endif
2359 }
2360 return pyobj;
2361}
2362
2363
c370783e 2364static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
cbd72d4f
RD
2365 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2366 return 1;
2367}
2368
2369
36ed4f51 2370static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
32fe5131 2371 PyObject *pyobj = NULL;
cbd72d4f
RD
2372
2373 {
2374#if wxUSE_UNICODE
2375 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2376#else
2377 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2378#endif
2379 }
2380 return pyobj;
2381}
2382
2383
c370783e 2384static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2385 PyObject *resultobj = NULL;
d14a1e28
RD
2386 wxString *arg1 = 0 ;
2387 wxString const &arg2_defvalue = wxPyEmptyString ;
2388 wxString *arg2 = (wxString *) &arg2_defvalue ;
2389 wxHtmlLinkInfo *result;
b411df4a
RD
2390 bool temp1 = false ;
2391 bool temp2 = false ;
d14a1e28
RD
2392 PyObject * obj0 = 0 ;
2393 PyObject * obj1 = 0 ;
2394 char *kwnames[] = {
2395 (char *) "href",(char *) "target", NULL
2396 };
2397
2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2399 {
2400 arg1 = wxString_in_helper(obj0);
2401 if (arg1 == NULL) SWIG_fail;
b411df4a 2402 temp1 = true;
d14a1e28
RD
2403 }
2404 if (obj1) {
2405 {
2406 arg2 = wxString_in_helper(obj1);
2407 if (arg2 == NULL) SWIG_fail;
b411df4a 2408 temp2 = true;
d14a1e28
RD
2409 }
2410 }
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2f4c0a16 2418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2419 {
2420 if (temp1)
2421 delete arg1;
2422 }
2423 {
2424 if (temp2)
2425 delete arg2;
2426 }
2427 return resultobj;
2428 fail:
2429 {
2430 if (temp1)
2431 delete arg1;
2432 }
2433 {
2434 if (temp2)
2435 delete arg2;
2436 }
2437 return NULL;
2438}
2439
2440
c370783e 2441static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2442 PyObject *resultobj = NULL;
d14a1e28
RD
2443 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2444 wxString result;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
36ed4f51
RD
2451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2452 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = (arg1)->GetHref();
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461#if wxUSE_UNICODE
2462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2463#else
2464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2465#endif
2466 }
2467 return resultobj;
2468 fail:
2469 return NULL;
2470}
2471
2472
c370783e 2473static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2474 PyObject *resultobj = NULL;
d14a1e28
RD
2475 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2476 wxString result;
2477 PyObject * obj0 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
2483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2484 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2485 {
2486 PyThreadState* __tstate = wxPyBeginAllowThreads();
2487 result = (arg1)->GetTarget();
2488
2489 wxPyEndAllowThreads(__tstate);
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 {
2493#if wxUSE_UNICODE
2494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2495#else
2496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2497#endif
2498 }
2499 return resultobj;
2500 fail:
2501 return NULL;
2502}
2503
2504
c370783e 2505static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2506 PyObject *resultobj = NULL;
d14a1e28
RD
2507 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2508 wxMouseEvent *result;
2509 PyObject * obj0 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
2515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2516 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 result = (wxMouseEvent *)(arg1)->GetEvent();
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 {
7e08d4ef 2525 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2526 }
2527 return resultobj;
2528 fail:
2529 return NULL;
2530}
2531
2532
c370783e 2533static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2534 PyObject *resultobj = NULL;
d14a1e28
RD
2535 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2536 wxHtmlCell *result;
2537 PyObject * obj0 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "self", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
2543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2544 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2545 {
2546 PyThreadState* __tstate = wxPyBeginAllowThreads();
2547 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2548
2549 wxPyEndAllowThreads(__tstate);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2f4c0a16 2552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
2553 return resultobj;
2554 fail:
2555 return NULL;
2556}
2557
2558
c370783e 2559static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2560 PyObject *resultobj = NULL;
d14a1e28
RD
2561 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2562 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "e", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2571 if (SWIG_arg_fail(1)) SWIG_fail;
2572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2573 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
2581 Py_INCREF(Py_None); resultobj = Py_None;
2582 return resultobj;
2583 fail:
2584 return NULL;
2585}
2586
2587
c370783e 2588static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2589 PyObject *resultobj = NULL;
d14a1e28
RD
2590 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2591 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2592 PyObject * obj0 = 0 ;
2593 PyObject * obj1 = 0 ;
2594 char *kwnames[] = {
2595 (char *) "self",(char *) "e", NULL
2596 };
2597
2598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2600 if (SWIG_arg_fail(1)) SWIG_fail;
2601 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2602 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 Py_INCREF(Py_None); resultobj = Py_None;
2611 return resultobj;
2612 fail:
2613 return NULL;
2614}
2615
2616
c370783e 2617static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2618 PyObject *obj;
2619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2620 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2621 Py_INCREF(obj);
2622 return Py_BuildValue((char *)"");
2623}
c370783e 2624static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2625 PyObject *resultobj = NULL;
d14a1e28
RD
2626 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2627 wxString result;
2628 PyObject * obj0 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "self", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
2634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2635 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 result = (arg1)->GetName();
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 {
2644#if wxUSE_UNICODE
2645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2646#else
2647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2648#endif
2649 }
2650 return resultobj;
2651 fail:
2652 return NULL;
2653}
2654
2655
c370783e 2656static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2657 PyObject *resultobj = NULL;
d14a1e28
RD
2658 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2659 wxString *arg2 = 0 ;
2660 bool result;
b411df4a 2661 bool temp2 = false ;
d14a1e28
RD
2662 PyObject * obj0 = 0 ;
2663 PyObject * obj1 = 0 ;
2664 char *kwnames[] = {
2665 (char *) "self",(char *) "par", NULL
2666 };
2667
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2670 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2671 {
2672 arg2 = wxString_in_helper(obj1);
2673 if (arg2 == NULL) SWIG_fail;
b411df4a 2674 temp2 = true;
d14a1e28
RD
2675 }
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
fbc46b20
RD
2683 {
2684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2685 }
d14a1e28
RD
2686 {
2687 if (temp2)
2688 delete arg2;
2689 }
2690 return resultobj;
2691 fail:
2692 {
2693 if (temp2)
2694 delete arg2;
2695 }
2696 return NULL;
2697}
2698
2699
c370783e 2700static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2701 PyObject *resultobj = NULL;
d14a1e28
RD
2702 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2703 wxString *arg2 = 0 ;
b411df4a 2704 int arg3 = (int) false ;
d14a1e28 2705 wxString result;
b411df4a 2706 bool temp2 = false ;
d14a1e28
RD
2707 PyObject * obj0 = 0 ;
2708 PyObject * obj1 = 0 ;
8edf1c75 2709 PyObject * obj2 = 0 ;
d14a1e28
RD
2710 char *kwnames[] = {
2711 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2712 };
2713
8edf1c75 2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2716 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2717 {
2718 arg2 = wxString_in_helper(obj1);
2719 if (arg2 == NULL) SWIG_fail;
b411df4a 2720 temp2 = true;
d14a1e28 2721 }
8edf1c75 2722 if (obj2) {
36ed4f51 2723 {
32fe5131 2724 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
2725 if (SWIG_arg_fail(3)) SWIG_fail;
2726 }
8edf1c75 2727 }
d14a1e28
RD
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
2730 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
2735 {
2736#if wxUSE_UNICODE
2737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2738#else
2739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2740#endif
2741 }
2742 {
2743 if (temp2)
2744 delete arg2;
2745 }
2746 return resultobj;
2747 fail:
2748 {
2749 if (temp2)
2750 delete arg2;
2751 }
2752 return NULL;
2753}
2754
2755
c370783e 2756static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2757 PyObject *resultobj = NULL;
d14a1e28
RD
2758 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2759 wxString result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
36ed4f51
RD
2766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 result = (arg1)->GetAllParams();
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 {
2776#if wxUSE_UNICODE
2777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2778#else
2779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2780#endif
2781 }
2782 return resultobj;
2783 fail:
2784 return NULL;
2785}
2786
2787
c370783e 2788static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2789 PyObject *resultobj = NULL;
d14a1e28
RD
2790 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2791 bool result;
2792 PyObject * obj0 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
36ed4f51
RD
2798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2800 {
2801 PyThreadState* __tstate = wxPyBeginAllowThreads();
2802 result = (bool)(arg1)->HasEnding();
2803
2804 wxPyEndAllowThreads(__tstate);
2805 if (PyErr_Occurred()) SWIG_fail;
2806 }
fbc46b20
RD
2807 {
2808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2809 }
d14a1e28
RD
2810 return resultobj;
2811 fail:
2812 return NULL;
2813}
2814
2815
c370783e 2816static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2817 PyObject *resultobj = NULL;
d14a1e28
RD
2818 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2819 int result;
2820 PyObject * obj0 = 0 ;
2821 char *kwnames[] = {
2822 (char *) "self", NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
2826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 result = (int)(arg1)->GetBeginPos();
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
36ed4f51 2835 {
32fe5131 2836 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2837 }
d14a1e28
RD
2838 return resultobj;
2839 fail:
2840 return NULL;
2841}
2842
2843
c370783e 2844static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2845 PyObject *resultobj = NULL;
d14a1e28
RD
2846 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2847 int result;
2848 PyObject * obj0 = 0 ;
2849 char *kwnames[] = {
2850 (char *) "self", NULL
2851 };
2852
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
36ed4f51
RD
2854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 result = (int)(arg1)->GetEndPos1();
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
36ed4f51 2863 {
32fe5131 2864 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2865 }
d14a1e28
RD
2866 return resultobj;
2867 fail:
2868 return NULL;
2869}
2870
2871
c370783e 2872static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2873 PyObject *resultobj = NULL;
d14a1e28
RD
2874 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2875 int result;
2876 PyObject * obj0 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
36ed4f51
RD
2882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2883 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 result = (int)(arg1)->GetEndPos2();
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
36ed4f51 2891 {
32fe5131 2892 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 2893 }
d14a1e28
RD
2894 return resultobj;
2895 fail:
2896 return NULL;
2897}
2898
2899
c370783e 2900static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2901 PyObject *obj;
2902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2903 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2904 Py_INCREF(obj);
2905 return Py_BuildValue((char *)"");
2906}
c370783e 2907static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2908 PyObject *resultobj = NULL;
d14a1e28
RD
2909 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2910 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2911 PyObject * obj0 = 0 ;
2912 PyObject * obj1 = 0 ;
2913 char *kwnames[] = {
2914 (char *) "self",(char *) "fs", NULL
2915 };
2916
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail;
2920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2921 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2922 {
2923 PyThreadState* __tstate = wxPyBeginAllowThreads();
2924 (arg1)->SetFS(arg2);
2925
2926 wxPyEndAllowThreads(__tstate);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
2929 Py_INCREF(Py_None); resultobj = Py_None;
2930 return resultobj;
2931 fail:
2932 return NULL;
2933}
2934
2935
c370783e 2936static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2937 PyObject *resultobj = NULL;
d14a1e28
RD
2938 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2939 wxFileSystem *result;
2940 PyObject * obj0 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
36ed4f51
RD
2946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 result = (wxFileSystem *)(arg1)->GetFS();
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
7e08d4ef 2956 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2957 }
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
c370783e 2964static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2965 PyObject *resultobj = NULL;
d14a1e28
RD
2966 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2967 wxString *arg2 = 0 ;
2968 wxObject *result;
b411df4a 2969 bool temp2 = false ;
d14a1e28
RD
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "source", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2978 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2979 {
2980 arg2 = wxString_in_helper(obj1);
2981 if (arg2 == NULL) SWIG_fail;
b411df4a 2982 temp2 = true;
d14a1e28
RD
2983 }
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 }
2991 {
7e08d4ef 2992 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
2993 }
2994 {
2995 if (temp2)
2996 delete arg2;
2997 }
2998 return resultobj;
2999 fail:
3000 {
3001 if (temp2)
3002 delete arg2;
3003 }
3004 return NULL;
3005}
3006
3007
c370783e 3008static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3009 PyObject *resultobj = NULL;
d14a1e28
RD
3010 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3011 wxString *arg2 = 0 ;
b411df4a 3012 bool temp2 = false ;
d14a1e28
RD
3013 PyObject * obj0 = 0 ;
3014 PyObject * obj1 = 0 ;
3015 char *kwnames[] = {
3016 (char *) "self",(char *) "source", NULL
3017 };
3018
3019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3021 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3022 {
3023 arg2 = wxString_in_helper(obj1);
3024 if (arg2 == NULL) SWIG_fail;
b411df4a 3025 temp2 = true;
d14a1e28
RD
3026 }
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 (arg1)->InitParser((wxString const &)*arg2);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 Py_INCREF(Py_None); resultobj = Py_None;
3035 {
3036 if (temp2)
3037 delete arg2;
3038 }
3039 return resultobj;
3040 fail:
3041 {
3042 if (temp2)
3043 delete arg2;
3044 }
3045 return NULL;
3046}
3047
3048
c370783e 3049static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3050 PyObject *resultobj = NULL;
d14a1e28
RD
3051 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3052 PyObject * obj0 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
3058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3059 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->DoneParser();
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071}
3072
3073
c370783e 3074static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3075 PyObject *resultobj = NULL;
d14a1e28
RD
3076 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3077 int arg2 ;
3078 int arg3 ;
3079 PyObject * obj0 = 0 ;
8edf1c75
RD
3080 PyObject * obj1 = 0 ;
3081 PyObject * obj2 = 0 ;
d14a1e28
RD
3082 char *kwnames[] = {
3083 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
3084 };
3085
8edf1c75 3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3088 if (SWIG_arg_fail(1)) SWIG_fail;
3089 {
32fe5131 3090 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3091 if (SWIG_arg_fail(2)) SWIG_fail;
3092 }
3093 {
32fe5131 3094 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
3095 if (SWIG_arg_fail(3)) SWIG_fail;
3096 }
d14a1e28
RD
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 (arg1)->DoParsing(arg2,arg3);
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 Py_INCREF(Py_None); resultobj = Py_None;
3105 return resultobj;
3106 fail:
3107 return NULL;
3108}
3109
3110
c370783e 3111static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3112 PyObject *resultobj = NULL;
d14a1e28
RD
3113 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3114 PyObject * obj0 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
36ed4f51
RD
3120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 (arg1)->StopParsing();
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 return resultobj;
3131 fail:
3132 return NULL;
3133}
3134
3135
c370783e 3136static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3137 PyObject *resultobj = NULL;
d14a1e28
RD
3138 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3139 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj1 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self",(char *) "handler", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3148 if (SWIG_arg_fail(1)) SWIG_fail;
3149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3150 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->AddTagHandler(arg2);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162}
3163
3164
c370783e 3165static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3166 PyObject *resultobj = NULL;
d14a1e28
RD
3167 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3168 wxString *result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
36ed4f51
RD
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (wxString *)(arg1)->GetSource();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 {
3185#if wxUSE_UNICODE
3186 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3187#else
3188 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3189#endif
3190 }
3191 return resultobj;
3192 fail:
3193 return NULL;
3194}
3195
3196
c370783e 3197static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3198 PyObject *resultobj = NULL;
d14a1e28
RD
3199 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3200 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3201 wxString arg3 ;
d14a1e28
RD
3202 PyObject * obj0 = 0 ;
3203 PyObject * obj1 = 0 ;
3204 PyObject * obj2 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self",(char *) "handler",(char *) "tags", NULL
3207 };
3208
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3211 if (SWIG_arg_fail(1)) SWIG_fail;
3212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3213 if (SWIG_arg_fail(2)) SWIG_fail;
423f194a
RD
3214 {
3215 wxString* sptr = wxString_in_helper(obj2);
3216 if (sptr == NULL) SWIG_fail;
3217 arg3 = *sptr;
3218 delete sptr;
3219 }
d14a1e28
RD
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 (arg1)->PushTagHandler(arg2,arg3);
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 Py_INCREF(Py_None); resultobj = Py_None;
3228 return resultobj;
3229 fail:
3230 return NULL;
3231}
3232
3233
c370783e 3234static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3235 PyObject *resultobj = NULL;
d14a1e28
RD
3236 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3237 PyObject * obj0 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "self", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
36ed4f51
RD
3243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 (arg1)->PopTagHandler();
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 Py_INCREF(Py_None); resultobj = Py_None;
3253 return resultobj;
3254 fail:
3255 return NULL;
3256}
3257
3258
c370783e 3259static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3260 PyObject *obj;
3261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3262 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3263 Py_INCREF(obj);
3264 return Py_BuildValue((char *)"");
3265}
c370783e 3266static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3267 PyObject *resultobj = NULL;
d14a1e28
RD
3268 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3269 wxHtmlWinParser *result;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "wnd", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3276 if (obj0) {
36ed4f51
RD
3277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3279 }
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
2f4c0a16 3287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
3288 return resultobj;
3289 fail:
3290 return NULL;
3291}
3292
3293
c370783e 3294static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3295 PyObject *resultobj = NULL;
d14a1e28
RD
3296 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3297 wxDC *arg2 = (wxDC *) 0 ;
3298 PyObject * obj0 = 0 ;
3299 PyObject * obj1 = 0 ;
3300 char *kwnames[] = {
3301 (char *) "self",(char *) "dc", NULL
3302 };
3303
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail;
3307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3308 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 (arg1)->SetDC(arg2);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
c370783e 3323static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3324 PyObject *resultobj = NULL;
d14a1e28
RD
3325 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3326 wxDC *result;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
3333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (wxDC *)(arg1)->GetDC();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 {
7e08d4ef 3343 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
3344 }
3345 return resultobj;
3346 fail:
3347 return NULL;
3348}
3349
3350
c370783e 3351static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3352 PyObject *resultobj = NULL;
d14a1e28
RD
3353 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3354 int result;
3355 PyObject * obj0 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
3361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = (int)(arg1)->GetCharHeight();
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
36ed4f51 3370 {
32fe5131 3371 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3372 }
d14a1e28
RD
3373 return resultobj;
3374 fail:
3375 return NULL;
3376}
3377
3378
c370783e 3379static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3380 PyObject *resultobj = NULL;
d14a1e28
RD
3381 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3382 int result;
3383 PyObject * obj0 = 0 ;
3384 char *kwnames[] = {
3385 (char *) "self", NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
3389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (int)(arg1)->GetCharWidth();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
36ed4f51 3398 {
32fe5131 3399 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3400 }
d14a1e28
RD
3401 return resultobj;
3402 fail:
3403 return NULL;
3404}
3405
3406
c370783e 3407static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3408 PyObject *resultobj = NULL;
d14a1e28
RD
3409 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3410 wxPyHtmlWindow *result;
3411 PyObject * obj0 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
3417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
3426 {
7e08d4ef 3427 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
3428 }
3429 return resultobj;
3430 fail:
3431 return NULL;
3432}
3433
3434
c370783e 3435static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3436 PyObject *resultobj = NULL;
d14a1e28
RD
3437 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3438 wxString arg2 ;
3439 wxString arg3 ;
3440 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
3441 PyObject * obj0 = 0 ;
3442 PyObject * obj1 = 0 ;
3443 PyObject * obj2 = 0 ;
3444 PyObject * obj3 = 0 ;
3445 char *kwnames[] = {
3446 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3447 };
3448
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3451 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
3452 {
3453 wxString* sptr = wxString_in_helper(obj1);
3454 if (sptr == NULL) SWIG_fail;
3455 arg2 = *sptr;
3456 delete sptr;
3457 }
3458 {
3459 wxString* sptr = wxString_in_helper(obj2);
3460 if (sptr == NULL) SWIG_fail;
3461 arg3 = *sptr;
3462 delete sptr;
3463 }
d14a1e28
RD
3464 if (obj3) {
3465 arg4 = obj3;
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 Py_INCREF(Py_None); resultobj = Py_None;
3475 return resultobj;
3476 fail:
3477 return NULL;
3478}
3479
3480
b411df4a 3481static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3482 PyObject *resultobj = NULL;
30ee79f7
RD
3483 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3484 int arg2 = (int) -1 ;
b411df4a
RD
3485 wxString const &arg3_defvalue = wxPyEmptyString ;
3486 wxString *arg3 = (wxString *) &arg3_defvalue ;
3487 wxString const &arg4_defvalue = wxPyEmptyString ;
3488 wxString *arg4 = (wxString *) &arg4_defvalue ;
3489 bool temp3 = false ;
3490 bool temp4 = false ;
30ee79f7
RD
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
b411df4a
RD
3493 PyObject * obj2 = 0 ;
3494 PyObject * obj3 = 0 ;
30ee79f7 3495 char *kwnames[] = {
b411df4a 3496 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
3497 };
3498
b411df4a 3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
3500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3501 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 3502 if (obj1) {
36ed4f51 3503 {
32fe5131 3504 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3505 if (SWIG_arg_fail(2)) SWIG_fail;
3506 }
30ee79f7 3507 }
b411df4a
RD
3508 if (obj2) {
3509 {
3510 arg3 = wxString_in_helper(obj2);
3511 if (arg3 == NULL) SWIG_fail;
3512 temp3 = true;
3513 }
3514 }
3515 if (obj3) {
3516 {
3517 arg4 = wxString_in_helper(obj3);
3518 if (arg4 == NULL) SWIG_fail;
3519 temp4 = true;
3520 }
3521 }
30ee79f7
RD
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 3524 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
3530 {
3531 if (temp3)
3532 delete arg3;
3533 }
3534 {
3535 if (temp4)
3536 delete arg4;
3537 }
30ee79f7
RD
3538 return resultobj;
3539 fail:
b411df4a
RD
3540 {
3541 if (temp3)
3542 delete arg3;
3543 }
3544 {
3545 if (temp4)
3546 delete arg4;
3547 }
30ee79f7
RD
3548 return NULL;
3549}
3550
3551
c370783e 3552static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3553 PyObject *resultobj = NULL;
d14a1e28
RD
3554 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3555 wxHtmlContainerCell *result;
3556 PyObject * obj0 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3564 {
3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
3566 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3567
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
2f4c0a16 3571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3572 return resultobj;
3573 fail:
3574 return NULL;
3575}
3576
3577
c370783e 3578static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3579 PyObject *resultobj = NULL;
d14a1e28
RD
3580 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3581 wxHtmlContainerCell *result;
3582 PyObject * obj0 = 0 ;
3583 char *kwnames[] = {
3584 (char *) "self", NULL
3585 };
3586
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3589 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3590 {
3591 PyThreadState* __tstate = wxPyBeginAllowThreads();
3592 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3593
3594 wxPyEndAllowThreads(__tstate);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 }
2f4c0a16 3597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3598 return resultobj;
3599 fail:
3600 return NULL;
3601}
3602
3603
c370783e 3604static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3605 PyObject *resultobj = NULL;
d14a1e28
RD
3606 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3607 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3608 wxHtmlContainerCell *result;
3609 PyObject * obj0 = 0 ;
3610 PyObject * obj1 = 0 ;
3611 char *kwnames[] = {
3612 (char *) "self",(char *) "c", NULL
3613 };
3614
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3617 if (SWIG_arg_fail(1)) SWIG_fail;
3618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3619 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3620 {
3621 PyThreadState* __tstate = wxPyBeginAllowThreads();
3622 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3623
3624 wxPyEndAllowThreads(__tstate);
3625 if (PyErr_Occurred()) SWIG_fail;
3626 }
2f4c0a16 3627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3628 return resultobj;
3629 fail:
3630 return NULL;
3631}
3632
3633
c370783e 3634static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3635 PyObject *resultobj = NULL;
d14a1e28
RD
3636 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3637 wxHtmlContainerCell *result;
3638 PyObject * obj0 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
3644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3645 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
2f4c0a16 3653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
3654 return resultobj;
3655 fail:
3656 return NULL;
3657}
3658
3659
c370783e 3660static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3661 PyObject *resultobj = NULL;
d14a1e28
RD
3662 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3663 int result;
3664 PyObject * obj0 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
3670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3671 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (int)(arg1)->GetFontSize();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
36ed4f51 3679 {
32fe5131 3680 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3681 }
d14a1e28
RD
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
c370783e 3688static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3689 PyObject *resultobj = NULL;
d14a1e28
RD
3690 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3691 int arg2 ;
3692 PyObject * obj0 = 0 ;
8edf1c75 3693 PyObject * obj1 = 0 ;
d14a1e28
RD
3694 char *kwnames[] = {
3695 (char *) "self",(char *) "s", NULL
3696 };
3697
8edf1c75 3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3700 if (SWIG_arg_fail(1)) SWIG_fail;
3701 {
32fe5131 3702 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3703 if (SWIG_arg_fail(2)) SWIG_fail;
3704 }
d14a1e28
RD
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 (arg1)->SetFontSize(arg2);
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 Py_INCREF(Py_None); resultobj = Py_None;
3713 return resultobj;
3714 fail:
3715 return NULL;
3716}
3717
3718
c370783e 3719static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3720 PyObject *resultobj = NULL;
d14a1e28
RD
3721 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3722 int result;
3723 PyObject * obj0 = 0 ;
3724 char *kwnames[] = {
3725 (char *) "self", NULL
3726 };
3727
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
36ed4f51
RD
3729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3730 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = (int)(arg1)->GetFontBold();
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
36ed4f51 3738 {
32fe5131 3739 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3740 }
d14a1e28
RD
3741 return resultobj;
3742 fail:
3743 return NULL;
3744}
3745
3746
c370783e 3747static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3748 PyObject *resultobj = NULL;
d14a1e28
RD
3749 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3750 int arg2 ;
3751 PyObject * obj0 = 0 ;
8edf1c75 3752 PyObject * obj1 = 0 ;
d14a1e28
RD
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "x", NULL
3755 };
3756
8edf1c75 3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail;
3760 {
32fe5131 3761 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3762 if (SWIG_arg_fail(2)) SWIG_fail;
3763 }
d14a1e28
RD
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 (arg1)->SetFontBold(arg2);
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 Py_INCREF(Py_None); resultobj = Py_None;
3772 return resultobj;
3773 fail:
3774 return NULL;
3775}
3776
3777
c370783e 3778static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3779 PyObject *resultobj = NULL;
d14a1e28
RD
3780 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3781 int result;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
36ed4f51
RD
3788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)(arg1)->GetFontItalic();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
36ed4f51 3797 {
32fe5131 3798 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3799 }
d14a1e28
RD
3800 return resultobj;
3801 fail:
3802 return NULL;
3803}
3804
3805
c370783e 3806static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3807 PyObject *resultobj = NULL;
d14a1e28
RD
3808 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3809 int arg2 ;
3810 PyObject * obj0 = 0 ;
8edf1c75 3811 PyObject * obj1 = 0 ;
d14a1e28
RD
3812 char *kwnames[] = {
3813 (char *) "self",(char *) "x", NULL
3814 };
3815
8edf1c75 3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3818 if (SWIG_arg_fail(1)) SWIG_fail;
3819 {
32fe5131 3820 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3821 if (SWIG_arg_fail(2)) SWIG_fail;
3822 }
d14a1e28
RD
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 (arg1)->SetFontItalic(arg2);
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 Py_INCREF(Py_None); resultobj = Py_None;
3831 return resultobj;
3832 fail:
3833 return NULL;
3834}
3835
3836
c370783e 3837static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3838 PyObject *resultobj = NULL;
d14a1e28
RD
3839 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3840 int result;
3841 PyObject * obj0 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
36ed4f51
RD
3847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3848 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (int)(arg1)->GetFontUnderlined();
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
36ed4f51 3856 {
32fe5131 3857 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3858 }
d14a1e28
RD
3859 return resultobj;
3860 fail:
3861 return NULL;
3862}
3863
3864
c370783e 3865static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3866 PyObject *resultobj = NULL;
d14a1e28
RD
3867 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3868 int arg2 ;
3869 PyObject * obj0 = 0 ;
8edf1c75 3870 PyObject * obj1 = 0 ;
d14a1e28
RD
3871 char *kwnames[] = {
3872 (char *) "self",(char *) "x", NULL
3873 };
3874
8edf1c75 3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3877 if (SWIG_arg_fail(1)) SWIG_fail;
3878 {
32fe5131 3879 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3880 if (SWIG_arg_fail(2)) SWIG_fail;
3881 }
d14a1e28
RD
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 (arg1)->SetFontUnderlined(arg2);
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 Py_INCREF(Py_None); resultobj = Py_None;
3890 return resultobj;
3891 fail:
3892 return NULL;
3893}
3894
3895
c370783e 3896static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3897 PyObject *resultobj = NULL;
d14a1e28
RD
3898 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3899 int result;
3900 PyObject * obj0 = 0 ;
3901 char *kwnames[] = {
3902 (char *) "self", NULL
3903 };
3904
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
36ed4f51
RD
3906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3907 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 result = (int)(arg1)->GetFontFixed();
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
36ed4f51 3915 {
32fe5131 3916 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3917 }
d14a1e28
RD
3918 return resultobj;
3919 fail:
3920 return NULL;
3921}
3922
3923
c370783e 3924static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3925 PyObject *resultobj = NULL;
d14a1e28
RD
3926 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3927 int arg2 ;
3928 PyObject * obj0 = 0 ;
8edf1c75 3929 PyObject * obj1 = 0 ;
d14a1e28
RD
3930 char *kwnames[] = {
3931 (char *) "self",(char *) "x", NULL
3932 };
3933
8edf1c75 3934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3936 if (SWIG_arg_fail(1)) SWIG_fail;
3937 {
32fe5131 3938 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3939 if (SWIG_arg_fail(2)) SWIG_fail;
3940 }
d14a1e28
RD
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 (arg1)->SetFontFixed(arg2);
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 Py_INCREF(Py_None); resultobj = Py_None;
3949 return resultobj;
3950 fail:
3951 return NULL;
3952}
3953
3954
c370783e 3955static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3956 PyObject *resultobj = NULL;
d14a1e28
RD
3957 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3958 int result;
3959 PyObject * obj0 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
3965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (int)(arg1)->GetAlign();
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
36ed4f51 3974 {
32fe5131 3975 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 3976 }
d14a1e28
RD
3977 return resultobj;
3978 fail:
3979 return NULL;
3980}
3981
3982
c370783e 3983static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3984 PyObject *resultobj = NULL;
d14a1e28
RD
3985 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3986 int arg2 ;
3987 PyObject * obj0 = 0 ;
8edf1c75 3988 PyObject * obj1 = 0 ;
d14a1e28
RD
3989 char *kwnames[] = {
3990 (char *) "self",(char *) "a", NULL
3991 };
3992
8edf1c75 3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3995 if (SWIG_arg_fail(1)) SWIG_fail;
3996 {
32fe5131 3997 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3998 if (SWIG_arg_fail(2)) SWIG_fail;
3999 }
d14a1e28
RD
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 (arg1)->SetAlign(arg2);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 Py_INCREF(Py_None); resultobj = Py_None;
4008 return resultobj;
4009 fail:
4010 return NULL;
4011}
4012
4013
c370783e 4014static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4015 PyObject *resultobj = NULL;
d14a1e28
RD
4016 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4017 wxColour result;
4018 PyObject * obj0 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
36ed4f51
RD
4024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4025 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (arg1)->GetLinkColor();
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 {
4034 wxColour * resultptr;
32fe5131 4035 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 4036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4037 }
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
c370783e 4044static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4045 PyObject *resultobj = NULL;
d14a1e28
RD
4046 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4047 wxColour *arg2 = 0 ;
4048 wxColour temp2 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "clr", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4058 {
4059 arg2 = &temp2;
4060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4061 }
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetLinkColor((wxColour const &)*arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
c370783e 4076static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4077 PyObject *resultobj = NULL;
d14a1e28
RD
4078 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4079 wxColour result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
36ed4f51
RD
4086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4087 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (arg1)->GetActualColor();
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 {
4096 wxColour * resultptr;
32fe5131 4097 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 4098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
4099 }
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
c370783e 4106static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4107 PyObject *resultobj = NULL;
d14a1e28
RD
4108 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4109 wxColour *arg2 = 0 ;
4110 wxColour temp2 ;
4111 PyObject * obj0 = 0 ;
4112 PyObject * obj1 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "clr", NULL
4115 };
4116
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4119 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4120 {
4121 arg2 = &temp2;
4122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4123 }
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 (arg1)->SetActualColor((wxColour const &)*arg2);
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 Py_INCREF(Py_None); resultobj = Py_None;
4132 return resultobj;
4133 fail:
4134 return NULL;
4135}
4136
4137
c370783e 4138static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4139 PyObject *resultobj = NULL;
d14a1e28
RD
4140 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4141 wxString *arg2 = 0 ;
b411df4a 4142 bool temp2 = false ;
d14a1e28
RD
4143 PyObject * obj0 = 0 ;
4144 PyObject * obj1 = 0 ;
4145 char *kwnames[] = {
4146 (char *) "self",(char *) "link", NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4151 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4152 {
4153 arg2 = wxString_in_helper(obj1);
4154 if (arg2 == NULL) SWIG_fail;
b411df4a 4155 temp2 = true;
d14a1e28
RD
4156 }
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 (arg1)->SetLink((wxString const &)*arg2);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 Py_INCREF(Py_None); resultobj = Py_None;
4165 {
4166 if (temp2)
4167 delete arg2;
4168 }
4169 return resultobj;
4170 fail:
4171 {
4172 if (temp2)
4173 delete arg2;
4174 }
4175 return NULL;
4176}
4177
4178
c370783e 4179static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4180 PyObject *resultobj = NULL;
d14a1e28
RD
4181 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4182 wxFont *result;
4183 PyObject * obj0 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
4189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (wxFont *)(arg1)->CreateCurrentFont();
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
2f4c0a16 4198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
4199 return resultobj;
4200 fail:
4201 return NULL;
4202}
4203
4204
c370783e 4205static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4206 PyObject *resultobj = NULL;
d14a1e28 4207 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
36ed4f51 4208 SwigValueWrapper<wxHtmlLinkInfo > result;
d14a1e28
RD
4209 PyObject * obj0 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self", NULL
4212 };
4213
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
4215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (arg1)->GetLink();
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
4225 wxHtmlLinkInfo * resultptr;
32fe5131 4226 resultptr = new wxHtmlLinkInfo(static_cast<wxHtmlLinkInfo & >(result));
2f4c0a16 4227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
4228 }
4229 return resultobj;
4230 fail:
4231 return NULL;
4232}
4233
4234
c370783e 4235static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4236 PyObject *obj;
4237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4238 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
4239 Py_INCREF(obj);
4240 return Py_BuildValue((char *)"");
4241}
c370783e 4242static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4243 PyObject *resultobj = NULL;
d14a1e28
RD
4244 wxPyHtmlTagHandler *result;
4245 char *kwnames[] = {
4246 NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
2f4c0a16 4257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
4258 return resultobj;
4259 fail:
4260 return NULL;
4261}
4262
4263
c370783e 4264static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4265 PyObject *resultobj = NULL;
d14a1e28
RD
4266 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4267 PyObject *arg2 = (PyObject *) 0 ;
4268 PyObject *arg3 = (PyObject *) 0 ;
4269 PyObject * obj0 = 0 ;
4270 PyObject * obj1 = 0 ;
4271 PyObject * obj2 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self",(char *) "self",(char *) "_class", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4279 arg2 = obj1;
4280 arg3 = obj2;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 (arg1)->_setCallbackInfo(arg2,arg3);
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 Py_INCREF(Py_None); resultobj = Py_None;
4289 return resultobj;
4290 fail:
4291 return NULL;
4292}
4293
4294
c370783e 4295static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4296 PyObject *resultobj = NULL;
d14a1e28
RD
4297 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4298 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "parser", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail;
4308 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4309 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 (arg1)->SetParser(arg2);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 Py_INCREF(Py_None); resultobj = Py_None;
4318 return resultobj;
4319 fail:
4320 return NULL;
4321}
4322
4323
c370783e 4324static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4325 PyObject *resultobj = NULL;
d14a1e28
RD
4326 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4327 wxHtmlParser *result;
4328 PyObject * obj0 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
4334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = (wxHtmlParser *)(arg1)->GetParser();
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
2f4c0a16 4343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
4344 return resultobj;
4345 fail:
4346 return NULL;
4347}
4348
4349
c370783e 4350static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4351 PyObject *resultobj = NULL;
d14a1e28
RD
4352 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4353 wxHtmlTag *arg2 = 0 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "tag", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4362 if (SWIG_arg_fail(1)) SWIG_fail;
4363 {
4364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4365 if (SWIG_arg_fail(2)) SWIG_fail;
4366 if (arg2 == NULL) {
4367 SWIG_null_ref("wxHtmlTag");
4368 }
4369 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4370 }
4371 {
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4374
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 Py_INCREF(Py_None); resultobj = Py_None;
4379 return resultobj;
4380 fail:
4381 return NULL;
4382}
4383
4384
c370783e 4385static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4386 PyObject *obj;
4387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4388 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4389 Py_INCREF(obj);
4390 return Py_BuildValue((char *)"");
4391}
c370783e 4392static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4393 PyObject *resultobj = NULL;
d14a1e28
RD
4394 wxPyHtmlWinTagHandler *result;
4395 char *kwnames[] = {
4396 NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
2f4c0a16 4407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
4408 return resultobj;
4409 fail:
4410 return NULL;
4411}
4412
4413
c370783e 4414static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4415 PyObject *resultobj = NULL;
d14a1e28
RD
4416 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4417 PyObject *arg2 = (PyObject *) 0 ;
4418 PyObject *arg3 = (PyObject *) 0 ;
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
4421 PyObject * obj2 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self",(char *) "self",(char *) "_class", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4429 arg2 = obj1;
4430 arg3 = obj2;
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 (arg1)->_setCallbackInfo(arg2,arg3);
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 Py_INCREF(Py_None); resultobj = Py_None;
4439 return resultobj;
4440 fail:
4441 return NULL;
4442}
4443
4444
c370783e 4445static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4446 PyObject *resultobj = NULL;
d14a1e28
RD
4447 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4448 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "parser", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail;
4458 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4459 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 (arg1)->SetParser(arg2);
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 Py_INCREF(Py_None); resultobj = Py_None;
4468 return resultobj;
4469 fail:
4470 return NULL;
4471}
4472
4473
c370783e 4474static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4475 PyObject *resultobj = NULL;
d14a1e28
RD
4476 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4477 wxHtmlWinParser *result;
4478 PyObject * obj0 = 0 ;
4479 char *kwnames[] = {
4480 (char *) "self", NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
4484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4485 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (wxHtmlWinParser *)(arg1)->GetParser();
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
2f4c0a16 4493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
4494 return resultobj;
4495 fail:
4496 return NULL;
4497}
4498
4499
c370783e 4500static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4501 PyObject *resultobj = NULL;
d14a1e28
RD
4502 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4503 wxHtmlTag *arg2 = 0 ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self",(char *) "tag", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4512 if (SWIG_arg_fail(1)) SWIG_fail;
4513 {
4514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(2)) SWIG_fail;
4516 if (arg2 == NULL) {
4517 SWIG_null_ref("wxHtmlTag");
4518 }
4519 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4520 }
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 Py_INCREF(Py_None); resultobj = Py_None;
4529 return resultobj;
4530 fail:
4531 return NULL;
4532}
4533
4534
c370783e 4535static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4536 PyObject *obj;
4537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4538 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4539 Py_INCREF(obj);
4540 return Py_BuildValue((char *)"");
4541}
c370783e 4542static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4543 PyObject *resultobj = NULL;
d14a1e28
RD
4544 PyObject *arg1 = (PyObject *) 0 ;
4545 PyObject * obj0 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "tagHandlerClass", NULL
4548 };
4549
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4551 arg1 = obj0;
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 wxHtmlWinParser_AddTagHandler(arg1);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 Py_INCREF(Py_None); resultobj = Py_None;
4560 return resultobj;
4561 fail:
4562 return NULL;
4563}
4564
4565
c370783e 4566static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4567 PyObject *resultobj = NULL;
d14a1e28
RD
4568 wxHtmlSelection *result;
4569 char *kwnames[] = {
4570 NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 result = (wxHtmlSelection *)new wxHtmlSelection();
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
2f4c0a16 4581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
4582 return resultobj;
4583 fail:
4584 return NULL;
4585}
4586
4587
c370783e 4588static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4589 PyObject *resultobj = NULL;
d14a1e28
RD
4590 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
4597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 delete arg1;
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610}
4611
4612
c370783e 4613static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4614 PyObject *resultobj = NULL;
d14a1e28
RD
4615 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4616 wxPoint *arg2 = 0 ;
4617 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4618 wxPoint *arg4 = 0 ;
4619 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4620 wxPoint temp2 ;
4621 wxPoint temp4 ;
4622 PyObject * obj0 = 0 ;
4623 PyObject * obj1 = 0 ;
4624 PyObject * obj2 = 0 ;
4625 PyObject * obj3 = 0 ;
4626 PyObject * obj4 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4633 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4634 {
4635 arg2 = &temp2;
4636 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4637 }
36ed4f51
RD
4638 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4639 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4640 {
4641 arg4 = &temp4;
4642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4643 }
36ed4f51
RD
4644 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4645 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657}
4658
4659
c370783e 4660static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4661 PyObject *resultobj = NULL;
d14a1e28
RD
4662 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4663 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4664 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4665 PyObject * obj0 = 0 ;
4666 PyObject * obj1 = 0 ;
4667 PyObject * obj2 = 0 ;
4668 char *kwnames[] = {
4669 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail;
4675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4676 if (SWIG_arg_fail(2)) SWIG_fail;
4677 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4678 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 Py_INCREF(Py_None); resultobj = Py_None;
4687 return resultobj;
4688 fail:
4689 return NULL;
4690}
4691
4692
c370783e 4693static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4694 PyObject *resultobj = NULL;
d14a1e28
RD
4695 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4696 wxHtmlCell *result;
4697 PyObject * obj0 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
4703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
2f4c0a16 4712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4713 return resultobj;
4714 fail:
4715 return NULL;
4716}
4717
4718
c370783e 4719static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4720 PyObject *resultobj = NULL;
d14a1e28
RD
4721 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4722 wxHtmlCell *result;
4723 PyObject * obj0 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
2f4c0a16 4738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
c370783e 4745static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4746 PyObject *resultobj = NULL;
d14a1e28
RD
4747 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4748 wxPoint *result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 {
4760 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4761 result = (wxPoint *) &_result_ref;
4762 }
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
2f4c0a16 4767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4768 return resultobj;
4769 fail:
4770 return NULL;
4771}
4772
4773
c370783e 4774static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4775 PyObject *resultobj = NULL;
d14a1e28
RD
4776 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4777 wxPoint *result;
4778 PyObject * obj0 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 {
4789 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4790 result = (wxPoint *) &_result_ref;
4791 }
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
2f4c0a16 4796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4797 return resultobj;
4798 fail:
4799 return NULL;
4800}
4801
4802
c370783e 4803static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4804 PyObject *resultobj = NULL;
d14a1e28
RD
4805 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4806 wxPoint *result;
4807 PyObject * obj0 = 0 ;
4808 char *kwnames[] = {
4809 (char *) "self", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4814 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 {
4818 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4819 result = (wxPoint *) &_result_ref;
4820 }
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
2f4c0a16 4825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4826 return resultobj;
4827 fail:
4828 return NULL;
4829}
4830
4831
c370783e 4832static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4833 PyObject *resultobj = NULL;
d14a1e28
RD
4834 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4835 wxPoint *result;
4836 PyObject * obj0 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "self", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 {
4847 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4848 result = (wxPoint *) &_result_ref;
4849 }
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
2f4c0a16 4854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
4855 return resultobj;
4856 fail:
4857 return NULL;
4858}
4859
4860
c370783e 4861static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4862 PyObject *resultobj = NULL;
d14a1e28
RD
4863 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4864 wxPoint *arg2 = 0 ;
4865 wxPoint temp2 ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj1 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "self",(char *) "pos", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4874 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4875 {
4876 arg2 = &temp2;
4877 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4878 }
4879 {
4880 PyThreadState* __tstate = wxPyBeginAllowThreads();
4881 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4882
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
4886 Py_INCREF(Py_None); resultobj = Py_None;
4887 return resultobj;
4888 fail:
4889 return NULL;
4890}
4891
4892
c370783e 4893static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4894 PyObject *resultobj = NULL;
d14a1e28
RD
4895 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4896 wxPoint *arg2 = 0 ;
4897 wxPoint temp2 ;
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self",(char *) "pos", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4907 {
4908 arg2 = &temp2;
4909 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4910 }
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 Py_INCREF(Py_None); resultobj = Py_None;
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
c370783e 4925static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4926 PyObject *resultobj = NULL;
d14a1e28
RD
4927 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4928 PyObject * obj0 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
4934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4935 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 (arg1)->ClearPrivPos();
4939
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 Py_INCREF(Py_None); resultobj = Py_None;
4944 return resultobj;
4945 fail:
4946 return NULL;
4947}
4948
4949
c370783e 4950static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4951 PyObject *resultobj = NULL;
d14a1e28
RD
4952 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4953 bool result;
4954 PyObject * obj0 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "self", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
36ed4f51
RD
4960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
fbc46b20 4969 {
32fe5131 4970 resultobj = SWIG_From_bool(static_cast<bool >(result));
fbc46b20 4971 }
d14a1e28
RD
4972 return resultobj;
4973 fail:
4974 return NULL;
4975}
4976
4977
c370783e 4978static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4979 PyObject *obj;
4980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4981 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4982 Py_INCREF(obj);
4983 return Py_BuildValue((char *)"");
4984}
c370783e 4985static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4986 PyObject *resultobj = NULL;
d14a1e28
RD
4987 wxHtmlRenderingState *result;
4988 char *kwnames[] = {
4989 NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4993 {
4994 PyThreadState* __tstate = wxPyBeginAllowThreads();
4995 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4996
4997 wxPyEndAllowThreads(__tstate);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
2f4c0a16 5000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
5001 return resultobj;
5002 fail:
5003 return NULL;
5004}
5005
5006
c370783e 5007static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5008 PyObject *resultobj = NULL;
d14a1e28
RD
5009 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5010 PyObject * obj0 = 0 ;
5011 char *kwnames[] = {
5012 (char *) "self", NULL
5013 };
5014
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
36ed4f51
RD
5016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 delete arg1;
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029}
5030
5031
c370783e 5032static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5033 PyObject *resultobj = NULL;
d14a1e28 5034 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
36ed4f51 5035 wxHtmlSelectionState arg2 ;
d14a1e28 5036 PyObject * obj0 = 0 ;
8edf1c75 5037 PyObject * obj1 = 0 ;
d14a1e28
RD
5038 char *kwnames[] = {
5039 (char *) "self",(char *) "s", NULL
5040 };
5041
8edf1c75 5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5044 if (SWIG_arg_fail(1)) SWIG_fail;
5045 {
32fe5131 5046 arg2 = static_cast<wxHtmlSelectionState >(SWIG_As_int(obj1));
36ed4f51
RD
5047 if (SWIG_arg_fail(2)) SWIG_fail;
5048 }
d14a1e28
RD
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5051 (arg1)->SetSelectionState(arg2);
d14a1e28
RD
5052
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 Py_INCREF(Py_None); resultobj = Py_None;
5057 return resultobj;
5058 fail:
5059 return NULL;
5060}
5061
5062
c370783e 5063static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5064 PyObject *resultobj = NULL;
d14a1e28 5065 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
36ed4f51 5066 wxHtmlSelectionState result;
d14a1e28
RD
5067 PyObject * obj0 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
36ed4f51
RD
5073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5077 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
d14a1e28
RD
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
36ed4f51 5082 resultobj = SWIG_From_int((result));
d14a1e28
RD
5083 return resultobj;
5084 fail:
5085 return NULL;
5086}
5087
5088
c370783e 5089static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5090 PyObject *resultobj = NULL;
d14a1e28
RD
5091 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5092 wxColour *arg2 = 0 ;
5093 wxColour temp2 ;
5094 PyObject * obj0 = 0 ;
5095 PyObject * obj1 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "c", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5103 {
5104 arg2 = &temp2;
5105 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5106 }
5107 {
5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
5109 (arg1)->SetFgColour((wxColour const &)*arg2);
5110
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 Py_INCREF(Py_None); resultobj = Py_None;
5115 return resultobj;
5116 fail:
5117 return NULL;
5118}
5119
5120
c370783e 5121static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5122 PyObject *resultobj = NULL;
d14a1e28
RD
5123 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5124 wxColour *result;
5125 PyObject * obj0 = 0 ;
5126 char *kwnames[] = {
5127 (char *) "self", NULL
5128 };
5129
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5132 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 {
5136 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
5137 result = (wxColour *) &_result_ref;
5138 }
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
2f4c0a16 5143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
5144 return resultobj;
5145 fail:
5146 return NULL;
5147}
5148
5149
c370783e 5150static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5151 PyObject *resultobj = NULL;
d14a1e28
RD
5152 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5153 wxColour *arg2 = 0 ;
5154 wxColour temp2 ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self",(char *) "c", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5163 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5164 {
5165 arg2 = &temp2;
5166 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5167 }
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 (arg1)->SetBgColour((wxColour const &)*arg2);
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 Py_INCREF(Py_None); resultobj = Py_None;
5176 return resultobj;
5177 fail:
5178 return NULL;
5179}
5180
5181
c370783e 5182static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5183 PyObject *resultobj = NULL;
d14a1e28
RD
5184 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5185 wxColour *result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
5192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5193 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 {
5197 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
5198 result = (wxColour *) &_result_ref;
5199 }
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
2f4c0a16 5204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
5205 return resultobj;
5206 fail:
5207 return NULL;
5208}
5209
5210
c370783e 5211static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5212 PyObject *obj;
5213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5214 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
5215 Py_INCREF(obj);
5216 return Py_BuildValue((char *)"");
5217}
c370783e 5218static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5219 PyObject *resultobj = NULL;
d14a1e28
RD
5220 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5221 wxColour *arg2 = 0 ;
5222 wxColour result;
5223 wxColour temp2 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char *kwnames[] = {
5227 (char *) "self",(char *) "clr", NULL
5228 };
5229
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5232 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5233 {
5234 arg2 = &temp2;
5235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5236 }
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 {
5245 wxColour * resultptr;
32fe5131 5246 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5248 }
5249 return resultobj;
5250 fail:
5251 return NULL;
5252}
5253
5254
c370783e 5255static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5256 PyObject *resultobj = NULL;
d14a1e28
RD
5257 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5258 wxColour *arg2 = 0 ;
5259 wxColour result;
5260 wxColour temp2 ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self",(char *) "clr", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5270 {
5271 arg2 = &temp2;
5272 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5273 }
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 {
5282 wxColour * resultptr;
32fe5131 5283 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5285 }
5286 return resultobj;
5287 fail:
5288 return NULL;
5289}
5290
5291
c370783e 5292static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5293 PyObject *obj;
5294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5295 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5296 Py_INCREF(obj);
5297 return Py_BuildValue((char *)"");
5298}
c370783e 5299static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5300 PyObject *resultobj = NULL;
d14a1e28
RD
5301 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5302 wxColour *arg2 = 0 ;
5303 wxColour result;
5304 wxColour temp2 ;
5305 PyObject * obj0 = 0 ;
5306 PyObject * obj1 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self",(char *) "clr", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5313 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5314 {
5315 arg2 = &temp2;
5316 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5317 }
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5321
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 {
5326 wxColour * resultptr;
32fe5131 5327 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5329 }
5330 return resultobj;
5331 fail:
5332 return NULL;
5333}
5334
5335
c370783e 5336static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5337 PyObject *resultobj = NULL;
d14a1e28
RD
5338 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5339 wxColour *arg2 = 0 ;
5340 wxColour result;
5341 wxColour temp2 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "clr", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5350 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5351 {
5352 arg2 = &temp2;
5353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 {
5363 wxColour * resultptr;
32fe5131 5364 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 5365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5366 }
5367 return resultobj;
5368 fail:
5369 return NULL;
5370}
5371
5372
c370783e 5373static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5374 PyObject *obj;
5375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5376 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5377 Py_INCREF(obj);
5378 return Py_BuildValue((char *)"");
5379}
c370783e 5380static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5381 PyObject *resultobj = NULL;
d14a1e28
RD
5382 wxHtmlRenderingInfo *result;
5383 char *kwnames[] = {
5384 NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
2f4c0a16 5395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
5396 return resultobj;
5397 fail:
5398 return NULL;
5399}
5400
5401
c370783e 5402static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5403 PyObject *resultobj = NULL;
d14a1e28
RD
5404 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5405 PyObject * obj0 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5412 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 delete arg1;
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 Py_INCREF(Py_None); resultobj = Py_None;
5421 return resultobj;
5422 fail:
5423 return NULL;
5424}
5425
5426
c370783e 5427static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5428 PyObject *resultobj = NULL;
d14a1e28
RD
5429 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5430 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5431 PyObject * obj0 = 0 ;
5432 PyObject * obj1 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self",(char *) "s", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5439 if (SWIG_arg_fail(1)) SWIG_fail;
5440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5441 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 (arg1)->SetSelection(arg2);
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 Py_INCREF(Py_None); resultobj = Py_None;
5450 return resultobj;
5451 fail:
5452 return NULL;
5453}
5454
5455
c370783e 5456static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5457 PyObject *resultobj = NULL;
d14a1e28
RD
5458 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5459 wxHtmlSelection *result;
5460 PyObject * obj0 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
5466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
2f4c0a16 5475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
5476 return resultobj;
5477 fail:
5478 return NULL;
5479}
5480
5481
c370783e 5482static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5483 PyObject *resultobj = NULL;
d14a1e28
RD
5484 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5485 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5486 PyObject * obj0 = 0 ;
5487 PyObject * obj1 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self",(char *) "style", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5494 if (SWIG_arg_fail(1)) SWIG_fail;
5495 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5496 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 (arg1)->SetStyle(arg2);
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 Py_INCREF(Py_None); resultobj = Py_None;
5505 return resultobj;
5506 fail:
5507 return NULL;
5508}
5509
5510
c370783e 5511static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5512 PyObject *resultobj = NULL;
d14a1e28
RD
5513 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5514 wxHtmlRenderingStyle *result;
5515 PyObject * obj0 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
5521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5522 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 {
5526 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5527 result = (wxHtmlRenderingStyle *) &_result_ref;
5528 }
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
2f4c0a16 5533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
5534 return resultobj;
5535 fail:
5536 return NULL;
5537}
5538
5539
c370783e 5540static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5541 PyObject *resultobj = NULL;
d14a1e28
RD
5542 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5543 wxHtmlRenderingState *result;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
5550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 {
5555 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5556 result = (wxHtmlRenderingState *) &_result_ref;
5557 }
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
2f4c0a16 5562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
5563 return resultobj;
5564 fail:
5565 return NULL;
5566}
5567
5568
c370783e 5569static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5570 PyObject *obj;
5571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5572 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5573 Py_INCREF(obj);
5574 return Py_BuildValue((char *)"");
5575}
c370783e 5576static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5577 PyObject *resultobj = NULL;
d14a1e28
RD
5578 wxHtmlCell *result;
5579 char *kwnames[] = {
5580 NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = (wxHtmlCell *)new wxHtmlCell();
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
2f4c0a16 5591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
5592 return resultobj;
5593 fail:
5594 return NULL;
5595}
5596
5597
c370783e 5598static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5599 PyObject *resultobj = NULL;
d14a1e28
RD
5600 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5601 int result;
5602 PyObject * obj0 = 0 ;
5603 char *kwnames[] = {
5604 (char *) "self", NULL
5605 };
5606
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
36ed4f51
RD
5608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 result = (int)(arg1)->GetPosX();
5613
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
36ed4f51 5617 {
32fe5131 5618 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5619 }
d14a1e28
RD
5620 return resultobj;
5621 fail:
5622 return NULL;
5623}
5624
5625
c370783e 5626static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5627 PyObject *resultobj = NULL;
d14a1e28
RD
5628 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5629 int result;
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
5632 (char *) "self", NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
36ed4f51
RD
5636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (int)(arg1)->GetPosY();
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
36ed4f51 5645 {
32fe5131 5646 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5647 }
d14a1e28
RD
5648 return resultobj;
5649 fail:
5650 return NULL;
5651}
5652
5653
c370783e 5654static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5655 PyObject *resultobj = NULL;
d14a1e28
RD
5656 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5657 int result;
5658 PyObject * obj0 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5666 {
5667 PyThreadState* __tstate = wxPyBeginAllowThreads();
5668 result = (int)(arg1)->GetWidth();
5669
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
36ed4f51 5673 {
32fe5131 5674 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5675 }
d14a1e28
RD
5676 return resultobj;
5677 fail:
5678 return NULL;
5679}
5680
5681
c370783e 5682static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5683 PyObject *resultobj = NULL;
d14a1e28
RD
5684 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5685 int result;
5686 PyObject * obj0 = 0 ;
5687 char *kwnames[] = {
5688 (char *) "self", NULL
5689 };
5690
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
5692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (int)(arg1)->GetHeight();
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
36ed4f51 5701 {
32fe5131 5702 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5703 }
d14a1e28
RD
5704 return resultobj;
5705 fail:
5706 return NULL;
5707}
5708
5709
c370783e 5710static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5711 PyObject *resultobj = NULL;
d14a1e28
RD
5712 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5713 int result;
5714 PyObject * obj0 = 0 ;
5715 char *kwnames[] = {
5716 (char *) "self", NULL
5717 };
5718
5719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5721 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5722 {
5723 PyThreadState* __tstate = wxPyBeginAllowThreads();
5724 result = (int)(arg1)->GetDescent();
5725
5726 wxPyEndAllowThreads(__tstate);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
36ed4f51 5729 {
32fe5131 5730 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5731 }
d14a1e28
RD
5732 return resultobj;
5733 fail:
5734 return NULL;
5735}
5736
5737
c370783e 5738static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5739 PyObject *resultobj = NULL;
fbc46b20
RD
5740 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5741 int result;
5742 PyObject * obj0 = 0 ;
5743 char *kwnames[] = {
5744 (char *) "self", NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5749 if (SWIG_arg_fail(1)) SWIG_fail;
fbc46b20
RD
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5753
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
36ed4f51 5757 {
32fe5131 5758 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 5759 }
fbc46b20
RD
5760 return resultobj;
5761 fail:
5762 return NULL;
5763}
5764
5765
c370783e 5766static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5767 PyObject *resultobj = NULL;
cbd72d4f
RD
5768 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5769 wxString *result;
5770 PyObject * obj0 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 {
5781 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5782 result = (wxString *) &_result_ref;
5783 }
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 {
5789#if wxUSE_UNICODE
5790 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5791#else
5792 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5793#endif
5794 }
5795 return resultobj;
5796 fail:
5797 return NULL;
5798}
5799
5800
c370783e 5801static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5802 PyObject *resultobj = NULL;
cbd72d4f
RD
5803 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5804 wxString *arg2 = 0 ;
b411df4a 5805 bool temp2 = false ;
cbd72d4f
RD
5806 PyObject * obj0 = 0 ;
5807 PyObject * obj1 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self",(char *) "id", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail;
cbd72d4f
RD
5815 {
5816 arg2 = wxString_in_helper(obj1);
5817 if (arg2 == NULL) SWIG_fail;
b411df4a 5818 temp2 = true;
cbd72d4f
RD
5819 }
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 (arg1)->SetId((wxString const &)*arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 Py_INCREF(Py_None); resultobj = Py_None;
5828 {
5829 if (temp2)
5830 delete arg2;
5831 }
5832 return resultobj;
5833 fail:
5834 {
5835 if (temp2)
5836 delete arg2;
5837 }
5838 return NULL;
5839}
5840
5841
c370783e 5842static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5843 PyObject *resultobj = NULL;
d14a1e28
RD
5844 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5845 int arg2 = (int) 0 ;
5846 int arg3 = (int) 0 ;
5847 wxHtmlLinkInfo *result;
5848 PyObject * obj0 = 0 ;
8edf1c75
RD
5849 PyObject * obj1 = 0 ;
5850 PyObject * obj2 = 0 ;
d14a1e28
RD
5851 char *kwnames[] = {
5852 (char *) "self",(char *) "x",(char *) "y", NULL
5853 };
5854
8edf1c75 5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 5858 if (obj1) {
36ed4f51 5859 {
32fe5131 5860 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
5861 if (SWIG_arg_fail(2)) SWIG_fail;
5862 }
8edf1c75
RD
5863 }
5864 if (obj2) {
36ed4f51 5865 {
32fe5131 5866 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5867 if (SWIG_arg_fail(3)) SWIG_fail;
5868 }
8edf1c75 5869 }
d14a1e28
RD
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
2f4c0a16 5877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
5878 return resultobj;
5879 fail:
5880 return NULL;
5881}
5882
5883
c370783e 5884static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5885 PyObject *resultobj = NULL;
d14a1e28
RD
5886 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5887 wxHtmlCell *result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
5894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5895 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (wxHtmlCell *)(arg1)->GetNext();
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
2f4c0a16 5903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5904 return resultobj;
5905 fail:
5906 return NULL;
5907}
5908
5909
c370783e 5910static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5911 PyObject *resultobj = NULL;
d14a1e28
RD
5912 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5913 wxHtmlContainerCell *result;
5914 PyObject * obj0 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5921 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
2f4c0a16 5929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
c370783e 5936static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5937 PyObject *resultobj = NULL;
d14a1e28
RD
5938 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5939 wxHtmlCell *result;
5940 PyObject * obj0 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
5946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
2f4c0a16 5955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5956 return resultobj;
5957 fail:
5958 return NULL;
5959}
5960
5961
c370783e 5962static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5963 PyObject *resultobj = NULL;
d14a1e28
RD
5964 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5965 wxCursor result;
5966 PyObject * obj0 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
36ed4f51
RD
5972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 result = ((wxHtmlCell const *)arg1)->GetCursor();
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 {
5982 wxCursor * resultptr;
32fe5131 5983 resultptr = new wxCursor(static_cast<wxCursor & >(result));
2f4c0a16 5984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
5985 }
5986 return resultobj;
5987 fail:
5988 return NULL;
5989}
5990
5991
c370783e 5992static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5993 PyObject *resultobj = NULL;
d14a1e28
RD
5994 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5995 bool result;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
fbc46b20
RD
6011 {
6012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6013 }
d14a1e28
RD
6014 return resultobj;
6015 fail:
6016 return NULL;
6017}
6018
6019
c370783e 6020static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6021 PyObject *resultobj = NULL;
d14a1e28
RD
6022 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6023 wxHtmlLinkInfo *arg2 = 0 ;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self",(char *) "link", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6032 if (SWIG_arg_fail(1)) SWIG_fail;
6033 {
6034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
6035 if (SWIG_arg_fail(2)) SWIG_fail;
6036 if (arg2 == NULL) {
6037 SWIG_null_ref("wxHtmlLinkInfo");
6038 }
6039 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6040 }
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
6044
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 Py_INCREF(Py_None); resultobj = Py_None;
6049 return resultobj;
6050 fail:
6051 return NULL;
6052}
6053
6054
c370783e 6055static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6056 PyObject *resultobj = NULL;
d14a1e28
RD
6057 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6058 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "cell", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6067 if (SWIG_arg_fail(1)) SWIG_fail;
6068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6069 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 (arg1)->SetNext(arg2);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 Py_INCREF(Py_None); resultobj = Py_None;
6078 return resultobj;
6079 fail:
6080 return NULL;
6081}
6082
6083
c370783e 6084static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6085 PyObject *resultobj = NULL;
d14a1e28
RD
6086 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6087 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self",(char *) "p", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6096 if (SWIG_arg_fail(1)) SWIG_fail;
6097 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6098 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 (arg1)->SetParent(arg2);
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 Py_INCREF(Py_None); resultobj = Py_None;
6107 return resultobj;
6108 fail:
6109 return NULL;
6110}
6111
6112
c370783e 6113static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6114 PyObject *resultobj = NULL;
d14a1e28
RD
6115 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6116 int arg2 ;
6117 int arg3 ;
6118 PyObject * obj0 = 0 ;
8edf1c75
RD
6119 PyObject * obj1 = 0 ;
6120 PyObject * obj2 = 0 ;
d14a1e28
RD
6121 char *kwnames[] = {
6122 (char *) "self",(char *) "x",(char *) "y", NULL
6123 };
6124
8edf1c75 6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6127 if (SWIG_arg_fail(1)) SWIG_fail;
6128 {
32fe5131 6129 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6130 if (SWIG_arg_fail(2)) SWIG_fail;
6131 }
6132 {
32fe5131 6133 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6134 if (SWIG_arg_fail(3)) SWIG_fail;
6135 }
d14a1e28
RD
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 (arg1)->SetPos(arg2,arg3);
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 Py_INCREF(Py_None); resultobj = Py_None;
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
c370783e 6150static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6151 PyObject *resultobj = NULL;
d14a1e28
RD
6152 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6153 int arg2 ;
6154 PyObject * obj0 = 0 ;
8edf1c75 6155 PyObject * obj1 = 0 ;
d14a1e28
RD
6156 char *kwnames[] = {
6157 (char *) "self",(char *) "w", NULL
6158 };
6159
8edf1c75 6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail;
6163 {
32fe5131 6164 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6165 if (SWIG_arg_fail(2)) SWIG_fail;
6166 }
d14a1e28
RD
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 (arg1)->Layout(arg2);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 Py_INCREF(Py_None); resultobj = Py_None;
6175 return resultobj;
6176 fail:
6177 return NULL;
6178}
6179
6180
c370783e 6181static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6182 PyObject *resultobj = NULL;
d14a1e28
RD
6183 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6184 wxDC *arg2 = 0 ;
6185 int arg3 ;
6186 int arg4 ;
6187 int arg5 ;
6188 int arg6 ;
6189 wxHtmlRenderingInfo *arg7 = 0 ;
6190 PyObject * obj0 = 0 ;
6191 PyObject * obj1 = 0 ;
8edf1c75
RD
6192 PyObject * obj2 = 0 ;
6193 PyObject * obj3 = 0 ;
6194 PyObject * obj4 = 0 ;
6195 PyObject * obj5 = 0 ;
d14a1e28
RD
6196 PyObject * obj6 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
6199 };
6200
8edf1c75 6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6203 if (SWIG_arg_fail(1)) SWIG_fail;
6204 {
6205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6206 if (SWIG_arg_fail(2)) SWIG_fail;
6207 if (arg2 == NULL) {
6208 SWIG_null_ref("wxDC");
6209 }
6210 if (SWIG_arg_fail(2)) SWIG_fail;
6211 }
6212 {
32fe5131 6213 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6214 if (SWIG_arg_fail(3)) SWIG_fail;
6215 }
6216 {
32fe5131 6217 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6218 if (SWIG_arg_fail(4)) SWIG_fail;
6219 }
6220 {
32fe5131 6221 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
6222 if (SWIG_arg_fail(5)) SWIG_fail;
6223 }
6224 {
32fe5131 6225 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
6226 if (SWIG_arg_fail(6)) SWIG_fail;
6227 }
6228 {
6229 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6230 if (SWIG_arg_fail(7)) SWIG_fail;
6231 if (arg7 == NULL) {
6232 SWIG_null_ref("wxHtmlRenderingInfo");
6233 }
6234 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
6235 }
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 Py_INCREF(Py_None); resultobj = Py_None;
6244 return resultobj;
6245 fail:
6246 return NULL;
6247}
6248
6249
c370783e 6250static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6251 PyObject *resultobj = NULL;
d14a1e28
RD
6252 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6253 wxDC *arg2 = 0 ;
6254 int arg3 ;
6255 int arg4 ;
6256 wxHtmlRenderingInfo *arg5 = 0 ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
8edf1c75
RD
6259 PyObject * obj2 = 0 ;
6260 PyObject * obj3 = 0 ;
d14a1e28
RD
6261 PyObject * obj4 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6264 };
6265
8edf1c75 6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
6267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6268 if (SWIG_arg_fail(1)) SWIG_fail;
6269 {
6270 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6271 if (SWIG_arg_fail(2)) SWIG_fail;
6272 if (arg2 == NULL) {
6273 SWIG_null_ref("wxDC");
6274 }
6275 if (SWIG_arg_fail(2)) SWIG_fail;
6276 }
6277 {
32fe5131 6278 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6279 if (SWIG_arg_fail(3)) SWIG_fail;
6280 }
6281 {
32fe5131 6282 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6283 if (SWIG_arg_fail(4)) SWIG_fail;
6284 }
6285 {
6286 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6287 if (SWIG_arg_fail(5)) SWIG_fail;
6288 if (arg5 == NULL) {
6289 SWIG_null_ref("wxHtmlRenderingInfo");
6290 }
6291 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 Py_INCREF(Py_None); resultobj = Py_None;
6301 return resultobj;
6302 fail:
6303 return NULL;
6304}
6305
6306
c370783e 6307static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6308 PyObject *resultobj = NULL;
d14a1e28
RD
6309 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6310 int arg2 ;
6311 void *arg3 = (void *) 0 ;
6312 wxHtmlCell *result;
6313 PyObject * obj0 = 0 ;
8edf1c75 6314 PyObject * obj1 = 0 ;
d14a1e28
RD
6315 PyObject * obj2 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "condition",(char *) "param", NULL
6318 };
6319
8edf1c75 6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail;
6323 {
32fe5131 6324 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6325 if (SWIG_arg_fail(2)) SWIG_fail;
6326 }
6327 {
32fe5131 6328 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
36ed4f51
RD
6329 SWIG_arg_fail(3);SWIG_fail;
6330 }
6331 }
d14a1e28
RD
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
2f4c0a16 6339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
c370783e 6346static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6347 PyObject *resultobj = NULL;
d14a1e28
RD
6348 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6349 int *arg2 = (int *) 0 ;
6350 bool result;
6351 int temp2 ;
c370783e 6352 int res2 = 0 ;
d14a1e28
RD
6353 PyObject * obj0 = 0 ;
6354 PyObject * obj1 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self",(char *) "INOUT", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6362 {
c370783e
RD
6363 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6364 temp2 = SWIG_As_int(obj1);
36ed4f51 6365 if (SWIG_arg_fail(2)) SWIG_fail;
c370783e
RD
6366 arg2 = &temp2;
6367 res2 = SWIG_NEWOBJ;
6368 }
d14a1e28
RD
6369 }
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (bool)(arg1)->AdjustPagebreak(arg2);
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
fbc46b20
RD
6377 {
6378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6379 }
c370783e
RD
6380 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6381 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6382 return resultobj;
6383 fail:
6384 return NULL;
6385}
6386
6387
c370783e 6388static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6389 PyObject *resultobj = NULL;
d14a1e28
RD
6390 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6391 bool arg2 ;
6392 PyObject * obj0 = 0 ;
6393 PyObject * obj1 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self",(char *) "can", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6400 if (SWIG_arg_fail(1)) SWIG_fail;
6401 {
32fe5131 6402 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
6403 if (SWIG_arg_fail(2)) SWIG_fail;
6404 }
d14a1e28
RD
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 (arg1)->SetCanLiveOnPagebreak(arg2);
6408
6409 wxPyEndAllowThreads(__tstate);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 Py_INCREF(Py_None); resultobj = Py_None;
6413 return resultobj;
6414 fail:
6415 return NULL;
6416}
6417
6418
c370783e 6419static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6420 PyObject *resultobj = NULL;
d14a1e28
RD
6421 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6422 bool result;
6423 PyObject * obj0 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "self", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
36ed4f51
RD
6429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6430 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6434
6435 wxPyEndAllowThreads(__tstate);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 }
fbc46b20
RD
6438 {
6439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6440 }
d14a1e28
RD
6441 return resultobj;
6442 fail:
6443 return NULL;
6444}
6445
6446
c370783e 6447static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6448 PyObject *resultobj = NULL;
d14a1e28
RD
6449 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6450 bool result;
6451 PyObject * obj0 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
fbc46b20
RD
6466 {
6467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6468 }
d14a1e28
RD
6469 return resultobj;
6470 fail:
6471 return NULL;
6472}
6473
6474
c370783e 6475static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6476 PyObject *resultobj = NULL;
d14a1e28 6477 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
423f194a
RD
6478 int arg2 ;
6479 int arg3 ;
d14a1e28
RD
6480 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6481 wxHtmlCell *result;
6482 PyObject * obj0 = 0 ;
8edf1c75
RD
6483 PyObject * obj1 = 0 ;
6484 PyObject * obj2 = 0 ;
d14a1e28
RD
6485 PyObject * obj3 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6488 };
6489
8edf1c75 6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6492 if (SWIG_arg_fail(1)) SWIG_fail;
6493 {
32fe5131 6494 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6495 if (SWIG_arg_fail(2)) SWIG_fail;
6496 }
6497 {
32fe5131 6498 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6499 if (SWIG_arg_fail(3)) SWIG_fail;
6500 }
d14a1e28 6501 if (obj3) {
36ed4f51 6502 {
32fe5131 6503 arg4 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj3));
36ed4f51
RD
6504 if (SWIG_arg_fail(4)) SWIG_fail;
6505 }
d14a1e28
RD
6506 }
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
2f4c0a16 6514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6515 return resultobj;
6516 fail:
6517 return NULL;
6518}
6519
6520
c370783e 6521static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6522 PyObject *resultobj = NULL;
d14a1e28
RD
6523 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6524 wxPoint result;
6525 PyObject * obj0 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
36ed4f51
RD
6531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6532 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 {
6541 wxPoint * resultptr;
32fe5131 6542 resultptr = new wxPoint(static_cast<wxPoint & >(result));
2f4c0a16 6543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
6544 }
6545 return resultobj;
6546 fail:
6547 return NULL;
6548}
6549
6550
c370783e 6551static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6552 PyObject *resultobj = NULL;
d14a1e28
RD
6553 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6554 wxHtmlCell *result;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
2f4c0a16 6570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6571 return resultobj;
6572 fail:
6573 return NULL;
6574}
6575
6576
c370783e 6577static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6578 PyObject *resultobj = NULL;
d14a1e28
RD
6579 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6580 wxHtmlCell *result;
6581 PyObject * obj0 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
2f4c0a16 6596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
6597 return resultobj;
6598 fail:
6599 return NULL;
6600}
6601
6602
c370783e 6603static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6604 PyObject *resultobj = NULL;
d14a1e28
RD
6605 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6606 unsigned int result;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
36ed4f51
RD
6613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6614 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
36ed4f51 6622 {
32fe5131 6623 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
36ed4f51 6624 }
d14a1e28
RD
6625 return resultobj;
6626 fail:
6627 return NULL;
6628}
6629
6630
c370783e 6631static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6632 PyObject *resultobj = NULL;
d14a1e28
RD
6633 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6634 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6635 bool result;
6636 PyObject * obj0 = 0 ;
6637 PyObject * obj1 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "self",(char *) "cell", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6644 if (SWIG_arg_fail(1)) SWIG_fail;
6645 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6646 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
fbc46b20
RD
6654 {
6655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6656 }
d14a1e28
RD
6657 return resultobj;
6658 fail:
6659 return NULL;
6660}
6661
6662
c370783e 6663static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6664 PyObject *resultobj = NULL;
d14a1e28
RD
6665 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6666 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6667 wxString result;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "sel", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6678 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 {
6687#if wxUSE_UNICODE
6688 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6689#else
6690 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6691#endif
6692 }
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
c370783e 6699static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6700 PyObject *obj;
6701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6702 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6703 Py_INCREF(obj);
6704 return Py_BuildValue((char *)"");
6705}
c370783e 6706static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6707 PyObject *resultobj = NULL;
d14a1e28
RD
6708 wxString *arg1 = 0 ;
6709 wxDC *arg2 = 0 ;
6710 wxHtmlWordCell *result;
b411df4a 6711 bool temp1 = false ;
d14a1e28
RD
6712 PyObject * obj0 = 0 ;
6713 PyObject * obj1 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "word",(char *) "dc", NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6719 {
6720 arg1 = wxString_in_helper(obj0);
6721 if (arg1 == NULL) SWIG_fail;
b411df4a 6722 temp1 = true;
d14a1e28 6723 }
36ed4f51
RD
6724 {
6725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6726 if (SWIG_arg_fail(2)) SWIG_fail;
6727 if (arg2 == NULL) {
6728 SWIG_null_ref("wxDC");
6729 }
6730 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6731 }
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
2f4c0a16 6739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
6740 {
6741 if (temp1)
6742 delete arg1;
6743 }
6744 return resultobj;
6745 fail:
6746 {
6747 if (temp1)
6748 delete arg1;
6749 }
6750 return NULL;
6751}
6752
6753
c370783e 6754static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6755 PyObject *obj;
6756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6757 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6758 Py_INCREF(obj);
6759 return Py_BuildValue((char *)"");
6760}
c370783e 6761static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6762 PyObject *resultobj = NULL;
d14a1e28
RD
6763 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6764 wxHtmlContainerCell *result;
6765 PyObject * obj0 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "parent", NULL
6768 };
6769
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
6771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
2f4c0a16 6780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
6781 return resultobj;
6782 fail:
6783 return NULL;
6784}
6785
6786
c370783e 6787static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6788 PyObject *resultobj = NULL;
d14a1e28
RD
6789 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6790 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6791 PyObject * obj0 = 0 ;
6792 PyObject * obj1 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self",(char *) "cell", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6799 if (SWIG_arg_fail(1)) SWIG_fail;
6800 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6801 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 (arg1)->InsertCell(arg2);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 Py_INCREF(Py_None); resultobj = Py_None;
6810 return resultobj;
6811 fail:
6812 return NULL;
6813}
6814
6815
c370783e 6816static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6817 PyObject *resultobj = NULL;
d14a1e28
RD
6818 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6819 int arg2 ;
6820 PyObject * obj0 = 0 ;
8edf1c75 6821 PyObject * obj1 = 0 ;
d14a1e28
RD
6822 char *kwnames[] = {
6823 (char *) "self",(char *) "al", NULL
6824 };
6825
8edf1c75 6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6828 if (SWIG_arg_fail(1)) SWIG_fail;
6829 {
32fe5131 6830 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6831 if (SWIG_arg_fail(2)) SWIG_fail;
6832 }
d14a1e28
RD
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 (arg1)->SetAlignHor(arg2);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
c370783e 6847static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6848 PyObject *resultobj = NULL;
d14a1e28
RD
6849 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6850 int result;
6851 PyObject * obj0 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "self", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
36ed4f51
RD
6857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6858 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 result = (int)(arg1)->GetAlignHor();
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
36ed4f51 6866 {
32fe5131 6867 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6868 }
d14a1e28
RD
6869 return resultobj;
6870 fail:
6871 return NULL;
6872}
6873
6874
c370783e 6875static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6876 PyObject *resultobj = NULL;
d14a1e28
RD
6877 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6878 int arg2 ;
6879 PyObject * obj0 = 0 ;
8edf1c75 6880 PyObject * obj1 = 0 ;
d14a1e28
RD
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "al", NULL
6883 };
6884
8edf1c75 6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail;
6888 {
32fe5131 6889 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6890 if (SWIG_arg_fail(2)) SWIG_fail;
6891 }
d14a1e28
RD
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 (arg1)->SetAlignVer(arg2);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 Py_INCREF(Py_None); resultobj = Py_None;
6900 return resultobj;
6901 fail:
6902 return NULL;
6903}
6904
6905
c370783e 6906static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6907 PyObject *resultobj = NULL;
d14a1e28
RD
6908 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6909 int result;
6910 PyObject * obj0 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "self", NULL
6913 };
6914
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
36ed4f51
RD
6916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6917 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 result = (int)(arg1)->GetAlignVer();
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
36ed4f51 6925 {
32fe5131 6926 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 6927 }
d14a1e28
RD
6928 return resultobj;
6929 fail:
6930 return NULL;
6931}
6932
6933
c370783e 6934static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6935 PyObject *resultobj = NULL;
d14a1e28
RD
6936 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6937 int arg2 ;
6938 int arg3 ;
6939 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6940 PyObject * obj0 = 0 ;
8edf1c75
RD
6941 PyObject * obj1 = 0 ;
6942 PyObject * obj2 = 0 ;
6943 PyObject * obj3 = 0 ;
d14a1e28
RD
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6946 };
6947
8edf1c75 6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6950 if (SWIG_arg_fail(1)) SWIG_fail;
6951 {
32fe5131 6952 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6953 if (SWIG_arg_fail(2)) SWIG_fail;
6954 }
6955 {
32fe5131 6956 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
6957 if (SWIG_arg_fail(3)) SWIG_fail;
6958 }
8edf1c75 6959 if (obj3) {
36ed4f51 6960 {
32fe5131 6961 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
6962 if (SWIG_arg_fail(4)) SWIG_fail;
6963 }
8edf1c75 6964 }
d14a1e28
RD
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 (arg1)->SetIndent(arg2,arg3,arg4);
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 Py_INCREF(Py_None); resultobj = Py_None;
6973 return resultobj;
6974 fail:
6975 return NULL;
6976}
6977
6978
c370783e 6979static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6980 PyObject *resultobj = NULL;
d14a1e28
RD
6981 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6982 int arg2 ;
6983 int result;
6984 PyObject * obj0 = 0 ;
8edf1c75 6985 PyObject * obj1 = 0 ;
d14a1e28
RD
6986 char *kwnames[] = {
6987 (char *) "self",(char *) "ind", NULL
6988 };
6989
8edf1c75 6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6992 if (SWIG_arg_fail(1)) SWIG_fail;
6993 {
32fe5131 6994 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
6995 if (SWIG_arg_fail(2)) SWIG_fail;
6996 }
d14a1e28
RD
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (int)(arg1)->GetIndent(arg2);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
36ed4f51 7004 {
32fe5131 7005 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7006 }
d14a1e28
RD
7007 return resultobj;
7008 fail:
7009 return NULL;
7010}
7011
7012
c370783e 7013static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7014 PyObject *resultobj = NULL;
d14a1e28
RD
7015 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7016 int arg2 ;
7017 int result;
7018 PyObject * obj0 = 0 ;
8edf1c75 7019 PyObject * obj1 = 0 ;
d14a1e28
RD
7020 char *kwnames[] = {
7021 (char *) "self",(char *) "ind", NULL
7022 };
7023
8edf1c75 7024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7026 if (SWIG_arg_fail(1)) SWIG_fail;
7027 {
32fe5131 7028 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7029 if (SWIG_arg_fail(2)) SWIG_fail;
7030 }
d14a1e28
RD
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (int)(arg1)->GetIndentUnits(arg2);
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
36ed4f51 7038 {
32fe5131 7039 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7040 }
d14a1e28
RD
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
c370783e 7047static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7048 PyObject *resultobj = NULL;
d14a1e28
RD
7049 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7050 wxHtmlTag *arg2 = 0 ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "tag", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail;
7060 {
7061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7062 if (SWIG_arg_fail(2)) SWIG_fail;
7063 if (arg2 == NULL) {
7064 SWIG_null_ref("wxHtmlTag");
7065 }
7066 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 Py_INCREF(Py_None); resultobj = Py_None;
7076 return resultobj;
7077 fail:
7078 return NULL;
7079}
7080
7081
c370783e 7082static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7083 PyObject *resultobj = NULL;
d14a1e28
RD
7084 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7085 int arg2 ;
7086 int arg3 ;
7087 PyObject * obj0 = 0 ;
8edf1c75
RD
7088 PyObject * obj1 = 0 ;
7089 PyObject * obj2 = 0 ;
d14a1e28
RD
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "w",(char *) "units", NULL
7092 };
7093
8edf1c75 7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) 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 }
7101 {
32fe5131 7102 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7103 if (SWIG_arg_fail(3)) SWIG_fail;
7104 }
d14a1e28
RD
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->SetWidthFloat(arg2,arg3);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 return resultobj;
7114 fail:
7115 return NULL;
7116}
7117
7118
c370783e 7119static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7120 PyObject *resultobj = NULL;
d14a1e28
RD
7121 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7122 wxHtmlTag *arg2 = 0 ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self",(char *) "tag", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7131 if (SWIG_arg_fail(1)) SWIG_fail;
7132 {
7133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7134 if (SWIG_arg_fail(2)) SWIG_fail;
7135 if (arg2 == NULL) {
7136 SWIG_null_ref("wxHtmlTag");
7137 }
7138 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7139 }
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 Py_INCREF(Py_None); resultobj = Py_None;
7148 return resultobj;
7149 fail:
7150 return NULL;
7151}
7152
7153
c370783e 7154static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7155 PyObject *resultobj = NULL;
d14a1e28
RD
7156 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7157 int arg2 ;
7158 int arg3 = (int) wxHTML_ALIGN_TOP ;
7159 PyObject * obj0 = 0 ;
8edf1c75
RD
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
d14a1e28
RD
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "h",(char *) "align", NULL
7164 };
7165
8edf1c75 7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7168 if (SWIG_arg_fail(1)) SWIG_fail;
7169 {
32fe5131 7170 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7171 if (SWIG_arg_fail(2)) SWIG_fail;
7172 }
8edf1c75 7173 if (obj2) {
36ed4f51 7174 {
32fe5131 7175 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7176 if (SWIG_arg_fail(3)) SWIG_fail;
7177 }
8edf1c75 7178 }
d14a1e28
RD
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 (arg1)->SetMinHeight(arg2,arg3);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 Py_INCREF(Py_None); resultobj = Py_None;
7187 return resultobj;
7188 fail:
7189 return NULL;
7190}
7191
7192
c370783e 7193static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7194 PyObject *resultobj = NULL;
d14a1e28
RD
7195 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7196 wxColour *arg2 = 0 ;
7197 wxColour temp2 ;
7198 PyObject * obj0 = 0 ;
7199 PyObject * obj1 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self",(char *) "clr", NULL
7202 };
7203
7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7207 {
7208 arg2 = &temp2;
7209 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7210 }
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 Py_INCREF(Py_None); resultobj = Py_None;
7219 return resultobj;
7220 fail:
7221 return NULL;
7222}
7223
7224
c370783e 7225static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7226 PyObject *resultobj = NULL;
d14a1e28
RD
7227 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7228 wxColour result;
7229 PyObject * obj0 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
7235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (arg1)->GetBackgroundColour();
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 wxColour * resultptr;
32fe5131 7246 resultptr = new wxColour(static_cast<wxColour & >(result));
2f4c0a16 7247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
7248 }
7249 return resultobj;
7250 fail:
7251 return NULL;
7252}
7253
7254
c370783e 7255static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7256 PyObject *resultobj = NULL;
d14a1e28
RD
7257 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7258 wxColour *arg2 = 0 ;
7259 wxColour *arg3 = 0 ;
7260 wxColour temp2 ;
7261 wxColour temp3 ;
7262 PyObject * obj0 = 0 ;
7263 PyObject * obj1 = 0 ;
7264 PyObject * obj2 = 0 ;
7265 char *kwnames[] = {
7266 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7267 };
7268
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7272 {
7273 arg2 = &temp2;
7274 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7275 }
7276 {
7277 arg3 = &temp3;
7278 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 Py_INCREF(Py_None); resultobj = Py_None;
7288 return resultobj;
7289 fail:
7290 return NULL;
7291}
7292
7293
c370783e 7294static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7295 PyObject *resultobj = NULL;
d14a1e28
RD
7296 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7297 wxHtmlCell *result;
7298 PyObject * obj0 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
7304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
2f4c0a16 7313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
7314 return resultobj;
7315 fail:
7316 return NULL;
7317}
7318
7319
c370783e 7320static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7321 PyObject *obj;
7322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7323 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7324 Py_INCREF(obj);
7325 return Py_BuildValue((char *)"");
7326}
c370783e 7327static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7328 PyObject *resultobj = NULL;
51b83b37 7329 wxColour *arg1 = 0 ;
d14a1e28
RD
7330 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7331 wxHtmlColourCell *result;
51b83b37 7332 wxColour temp1 ;
d14a1e28 7333 PyObject * obj0 = 0 ;
8edf1c75 7334 PyObject * obj1 = 0 ;
d14a1e28
RD
7335 char *kwnames[] = {
7336 (char *) "clr",(char *) "flags", NULL
7337 };
7338
8edf1c75 7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 7340 {
51b83b37
RD
7341 arg1 = &temp1;
7342 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
36ed4f51 7343 }
8edf1c75 7344 if (obj1) {
36ed4f51 7345 {
32fe5131 7346 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7347 if (SWIG_arg_fail(2)) SWIG_fail;
7348 }
8edf1c75 7349 }
d14a1e28
RD
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
51b83b37 7352 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
d14a1e28
RD
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
2f4c0a16 7357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
7358 return resultobj;
7359 fail:
7360 return NULL;
7361}
7362
7363
c370783e 7364static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7365 PyObject *obj;
7366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7367 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7368 Py_INCREF(obj);
7369 return Py_BuildValue((char *)"");
7370}
c370783e 7371static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7372 PyObject *resultobj = NULL;
d14a1e28
RD
7373 wxFont *arg1 = (wxFont *) 0 ;
7374 wxHtmlFontCell *result;
7375 PyObject * obj0 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "font", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
36ed4f51
RD
7381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
2f4c0a16 7390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
7391 return resultobj;
7392 fail:
7393 return NULL;
7394}
7395
7396
c370783e 7397static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7398 PyObject *obj;
7399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7400 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7401 Py_INCREF(obj);
7402 return Py_BuildValue((char *)"");
7403}
c370783e 7404static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7405 PyObject *resultobj = NULL;
d14a1e28
RD
7406 wxWindow *arg1 = (wxWindow *) 0 ;
7407 int arg2 = (int) 0 ;
7408 wxHtmlWidgetCell *result;
7409 PyObject * obj0 = 0 ;
8edf1c75 7410 PyObject * obj1 = 0 ;
d14a1e28
RD
7411 char *kwnames[] = {
7412 (char *) "wnd",(char *) "w", NULL
7413 };
7414
8edf1c75 7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7417 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7418 if (obj1) {
36ed4f51 7419 {
32fe5131 7420 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7421 if (SWIG_arg_fail(2)) SWIG_fail;
7422 }
8edf1c75 7423 }
d14a1e28
RD
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
2f4c0a16 7431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
7432 return resultobj;
7433 fail:
7434 return NULL;
7435}
7436
7437
c370783e 7438static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7439 PyObject *obj;
7440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7441 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7442 Py_INCREF(obj);
7443 return Py_BuildValue((char *)"");
7444}
c370783e 7445static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7446 PyObject *resultobj = NULL;
d14a1e28
RD
7447 wxPyHtmlFilter *result;
7448 char *kwnames[] = {
7449 NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
2f4c0a16 7460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
7461 return resultobj;
7462 fail:
7463 return NULL;
7464}
7465
7466
c370783e 7467static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7468 PyObject *resultobj = NULL;
d14a1e28
RD
7469 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7470 PyObject *arg2 = (PyObject *) 0 ;
7471 PyObject *arg3 = (PyObject *) 0 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 PyObject * obj2 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "self",(char *) "_class", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7482 arg2 = obj1;
7483 arg3 = obj2;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 (arg1)->_setCallbackInfo(arg2,arg3);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 Py_INCREF(Py_None); resultobj = Py_None;
7492 return resultobj;
7493 fail:
7494 return NULL;
7495}
7496
7497
c370783e 7498static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7499 PyObject *obj;
7500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7501 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7502 Py_INCREF(obj);
7503 return Py_BuildValue((char *)"");
7504}
c370783e 7505static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7506 PyObject *resultobj = NULL;
d14a1e28
RD
7507 wxWindow *arg1 = (wxWindow *) 0 ;
7508 int arg2 = (int) -1 ;
7509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7511 wxSize const &arg4_defvalue = wxDefaultSize ;
7512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7513 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7514 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7515 wxString *arg6 = (wxString *) &arg6_defvalue ;
7516 wxPyHtmlWindow *result;
7517 wxPoint temp3 ;
7518 wxSize temp4 ;
b411df4a 7519 bool temp6 = false ;
d14a1e28 7520 PyObject * obj0 = 0 ;
8edf1c75 7521 PyObject * obj1 = 0 ;
d14a1e28
RD
7522 PyObject * obj2 = 0 ;
7523 PyObject * obj3 = 0 ;
8edf1c75 7524 PyObject * obj4 = 0 ;
d14a1e28
RD
7525 PyObject * obj5 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7528 };
7529
8edf1c75 7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7533 if (obj1) {
36ed4f51 7534 {
32fe5131 7535 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7536 if (SWIG_arg_fail(2)) SWIG_fail;
7537 }
8edf1c75 7538 }
d14a1e28
RD
7539 if (obj2) {
7540 {
7541 arg3 = &temp3;
7542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7543 }
7544 }
7545 if (obj3) {
7546 {
7547 arg4 = &temp4;
7548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7549 }
7550 }
8edf1c75 7551 if (obj4) {
36ed4f51 7552 {
32fe5131 7553 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
7554 if (SWIG_arg_fail(5)) SWIG_fail;
7555 }
8edf1c75 7556 }
d14a1e28
RD
7557 if (obj5) {
7558 {
7559 arg6 = wxString_in_helper(obj5);
7560 if (arg6 == NULL) SWIG_fail;
b411df4a 7561 temp6 = true;
d14a1e28
RD
7562 }
7563 }
7564 {
0439c23b 7565 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7568
7569 wxPyEndAllowThreads(__tstate);
110da5b0 7570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7571 }
b0f7404b 7572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7573 {
7574 if (temp6)
7575 delete arg6;
7576 }
7577 return resultobj;
7578 fail:
7579 {
7580 if (temp6)
7581 delete arg6;
7582 }
7583 return NULL;
7584}
7585
7586
c370783e 7587static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7588 PyObject *resultobj = NULL;
d14a1e28
RD
7589 wxPyHtmlWindow *result;
7590 char *kwnames[] = {
7591 NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7595 {
0439c23b 7596 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7599
7600 wxPyEndAllowThreads(__tstate);
110da5b0 7601 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7602 }
b0f7404b 7603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
d14a1e28
RD
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
c370783e 7610static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7611 PyObject *resultobj = NULL;
d14a1e28
RD
7612 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7613 wxWindow *arg2 = (wxWindow *) 0 ;
7614 int arg3 = (int) -1 ;
7615 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7616 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7617 wxSize const &arg5_defvalue = wxDefaultSize ;
7618 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7619 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7620 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7621 wxString *arg7 = (wxString *) &arg7_defvalue ;
7622 bool result;
7623 wxPoint temp4 ;
7624 wxSize temp5 ;
b411df4a 7625 bool temp7 = false ;
d14a1e28
RD
7626 PyObject * obj0 = 0 ;
7627 PyObject * obj1 = 0 ;
8edf1c75 7628 PyObject * obj2 = 0 ;
d14a1e28
RD
7629 PyObject * obj3 = 0 ;
7630 PyObject * obj4 = 0 ;
8edf1c75 7631 PyObject * obj5 = 0 ;
d14a1e28
RD
7632 PyObject * obj6 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7635 };
7636
8edf1c75 7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7639 if (SWIG_arg_fail(1)) SWIG_fail;
7640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7641 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 7642 if (obj2) {
36ed4f51 7643 {
32fe5131 7644 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7645 if (SWIG_arg_fail(3)) SWIG_fail;
7646 }
8edf1c75 7647 }
d14a1e28
RD
7648 if (obj3) {
7649 {
7650 arg4 = &temp4;
7651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7652 }
7653 }
7654 if (obj4) {
7655 {
7656 arg5 = &temp5;
7657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7658 }
7659 }
8edf1c75 7660 if (obj5) {
36ed4f51 7661 {
32fe5131 7662 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
7663 if (SWIG_arg_fail(6)) SWIG_fail;
7664 }
8edf1c75 7665 }
d14a1e28
RD
7666 if (obj6) {
7667 {
7668 arg7 = wxString_in_helper(obj6);
7669 if (arg7 == NULL) SWIG_fail;
b411df4a 7670 temp7 = true;
d14a1e28
RD
7671 }
7672 }
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
fbc46b20
RD
7680 {
7681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7682 }
d14a1e28
RD
7683 {
7684 if (temp7)
7685 delete arg7;
7686 }
7687 return resultobj;
7688 fail:
7689 {
7690 if (temp7)
7691 delete arg7;
7692 }
7693 return NULL;
7694}
7695
7696
c370783e 7697static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7698 PyObject *resultobj = NULL;
d14a1e28
RD
7699 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7700 PyObject *arg2 = (PyObject *) 0 ;
7701 PyObject *arg3 = (PyObject *) 0 ;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 PyObject * obj2 = 0 ;
7705 char *kwnames[] = {
7706 (char *) "self",(char *) "self",(char *) "_class", NULL
7707 };
7708
7709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7711 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7712 arg2 = obj1;
7713 arg3 = obj2;
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 (arg1)->_setCallbackInfo(arg2,arg3);
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 Py_INCREF(Py_None); resultobj = Py_None;
7722 return resultobj;
7723 fail:
7724 return NULL;
7725}
7726
7727
c370783e 7728static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7729 PyObject *resultobj = NULL;
d14a1e28
RD
7730 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7731 wxString *arg2 = 0 ;
7732 bool result;
b411df4a 7733 bool temp2 = false ;
d14a1e28
RD
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "source", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7743 {
7744 arg2 = wxString_in_helper(obj1);
7745 if (arg2 == NULL) SWIG_fail;
b411df4a 7746 temp2 = true;
d14a1e28
RD
7747 }
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
fbc46b20
RD
7755 {
7756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7757 }
d14a1e28
RD
7758 {
7759 if (temp2)
7760 delete arg2;
7761 }
7762 return resultobj;
7763 fail:
7764 {
7765 if (temp2)
7766 delete arg2;
7767 }
7768 return NULL;
7769}
7770
7771
c370783e 7772static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7773 PyObject *resultobj = NULL;
d14a1e28
RD
7774 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7775 wxString *arg2 = 0 ;
7776 bool result;
b411df4a 7777 bool temp2 = false ;
d14a1e28
RD
7778 PyObject * obj0 = 0 ;
7779 PyObject * obj1 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self",(char *) "location", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7786 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7787 {
7788 arg2 = wxString_in_helper(obj1);
7789 if (arg2 == NULL) SWIG_fail;
b411df4a 7790 temp2 = true;
d14a1e28
RD
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
fbc46b20
RD
7799 {
7800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7801 }
d14a1e28
RD
7802 {
7803 if (temp2)
7804 delete arg2;
7805 }
7806 return resultobj;
7807 fail:
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return NULL;
7813}
7814
7815
c370783e 7816static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7817 PyObject *resultobj = NULL;
d14a1e28
RD
7818 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7819 wxString *arg2 = 0 ;
7820 bool result;
b411df4a 7821 bool temp2 = false ;
d14a1e28
RD
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "filename", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7831 {
7832 arg2 = wxString_in_helper(obj1);
7833 if (arg2 == NULL) SWIG_fail;
b411df4a 7834 temp2 = true;
d14a1e28
RD
7835 }
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
fbc46b20
RD
7843 {
7844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7845 }
d14a1e28
RD
7846 {
7847 if (temp2)
7848 delete arg2;
7849 }
7850 return resultobj;
7851 fail:
7852 {
7853 if (temp2)
7854 delete arg2;
7855 }
7856 return NULL;
7857}
7858
7859
c370783e 7860static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7861 PyObject *resultobj = NULL;
d14a1e28
RD
7862 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7863 wxString *arg2 = 0 ;
7864 bool result;
b411df4a 7865 bool temp2 = false ;
d14a1e28
RD
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "source", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7875 {
7876 arg2 = wxString_in_helper(obj1);
7877 if (arg2 == NULL) SWIG_fail;
b411df4a 7878 temp2 = true;
d14a1e28
RD
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
fbc46b20
RD
7887 {
7888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7889 }
d14a1e28
RD
7890 {
7891 if (temp2)
7892 delete arg2;
7893 }
7894 return resultobj;
7895 fail:
7896 {
7897 if (temp2)
7898 delete arg2;
7899 }
7900 return NULL;
7901}
7902
7903
c370783e 7904static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7905 PyObject *resultobj = NULL;
d14a1e28
RD
7906 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7907 wxString result;
7908 PyObject * obj0 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
7914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 result = (arg1)->GetOpenedPage();
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 {
7924#if wxUSE_UNICODE
7925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7926#else
7927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7928#endif
7929 }
7930 return resultobj;
7931 fail:
7932 return NULL;
7933}
7934
7935
c370783e 7936static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7937 PyObject *resultobj = NULL;
d14a1e28
RD
7938 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7939 wxString result;
7940 PyObject * obj0 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
36ed4f51
RD
7946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (arg1)->GetOpenedAnchor();
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 {
7956#if wxUSE_UNICODE
7957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7958#else
7959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7960#endif
7961 }
7962 return resultobj;
7963 fail:
7964 return NULL;
7965}
7966
7967
c370783e 7968static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7969 PyObject *resultobj = NULL;
d14a1e28
RD
7970 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7971 wxString result;
7972 PyObject * obj0 = 0 ;
7973 char *kwnames[] = {
7974 (char *) "self", NULL
7975 };
7976
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (arg1)->GetOpenedPageTitle();
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 {
7988#if wxUSE_UNICODE
7989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7990#else
7991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7992#endif
7993 }
7994 return resultobj;
7995 fail:
7996 return NULL;
7997}
7998
7999
c370783e 8000static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8001 PyObject *resultobj = NULL;
d14a1e28
RD
8002 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8003 wxFrame *arg2 = (wxFrame *) 0 ;
8004 wxString *arg3 = 0 ;
b411df4a 8005 bool temp3 = false ;
d14a1e28
RD
8006 PyObject * obj0 = 0 ;
8007 PyObject * obj1 = 0 ;
8008 PyObject * obj2 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self",(char *) "frame",(char *) "format", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail;
8016 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
8017 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8018 {
8019 arg3 = wxString_in_helper(obj2);
8020 if (arg3 == NULL) SWIG_fail;
b411df4a 8021 temp3 = true;
d14a1e28
RD
8022 }
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 Py_INCREF(Py_None); resultobj = Py_None;
8031 {
8032 if (temp3)
8033 delete arg3;
8034 }
8035 return resultobj;
8036 fail:
8037 {
8038 if (temp3)
8039 delete arg3;
8040 }
8041 return NULL;
8042}
8043
8044
c370783e 8045static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8046 PyObject *resultobj = NULL;
d14a1e28
RD
8047 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8048 wxFrame *result;
8049 PyObject * obj0 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
8055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = (wxFrame *)(arg1)->GetRelatedFrame();
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 {
412d302d 8065 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8066 }
8067 return resultobj;
8068 fail:
8069 return NULL;
8070}
8071
8072
c370783e 8073static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8074 PyObject *resultobj = NULL;
d14a1e28
RD
8075 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8076 int arg2 ;
8077 PyObject * obj0 = 0 ;
8edf1c75 8078 PyObject * obj1 = 0 ;
d14a1e28
RD
8079 char *kwnames[] = {
8080 (char *) "self",(char *) "bar", NULL
8081 };
8082
8edf1c75 8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) 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;
8086 {
32fe5131 8087 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8088 if (SWIG_arg_fail(2)) SWIG_fail;
8089 }
d14a1e28
RD
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 (arg1)->SetRelatedStatusBar(arg2);
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 Py_INCREF(Py_None); resultobj = Py_None;
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
c370783e 8104static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8105 PyObject *resultobj = NULL;
d14a1e28
RD
8106 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8107 wxString arg2 ;
8108 wxString arg3 ;
8109 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
8110 PyObject * obj0 = 0 ;
8111 PyObject * obj1 = 0 ;
8112 PyObject * obj2 = 0 ;
8113 PyObject * obj3 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
8121 {
8122 wxString* sptr = wxString_in_helper(obj1);
8123 if (sptr == NULL) SWIG_fail;
8124 arg2 = *sptr;
8125 delete sptr;
8126 }
8127 {
8128 wxString* sptr = wxString_in_helper(obj2);
8129 if (sptr == NULL) SWIG_fail;
8130 arg3 = *sptr;
8131 delete sptr;
8132 }
d14a1e28
RD
8133 if (obj3) {
8134 arg4 = obj3;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
b411df4a 8150static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8151 PyObject *resultobj = NULL;
30ee79f7
RD
8152 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8153 int arg2 = (int) -1 ;
b411df4a
RD
8154 wxString const &arg3_defvalue = wxPyEmptyString ;
8155 wxString *arg3 = (wxString *) &arg3_defvalue ;
8156 wxString const &arg4_defvalue = wxPyEmptyString ;
8157 wxString *arg4 = (wxString *) &arg4_defvalue ;
8158 bool temp3 = false ;
8159 bool temp4 = false ;
30ee79f7
RD
8160 PyObject * obj0 = 0 ;
8161 PyObject * obj1 = 0 ;
b411df4a
RD
8162 PyObject * obj2 = 0 ;
8163 PyObject * obj3 = 0 ;
30ee79f7 8164 char *kwnames[] = {
b411df4a 8165 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
8166 };
8167
b411df4a 8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 8171 if (obj1) {
36ed4f51 8172 {
32fe5131 8173 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8174 if (SWIG_arg_fail(2)) SWIG_fail;
8175 }
30ee79f7 8176 }
b411df4a
RD
8177 if (obj2) {
8178 {
8179 arg3 = wxString_in_helper(obj2);
8180 if (arg3 == NULL) SWIG_fail;
8181 temp3 = true;
8182 }
8183 }
8184 if (obj3) {
8185 {
8186 arg4 = wxString_in_helper(obj3);
8187 if (arg4 == NULL) SWIG_fail;
8188 temp4 = true;
8189 }
8190 }
30ee79f7
RD
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 8193 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
8199 {
8200 if (temp3)
8201 delete arg3;
8202 }
8203 {
8204 if (temp4)
8205 delete arg4;
8206 }
30ee79f7
RD
8207 return resultobj;
8208 fail:
b411df4a
RD
8209 {
8210 if (temp3)
8211 delete arg3;
8212 }
8213 {
8214 if (temp4)
8215 delete arg4;
8216 }
30ee79f7
RD
8217 return NULL;
8218}
8219
8220
943e8dfd 8221static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8222 PyObject *resultobj = NULL;
d14a1e28
RD
8223 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8224 wxString *arg2 = 0 ;
b411df4a 8225 bool temp2 = false ;
d14a1e28
RD
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self",(char *) "title", NULL
8230 };
8231
943e8dfd 8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8235 {
8236 arg2 = wxString_in_helper(obj1);
8237 if (arg2 == NULL) SWIG_fail;
b411df4a 8238 temp2 = true;
d14a1e28
RD
8239 }
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
943e8dfd 8242 (arg1)->SetLabel((wxString const &)*arg2);
d14a1e28
RD
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 Py_INCREF(Py_None); resultobj = Py_None;
8248 {
8249 if (temp2)
8250 delete arg2;
8251 }
8252 return resultobj;
8253 fail:
8254 {
8255 if (temp2)
8256 delete arg2;
8257 }
8258 return NULL;
8259}
8260
8261
c370783e 8262static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8263 PyObject *resultobj = NULL;
d14a1e28
RD
8264 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8265 int arg2 ;
8266 PyObject * obj0 = 0 ;
8edf1c75 8267 PyObject * obj1 = 0 ;
d14a1e28
RD
8268 char *kwnames[] = {
8269 (char *) "self",(char *) "b", NULL
8270 };
8271
8edf1c75 8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8274 if (SWIG_arg_fail(1)) SWIG_fail;
8275 {
32fe5131 8276 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8277 if (SWIG_arg_fail(2)) SWIG_fail;
8278 }
d14a1e28
RD
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->SetBorders(arg2);
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
53aa7709 8293static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8294 PyObject *resultobj = NULL;
53aa7709
RD
8295 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8296 wxBitmap *arg2 = 0 ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "bmpBg", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail;
8306 {
8307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8308 if (SWIG_arg_fail(2)) SWIG_fail;
8309 if (arg2 == NULL) {
8310 SWIG_null_ref("wxBitmap");
8311 }
8312 if (SWIG_arg_fail(2)) SWIG_fail;
8313 }
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 Py_INCREF(Py_None); resultobj = Py_None;
8322 return resultobj;
8323 fail:
8324 return NULL;
8325}
8326
8327
c370783e 8328static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8329 PyObject *resultobj = NULL;
d14a1e28
RD
8330 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8331 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8332 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8333 PyObject * obj0 = 0 ;
8334 PyObject * obj1 = 0 ;
8335 PyObject * obj2 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "cfg",(char *) "path", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail;
8343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8344 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8345 if (obj2) {
423f194a
RD
8346 {
8347 wxString* sptr = wxString_in_helper(obj2);
8348 if (sptr == NULL) SWIG_fail;
8349 arg3 = *sptr;
8350 delete sptr;
8351 }
d14a1e28
RD
8352 }
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 (arg1)->ReadCustomization(arg2,arg3);
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 Py_INCREF(Py_None); resultobj = Py_None;
8361 return resultobj;
8362 fail:
8363 return NULL;
8364}
8365
8366
c370783e 8367static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8368 PyObject *resultobj = NULL;
d14a1e28
RD
8369 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8370 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8371 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj1 = 0 ;
8374 PyObject * obj2 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self",(char *) "cfg",(char *) "path", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail;
8382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8383 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8384 if (obj2) {
423f194a
RD
8385 {
8386 wxString* sptr = wxString_in_helper(obj2);
8387 if (sptr == NULL) SWIG_fail;
8388 arg3 = *sptr;
8389 delete sptr;
8390 }
d14a1e28
RD
8391 }
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 (arg1)->WriteCustomization(arg2,arg3);
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 Py_INCREF(Py_None); resultobj = Py_None;
8400 return resultobj;
8401 fail:
8402 return NULL;
8403}
8404
8405
c370783e 8406static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8407 PyObject *resultobj = NULL;
d14a1e28
RD
8408 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8409 bool result;
8410 PyObject * obj0 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
36ed4f51
RD
8416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 result = (bool)(arg1)->HistoryBack();
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
fbc46b20
RD
8425 {
8426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8427 }
d14a1e28
RD
8428 return resultobj;
8429 fail:
8430 return NULL;
8431}
8432
8433
c370783e 8434static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8435 PyObject *resultobj = NULL;
d14a1e28
RD
8436 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8437 bool result;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
36ed4f51
RD
8444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = (bool)(arg1)->HistoryForward();
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
fbc46b20
RD
8453 {
8454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8455 }
d14a1e28
RD
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
c370783e 8462static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8463 PyObject *resultobj = NULL;
d14a1e28
RD
8464 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8465 bool result;
8466 PyObject * obj0 = 0 ;
8467 char *kwnames[] = {
8468 (char *) "self", NULL
8469 };
8470
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
36ed4f51
RD
8472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8473 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (bool)(arg1)->HistoryCanBack();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
fbc46b20
RD
8481 {
8482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8483 }
d14a1e28
RD
8484 return resultobj;
8485 fail:
8486 return NULL;
8487}
8488
8489
c370783e 8490static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8491 PyObject *resultobj = NULL;
d14a1e28
RD
8492 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8493 bool result;
8494 PyObject * obj0 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
36ed4f51
RD
8500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 result = (bool)(arg1)->HistoryCanForward();
8505
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
fbc46b20
RD
8509 {
8510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8511 }
d14a1e28
RD
8512 return resultobj;
8513 fail:
8514 return NULL;
8515}
8516
8517
c370783e 8518static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8519 PyObject *resultobj = NULL;
d14a1e28
RD
8520 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8521 PyObject * obj0 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
36ed4f51
RD
8527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8528 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 (arg1)->HistoryClear();
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 Py_INCREF(Py_None); resultobj = Py_None;
8537 return resultobj;
8538 fail:
8539 return NULL;
8540}
8541
8542
c370783e 8543static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8544 PyObject *resultobj = NULL;
d14a1e28
RD
8545 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8546 wxHtmlContainerCell *result;
8547 PyObject * obj0 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
36ed4f51
RD
8553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
2f4c0a16 8562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
8563 return resultobj;
8564 fail:
8565 return NULL;
8566}
8567
8568
c370783e 8569static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8570 PyObject *resultobj = NULL;
d14a1e28
RD
8571 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8572 wxHtmlWinParser *result;
8573 PyObject * obj0 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
36ed4f51
RD
8579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8580 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (wxHtmlWinParser *)(arg1)->GetParser();
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
2f4c0a16 8588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
8589 return resultobj;
8590 fail:
8591 return NULL;
8592}
8593
8594
c370783e 8595static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8596 PyObject *resultobj = NULL;
d14a1e28
RD
8597 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8598 wxString *arg2 = 0 ;
8599 bool result;
b411df4a 8600 bool temp2 = false ;
d14a1e28
RD
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 char *kwnames[] = {
8604 (char *) "self",(char *) "anchor", NULL
8605 };
8606
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8610 {
8611 arg2 = wxString_in_helper(obj1);
8612 if (arg2 == NULL) SWIG_fail;
b411df4a 8613 temp2 = true;
d14a1e28
RD
8614 }
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
fbc46b20
RD
8622 {
8623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8624 }
d14a1e28
RD
8625 {
8626 if (temp2)
8627 delete arg2;
8628 }
8629 return resultobj;
8630 fail:
8631 {
8632 if (temp2)
8633 delete arg2;
8634 }
8635 return NULL;
8636}
8637
8638
c370783e 8639static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8640 PyObject *resultobj = NULL;
d14a1e28
RD
8641 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8642 wxString *arg2 = 0 ;
8643 bool result;
b411df4a 8644 bool temp2 = false ;
d14a1e28
RD
8645 PyObject * obj0 = 0 ;
8646 PyObject * obj1 = 0 ;
8647 char *kwnames[] = {
8648 (char *) "self",(char *) "anchor", NULL
8649 };
8650
8651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8653 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8654 {
8655 arg2 = wxString_in_helper(obj1);
8656 if (arg2 == NULL) SWIG_fail;
b411df4a 8657 temp2 = true;
d14a1e28
RD
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
fbc46b20
RD
8666 {
8667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8668 }
d14a1e28
RD
8669 {
8670 if (temp2)
8671 delete arg2;
8672 }
8673 return resultobj;
8674 fail:
8675 {
8676 if (temp2)
8677 delete arg2;
8678 }
8679 return NULL;
8680}
8681
8682
c370783e 8683static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8684 PyObject *resultobj = NULL;
d14a1e28
RD
8685 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "filter", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
8692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8693 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 wxPyHtmlWindow::AddFilter(arg1);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 Py_INCREF(Py_None); resultobj = Py_None;
8702 return resultobj;
8703 fail:
8704 return NULL;
8705}
8706
8707
c370783e 8708static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8709 PyObject *resultobj = NULL;
0ffb2aa6
RD
8710 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8711 wxPoint *arg2 = 0 ;
8712 wxPoint temp2 ;
8713 PyObject * obj0 = 0 ;
8714 PyObject * obj1 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "pos", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8721 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8722 {
8723 arg2 = &temp2;
8724 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8725 }
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 (arg1)->SelectWord((wxPoint const &)*arg2);
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 Py_INCREF(Py_None); resultobj = Py_None;
8734 return resultobj;
8735 fail:
8736 return NULL;
8737}
8738
8739
c370783e 8740static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8741 PyObject *resultobj = NULL;
0ffb2aa6
RD
8742 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8743 wxPoint *arg2 = 0 ;
8744 wxPoint temp2 ;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self",(char *) "pos", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8753 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8754 {
8755 arg2 = &temp2;
8756 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8757 }
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 (arg1)->SelectLine((wxPoint const &)*arg2);
8761
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
8765 Py_INCREF(Py_None); resultobj = Py_None;
8766 return resultobj;
8767 fail:
8768 return NULL;
8769}
8770
8771
c370783e 8772static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8773 PyObject *resultobj = NULL;
0ffb2aa6
RD
8774 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8775 PyObject * obj0 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
8781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail;
0ffb2aa6
RD
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 (arg1)->SelectAll();
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 Py_INCREF(Py_None); resultobj = Py_None;
8791 return resultobj;
8792 fail:
8793 return NULL;
8794}
8795
8796
c370783e 8797static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8798 PyObject *resultobj = NULL;
b0f7404b
RD
8799 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8800 wxString result;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
36ed4f51
RD
8807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 result = (arg1)->SelectionToText();
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 {
8817#if wxUSE_UNICODE
8818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8819#else
8820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8821#endif
8822 }
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
c370783e 8829static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8830 PyObject *resultobj = NULL;
b0f7404b
RD
8831 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8832 wxString result;
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
36ed4f51
RD
8839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail;
b0f7404b
RD
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 result = (arg1)->ToText();
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 {
8849#if wxUSE_UNICODE
8850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8851#else
8852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8853#endif
8854 }
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
c370783e 8861static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8862 PyObject *resultobj = NULL;
d14a1e28
RD
8863 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8864 wxHtmlLinkInfo *arg2 = 0 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self",(char *) "link", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail;
8874 {
8875 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8876 if (SWIG_arg_fail(2)) SWIG_fail;
8877 if (arg2 == NULL) {
8878 SWIG_null_ref("wxHtmlLinkInfo");
8879 }
8880 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 Py_INCREF(Py_None); resultobj = Py_None;
8890 return resultobj;
8891 fail:
8892 return NULL;
8893}
8894
8895
c370783e 8896static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8897 PyObject *resultobj = NULL;
d14a1e28
RD
8898 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8899 wxString *arg2 = 0 ;
b411df4a 8900 bool temp2 = false ;
d14a1e28
RD
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "title", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8909 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8910 {
8911 arg2 = wxString_in_helper(obj1);
8912 if (arg2 == NULL) SWIG_fail;
b411df4a 8913 temp2 = true;
d14a1e28
RD
8914 }
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 Py_INCREF(Py_None); resultobj = Py_None;
8923 {
8924 if (temp2)
8925 delete arg2;
8926 }
8927 return resultobj;
8928 fail:
8929 {
8930 if (temp2)
8931 delete arg2;
8932 }
8933 return NULL;
8934}
8935
8936
c370783e 8937static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8938 PyObject *resultobj = NULL;
d14a1e28
RD
8939 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8940 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
8941 int arg3 ;
8942 int arg4 ;
d14a1e28
RD
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8edf1c75
RD
8945 PyObject * obj2 = 0 ;
8946 PyObject * obj3 = 0 ;
d14a1e28
RD
8947 char *kwnames[] = {
8948 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8949 };
8950
8edf1c75 8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8953 if (SWIG_arg_fail(1)) SWIG_fail;
8954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8955 if (SWIG_arg_fail(2)) SWIG_fail;
8956 {
32fe5131 8957 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
8958 if (SWIG_arg_fail(3)) SWIG_fail;
8959 }
8960 {
32fe5131 8961 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
8962 if (SWIG_arg_fail(4)) SWIG_fail;
8963 }
d14a1e28
RD
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975}
8976
8977
c370783e 8978static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8979 PyObject *resultobj = NULL;
d14a1e28
RD
8980 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8981 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
8982 int arg3 ;
8983 int arg4 ;
d14a1e28
RD
8984 wxMouseEvent *arg5 = 0 ;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8edf1c75
RD
8987 PyObject * obj2 = 0 ;
8988 PyObject * obj3 = 0 ;
d14a1e28
RD
8989 PyObject * obj4 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8992 };
8993
8edf1c75 8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
8995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8996 if (SWIG_arg_fail(1)) SWIG_fail;
8997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8998 if (SWIG_arg_fail(2)) SWIG_fail;
8999 {
32fe5131 9000 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9001 if (SWIG_arg_fail(3)) SWIG_fail;
9002 }
9003 {
32fe5131 9004 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9005 if (SWIG_arg_fail(4)) SWIG_fail;
9006 }
9007 {
9008 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
9009 if (SWIG_arg_fail(5)) SWIG_fail;
9010 if (arg5 == NULL) {
9011 SWIG_null_ref("wxMouseEvent");
9012 }
9013 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 return resultobj;
9024 fail:
9025 return NULL;
9026}
9027
9028
c370783e 9029static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9030 PyObject *resultobj = NULL;
36ed4f51 9031 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
9032 wxVisualAttributes result;
9033 PyObject * obj0 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "variant", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9039 if (obj0) {
36ed4f51 9040 {
32fe5131 9041 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
36ed4f51
RD
9042 if (SWIG_arg_fail(1)) SWIG_fail;
9043 }
f20a2e1f
RD
9044 }
9045 {
0439c23b 9046 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9048 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
f20a2e1f
RD
9049
9050 wxPyEndAllowThreads(__tstate);
110da5b0 9051 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
9052 }
9053 {
9054 wxVisualAttributes * resultptr;
32fe5131 9055 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
f20a2e1f
RD
9056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061}
9062
9063
c370783e 9064static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9065 PyObject *obj;
9066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9067 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
9068 Py_INCREF(obj);
9069 return Py_BuildValue((char *)"");
9070}
c370783e 9071static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9072 PyObject *resultobj = NULL;
d14a1e28
RD
9073 wxHtmlDCRenderer *result;
9074 char *kwnames[] = {
9075 NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
9079 {
0439c23b 9080 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
9083
9084 wxPyEndAllowThreads(__tstate);
110da5b0 9085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9086 }
2f4c0a16 9087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
9088 return resultobj;
9089 fail:
9090 return NULL;
9091}
9092
9093
c370783e 9094static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9095 PyObject *resultobj = NULL;
d14a1e28
RD
9096 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9097 PyObject * obj0 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
36ed4f51
RD
9103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9104 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 delete arg1;
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 Py_INCREF(Py_None); resultobj = Py_None;
9113 return resultobj;
9114 fail:
9115 return NULL;
9116}
9117
9118
c370783e 9119static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9120 PyObject *resultobj = NULL;
d14a1e28
RD
9121 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9122 wxDC *arg2 = (wxDC *) 0 ;
9123 int arg3 ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
8edf1c75 9126 PyObject * obj2 = 0 ;
d14a1e28
RD
9127 char *kwnames[] = {
9128 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
9129 };
9130
8edf1c75 9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail;
9134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9135 if (SWIG_arg_fail(2)) SWIG_fail;
9136 {
32fe5131 9137 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9138 if (SWIG_arg_fail(3)) SWIG_fail;
9139 }
d14a1e28
RD
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 (arg1)->SetDC(arg2,arg3);
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 Py_INCREF(Py_None); resultobj = Py_None;
9148 return resultobj;
9149 fail:
9150 return NULL;
9151}
9152
9153
c370783e 9154static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9155 PyObject *resultobj = NULL;
d14a1e28
RD
9156 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9157 int arg2 ;
9158 int arg3 ;
9159 PyObject * obj0 = 0 ;
8edf1c75
RD
9160 PyObject * obj1 = 0 ;
9161 PyObject * obj2 = 0 ;
d14a1e28
RD
9162 char *kwnames[] = {
9163 (char *) "self",(char *) "width",(char *) "height", NULL
9164 };
9165
8edf1c75 9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail;
9169 {
32fe5131 9170 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9171 if (SWIG_arg_fail(2)) SWIG_fail;
9172 }
9173 {
32fe5131 9174 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9175 if (SWIG_arg_fail(3)) SWIG_fail;
9176 }
d14a1e28
RD
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 (arg1)->SetSize(arg2,arg3);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 Py_INCREF(Py_None); resultobj = Py_None;
9185 return resultobj;
9186 fail:
9187 return NULL;
9188}
9189
9190
c370783e 9191static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9192 PyObject *resultobj = NULL;
d14a1e28
RD
9193 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9194 wxString *arg2 = 0 ;
9195 wxString const &arg3_defvalue = wxPyEmptyString ;
9196 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
9197 bool arg4 = (bool) true ;
9198 bool temp2 = false ;
9199 bool temp3 = false ;
d14a1e28
RD
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 PyObject * obj2 = 0 ;
9203 PyObject * obj3 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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 arg2 = wxString_in_helper(obj1);
9213 if (arg2 == NULL) SWIG_fail;
b411df4a 9214 temp2 = true;
d14a1e28
RD
9215 }
9216 if (obj2) {
9217 {
9218 arg3 = wxString_in_helper(obj2);
9219 if (arg3 == NULL) SWIG_fail;
b411df4a 9220 temp3 = true;
d14a1e28
RD
9221 }
9222 }
9223 if (obj3) {
36ed4f51 9224 {
32fe5131 9225 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
9226 if (SWIG_arg_fail(4)) SWIG_fail;
9227 }
d14a1e28
RD
9228 }
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 Py_INCREF(Py_None); resultobj = Py_None;
9237 {
9238 if (temp2)
9239 delete arg2;
9240 }
9241 {
9242 if (temp3)
9243 delete arg3;
9244 }
9245 return resultobj;
9246 fail:
9247 {
9248 if (temp2)
9249 delete arg2;
9250 }
9251 {
9252 if (temp3)
9253 delete arg3;
9254 }
9255 return NULL;
9256}
9257
9258
c370783e 9259static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9260 PyObject *resultobj = NULL;
d14a1e28
RD
9261 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9262 wxString arg2 ;
9263 wxString arg3 ;
9264 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9265 PyObject * obj0 = 0 ;
9266 PyObject * obj1 = 0 ;
9267 PyObject * obj2 = 0 ;
9268 PyObject * obj3 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9276 {
9277 wxString* sptr = wxString_in_helper(obj1);
9278 if (sptr == NULL) SWIG_fail;
9279 arg2 = *sptr;
9280 delete sptr;
9281 }
9282 {
9283 wxString* sptr = wxString_in_helper(obj2);
9284 if (sptr == NULL) SWIG_fail;
9285 arg3 = *sptr;
9286 delete sptr;
9287 }
d14a1e28
RD
9288 if (obj3) {
9289 arg4 = obj3;
9290 }
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 Py_INCREF(Py_None); resultobj = Py_None;
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
b411df4a 9305static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9306 PyObject *resultobj = NULL;
30ee79f7
RD
9307 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9308 int arg2 = (int) -1 ;
b411df4a
RD
9309 wxString const &arg3_defvalue = wxPyEmptyString ;
9310 wxString *arg3 = (wxString *) &arg3_defvalue ;
9311 wxString const &arg4_defvalue = wxPyEmptyString ;
9312 wxString *arg4 = (wxString *) &arg4_defvalue ;
9313 bool temp3 = false ;
9314 bool temp4 = false ;
30ee79f7
RD
9315 PyObject * obj0 = 0 ;
9316 PyObject * obj1 = 0 ;
b411df4a
RD
9317 PyObject * obj2 = 0 ;
9318 PyObject * obj3 = 0 ;
30ee79f7 9319 char *kwnames[] = {
b411df4a 9320 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9321 };
9322
b411df4a 9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9325 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9326 if (obj1) {
36ed4f51 9327 {
32fe5131 9328 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9329 if (SWIG_arg_fail(2)) SWIG_fail;
9330 }
30ee79f7 9331 }
b411df4a
RD
9332 if (obj2) {
9333 {
9334 arg3 = wxString_in_helper(obj2);
9335 if (arg3 == NULL) SWIG_fail;
9336 temp3 = true;
9337 }
9338 }
9339 if (obj3) {
9340 {
9341 arg4 = wxString_in_helper(obj3);
9342 if (arg4 == NULL) SWIG_fail;
9343 temp4 = true;
9344 }
9345 }
30ee79f7
RD
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 9348 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
9354 {
9355 if (temp3)
9356 delete arg3;
9357 }
9358 {
9359 if (temp4)
9360 delete arg4;
9361 }
30ee79f7
RD
9362 return resultobj;
9363 fail:
b411df4a
RD
9364 {
9365 if (temp3)
9366 delete arg3;
9367 }
9368 {
9369 if (temp4)
9370 delete arg4;
9371 }
30ee79f7
RD
9372 return NULL;
9373}
9374
9375
c370783e 9376static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9377 PyObject *resultobj = NULL;
d14a1e28
RD
9378 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9379 int arg2 ;
9380 int arg3 ;
9381 int arg4 = (int) 0 ;
b411df4a 9382 int arg5 = (int) false ;
d14a1e28
RD
9383 int arg6 = (int) INT_MAX ;
9384 int *arg7 = (int *) NULL ;
9385 int arg8 = (int) 0 ;
9386 int result;
9387 PyObject * obj0 = 0 ;
8edf1c75
RD
9388 PyObject * obj1 = 0 ;
9389 PyObject * obj2 = 0 ;
9390 PyObject * obj3 = 0 ;
9391 PyObject * obj4 = 0 ;
9392 PyObject * obj5 = 0 ;
d14a1e28 9393 PyObject * obj6 = 0 ;
8edf1c75 9394 PyObject * obj7 = 0 ;
d14a1e28 9395 char *kwnames[] = {
f78cc896 9396 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
d14a1e28
RD
9397 };
9398
8edf1c75 9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
9402 {
32fe5131 9403 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9404 if (SWIG_arg_fail(2)) SWIG_fail;
9405 }
9406 {
32fe5131 9407 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9408 if (SWIG_arg_fail(3)) SWIG_fail;
9409 }
8edf1c75 9410 if (obj3) {
36ed4f51 9411 {
32fe5131 9412 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9413 if (SWIG_arg_fail(4)) SWIG_fail;
9414 }
8edf1c75
RD
9415 }
9416 if (obj4) {
36ed4f51 9417 {
32fe5131 9418 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
9419 if (SWIG_arg_fail(5)) SWIG_fail;
9420 }
8edf1c75
RD
9421 }
9422 if (obj5) {
36ed4f51 9423 {
32fe5131 9424 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
9425 if (SWIG_arg_fail(6)) SWIG_fail;
9426 }
8edf1c75 9427 }
d14a1e28 9428 if (obj6) {
36ed4f51
RD
9429 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9430 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28 9431 }
8edf1c75 9432 if (obj7) {
36ed4f51 9433 {
32fe5131 9434 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
9435 if (SWIG_arg_fail(8)) SWIG_fail;
9436 }
8edf1c75 9437 }
d14a1e28
RD
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
36ed4f51 9445 {
32fe5131 9446 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9447 }
d14a1e28
RD
9448 return resultobj;
9449 fail:
9450 return NULL;
9451}
9452
9453
c370783e 9454static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9455 PyObject *resultobj = NULL;
d14a1e28
RD
9456 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9457 int result;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
9464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9465 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (int)(arg1)->GetTotalHeight();
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
36ed4f51 9473 {
32fe5131 9474 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9475 }
d14a1e28
RD
9476 return resultobj;
9477 fail:
9478 return NULL;
9479}
9480
9481
c370783e 9482static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9483 PyObject *obj;
9484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9486 Py_INCREF(obj);
9487 return Py_BuildValue((char *)"");
9488}
c370783e 9489static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9490 PyObject *resultobj = NULL;
d14a1e28
RD
9491 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9492 wxString *arg1 = (wxString *) &arg1_defvalue ;
9493 wxHtmlPrintout *result;
b411df4a 9494 bool temp1 = false ;
d14a1e28
RD
9495 PyObject * obj0 = 0 ;
9496 char *kwnames[] = {
9497 (char *) "title", NULL
9498 };
9499
9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9501 if (obj0) {
9502 {
9503 arg1 = wxString_in_helper(obj0);
9504 if (arg1 == NULL) SWIG_fail;
b411df4a 9505 temp1 = true;
d14a1e28
RD
9506 }
9507 }
9508 {
0439c23b 9509 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9512
9513 wxPyEndAllowThreads(__tstate);
110da5b0 9514 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9515 }
2f4c0a16 9516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
9517 {
9518 if (temp1)
9519 delete arg1;
9520 }
9521 return resultobj;
9522 fail:
9523 {
9524 if (temp1)
9525 delete arg1;
9526 }
9527 return NULL;
9528}
9529
9530
c370783e 9531static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9532 PyObject *resultobj = NULL;
d14a1e28
RD
9533 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9534 wxString *arg2 = 0 ;
9535 wxString const &arg3_defvalue = wxPyEmptyString ;
9536 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
9537 bool arg4 = (bool) true ;
9538 bool temp2 = false ;
9539 bool temp3 = false ;
d14a1e28
RD
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 PyObject * obj2 = 0 ;
9543 PyObject * obj3 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9551 {
9552 arg2 = wxString_in_helper(obj1);
9553 if (arg2 == NULL) SWIG_fail;
b411df4a 9554 temp2 = true;
d14a1e28
RD
9555 }
9556 if (obj2) {
9557 {
9558 arg3 = wxString_in_helper(obj2);
9559 if (arg3 == NULL) SWIG_fail;
b411df4a 9560 temp3 = true;
d14a1e28
RD
9561 }
9562 }
9563 if (obj3) {
36ed4f51 9564 {
32fe5131 9565 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
9566 if (SWIG_arg_fail(4)) SWIG_fail;
9567 }
d14a1e28
RD
9568 }
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 Py_INCREF(Py_None); resultobj = Py_None;
9577 {
9578 if (temp2)
9579 delete arg2;
9580 }
9581 {
9582 if (temp3)
9583 delete arg3;
9584 }
9585 return resultobj;
9586 fail:
9587 {
9588 if (temp2)
9589 delete arg2;
9590 }
9591 {
9592 if (temp3)
9593 delete arg3;
9594 }
9595 return NULL;
9596}
9597
9598
c370783e 9599static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9600 PyObject *resultobj = NULL;
d14a1e28
RD
9601 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9602 wxString *arg2 = 0 ;
b411df4a 9603 bool temp2 = false ;
d14a1e28
RD
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self",(char *) "htmlfile", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9612 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9613 {
9614 arg2 = wxString_in_helper(obj1);
9615 if (arg2 == NULL) SWIG_fail;
b411df4a 9616 temp2 = true;
d14a1e28
RD
9617 }
9618 {
9619 PyThreadState* __tstate = wxPyBeginAllowThreads();
9620 (arg1)->SetHtmlFile((wxString const &)*arg2);
9621
9622 wxPyEndAllowThreads(__tstate);
9623 if (PyErr_Occurred()) SWIG_fail;
9624 }
9625 Py_INCREF(Py_None); resultobj = Py_None;
9626 {
9627 if (temp2)
9628 delete arg2;
9629 }
9630 return resultobj;
9631 fail:
9632 {
9633 if (temp2)
9634 delete arg2;
9635 }
9636 return NULL;
9637}
9638
9639
c370783e 9640static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9641 PyObject *resultobj = NULL;
d14a1e28
RD
9642 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9643 wxString *arg2 = 0 ;
9644 int arg3 = (int) wxPAGE_ALL ;
b411df4a 9645 bool temp2 = false ;
d14a1e28
RD
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
8edf1c75 9648 PyObject * obj2 = 0 ;
d14a1e28
RD
9649 char *kwnames[] = {
9650 (char *) "self",(char *) "header",(char *) "pg", NULL
9651 };
9652
8edf1c75 9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9656 {
9657 arg2 = wxString_in_helper(obj1);
9658 if (arg2 == NULL) SWIG_fail;
b411df4a 9659 temp2 = true;
d14a1e28 9660 }
8edf1c75 9661 if (obj2) {
36ed4f51 9662 {
32fe5131 9663 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9664 if (SWIG_arg_fail(3)) SWIG_fail;
9665 }
8edf1c75 9666 }
d14a1e28
RD
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 Py_INCREF(Py_None); resultobj = Py_None;
9675 {
9676 if (temp2)
9677 delete arg2;
9678 }
9679 return resultobj;
9680 fail:
9681 {
9682 if (temp2)
9683 delete arg2;
9684 }
9685 return NULL;
9686}
9687
9688
c370783e 9689static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9690 PyObject *resultobj = NULL;
d14a1e28
RD
9691 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9692 wxString *arg2 = 0 ;
9693 int arg3 = (int) wxPAGE_ALL ;
b411df4a 9694 bool temp2 = false ;
d14a1e28
RD
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
8edf1c75 9697 PyObject * obj2 = 0 ;
d14a1e28
RD
9698 char *kwnames[] = {
9699 (char *) "self",(char *) "footer",(char *) "pg", NULL
9700 };
9701
8edf1c75 9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9704 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9705 {
9706 arg2 = wxString_in_helper(obj1);
9707 if (arg2 == NULL) SWIG_fail;
b411df4a 9708 temp2 = true;
d14a1e28 9709 }
8edf1c75 9710 if (obj2) {
36ed4f51 9711 {
32fe5131 9712 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9713 if (SWIG_arg_fail(3)) SWIG_fail;
9714 }
8edf1c75 9715 }
d14a1e28
RD
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 Py_INCREF(Py_None); resultobj = Py_None;
9724 {
9725 if (temp2)
9726 delete arg2;
9727 }
9728 return resultobj;
9729 fail:
9730 {
9731 if (temp2)
9732 delete arg2;
9733 }
9734 return NULL;
9735}
9736
9737
c370783e 9738static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9739 PyObject *resultobj = NULL;
d14a1e28
RD
9740 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9741 wxString arg2 ;
9742 wxString arg3 ;
9743 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
9744 PyObject * obj0 = 0 ;
9745 PyObject * obj1 = 0 ;
9746 PyObject * obj2 = 0 ;
9747 PyObject * obj3 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9754 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
9755 {
9756 wxString* sptr = wxString_in_helper(obj1);
9757 if (sptr == NULL) SWIG_fail;
9758 arg2 = *sptr;
9759 delete sptr;
9760 }
9761 {
9762 wxString* sptr = wxString_in_helper(obj2);
9763 if (sptr == NULL) SWIG_fail;
9764 arg3 = *sptr;
9765 delete sptr;
9766 }
d14a1e28
RD
9767 if (obj3) {
9768 arg4 = obj3;
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 Py_INCREF(Py_None); resultobj = Py_None;
9778 return resultobj;
9779 fail:
9780 return NULL;
9781}
9782
9783
b411df4a 9784static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9785 PyObject *resultobj = NULL;
30ee79f7
RD
9786 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9787 int arg2 = (int) -1 ;
b411df4a
RD
9788 wxString const &arg3_defvalue = wxPyEmptyString ;
9789 wxString *arg3 = (wxString *) &arg3_defvalue ;
9790 wxString const &arg4_defvalue = wxPyEmptyString ;
9791 wxString *arg4 = (wxString *) &arg4_defvalue ;
9792 bool temp3 = false ;
9793 bool temp4 = false ;
30ee79f7
RD
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
b411df4a
RD
9796 PyObject * obj2 = 0 ;
9797 PyObject * obj3 = 0 ;
30ee79f7 9798 char *kwnames[] = {
b411df4a 9799 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
9800 };
9801
b411df4a 9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 9805 if (obj1) {
36ed4f51 9806 {
32fe5131 9807 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9808 if (SWIG_arg_fail(2)) SWIG_fail;
9809 }
30ee79f7 9810 }
b411df4a
RD
9811 if (obj2) {
9812 {
9813 arg3 = wxString_in_helper(obj2);
9814 if (arg3 == NULL) SWIG_fail;
9815 temp3 = true;
9816 }
9817 }
9818 if (obj3) {
9819 {
9820 arg4 = wxString_in_helper(obj3);
9821 if (arg4 == NULL) SWIG_fail;
9822 temp4 = true;
9823 }
9824 }
30ee79f7
RD
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 9827 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
9833 {
9834 if (temp3)
9835 delete arg3;
9836 }
9837 {
9838 if (temp4)
9839 delete arg4;
9840 }
30ee79f7
RD
9841 return resultobj;
9842 fail:
b411df4a
RD
9843 {
9844 if (temp3)
9845 delete arg3;
9846 }
9847 {
9848 if (temp4)
9849 delete arg4;
9850 }
30ee79f7
RD
9851 return NULL;
9852}
9853
9854
c370783e 9855static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9856 PyObject *resultobj = NULL;
d14a1e28
RD
9857 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9858 float arg2 = (float) 25.2 ;
9859 float arg3 = (float) 25.2 ;
9860 float arg4 = (float) 25.2 ;
9861 float arg5 = (float) 25.2 ;
9862 float arg6 = (float) 5 ;
9863 PyObject * obj0 = 0 ;
8edf1c75
RD
9864 PyObject * obj1 = 0 ;
9865 PyObject * obj2 = 0 ;
9866 PyObject * obj3 = 0 ;
9867 PyObject * obj4 = 0 ;
9868 PyObject * obj5 = 0 ;
d14a1e28
RD
9869 char *kwnames[] = {
9870 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9871 };
9872
8edf1c75 9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
9874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9875 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 9876 if (obj1) {
36ed4f51 9877 {
32fe5131 9878 arg2 = static_cast<float >(SWIG_As_float(obj1));
36ed4f51
RD
9879 if (SWIG_arg_fail(2)) SWIG_fail;
9880 }
8edf1c75
RD
9881 }
9882 if (obj2) {
36ed4f51 9883 {
32fe5131 9884 arg3 = static_cast<float >(SWIG_As_float(obj2));
36ed4f51
RD
9885 if (SWIG_arg_fail(3)) SWIG_fail;
9886 }
8edf1c75
RD
9887 }
9888 if (obj3) {
36ed4f51 9889 {
32fe5131 9890 arg4 = static_cast<float >(SWIG_As_float(obj3));
36ed4f51
RD
9891 if (SWIG_arg_fail(4)) SWIG_fail;
9892 }
8edf1c75
RD
9893 }
9894 if (obj4) {
36ed4f51 9895 {
32fe5131 9896 arg5 = static_cast<float >(SWIG_As_float(obj4));
36ed4f51
RD
9897 if (SWIG_arg_fail(5)) SWIG_fail;
9898 }
8edf1c75
RD
9899 }
9900 if (obj5) {
36ed4f51 9901 {
32fe5131 9902 arg6 = static_cast<float >(SWIG_As_float(obj5));
36ed4f51
RD
9903 if (SWIG_arg_fail(6)) SWIG_fail;
9904 }
8edf1c75 9905 }
d14a1e28
RD
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 Py_INCREF(Py_None); resultobj = Py_None;
9914 return resultobj;
9915 fail:
9916 return NULL;
9917}
9918
9919
c370783e 9920static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9921 PyObject *resultobj = NULL;
d14a1e28
RD
9922 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "filter", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
9929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 wxHtmlPrintout::AddFilter(arg1);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 return resultobj;
9940 fail:
9941 return NULL;
9942}
9943
9944
c370783e 9945static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9946 PyObject *resultobj = NULL;
d14a1e28
RD
9947 char *kwnames[] = {
9948 NULL
9949 };
9950
9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 wxHtmlPrintout::CleanUpStatics();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 Py_INCREF(Py_None); resultobj = Py_None;
9960 return resultobj;
9961 fail:
9962 return NULL;
9963}
9964
9965
c370783e 9966static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9967 PyObject *obj;
9968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9970 Py_INCREF(obj);
9971 return Py_BuildValue((char *)"");
9972}
c370783e 9973static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9974 PyObject *resultobj = NULL;
d14a1e28
RD
9975 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9976 wxString *arg1 = (wxString *) &arg1_defvalue ;
9977 wxWindow *arg2 = (wxWindow *) NULL ;
9978 wxHtmlEasyPrinting *result;
b411df4a 9979 bool temp1 = false ;
d14a1e28
RD
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "name",(char *) "parentWindow", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9987 if (obj0) {
9988 {
9989 arg1 = wxString_in_helper(obj0);
9990 if (arg1 == NULL) SWIG_fail;
b411df4a 9991 temp1 = true;
d14a1e28
RD
9992 }
9993 }
9994 if (obj1) {
36ed4f51
RD
9995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9996 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9997 }
9998 {
0439c23b 9999 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
10002
10003 wxPyEndAllowThreads(__tstate);
110da5b0 10004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10005 }
2f4c0a16 10006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
10007 {
10008 if (temp1)
10009 delete arg1;
10010 }
10011 return resultobj;
10012 fail:
10013 {
10014 if (temp1)
10015 delete arg1;
10016 }
10017 return NULL;
10018}
10019
10020
c370783e 10021static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10022 PyObject *resultobj = NULL;
d14a1e28
RD
10023 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10024 PyObject * obj0 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
10030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 delete arg1;
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 Py_INCREF(Py_None); resultobj = Py_None;
10040 return resultobj;
10041 fail:
10042 return NULL;
10043}
10044
10045
c370783e 10046static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10047 PyObject *resultobj = NULL;
d14a1e28
RD
10048 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10049 wxString *arg2 = 0 ;
b411df4a 10050 bool temp2 = false ;
d14a1e28
RD
10051 PyObject * obj0 = 0 ;
10052 PyObject * obj1 = 0 ;
10053 char *kwnames[] = {
10054 (char *) "self",(char *) "htmlfile", NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10059 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10060 {
10061 arg2 = wxString_in_helper(obj1);
10062 if (arg2 == NULL) SWIG_fail;
b411df4a 10063 temp2 = true;
d14a1e28
RD
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 (arg1)->PreviewFile((wxString const &)*arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 Py_INCREF(Py_None); resultobj = Py_None;
10073 {
10074 if (temp2)
10075 delete arg2;
10076 }
10077 return resultobj;
10078 fail:
10079 {
10080 if (temp2)
10081 delete arg2;
10082 }
10083 return NULL;
10084}
10085
10086
c370783e 10087static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10088 PyObject *resultobj = NULL;
d14a1e28
RD
10089 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10090 wxString *arg2 = 0 ;
10091 wxString const &arg3_defvalue = wxPyEmptyString ;
10092 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
10093 bool temp2 = false ;
10094 bool temp3 = false ;
d14a1e28
RD
10095 PyObject * obj0 = 0 ;
10096 PyObject * obj1 = 0 ;
10097 PyObject * obj2 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10105 {
10106 arg2 = wxString_in_helper(obj1);
10107 if (arg2 == NULL) SWIG_fail;
b411df4a 10108 temp2 = true;
d14a1e28
RD
10109 }
10110 if (obj2) {
10111 {
10112 arg3 = wxString_in_helper(obj2);
10113 if (arg3 == NULL) SWIG_fail;
b411df4a 10114 temp3 = true;
d14a1e28
RD
10115 }
10116 }
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 Py_INCREF(Py_None); resultobj = Py_None;
10125 {
10126 if (temp2)
10127 delete arg2;
10128 }
10129 {
10130 if (temp3)
10131 delete arg3;
10132 }
10133 return resultobj;
10134 fail:
10135 {
10136 if (temp2)
10137 delete arg2;
10138 }
10139 {
10140 if (temp3)
10141 delete arg3;
10142 }
10143 return NULL;
10144}
10145
10146
c370783e 10147static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10148 PyObject *resultobj = NULL;
d14a1e28
RD
10149 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10150 wxString *arg2 = 0 ;
b411df4a 10151 bool temp2 = false ;
d14a1e28
RD
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self",(char *) "htmlfile", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10160 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10161 {
10162 arg2 = wxString_in_helper(obj1);
10163 if (arg2 == NULL) SWIG_fail;
b411df4a 10164 temp2 = true;
d14a1e28
RD
10165 }
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 (arg1)->PrintFile((wxString const &)*arg2);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 Py_INCREF(Py_None); resultobj = Py_None;
10174 {
10175 if (temp2)
10176 delete arg2;
10177 }
10178 return resultobj;
10179 fail:
10180 {
10181 if (temp2)
10182 delete arg2;
10183 }
10184 return NULL;
10185}
10186
10187
c370783e 10188static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10189 PyObject *resultobj = NULL;
d14a1e28
RD
10190 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10191 wxString *arg2 = 0 ;
10192 wxString const &arg3_defvalue = wxPyEmptyString ;
10193 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a
RD
10194 bool temp2 = false ;
10195 bool temp3 = false ;
d14a1e28
RD
10196 PyObject * obj0 = 0 ;
10197 PyObject * obj1 = 0 ;
10198 PyObject * obj2 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10205 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10206 {
10207 arg2 = wxString_in_helper(obj1);
10208 if (arg2 == NULL) SWIG_fail;
b411df4a 10209 temp2 = true;
d14a1e28
RD
10210 }
10211 if (obj2) {
10212 {
10213 arg3 = wxString_in_helper(obj2);
10214 if (arg3 == NULL) SWIG_fail;
b411df4a 10215 temp3 = true;
d14a1e28
RD
10216 }
10217 }
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
10220 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
10221
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 Py_INCREF(Py_None); resultobj = Py_None;
10226 {
10227 if (temp2)
10228 delete arg2;
10229 }
10230 {
10231 if (temp3)
10232 delete arg3;
10233 }
10234 return resultobj;
10235 fail:
10236 {
10237 if (temp2)
10238 delete arg2;
10239 }
10240 {
10241 if (temp3)
10242 delete arg3;
10243 }
10244 return NULL;
10245}
10246
10247
c370783e 10248static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10249 PyObject *resultobj = NULL;
d14a1e28
RD
10250 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
36ed4f51
RD
10257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10258 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->PageSetup();
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 Py_INCREF(Py_None); resultobj = Py_None;
10267 return resultobj;
10268 fail:
10269 return NULL;
10270}
10271
10272
c370783e 10273static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10274 PyObject *resultobj = NULL;
d14a1e28
RD
10275 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10276 wxString *arg2 = 0 ;
10277 int arg3 = (int) wxPAGE_ALL ;
b411df4a 10278 bool temp2 = false ;
d14a1e28
RD
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
8edf1c75 10281 PyObject * obj2 = 0 ;
d14a1e28
RD
10282 char *kwnames[] = {
10283 (char *) "self",(char *) "header",(char *) "pg", NULL
10284 };
10285
8edf1c75 10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10289 {
10290 arg2 = wxString_in_helper(obj1);
10291 if (arg2 == NULL) SWIG_fail;
b411df4a 10292 temp2 = true;
d14a1e28 10293 }
8edf1c75 10294 if (obj2) {
36ed4f51 10295 {
32fe5131 10296 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10297 if (SWIG_arg_fail(3)) SWIG_fail;
10298 }
8edf1c75 10299 }
d14a1e28
RD
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 Py_INCREF(Py_None); resultobj = Py_None;
10308 {
10309 if (temp2)
10310 delete arg2;
10311 }
10312 return resultobj;
10313 fail:
10314 {
10315 if (temp2)
10316 delete arg2;
10317 }
10318 return NULL;
10319}
10320
10321
c370783e 10322static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10323 PyObject *resultobj = NULL;
d14a1e28
RD
10324 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10325 wxString *arg2 = 0 ;
10326 int arg3 = (int) wxPAGE_ALL ;
b411df4a 10327 bool temp2 = false ;
d14a1e28
RD
10328 PyObject * obj0 = 0 ;
10329 PyObject * obj1 = 0 ;
8edf1c75 10330 PyObject * obj2 = 0 ;
d14a1e28
RD
10331 char *kwnames[] = {
10332 (char *) "self",(char *) "footer",(char *) "pg", NULL
10333 };
10334
8edf1c75 10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10338 {
10339 arg2 = wxString_in_helper(obj1);
10340 if (arg2 == NULL) SWIG_fail;
b411df4a 10341 temp2 = true;
d14a1e28 10342 }
8edf1c75 10343 if (obj2) {
36ed4f51 10344 {
32fe5131 10345 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10346 if (SWIG_arg_fail(3)) SWIG_fail;
10347 }
8edf1c75 10348 }
d14a1e28
RD
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 {
10358 if (temp2)
10359 delete arg2;
10360 }
10361 return resultobj;
10362 fail:
10363 {
10364 if (temp2)
10365 delete arg2;
10366 }
10367 return NULL;
10368}
10369
10370
c370783e 10371static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10372 PyObject *resultobj = NULL;
d14a1e28
RD
10373 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10374 wxString arg2 ;
10375 wxString arg3 ;
10376 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
10377 PyObject * obj0 = 0 ;
10378 PyObject * obj1 = 0 ;
10379 PyObject * obj2 = 0 ;
10380 PyObject * obj3 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10387 if (SWIG_arg_fail(1)) SWIG_fail;
423f194a
RD
10388 {
10389 wxString* sptr = wxString_in_helper(obj1);
10390 if (sptr == NULL) SWIG_fail;
10391 arg2 = *sptr;
10392 delete sptr;
10393 }
10394 {
10395 wxString* sptr = wxString_in_helper(obj2);
10396 if (sptr == NULL) SWIG_fail;
10397 arg3 = *sptr;
10398 delete sptr;
10399 }
d14a1e28
RD
10400 if (obj3) {
10401 arg4 = obj3;
10402 }
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 Py_INCREF(Py_None); resultobj = Py_None;
10411 return resultobj;
10412 fail:
10413 return NULL;
10414}
10415
10416
b411df4a 10417static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10418 PyObject *resultobj = NULL;
30ee79f7
RD
10419 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10420 int arg2 = (int) -1 ;
b411df4a
RD
10421 wxString const &arg3_defvalue = wxPyEmptyString ;
10422 wxString *arg3 = (wxString *) &arg3_defvalue ;
10423 wxString const &arg4_defvalue = wxPyEmptyString ;
10424 wxString *arg4 = (wxString *) &arg4_defvalue ;
10425 bool temp3 = false ;
10426 bool temp4 = false ;
30ee79f7
RD
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
b411df4a
RD
10429 PyObject * obj2 = 0 ;
10430 PyObject * obj3 = 0 ;
30ee79f7 10431 char *kwnames[] = {
b411df4a 10432 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
30ee79f7
RD
10433 };
10434
b411df4a 10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail;
30ee79f7 10438 if (obj1) {
36ed4f51 10439 {
32fe5131 10440 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10441 if (SWIG_arg_fail(2)) SWIG_fail;
10442 }
30ee79f7 10443 }
b411df4a
RD
10444 if (obj2) {
10445 {
10446 arg3 = wxString_in_helper(obj2);
10447 if (arg3 == NULL) SWIG_fail;
10448 temp3 = true;
10449 }
10450 }
10451 if (obj3) {
10452 {
10453 arg4 = wxString_in_helper(obj3);
10454 if (arg4 == NULL) SWIG_fail;
10455 temp4 = true;
10456 }
10457 }
30ee79f7
RD
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
b411df4a 10460 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30ee79f7
RD
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
b411df4a
RD
10466 {
10467 if (temp3)
10468 delete arg3;
10469 }
10470 {
10471 if (temp4)
10472 delete arg4;
10473 }
30ee79f7
RD
10474 return resultobj;
10475 fail:
b411df4a
RD
10476 {
10477 if (temp3)
10478 delete arg3;
10479 }
10480 {
10481 if (temp4)
10482 delete arg4;
10483 }
30ee79f7
RD
10484 return NULL;
10485}
10486
10487
c370783e 10488static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10489 PyObject *resultobj = NULL;
d14a1e28
RD
10490 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10491 wxPrintData *result;
10492 PyObject * obj0 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
10498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10499 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (wxPrintData *)(arg1)->GetPrintData();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
2f4c0a16 10507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
10508 return resultobj;
10509 fail:
10510 return NULL;
10511}
10512
10513
c370783e 10514static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10515 PyObject *resultobj = NULL;
d14a1e28
RD
10516 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10517 wxPageSetupDialogData *result;
10518 PyObject * obj0 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
36ed4f51
RD
10524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10525 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
2f4c0a16 10533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
10534 return resultobj;
10535 fail:
10536 return NULL;
10537}
10538
10539
c370783e 10540static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10541 PyObject *obj;
10542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10543 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10544 Py_INCREF(obj);
10545 return Py_BuildValue((char *)"");
10546}
c370783e 10547static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10548 PyObject *resultobj = NULL;
d14a1e28
RD
10549 wxString *arg1 = 0 ;
10550 wxString *arg2 = 0 ;
10551 wxString *arg3 = 0 ;
10552 wxString *arg4 = 0 ;
10553 wxHtmlBookRecord *result;
b411df4a
RD
10554 bool temp1 = false ;
10555 bool temp2 = false ;
10556 bool temp3 = false ;
10557 bool temp4 = false ;
d14a1e28
RD
10558 PyObject * obj0 = 0 ;
10559 PyObject * obj1 = 0 ;
10560 PyObject * obj2 = 0 ;
10561 PyObject * obj3 = 0 ;
10562 char *kwnames[] = {
10563 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10567 {
10568 arg1 = wxString_in_helper(obj0);
10569 if (arg1 == NULL) SWIG_fail;
b411df4a 10570 temp1 = true;
d14a1e28
RD
10571 }
10572 {
10573 arg2 = wxString_in_helper(obj1);
10574 if (arg2 == NULL) SWIG_fail;
b411df4a 10575 temp2 = true;
d14a1e28
RD
10576 }
10577 {
10578 arg3 = wxString_in_helper(obj2);
10579 if (arg3 == NULL) SWIG_fail;
b411df4a 10580 temp3 = true;
d14a1e28
RD
10581 }
10582 {
10583 arg4 = wxString_in_helper(obj3);
10584 if (arg4 == NULL) SWIG_fail;
b411df4a 10585 temp4 = true;
d14a1e28
RD
10586 }
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
2f4c0a16 10594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
10595 {
10596 if (temp1)
10597 delete arg1;
10598 }
10599 {
10600 if (temp2)
10601 delete arg2;
10602 }
10603 {
10604 if (temp3)
10605 delete arg3;
10606 }
10607 {
10608 if (temp4)
10609 delete arg4;
10610 }
10611 return resultobj;
10612 fail:
10613 {
10614 if (temp1)
10615 delete arg1;
10616 }
10617 {
10618 if (temp2)
10619 delete arg2;
10620 }
10621 {
10622 if (temp3)
10623 delete arg3;
10624 }
10625 {
10626 if (temp4)
10627 delete arg4;
10628 }
10629 return NULL;
10630}
10631
10632
c370783e 10633static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10634 PyObject *resultobj = NULL;
d14a1e28
RD
10635 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10636 wxString result;
10637 PyObject * obj0 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
10643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10644 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (arg1)->GetBookFile();
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 {
10653#if wxUSE_UNICODE
10654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10655#else
10656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10657#endif
10658 }
10659 return resultobj;
10660 fail:
10661 return NULL;
10662}
10663
10664
c370783e 10665static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10666 PyObject *resultobj = NULL;
d14a1e28
RD
10667 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10668 wxString result;
10669 PyObject * obj0 = 0 ;
10670 char *kwnames[] = {
10671 (char *) "self", NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
10675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10676 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (arg1)->GetTitle();
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 {
10685#if wxUSE_UNICODE
10686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10687#else
10688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10689#endif
10690 }
10691 return resultobj;
10692 fail:
10693 return NULL;
10694}
10695
10696
c370783e 10697static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10698 PyObject *resultobj = NULL;
d14a1e28
RD
10699 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10700 wxString result;
10701 PyObject * obj0 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
10707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10708 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (arg1)->GetStart();
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 {
10717#if wxUSE_UNICODE
10718 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10719#else
10720 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10721#endif
10722 }
10723 return resultobj;
10724 fail:
10725 return NULL;
10726}
10727
10728
c370783e 10729static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10730 PyObject *resultobj = NULL;
d14a1e28
RD
10731 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10732 wxString result;
10733 PyObject * obj0 = 0 ;
10734 char *kwnames[] = {
10735 (char *) "self", NULL
10736 };
10737
10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
10739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10740 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (arg1)->GetBasePath();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 {
10749#if wxUSE_UNICODE
10750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10751#else
10752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10753#endif
10754 }
10755 return resultobj;
10756 fail:
10757 return NULL;
10758}
10759
10760
c370783e 10761static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10762 PyObject *resultobj = NULL;
d14a1e28
RD
10763 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10764 int arg2 ;
10765 int arg3 ;
10766 PyObject * obj0 = 0 ;
8edf1c75
RD
10767 PyObject * obj1 = 0 ;
10768 PyObject * obj2 = 0 ;
d14a1e28
RD
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "start",(char *) "end", NULL
10771 };
10772
8edf1c75 10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10775 if (SWIG_arg_fail(1)) SWIG_fail;
10776 {
32fe5131 10777 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
10778 if (SWIG_arg_fail(2)) SWIG_fail;
10779 }
10780 {
32fe5131 10781 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
10782 if (SWIG_arg_fail(3)) SWIG_fail;
10783 }
d14a1e28
RD
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 (arg1)->SetContentsRange(arg2,arg3);
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 Py_INCREF(Py_None); resultobj = Py_None;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795}
10796
10797
c370783e 10798static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10799 PyObject *resultobj = NULL;
d14a1e28
RD
10800 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10801 int result;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
10808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 result = (int)(arg1)->GetContentsStart();
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
36ed4f51 10817 {
32fe5131 10818 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10819 }
d14a1e28
RD
10820 return resultobj;
10821 fail:
10822 return NULL;
10823}
10824
10825
c370783e 10826static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10827 PyObject *resultobj = NULL;
d14a1e28
RD
10828 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10829 int result;
10830 PyObject * obj0 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
10836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (int)(arg1)->GetContentsEnd();
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
36ed4f51 10845 {
32fe5131 10846 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 10847 }
d14a1e28
RD
10848 return resultobj;
10849 fail:
10850 return NULL;
10851}
10852
10853
c370783e 10854static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10855 PyObject *resultobj = NULL;
d14a1e28
RD
10856 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10857 wxString *arg2 = 0 ;
b411df4a 10858 bool temp2 = false ;
d14a1e28
RD
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self",(char *) "title", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10868 {
10869 arg2 = wxString_in_helper(obj1);
10870 if (arg2 == NULL) SWIG_fail;
b411df4a 10871 temp2 = true;
d14a1e28
RD
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->SetTitle((wxString const &)*arg2);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 {
10882 if (temp2)
10883 delete arg2;
10884 }
10885 return resultobj;
10886 fail:
10887 {
10888 if (temp2)
10889 delete arg2;
10890 }
10891 return NULL;
10892}
10893
10894
c370783e 10895static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10896 PyObject *resultobj = NULL;
d14a1e28
RD
10897 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10898 wxString *arg2 = 0 ;
b411df4a 10899 bool temp2 = false ;
d14a1e28
RD
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "path", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10909 {
10910 arg2 = wxString_in_helper(obj1);
10911 if (arg2 == NULL) SWIG_fail;
b411df4a 10912 temp2 = true;
d14a1e28
RD
10913 }
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 (arg1)->SetBasePath((wxString const &)*arg2);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 Py_INCREF(Py_None); resultobj = Py_None;
10922 {
10923 if (temp2)
10924 delete arg2;
10925 }
10926 return resultobj;
10927 fail:
10928 {
10929 if (temp2)
10930 delete arg2;
10931 }
10932 return NULL;
10933}
10934
10935
c370783e 10936static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10937 PyObject *resultobj = NULL;
d14a1e28
RD
10938 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10939 wxString *arg2 = 0 ;
b411df4a 10940 bool temp2 = false ;
d14a1e28
RD
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "start", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10950 {
10951 arg2 = wxString_in_helper(obj1);
10952 if (arg2 == NULL) SWIG_fail;
b411df4a 10953 temp2 = true;
d14a1e28
RD
10954 }
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 (arg1)->SetStart((wxString const &)*arg2);
10958
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 Py_INCREF(Py_None); resultobj = Py_None;
10963 {
10964 if (temp2)
10965 delete arg2;
10966 }
10967 return resultobj;
10968 fail:
10969 {
10970 if (temp2)
10971 delete arg2;
10972 }
10973 return NULL;
10974}
10975
10976
c370783e 10977static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10978 PyObject *resultobj = NULL;
d14a1e28
RD
10979 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10980 wxString *arg2 = 0 ;
10981 wxString result;
b411df4a 10982 bool temp2 = false ;
d14a1e28
RD
10983 PyObject * obj0 = 0 ;
10984 PyObject * obj1 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "page", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10992 {
10993 arg2 = wxString_in_helper(obj1);
10994 if (arg2 == NULL) SWIG_fail;
b411df4a 10995 temp2 = true;
d14a1e28
RD
10996 }
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 {
11005#if wxUSE_UNICODE
11006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11007#else
11008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11009#endif
11010 }
11011 {
11012 if (temp2)
11013 delete arg2;
11014 }
11015 return resultobj;
11016 fail:
11017 {
11018 if (temp2)
11019 delete arg2;
11020 }
11021 return NULL;
11022}
11023
11024
c370783e 11025static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11026 PyObject *obj;
11027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11028 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
11029 Py_INCREF(obj);
11030 return Py_BuildValue((char *)"");
11031}
c370783e 11032static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11033 PyObject *resultobj = NULL;
d14a1e28
RD
11034 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11035 bool result;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
36ed4f51
RD
11042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 result = (bool)(arg1)->Search();
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
fbc46b20
RD
11051 {
11052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11053 }
d14a1e28
RD
11054 return resultobj;
11055 fail:
11056 return NULL;
11057}
11058
11059
c370783e 11060static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11061 PyObject *resultobj = NULL;
d14a1e28
RD
11062 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11063 bool result;
11064 PyObject * obj0 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
36ed4f51
RD
11070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (bool)(arg1)->IsActive();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
fbc46b20
RD
11079 {
11080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11081 }
d14a1e28
RD
11082 return resultobj;
11083 fail:
11084 return NULL;
11085}
11086
11087
c370783e 11088static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11089 PyObject *resultobj = NULL;
d14a1e28
RD
11090 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11091 int result;
11092 PyObject * obj0 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "self", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
11098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 result = (int)(arg1)->GetCurIndex();
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
36ed4f51 11107 {
32fe5131 11108 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11109 }
d14a1e28
RD
11110 return resultobj;
11111 fail:
11112 return NULL;
11113}
11114
11115
c370783e 11116static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11117 PyObject *resultobj = NULL;
d14a1e28
RD
11118 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11119 int result;
11120 PyObject * obj0 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
11126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (int)(arg1)->GetMaxIndex();
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
36ed4f51 11135 {
32fe5131 11136 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 11137 }
d14a1e28
RD
11138 return resultobj;
11139 fail:
11140 return NULL;
11141}
11142
11143
c370783e 11144static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11145 PyObject *resultobj = NULL;
d14a1e28
RD
11146 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11147 wxString *result;
11148 PyObject * obj0 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
11154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 {
11159 wxString const &_result_ref = (arg1)->GetName();
11160 result = (wxString *) &_result_ref;
11161 }
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
0f774bef
RD
11166 {
11167#if wxUSE_UNICODE
11168 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11169#else
11170 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11171#endif
11172 }
d14a1e28
RD
11173 return resultobj;
11174 fail:
11175 return NULL;
11176}
11177
11178
c370783e 11179static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11180 PyObject *obj;
11181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11182 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11183 Py_INCREF(obj);
11184 return Py_BuildValue((char *)"");
11185}
c370783e 11186static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11187 PyObject *resultobj = NULL;
d14a1e28
RD
11188 wxHtmlHelpData *result;
11189 char *kwnames[] = {
11190 NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
2f4c0a16 11201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
11202 return resultobj;
11203 fail:
11204 return NULL;
11205}
11206
11207
c370783e 11208static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11209 PyObject *resultobj = NULL;
d14a1e28
RD
11210 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11211 PyObject * obj0 = 0 ;
11212 char *kwnames[] = {
11213 (char *) "self", NULL
11214 };
11215
11216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
36ed4f51
RD
11217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 delete arg1;
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 Py_INCREF(Py_None); resultobj = Py_None;
11227 return resultobj;
11228 fail:
11229 return NULL;
11230}
11231
11232
c370783e 11233static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11234 PyObject *resultobj = NULL;
d14a1e28
RD
11235 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11236 wxString *arg2 = 0 ;
b411df4a 11237 bool temp2 = false ;
d14a1e28
RD
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "path", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11246 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11247 {
11248 arg2 = wxString_in_helper(obj1);
11249 if (arg2 == NULL) SWIG_fail;
b411df4a 11250 temp2 = true;
d14a1e28
RD
11251 }
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 (arg1)->SetTempDir((wxString const &)*arg2);
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 Py_INCREF(Py_None); resultobj = Py_None;
11260 {
11261 if (temp2)
11262 delete arg2;
11263 }
11264 return resultobj;
11265 fail:
11266 {
11267 if (temp2)
11268 delete arg2;
11269 }
11270 return NULL;
11271}
11272
11273
c370783e 11274static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11275 PyObject *resultobj = NULL;
d14a1e28
RD
11276 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11277 wxString *arg2 = 0 ;
11278 bool result;
b411df4a 11279 bool temp2 = false ;
d14a1e28
RD
11280 PyObject * obj0 = 0 ;
11281 PyObject * obj1 = 0 ;
11282 char *kwnames[] = {
11283 (char *) "self",(char *) "book", NULL
11284 };
11285
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11289 {
11290 arg2 = wxString_in_helper(obj1);
11291 if (arg2 == NULL) SWIG_fail;
b411df4a 11292 temp2 = true;
d14a1e28
RD
11293 }
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
fbc46b20
RD
11301 {
11302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11303 }
d14a1e28
RD
11304 {
11305 if (temp2)
11306 delete arg2;
11307 }
11308 return resultobj;
11309 fail:
11310 {
11311 if (temp2)
11312 delete arg2;
11313 }
11314 return NULL;
11315}
11316
11317
c370783e 11318static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11319 PyObject *resultobj = NULL;
d14a1e28
RD
11320 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11321 wxString *arg2 = 0 ;
11322 wxString result;
b411df4a 11323 bool temp2 = false ;
d14a1e28
RD
11324 PyObject * obj0 = 0 ;
11325 PyObject * obj1 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "self",(char *) "page", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11333 {
11334 arg2 = wxString_in_helper(obj1);
11335 if (arg2 == NULL) SWIG_fail;
b411df4a 11336 temp2 = true;
d14a1e28
RD
11337 }
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (arg1)->FindPageByName((wxString const &)*arg2);
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 {
11346#if wxUSE_UNICODE
11347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11348#else
11349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11350#endif
11351 }
11352 {
11353 if (temp2)
11354 delete arg2;
11355 }
11356 return resultobj;
11357 fail:
11358 {
11359 if (temp2)
11360 delete arg2;
11361 }
11362 return NULL;
11363}
11364
11365
c370783e 11366static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11367 PyObject *resultobj = NULL;
d14a1e28
RD
11368 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11369 int arg2 ;
11370 wxString result;
11371 PyObject * obj0 = 0 ;
8edf1c75 11372 PyObject * obj1 = 0 ;
d14a1e28
RD
11373 char *kwnames[] = {
11374 (char *) "self",(char *) "id", NULL
11375 };
11376
8edf1c75 11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11379 if (SWIG_arg_fail(1)) SWIG_fail;
11380 {
32fe5131 11381 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11382 if (SWIG_arg_fail(2)) SWIG_fail;
11383 }
d14a1e28
RD
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 result = (arg1)->FindPageById(arg2);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 {
11392#if wxUSE_UNICODE
11393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11394#else
11395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11396#endif
11397 }
11398 return resultobj;
11399 fail:
11400 return NULL;
11401}
11402
11403
c370783e 11404static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11405 PyObject *resultobj = NULL;
d14a1e28
RD
11406 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11407 wxHtmlBookRecArray *result;
11408 PyObject * obj0 = 0 ;
11409 char *kwnames[] = {
11410 (char *) "self", NULL
11411 };
11412
11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
36ed4f51
RD
11414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 {
11419 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11420 result = (wxHtmlBookRecArray *) &_result_ref;
11421 }
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
2f4c0a16 11426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
c370783e 11433static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11434 PyObject *obj;
11435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11436 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11437 Py_INCREF(obj);
11438 return Py_BuildValue((char *)"");
11439}
32fe5131
RD
11440static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj = NULL;
d14a1e28
RD
11442 wxWindow *arg1 = (wxWindow *) 0 ;
11443 int arg2 ;
32fe5131
RD
11444 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11445 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11446 wxSize const &arg4_defvalue = wxDefaultSize ;
11447 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11448 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11449 int arg6 = (int) wxHF_DEFAULT_STYLE ;
11450 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
11451 wxHtmlHelpWindow *result;
11452 wxPoint temp3 ;
11453 wxSize temp4 ;
d14a1e28 11454 PyObject * obj0 = 0 ;
8edf1c75 11455 PyObject * obj1 = 0 ;
d14a1e28 11456 PyObject * obj2 = 0 ;
8edf1c75 11457 PyObject * obj3 = 0 ;
d14a1e28 11458 PyObject * obj4 = 0 ;
32fe5131
RD
11459 PyObject * obj5 = 0 ;
11460 PyObject * obj6 = 0 ;
d14a1e28 11461 char *kwnames[] = {
32fe5131 11462 (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
d14a1e28
RD
11463 };
11464
32fe5131 11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail;
11468 {
32fe5131 11469 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11470 if (SWIG_arg_fail(2)) SWIG_fail;
11471 }
d14a1e28
RD
11472 if (obj2) {
11473 {
32fe5131
RD
11474 arg3 = &temp3;
11475 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11476 }
11477 }
8edf1c75 11478 if (obj3) {
36ed4f51 11479 {
32fe5131
RD
11480 arg4 = &temp4;
11481 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 11482 }
8edf1c75 11483 }
d14a1e28 11484 if (obj4) {
32fe5131
RD
11485 {
11486 arg5 = static_cast<int >(SWIG_As_int(obj4));
11487 if (SWIG_arg_fail(5)) SWIG_fail;
11488 }
11489 }
11490 if (obj5) {
11491 {
11492 arg6 = static_cast<int >(SWIG_As_int(obj5));
11493 if (SWIG_arg_fail(6)) SWIG_fail;
11494 }
11495 }
11496 if (obj6) {
11497 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11498 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
11499 }
11500 {
0439c23b 11501 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11503 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
11504
11505 wxPyEndAllowThreads(__tstate);
110da5b0 11506 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11507 }
32fe5131
RD
11508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11509 return resultobj;
11510 fail:
11511 return NULL;
11512}
11513
11514
11515static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj = NULL;
11517 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
11518 wxHtmlHelpWindow *result;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "data", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) goto fail;
11525 if (obj0) {
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 }
11529 {
11530 if (!wxPyCheckForApp()) SWIG_fail;
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11536 }
32fe5131 11537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
d14a1e28
RD
11538 return resultobj;
11539 fail:
32fe5131
RD
11540 return NULL;
11541}
11542
11543
11544static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj = NULL;
11546 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11547 wxWindow *arg2 = (wxWindow *) 0 ;
11548 int arg3 ;
11549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11551 wxSize const &arg5_defvalue = wxDefaultSize ;
11552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11553 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11554 int arg7 = (int) wxHF_DEFAULT_STYLE ;
11555 bool result;
11556 wxPoint temp4 ;
11557 wxSize temp5 ;
11558 PyObject * obj0 = 0 ;
11559 PyObject * obj1 = 0 ;
11560 PyObject * obj2 = 0 ;
11561 PyObject * obj3 = 0 ;
11562 PyObject * obj4 = 0 ;
11563 PyObject * obj5 = 0 ;
11564 PyObject * obj6 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail;
11572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11573 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11574 {
32fe5131
RD
11575 arg3 = static_cast<int >(SWIG_As_int(obj2));
11576 if (SWIG_arg_fail(3)) SWIG_fail;
11577 }
11578 if (obj3) {
11579 {
11580 arg4 = &temp4;
11581 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11582 }
11583 }
11584 if (obj4) {
11585 {
11586 arg5 = &temp5;
11587 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11588 }
11589 }
11590 if (obj5) {
11591 {
11592 arg6 = static_cast<int >(SWIG_As_int(obj5));
11593 if (SWIG_arg_fail(6)) SWIG_fail;
11594 }
11595 }
11596 if (obj6) {
11597 {
11598 arg7 = static_cast<int >(SWIG_As_int(obj6));
11599 if (SWIG_arg_fail(7)) SWIG_fail;
11600 }
11601 }
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 {
11610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 11611 }
32fe5131
RD
11612 return resultobj;
11613 fail:
d14a1e28
RD
11614 return NULL;
11615}
11616
11617
32fe5131
RD
11618static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj = NULL;
11620 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28
RD
11621 wxHtmlHelpData *result;
11622 PyObject * obj0 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self", NULL
11625 };
11626
32fe5131
RD
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetData",kwnames,&obj0)) goto fail;
11628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11629 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 result = (wxHtmlHelpData *)(arg1)->GetData();
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
2f4c0a16 11637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
32fe5131
RD
11644static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj = NULL;
11646 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11647 wxHtmlHelpController *result;
d14a1e28 11648 PyObject * obj0 = 0 ;
d14a1e28 11649 char *kwnames[] = {
32fe5131 11650 (char *) "self", NULL
d14a1e28
RD
11651 };
11652
32fe5131
RD
11653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetController",kwnames,&obj0)) goto fail;
11654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 11656 {
32fe5131
RD
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11662 }
32fe5131
RD
11663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
11664 return resultobj;
11665 fail:
11666 return NULL;
11667}
11668
11669
11670static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj = NULL;
11672 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11673 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "controller", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) goto fail;
11681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11682 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 11683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
32fe5131 11684 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11687 (arg1)->SetController(arg2);
d14a1e28
RD
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11693 return resultobj;
11694 fail:
d14a1e28
RD
11695 return NULL;
11696}
11697
11698
32fe5131
RD
11699static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj = NULL;
11701 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11702 wxString *arg2 = 0 ;
32fe5131 11703 bool result;
b411df4a 11704 bool temp2 = false ;
d14a1e28
RD
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "x", NULL
11709 };
11710
32fe5131
RD
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) goto fail;
11712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11713 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11714 {
11715 arg2 = wxString_in_helper(obj1);
11716 if (arg2 == NULL) SWIG_fail;
b411df4a 11717 temp2 = true;
d14a1e28
RD
11718 }
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11721 result = (bool)(arg1)->Display((wxString const &)*arg2);
d14a1e28
RD
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
32fe5131
RD
11726 {
11727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11728 }
d14a1e28
RD
11729 {
11730 if (temp2)
11731 delete arg2;
11732 }
11733 return resultobj;
11734 fail:
11735 {
11736 if (temp2)
11737 delete arg2;
11738 }
11739 return NULL;
11740}
11741
11742
32fe5131
RD
11743static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj = NULL;
11745 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11746 int arg2 ;
32fe5131 11747 bool result;
d14a1e28 11748 PyObject * obj0 = 0 ;
8edf1c75 11749 PyObject * obj1 = 0 ;
d14a1e28
RD
11750 char *kwnames[] = {
11751 (char *) "self",(char *) "id", NULL
11752 };
11753
32fe5131
RD
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) goto fail;
11755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
11756 if (SWIG_arg_fail(1)) SWIG_fail;
11757 {
32fe5131 11758 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11759 if (SWIG_arg_fail(2)) SWIG_fail;
11760 }
d14a1e28
RD
11761 {
11762 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11763 result = (bool)(arg1)->Display(arg2);
d14a1e28
RD
11764
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
32fe5131
RD
11768 {
11769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11770 }
d14a1e28
RD
11771 return resultobj;
11772 fail:
11773 return NULL;
11774}
11775
11776
32fe5131
RD
11777static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj = NULL;
11779 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11780 bool result;
d14a1e28
RD
11781 PyObject * obj0 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "self", NULL
11784 };
11785
32fe5131
RD
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames,&obj0)) goto fail;
11787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11788 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11791 result = (bool)(arg1)->DisplayContents();
d14a1e28
RD
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
32fe5131
RD
11796 {
11797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11798 }
d14a1e28
RD
11799 return resultobj;
11800 fail:
11801 return NULL;
11802}
11803
11804
32fe5131
RD
11805static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj = NULL;
11807 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11808 bool result;
d14a1e28
RD
11809 PyObject * obj0 = 0 ;
11810 char *kwnames[] = {
11811 (char *) "self", NULL
11812 };
11813
32fe5131
RD
11814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames,&obj0)) goto fail;
11815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11816 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11819 result = (bool)(arg1)->DisplayIndex();
d14a1e28
RD
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
32fe5131
RD
11824 {
11825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11826 }
d14a1e28
RD
11827 return resultobj;
11828 fail:
11829 return NULL;
11830}
11831
11832
32fe5131
RD
11833static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj = NULL;
11835 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11836 wxString *arg2 = 0 ;
32fe5131 11837 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
d14a1e28 11838 bool result;
b411df4a 11839 bool temp2 = false ;
d14a1e28
RD
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
32fe5131 11842 PyObject * obj2 = 0 ;
d14a1e28 11843 char *kwnames[] = {
32fe5131 11844 (char *) "self",(char *) "keyword",(char *) "mode", NULL
d14a1e28
RD
11845 };
11846
32fe5131
RD
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
11848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 11849 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11850 {
11851 arg2 = wxString_in_helper(obj1);
11852 if (arg2 == NULL) SWIG_fail;
b411df4a 11853 temp2 = true;
d14a1e28 11854 }
32fe5131
RD
11855 if (obj2) {
11856 {
11857 wxHelpSearchMode * argp;
11858 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
11859 if (SWIG_arg_fail(3)) SWIG_fail;
11860 if (argp == NULL) {
11861 SWIG_null_ref("wxHelpSearchMode");
11862 }
11863 if (SWIG_arg_fail(3)) SWIG_fail;
11864 arg3 = *argp;
11865 }
11866 }
d14a1e28
RD
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11869 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
d14a1e28
RD
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
fbc46b20
RD
11874 {
11875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11876 }
d14a1e28
RD
11877 {
11878 if (temp2)
11879 delete arg2;
11880 }
11881 return resultobj;
11882 fail:
11883 {
11884 if (temp2)
11885 delete arg2;
11886 }
11887 return NULL;
11888}
11889
11890
32fe5131
RD
11891static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj = NULL;
11893 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11894 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
32fe5131 11895 wxString const &arg3_defvalue = wxEmptyString ;
d14a1e28 11896 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a 11897 bool temp3 = false ;
d14a1e28
RD
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 PyObject * obj2 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11903 };
11904
32fe5131
RD
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
11906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
11907 if (SWIG_arg_fail(1)) SWIG_fail;
11908 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11909 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11910 if (obj2) {
11911 {
11912 arg3 = wxString_in_helper(obj2);
11913 if (arg3 == NULL) SWIG_fail;
b411df4a 11914 temp3 = true;
d14a1e28
RD
11915 }
11916 }
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 Py_INCREF(Py_None); resultobj = Py_None;
11925 {
11926 if (temp3)
11927 delete arg3;
11928 }
11929 return resultobj;
11930 fail:
11931 {
11932 if (temp3)
11933 delete arg3;
11934 }
11935 return NULL;
11936}
11937
11938
32fe5131
RD
11939static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = NULL;
11941 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11942 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
32fe5131
RD
11943 wxString const &arg3_defvalue = wxEmptyString ;
11944 wxString *arg3 = (wxString *) &arg3_defvalue ;
11945 bool temp3 = false ;
d14a1e28
RD
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 PyObject * obj2 = 0 ;
11949 char *kwnames[] = {
11950 (char *) "self",(char *) "cfg",(char *) "path", NULL
11951 };
11952
32fe5131
RD
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
11954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
11955 if (SWIG_arg_fail(1)) SWIG_fail;
11956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11957 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11958 if (obj2) {
423f194a 11959 {
32fe5131
RD
11960 arg3 = wxString_in_helper(obj2);
11961 if (arg3 == NULL) SWIG_fail;
11962 temp3 = true;
423f194a 11963 }
d14a1e28
RD
11964 }
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11967 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
d14a1e28
RD
11968
11969 wxPyEndAllowThreads(__tstate);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
11972 Py_INCREF(Py_None); resultobj = Py_None;
32fe5131
RD
11973 {
11974 if (temp3)
11975 delete arg3;
11976 }
d14a1e28
RD
11977 return resultobj;
11978 fail:
32fe5131
RD
11979 {
11980 if (temp3)
11981 delete arg3;
11982 }
d14a1e28
RD
11983 return NULL;
11984}
11985
11986
32fe5131
RD
11987static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj = NULL;
11989 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28 11990 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
32fe5131
RD
11991 wxString const &arg3_defvalue = wxEmptyString ;
11992 wxString *arg3 = (wxString *) &arg3_defvalue ;
11993 bool temp3 = false ;
d14a1e28
RD
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 PyObject * obj2 = 0 ;
11997 char *kwnames[] = {
11998 (char *) "self",(char *) "cfg",(char *) "path", NULL
11999 };
12000
32fe5131
RD
12001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51
RD
12003 if (SWIG_arg_fail(1)) SWIG_fail;
12004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12005 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12006 if (obj2) {
423f194a 12007 {
32fe5131
RD
12008 arg3 = wxString_in_helper(obj2);
12009 if (arg3 == NULL) SWIG_fail;
12010 temp3 = true;
423f194a 12011 }
d14a1e28
RD
12012 }
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12015 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
d14a1e28
RD
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 Py_INCREF(Py_None); resultobj = Py_None;
32fe5131
RD
12021 {
12022 if (temp3)
12023 delete arg3;
12024 }
d14a1e28
RD
12025 return resultobj;
12026 fail:
32fe5131
RD
12027 {
12028 if (temp3)
12029 delete arg3;
12030 }
d14a1e28
RD
12031 return NULL;
12032}
12033
12034
32fe5131
RD
12035static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj = NULL;
12037 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
8edf1c75 12038 PyObject * obj0 = 0 ;
d14a1e28 12039 char *kwnames[] = {
32fe5131 12040 (char *) "self", NULL
d14a1e28
RD
12041 };
12042
32fe5131
RD
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames,&obj0)) goto fail;
12044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12048 (arg1)->NotifyPageChanged();
d14a1e28
RD
12049
12050 wxPyEndAllowThreads(__tstate);
110da5b0 12051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12052 }
32fe5131 12053 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
12054 return resultobj;
12055 fail:
12056 return NULL;
12057}
12058
12059
32fe5131
RD
12060static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj = NULL;
12062 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
d14a1e28
RD
12063 PyObject * obj0 = 0 ;
12064 char *kwnames[] = {
12065 (char *) "self", NULL
12066 };
12067
32fe5131
RD
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames,&obj0)) goto fail;
12069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12070 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12073 (arg1)->RefreshLists();
d14a1e28
RD
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 return resultobj;
12080 fail:
12081 return NULL;
12082}
12083
12084
32fe5131
RD
12085static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj = NULL;
12087 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12088 wxHtmlWindow *result;
d14a1e28 12089 PyObject * obj0 = 0 ;
d14a1e28 12090 char *kwnames[] = {
32fe5131 12091 (char *) "self", NULL
d14a1e28
RD
12092 };
12093
32fe5131
RD
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames,&obj0)) goto fail;
12095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12096 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12099 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
d14a1e28
RD
12100
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
32fe5131 12104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindow, 0);
d14a1e28
RD
12105 return resultobj;
12106 fail:
d14a1e28
RD
12107 return NULL;
12108}
12109
12110
32fe5131
RD
12111static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj = NULL;
12113 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12114 wxSplitterWindow *result;
d14a1e28 12115 PyObject * obj0 = 0 ;
d14a1e28 12116 char *kwnames[] = {
32fe5131 12117 (char *) "self", NULL
d14a1e28
RD
12118 };
12119
32fe5131
RD
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames,&obj0)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12122 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12125 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
d14a1e28
RD
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
32fe5131 12130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 0);
d14a1e28
RD
12131 return resultobj;
12132 fail:
d14a1e28
RD
12133 return NULL;
12134}
12135
12136
32fe5131
RD
12137static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj = NULL;
12139 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12140 wxToolBar *result;
d14a1e28 12141 PyObject * obj0 = 0 ;
d14a1e28 12142 char *kwnames[] = {
32fe5131 12143 (char *) "self", NULL
d14a1e28
RD
12144 };
12145
32fe5131
RD
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames,&obj0)) goto fail;
12147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12148 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12151 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
d14a1e28
RD
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
fbc46b20 12156 {
7e08d4ef 12157 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
12158 }
12159 return resultobj;
12160 fail:
d14a1e28
RD
12161 return NULL;
12162}
12163
12164
32fe5131
RD
12165static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj = NULL;
12167 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12168 wxHtmlHelpFrameCfg *result;
d14a1e28 12169 PyObject * obj0 = 0 ;
d14a1e28 12170 char *kwnames[] = {
32fe5131 12171 (char *) "self", NULL
d14a1e28
RD
12172 };
12173
32fe5131
RD
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames,&obj0)) goto fail;
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131
RD
12179 {
12180 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
12181 result = (wxHtmlHelpFrameCfg *) &_result_ref;
12182 }
d14a1e28
RD
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
32fe5131 12187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0);
d14a1e28
RD
12188 return resultobj;
12189 fail:
d14a1e28
RD
12190 return NULL;
12191}
12192
12193
32fe5131
RD
12194static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = NULL;
12196 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12197 wxTreeCtrl *result;
d14a1e28
RD
12198 PyObject * obj0 = 0 ;
12199 char *kwnames[] = {
32fe5131 12200 (char *) "self", NULL
d14a1e28
RD
12201 };
12202
32fe5131
RD
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
12204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12205 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12206 {
12207 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12208 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
d14a1e28
RD
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
32fe5131 12213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
d14a1e28
RD
12214 return resultobj;
12215 fail:
12216 return NULL;
12217}
12218
12219
32fe5131
RD
12220static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) {
12221 PyObject *obj;
12222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12223 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow, obj);
12224 Py_INCREF(obj);
12225 return Py_BuildValue((char *)"");
12226}
12227static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj = NULL;
12229 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12230 int arg2 = (int) 0 ;
12231 wxHtmlWindowEvent *result;
d14a1e28 12232 PyObject * obj0 = 0 ;
32fe5131 12233 PyObject * obj1 = 0 ;
d14a1e28 12234 char *kwnames[] = {
32fe5131 12235 (char *) "commandType",(char *) "id", NULL
d14a1e28
RD
12236 };
12237
32fe5131
RD
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) goto fail;
12239 if (obj0) {
12240 {
12241 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
12242 if (SWIG_arg_fail(1)) SWIG_fail;
12243 }
12244 }
12245 if (obj1) {
12246 {
12247 arg2 = static_cast<int >(SWIG_As_int(obj1));
12248 if (SWIG_arg_fail(2)) SWIG_fail;
12249 }
12250 }
d14a1e28
RD
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12253 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
d14a1e28
RD
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
32fe5131 12258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindowEvent, 1);
d14a1e28
RD
12259 return resultobj;
12260 fail:
12261 return NULL;
12262}
12263
12264
32fe5131
RD
12265static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj = NULL;
12267 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12268 wxString *arg2 = 0 ;
12269 bool temp2 = false ;
d14a1e28 12270 PyObject * obj0 = 0 ;
32fe5131 12271 PyObject * obj1 = 0 ;
d14a1e28 12272 char *kwnames[] = {
32fe5131 12273 (char *) "self",(char *) "url", NULL
d14a1e28
RD
12274 };
12275
32fe5131
RD
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
12277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12278 if (SWIG_arg_fail(1)) SWIG_fail;
32fe5131
RD
12279 {
12280 arg2 = wxString_in_helper(obj1);
12281 if (arg2 == NULL) SWIG_fail;
12282 temp2 = true;
12283 }
d14a1e28
RD
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12286 (arg1)->SetURL((wxString const &)*arg2);
d14a1e28
RD
12287
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 Py_INCREF(Py_None); resultobj = Py_None;
32fe5131
RD
12292 {
12293 if (temp2)
12294 delete arg2;
12295 }
d14a1e28
RD
12296 return resultobj;
12297 fail:
32fe5131
RD
12298 {
12299 if (temp2)
12300 delete arg2;
12301 }
d14a1e28
RD
12302 return NULL;
12303}
12304
12305
32fe5131
RD
12306static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj = NULL;
12308 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12309 wxString *result;
d14a1e28 12310 PyObject * obj0 = 0 ;
d14a1e28 12311 char *kwnames[] = {
32fe5131 12312 (char *) "self", NULL
d14a1e28
RD
12313 };
12314
32fe5131
RD
12315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindowEvent_GetURL",kwnames,&obj0)) goto fail;
12316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12317 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131
RD
12320 {
12321 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
12322 result = (wxString *) &_result_ref;
12323 }
d14a1e28
RD
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
fbc46b20 12328 {
32fe5131
RD
12329#if wxUSE_UNICODE
12330 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12331#else
12332 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12333#endif
d14a1e28
RD
12334 }
12335 return resultobj;
12336 fail:
d14a1e28
RD
12337 return NULL;
12338}
12339
12340
32fe5131
RD
12341static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) {
12342 PyObject *obj;
12343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12344 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent, obj);
12345 Py_INCREF(obj);
12346 return Py_BuildValue((char *)"");
12347}
12348static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj = NULL;
12350 wxWindow *arg1 = (wxWindow *) 0 ;
12351 int arg2 ;
d14a1e28
RD
12352 wxString const &arg3_defvalue = wxPyEmptyString ;
12353 wxString *arg3 = (wxString *) &arg3_defvalue ;
32fe5131
RD
12354 int arg4 = (int) wxHF_DEFAULTSTYLE ;
12355 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12356 wxHtmlHelpFrame *result;
b411df4a 12357 bool temp3 = false ;
d14a1e28
RD
12358 PyObject * obj0 = 0 ;
12359 PyObject * obj1 = 0 ;
12360 PyObject * obj2 = 0 ;
32fe5131
RD
12361 PyObject * obj3 = 0 ;
12362 PyObject * obj4 = 0 ;
d14a1e28 12363 char *kwnames[] = {
32fe5131 12364 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
12365 };
12366
32fe5131
RD
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 12369 if (SWIG_arg_fail(1)) SWIG_fail;
32fe5131
RD
12370 {
12371 arg2 = static_cast<int >(SWIG_As_int(obj1));
12372 if (SWIG_arg_fail(2)) SWIG_fail;
12373 }
d14a1e28
RD
12374 if (obj2) {
12375 {
12376 arg3 = wxString_in_helper(obj2);
12377 if (arg3 == NULL) SWIG_fail;
b411df4a 12378 temp3 = true;
d14a1e28
RD
12379 }
12380 }
32fe5131
RD
12381 if (obj3) {
12382 {
12383 arg4 = static_cast<int >(SWIG_As_int(obj3));
12384 if (SWIG_arg_fail(4)) SWIG_fail;
12385 }
12386 }
12387 if (obj4) {
12388 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(5)) SWIG_fail;
12390 }
d14a1e28 12391 {
32fe5131 12392 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12394 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
d14a1e28
RD
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
32fe5131 12399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
12400 {
12401 if (temp3)
12402 delete arg3;
12403 }
12404 return resultobj;
12405 fail:
12406 {
12407 if (temp3)
12408 delete arg3;
12409 }
12410 return NULL;
12411}
12412
12413
32fe5131
RD
12414static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj = NULL;
12416 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12417 wxHtmlHelpFrame *result;
d14a1e28 12418 PyObject * obj0 = 0 ;
d14a1e28 12419 char *kwnames[] = {
32fe5131 12420 (char *) "data", NULL
d14a1e28
RD
12421 };
12422
32fe5131
RD
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) goto fail;
12424 if (obj0) {
12425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12427 }
12428 {
32fe5131 12429 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12430 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12431 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
d14a1e28
RD
12432
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
32fe5131 12436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
12437 return resultobj;
12438 fail:
12439 return NULL;
12440}
12441
12442
32fe5131
RD
12443static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj = NULL;
12445 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12446 wxWindow *arg2 = (wxWindow *) 0 ;
12447 int arg3 ;
12448 wxString const &arg4_defvalue = wxPyEmptyString ;
12449 wxString *arg4 = (wxString *) &arg4_defvalue ;
12450 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12451 bool result;
12452 bool temp4 = false ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 PyObject * obj2 = 0 ;
12456 PyObject * obj3 = 0 ;
12457 PyObject * obj4 = 0 ;
12458 char *kwnames[] = {
12459 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12460 };
12461
12462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12464 if (SWIG_arg_fail(1)) SWIG_fail;
12465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(2)) SWIG_fail;
12467 {
12468 arg3 = static_cast<int >(SWIG_As_int(obj2));
12469 if (SWIG_arg_fail(3)) SWIG_fail;
12470 }
12471 if (obj3) {
12472 {
12473 arg4 = wxString_in_helper(obj3);
12474 if (arg4 == NULL) SWIG_fail;
12475 temp4 = true;
12476 }
12477 }
12478 if (obj4) {
12479 {
12480 arg5 = static_cast<int >(SWIG_As_int(obj4));
12481 if (SWIG_arg_fail(5)) SWIG_fail;
12482 }
12483 }
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 {
12492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12493 }
12494 {
12495 if (temp4)
12496 delete arg4;
12497 }
12498 return resultobj;
12499 fail:
12500 {
12501 if (temp4)
12502 delete arg4;
12503 }
12504 return NULL;
12505}
12506
12507
12508static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj = NULL;
12510 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12511 wxHtmlHelpData *result;
12512 PyObject * obj0 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
12518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12519 if (SWIG_arg_fail(1)) SWIG_fail;
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 result = (wxHtmlHelpData *)(arg1)->GetData();
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12528 return resultobj;
12529 fail:
12530 return NULL;
12531}
12532
12533
12534static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj = NULL;
12536 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12537 wxString *arg2 = 0 ;
12538 bool temp2 = false ;
12539 PyObject * obj0 = 0 ;
12540 PyObject * obj1 = 0 ;
12541 char *kwnames[] = {
12542 (char *) "self",(char *) "format", NULL
12543 };
12544
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12547 if (SWIG_arg_fail(1)) SWIG_fail;
12548 {
12549 arg2 = wxString_in_helper(obj1);
12550 if (arg2 == NULL) SWIG_fail;
12551 temp2 = true;
12552 }
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 (arg1)->SetTitleFormat((wxString const &)*arg2);
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 Py_INCREF(Py_None); resultobj = Py_None;
12561 {
12562 if (temp2)
12563 delete arg2;
12564 }
12565 return resultobj;
12566 fail:
12567 {
12568 if (temp2)
12569 delete arg2;
12570 }
12571 return NULL;
12572}
12573
12574
12575static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj = NULL;
12577 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12578 PyObject * obj0 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames,&obj0)) goto fail;
12584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12585 if (SWIG_arg_fail(1)) SWIG_fail;
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 (arg1)->AddGrabIfNeeded();
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 Py_INCREF(Py_None); resultobj = Py_None;
12594 return resultobj;
12595 fail:
12596 return NULL;
12597}
12598
12599
12600static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12601 PyObject *resultobj = NULL;
12602 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12603 wxHtmlHelpController *result;
12604 PyObject * obj0 = 0 ;
12605 char *kwnames[] = {
12606 (char *) "self", NULL
12607 };
12608
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetController",kwnames,&obj0)) goto fail;
12610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail;
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12620 return resultobj;
12621 fail:
12622 return NULL;
12623}
12624
12625
12626static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12627 PyObject *resultobj = NULL;
12628 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12629 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12630 PyObject * obj0 = 0 ;
12631 PyObject * obj1 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self",(char *) "controller", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) goto fail;
12637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12638 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 12639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
32fe5131
RD
12640 if (SWIG_arg_fail(2)) SWIG_fail;
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 (arg1)->SetController(arg2);
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 Py_INCREF(Py_None); resultobj = Py_None;
12649 return resultobj;
12650 fail:
12651 return NULL;
12652}
12653
12654
12655static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj = NULL;
12657 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12658 wxHtmlHelpWindow *result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames,&obj0)) goto fail;
12665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12666 if (SWIG_arg_fail(1)) SWIG_fail;
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 {
12675 resultobj = wxPyMake_wxObject(result, 0);
12676 }
12677 return resultobj;
12678 fail:
12679 return NULL;
12680}
12681
12682
12683static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
12684 PyObject *obj;
12685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12686 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
12687 Py_INCREF(obj);
12688 return Py_BuildValue((char *)"");
12689}
12690static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj = NULL;
12692 wxWindow *arg1 = (wxWindow *) 0 ;
12693 int arg2 ;
12694 wxString const &arg3_defvalue = wxPyEmptyString ;
12695 wxString *arg3 = (wxString *) &arg3_defvalue ;
12696 int arg4 = (int) wxHF_DEFAULT_STYLE ;
12697 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12698 wxHtmlHelpDialog *result;
12699 bool temp3 = false ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 PyObject * obj2 = 0 ;
12703 PyObject * obj3 = 0 ;
12704 PyObject * obj4 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail;
12712 {
12713 arg2 = static_cast<int >(SWIG_As_int(obj1));
12714 if (SWIG_arg_fail(2)) SWIG_fail;
12715 }
12716 if (obj2) {
12717 {
12718 arg3 = wxString_in_helper(obj2);
12719 if (arg3 == NULL) SWIG_fail;
12720 temp3 = true;
12721 }
12722 }
12723 if (obj3) {
12724 {
12725 arg4 = static_cast<int >(SWIG_As_int(obj3));
12726 if (SWIG_arg_fail(4)) SWIG_fail;
12727 }
12728 }
12729 if (obj4) {
12730 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12731 if (SWIG_arg_fail(5)) SWIG_fail;
12732 }
12733 {
12734 if (!wxPyCheckForApp()) SWIG_fail;
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12742 {
12743 if (temp3)
12744 delete arg3;
12745 }
12746 return resultobj;
12747 fail:
12748 {
12749 if (temp3)
12750 delete arg3;
12751 }
12752 return NULL;
12753}
12754
12755
12756static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj = NULL;
12758 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12759 wxHtmlHelpDialog *result;
12760 PyObject * obj0 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "data", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) goto fail;
12766 if (obj0) {
12767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail;
12769 }
12770 {
12771 if (!wxPyCheckForApp()) SWIG_fail;
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12779 return resultobj;
12780 fail:
12781 return NULL;
12782}
12783
12784
12785static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj = NULL;
12787 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12788 wxWindow *arg2 = (wxWindow *) 0 ;
12789 int arg3 ;
12790 wxString const &arg4_defvalue = wxPyEmptyString ;
12791 wxString *arg4 = (wxString *) &arg4_defvalue ;
12792 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12793 bool result;
12794 bool temp4 = false ;
12795 PyObject * obj0 = 0 ;
12796 PyObject * obj1 = 0 ;
12797 PyObject * obj2 = 0 ;
12798 PyObject * obj3 = 0 ;
12799 PyObject * obj4 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail;
12807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12808 if (SWIG_arg_fail(2)) SWIG_fail;
12809 {
12810 arg3 = static_cast<int >(SWIG_As_int(obj2));
12811 if (SWIG_arg_fail(3)) SWIG_fail;
12812 }
12813 if (obj3) {
12814 {
12815 arg4 = wxString_in_helper(obj3);
12816 if (arg4 == NULL) SWIG_fail;
12817 temp4 = true;
12818 }
12819 }
12820 if (obj4) {
12821 {
12822 arg5 = static_cast<int >(SWIG_As_int(obj4));
12823 if (SWIG_arg_fail(5)) SWIG_fail;
12824 }
12825 }
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 {
12834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12835 }
12836 {
12837 if (temp4)
12838 delete arg4;
12839 }
12840 return resultobj;
12841 fail:
12842 {
12843 if (temp4)
12844 delete arg4;
12845 }
12846 return NULL;
12847}
12848
12849
12850static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj = NULL;
12852 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12853 wxHtmlHelpData *result;
12854 PyObject * obj0 = 0 ;
12855 char *kwnames[] = {
12856 (char *) "self", NULL
12857 };
12858
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetData",kwnames,&obj0)) goto fail;
12860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12861 if (SWIG_arg_fail(1)) SWIG_fail;
12862 {
12863 PyThreadState* __tstate = wxPyBeginAllowThreads();
12864 result = (wxHtmlHelpData *)(arg1)->GetData();
12865
12866 wxPyEndAllowThreads(__tstate);
12867 if (PyErr_Occurred()) SWIG_fail;
12868 }
12869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12870 return resultobj;
12871 fail:
12872 return NULL;
12873}
12874
12875
12876static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj = NULL;
12878 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12879 wxHtmlHelpController *result;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetController",kwnames,&obj0)) goto fail;
12886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12887 if (SWIG_arg_fail(1)) SWIG_fail;
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
12891
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12896 return resultobj;
12897 fail:
12898 return NULL;
12899}
12900
12901
12902static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj = NULL;
12904 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12905 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12906 PyObject * obj0 = 0 ;
12907 PyObject * obj1 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self",(char *) "controller", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) goto fail;
12913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12914 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 12915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
32fe5131
RD
12916 if (SWIG_arg_fail(2)) SWIG_fail;
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
12919 (arg1)->SetController(arg2);
12920
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 Py_INCREF(Py_None); resultobj = Py_None;
12925 return resultobj;
12926 fail:
12927 return NULL;
12928}
12929
12930
12931static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj = NULL;
12933 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12934 wxHtmlHelpWindow *result;
12935 PyObject * obj0 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "self", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames,&obj0)) goto fail;
12941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail;
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 {
12951 resultobj = wxPyMake_wxObject(result, 0);
12952 }
12953 return resultobj;
12954 fail:
12955 return NULL;
12956}
12957
12958
12959static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj = NULL;
12961 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12962 wxString *arg2 = 0 ;
12963 bool temp2 = false ;
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self",(char *) "format", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail;
12973 {
12974 arg2 = wxString_in_helper(obj1);
12975 if (arg2 == NULL) SWIG_fail;
12976 temp2 = true;
12977 }
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 (arg1)->SetTitleFormat((wxString const &)*arg2);
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 Py_INCREF(Py_None); resultobj = Py_None;
12986 {
12987 if (temp2)
12988 delete arg2;
12989 }
12990 return resultobj;
12991 fail:
12992 {
12993 if (temp2)
12994 delete arg2;
12995 }
12996 return NULL;
12997}
12998
12999
13000static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) {
13001 PyObject *obj;
13002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13003 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog, obj);
13004 Py_INCREF(obj);
13005 return Py_BuildValue((char *)"");
13006}
13007static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) {
13008 PyObject *resultobj = NULL;
13009 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13010 wxString *arg2 = 0 ;
13011 int arg3 ;
13012 bool result;
13013 bool temp2 = false ;
13014 PyObject * obj0 = 0 ;
13015 PyObject * obj1 = 0 ;
13016 PyObject * obj2 = 0 ;
13017
13018 if(!PyArg_ParseTuple(args,(char *)"OOO:HelpControllerBase_Initialize",&obj0,&obj1,&obj2)) goto fail;
13019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13020 if (SWIG_arg_fail(1)) SWIG_fail;
13021 {
13022 arg2 = wxString_in_helper(obj1);
13023 if (arg2 == NULL) SWIG_fail;
13024 temp2 = true;
13025 }
13026 {
13027 arg3 = static_cast<int >(SWIG_As_int(obj2));
13028 if (SWIG_arg_fail(3)) SWIG_fail;
13029 }
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 {
13038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13039 }
13040 {
13041 if (temp2)
13042 delete arg2;
13043 }
13044 return resultobj;
13045 fail:
13046 {
13047 if (temp2)
13048 delete arg2;
13049 }
13050 return NULL;
13051}
13052
13053
13054static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) {
13055 PyObject *resultobj = NULL;
13056 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13057 wxString *arg2 = 0 ;
13058 bool result;
13059 bool temp2 = false ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062
13063 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_Initialize",&obj0,&obj1)) goto fail;
13064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail;
13066 {
13067 arg2 = wxString_in_helper(obj1);
13068 if (arg2 == NULL) SWIG_fail;
13069 temp2 = true;
13070 }
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 {
13079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13080 }
13081 {
13082 if (temp2)
13083 delete arg2;
13084 }
13085 return resultobj;
13086 fail:
13087 {
13088 if (temp2)
13089 delete arg2;
13090 }
13091 return NULL;
13092}
13093
13094
13095static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
13096 int argc;
13097 PyObject *argv[4];
13098 int ii;
13099
13100 argc = PyObject_Length(args);
13101 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
13102 argv[ii] = PyTuple_GetItem(args,ii);
13103 }
13104 if (argc == 2) {
13105 int _v;
13106 {
13107 void *ptr;
13108 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13109 _v = 0;
13110 PyErr_Clear();
13111 } else {
13112 _v = 1;
13113 }
13114 }
13115 if (_v) {
13116 {
13117 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13118 }
13119 if (_v) {
13120 return _wrap_HelpControllerBase_Initialize__SWIG_1(self,args);
13121 }
13122 }
13123 }
13124 if (argc == 3) {
13125 int _v;
13126 {
13127 void *ptr;
13128 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13129 _v = 0;
13130 PyErr_Clear();
13131 } else {
13132 _v = 1;
13133 }
13134 }
13135 if (_v) {
13136 {
13137 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13138 }
13139 if (_v) {
13140 _v = SWIG_Check_int(argv[2]);
13141 if (_v) {
13142 return _wrap_HelpControllerBase_Initialize__SWIG_0(self,args);
13143 }
13144 }
13145 }
13146 }
13147
13148 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
13149 return NULL;
13150}
13151
13152
13153static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) {
13154 PyObject *resultobj = NULL;
13155 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13156 wxString *arg2 = 0 ;
13157 long arg3 = (long) 0 ;
13158 bool temp2 = false ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 PyObject * obj2 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "viewer",(char *) "flags", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) goto fail;
13167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail;
13169 {
13170 arg2 = wxString_in_helper(obj1);
13171 if (arg2 == NULL) SWIG_fail;
13172 temp2 = true;
13173 }
13174 if (obj2) {
13175 {
13176 arg3 = static_cast<long >(SWIG_As_long(obj2));
13177 if (SWIG_arg_fail(3)) SWIG_fail;
13178 }
13179 }
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 (arg1)->SetViewer((wxString const &)*arg2,arg3);
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 Py_INCREF(Py_None); resultobj = Py_None;
13188 {
13189 if (temp2)
13190 delete arg2;
13191 }
13192 return resultobj;
13193 fail:
13194 {
13195 if (temp2)
13196 delete arg2;
13197 }
13198 return NULL;
13199}
13200
13201
13202static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj = NULL;
13204 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13205 wxString const &arg2_defvalue = wxEmptyString ;
13206 wxString *arg2 = (wxString *) &arg2_defvalue ;
13207 bool result;
13208 bool temp2 = false ;
13209 PyObject * obj0 = 0 ;
13210 PyObject * obj1 = 0 ;
13211 char *kwnames[] = {
13212 (char *) "self",(char *) "file", NULL
13213 };
13214
13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) goto fail;
13216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail;
13218 if (obj1) {
13219 {
13220 arg2 = wxString_in_helper(obj1);
13221 if (arg2 == NULL) SWIG_fail;
13222 temp2 = true;
13223 }
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 {
13233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13234 }
13235 {
13236 if (temp2)
13237 delete arg2;
13238 }
13239 return resultobj;
13240 fail:
13241 {
13242 if (temp2)
13243 delete arg2;
13244 }
13245 return NULL;
13246}
13247
13248
13249static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj = NULL;
13251 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13252 bool result;
13253 PyObject * obj0 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_DisplayContents",kwnames,&obj0)) goto fail;
13259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail;
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (bool)(arg1)->DisplayContents();
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 {
13269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13270 }
13271 return resultobj;
13272 fail:
13273 return NULL;
13274}
13275
13276
13277static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) {
13278 PyObject *resultobj = NULL;
13279 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13280 int arg2 ;
13281 bool result;
13282 PyObject * obj0 = 0 ;
13283 PyObject * obj1 = 0 ;
13284
13285 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13287 if (SWIG_arg_fail(1)) SWIG_fail;
13288 {
13289 arg2 = static_cast<int >(SWIG_As_int(obj1));
13290 if (SWIG_arg_fail(2)) SWIG_fail;
13291 }
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 result = (bool)(arg1)->DisplaySection(arg2);
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 {
13300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13301 }
13302 return resultobj;
13303 fail:
13304 return NULL;
13305}
13306
13307
13308static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj = NULL;
13310 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13311 int arg2 ;
13312 bool result;
13313 PyObject * obj0 = 0 ;
13314 PyObject * obj1 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "contextId", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) goto fail;
13320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13321 if (SWIG_arg_fail(1)) SWIG_fail;
13322 {
13323 arg2 = static_cast<int >(SWIG_As_int(obj1));
13324 if (SWIG_arg_fail(2)) SWIG_fail;
13325 }
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (bool)(arg1)->DisplayContextPopup(arg2);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 {
13334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13335 }
13336 return resultobj;
13337 fail:
13338 return NULL;
13339}
13340
13341
13342static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj = NULL;
13344 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13345 wxString *arg2 = 0 ;
13346 wxPoint *arg3 = 0 ;
13347 bool result;
13348 bool temp2 = false ;
13349 wxPoint temp3 ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 PyObject * obj2 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self",(char *) "text",(char *) "pos", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) goto fail;
13358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13359 if (SWIG_arg_fail(1)) SWIG_fail;
13360 {
13361 arg2 = wxString_in_helper(obj1);
13362 if (arg2 == NULL) SWIG_fail;
13363 temp2 = true;
13364 }
13365 {
13366 arg3 = &temp3;
13367 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13368 }
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 {
13377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13378 }
13379 {
13380 if (temp2)
13381 delete arg2;
13382 }
13383 return resultobj;
13384 fail:
13385 {
13386 if (temp2)
13387 delete arg2;
13388 }
13389 return NULL;
13390}
13391
13392
13393static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) {
13394 PyObject *resultobj = NULL;
13395 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13396 wxString *arg2 = 0 ;
13397 bool result;
13398 bool temp2 = false ;
13399 PyObject * obj0 = 0 ;
13400 PyObject * obj1 = 0 ;
13401
13402 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail;
13405 {
13406 arg2 = wxString_in_helper(obj1);
13407 if (arg2 == NULL) SWIG_fail;
13408 temp2 = true;
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
13420 {
13421 if (temp2)
13422 delete arg2;
13423 }
13424 return resultobj;
13425 fail:
13426 {
13427 if (temp2)
13428 delete arg2;
13429 }
13430 return NULL;
13431}
13432
13433
13434static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
13435 int argc;
13436 PyObject *argv[3];
13437 int ii;
13438
13439 argc = PyObject_Length(args);
13440 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
13441 argv[ii] = PyTuple_GetItem(args,ii);
13442 }
13443 if (argc == 2) {
13444 int _v;
13445 {
13446 void *ptr;
13447 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13448 _v = 0;
13449 PyErr_Clear();
13450 } else {
13451 _v = 1;
13452 }
13453 }
13454 if (_v) {
13455 {
13456 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13457 }
13458 if (_v) {
13459 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self,args);
13460 }
13461 }
13462 }
13463 if (argc == 2) {
13464 int _v;
13465 {
13466 void *ptr;
13467 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13468 _v = 0;
13469 PyErr_Clear();
13470 } else {
13471 _v = 1;
13472 }
13473 }
13474 if (_v) {
13475 _v = SWIG_Check_int(argv[1]);
13476 if (_v) {
13477 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self,args);
13478 }
13479 }
13480 }
13481
13482 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj = NULL;
13489 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13490 long arg2 ;
13491 bool result;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "blockNo", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) goto fail;
13499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail;
13501 {
13502 arg2 = static_cast<long >(SWIG_As_long(obj1));
13503 if (SWIG_arg_fail(2)) SWIG_fail;
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)(arg1)->DisplayBlock(arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 {
13513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13514 }
13515 return resultobj;
13516 fail:
13517 return NULL;
13518}
13519
13520
13521static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj = NULL;
13523 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13524 wxString *arg2 = 0 ;
13525 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
13526 bool result;
13527 bool temp2 = false ;
13528 PyObject * obj0 = 0 ;
13529 PyObject * obj1 = 0 ;
13530 PyObject * obj2 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self",(char *) "k",(char *) "mode", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
13536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail;
13538 {
13539 arg2 = wxString_in_helper(obj1);
13540 if (arg2 == NULL) SWIG_fail;
13541 temp2 = true;
13542 }
13543 if (obj2) {
13544 {
13545 wxHelpSearchMode * argp;
13546 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
13547 if (SWIG_arg_fail(3)) SWIG_fail;
13548 if (argp == NULL) {
13549 SWIG_null_ref("wxHelpSearchMode");
13550 }
13551 if (SWIG_arg_fail(3)) SWIG_fail;
13552 arg3 = *argp;
13553 }
13554 }
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13564 }
13565 {
13566 if (temp2)
13567 delete arg2;
13568 }
13569 return resultobj;
13570 fail:
13571 {
13572 if (temp2)
13573 delete arg2;
13574 }
13575 return NULL;
13576}
13577
13578
13579static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13580 PyObject *resultobj = NULL;
13581 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13582 wxString *arg2 = 0 ;
13583 wxSize *arg3 = 0 ;
13584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13586 bool arg5 = (bool) false ;
13587 bool temp2 = false ;
13588 wxSize temp3 ;
13589 wxPoint temp4 ;
13590 PyObject * obj0 = 0 ;
13591 PyObject * obj1 = 0 ;
13592 PyObject * obj2 = 0 ;
13593 PyObject * obj3 = 0 ;
13594 PyObject * obj4 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13601 if (SWIG_arg_fail(1)) SWIG_fail;
13602 {
13603 arg2 = wxString_in_helper(obj1);
13604 if (arg2 == NULL) SWIG_fail;
13605 temp2 = true;
13606 }
13607 {
13608 arg3 = &temp3;
13609 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13610 }
13611 if (obj3) {
13612 {
13613 arg4 = &temp4;
13614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13615 }
13616 }
13617 if (obj4) {
13618 {
13619 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
13620 if (SWIG_arg_fail(5)) SWIG_fail;
13621 }
13622 }
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
13626
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 Py_INCREF(Py_None); resultobj = Py_None;
13631 {
13632 if (temp2)
13633 delete arg2;
13634 }
13635 return resultobj;
13636 fail:
13637 {
13638 if (temp2)
13639 delete arg2;
13640 }
13641 return NULL;
13642}
13643
13644
13645static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj = NULL;
13647 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13648 wxSize *arg2 = (wxSize *) NULL ;
13649 wxPoint *arg3 = (wxPoint *) NULL ;
13650 bool *arg4 = (bool *) NULL ;
13651 wxFrame *result;
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 PyObject * obj2 = 0 ;
13655 PyObject * obj3 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail;
13663 if (obj1) {
13664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
13665 if (SWIG_arg_fail(2)) SWIG_fail;
13666 }
13667 if (obj2) {
13668 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13669 if (SWIG_arg_fail(3)) SWIG_fail;
13670 }
13671 if (obj3) {
13672 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_bool, SWIG_POINTER_EXCEPTION | 0);
13673 if (SWIG_arg_fail(4)) SWIG_fail;
13674 }
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
13678
13679 wxPyEndAllowThreads(__tstate);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 }
13682 {
13683 resultobj = wxPyMake_wxObject(result, 0);
13684 }
13685 return resultobj;
13686 fail:
13687 return NULL;
13688}
13689
13690
13691static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj = NULL;
13693 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13694 bool result;
13695 PyObject * obj0 = 0 ;
13696 char *kwnames[] = {
13697 (char *) "self", NULL
13698 };
13699
13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_Quit",kwnames,&obj0)) goto fail;
13701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13702 if (SWIG_arg_fail(1)) SWIG_fail;
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (bool)(arg1)->Quit();
13706
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13712 }
13713 return resultobj;
13714 fail:
13715 return NULL;
13716}
13717
13718
13719static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj = NULL;
13721 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13722 PyObject * obj0 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_OnQuit",kwnames,&obj0)) goto fail;
13728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13729 if (SWIG_arg_fail(1)) SWIG_fail;
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 (arg1)->OnQuit();
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 Py_INCREF(Py_None); resultobj = Py_None;
13738 return resultobj;
13739 fail:
13740 return NULL;
13741}
13742
13743
13744static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj = NULL;
13746 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13747 wxWindow *arg2 = (wxWindow *) 0 ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "win", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) goto fail;
13755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13756 if (SWIG_arg_fail(1)) SWIG_fail;
13757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13758 if (SWIG_arg_fail(2)) SWIG_fail;
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 (arg1)->SetParentWindow(arg2);
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 Py_INCREF(Py_None); resultobj = Py_None;
13767 return resultobj;
13768 fail:
13769 return NULL;
13770}
13771
13772
13773static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj = NULL;
13775 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13776 wxWindow *result;
13777 PyObject * obj0 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_GetParentWindow",kwnames,&obj0)) goto fail;
13783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail;
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 {
13793 resultobj = wxPyMake_wxObject(result, 0);
13794 }
13795 return resultobj;
13796 fail:
13797 return NULL;
13798}
13799
13800
13801static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) {
13802 PyObject *obj;
13803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13804 SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase, obj);
13805 Py_INCREF(obj);
13806 return Py_BuildValue((char *)"");
13807}
13808static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj = NULL;
13810 int arg1 = (int) wxHF_DEFAULT_STYLE ;
13811 wxWindow *arg2 = (wxWindow *) NULL ;
13812 wxHtmlHelpController *result;
13813 PyObject * obj0 = 0 ;
13814 PyObject * obj1 = 0 ;
13815 char *kwnames[] = {
13816 (char *) "style",(char *) "parentWindow", NULL
13817 };
13818
13819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) goto fail;
13820 if (obj0) {
13821 {
13822 arg1 = static_cast<int >(SWIG_As_int(obj0));
13823 if (SWIG_arg_fail(1)) SWIG_fail;
13824 }
13825 }
13826 if (obj1) {
13827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(2)) SWIG_fail;
13829 }
13830 {
13831 if (!wxPyCheckForApp()) SWIG_fail;
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
13834
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
13839 return resultobj;
13840 fail:
13841 return NULL;
13842}
13843
13844
13845static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj = NULL;
13847 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13848 PyObject * obj0 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "self", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
13854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13855 if (SWIG_arg_fail(1)) SWIG_fail;
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 delete arg1;
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 Py_INCREF(Py_None); resultobj = Py_None;
13864 return resultobj;
13865 fail:
13866 return NULL;
13867}
13868
13869
13870static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj = NULL;
13872 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13873 wxHtmlHelpWindow *result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames,&obj0)) goto fail;
13880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13881 if (SWIG_arg_fail(1)) SWIG_fail;
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 {
13890 resultobj = wxPyMake_wxObject(result, 0);
13891 }
13892 return resultobj;
13893 fail:
13894 return NULL;
13895}
13896
13897
13898static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj = NULL;
13900 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13901 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
13902 PyObject * obj0 = 0 ;
13903 PyObject * obj1 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self",(char *) "helpWindow", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) goto fail;
13909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13910 if (SWIG_arg_fail(1)) SWIG_fail;
13911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
13912 if (SWIG_arg_fail(2)) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 (arg1)->SetHelpWindow(arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 return resultobj;
13922 fail:
13923 return NULL;
13924}
13925
13926
13927static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj = NULL;
13929 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13930 wxHtmlHelpFrame *result;
13931 PyObject * obj0 = 0 ;
13932 char *kwnames[] = {
13933 (char *) "self", NULL
13934 };
13935
13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
13937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13938 if (SWIG_arg_fail(1)) SWIG_fail;
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 {
13947 resultobj = wxPyMake_wxObject(result, 0);
13948 }
13949 return resultobj;
13950 fail:
13951 return NULL;
13952}
13953
13954
13955static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13956 PyObject *resultobj = NULL;
13957 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13958 wxHtmlHelpDialog *result;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetDialog",kwnames,&obj0)) goto fail;
13965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13966 if (SWIG_arg_fail(1)) SWIG_fail;
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 {
13975 resultobj = wxPyMake_wxObject(result, 0);
13976 }
13977 return resultobj;
13978 fail:
13979 return NULL;
13980}
13981
13982
13983static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj = NULL;
13985 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13986 wxString *arg2 = 0 ;
13987 bool temp2 = false ;
13988 PyObject * obj0 = 0 ;
13989 PyObject * obj1 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self",(char *) "format", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
13995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13996 if (SWIG_arg_fail(1)) SWIG_fail;
13997 {
13998 arg2 = wxString_in_helper(obj1);
13999 if (arg2 == NULL) SWIG_fail;
14000 temp2 = true;
14001 }
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 (arg1)->SetTitleFormat((wxString const &)*arg2);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 Py_INCREF(Py_None); resultobj = Py_None;
14010 {
14011 if (temp2)
14012 delete arg2;
14013 }
14014 return resultobj;
14015 fail:
14016 {
14017 if (temp2)
14018 delete arg2;
14019 }
14020 return NULL;
14021}
14022
14023
14024static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj = NULL;
14026 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14027 wxString *arg2 = 0 ;
14028 bool temp2 = false ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "path", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
14036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14037 if (SWIG_arg_fail(1)) SWIG_fail;
14038 {
14039 arg2 = wxString_in_helper(obj1);
14040 if (arg2 == NULL) SWIG_fail;
14041 temp2 = true;
14042 }
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 (arg1)->SetTempDir((wxString const &)*arg2);
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 Py_INCREF(Py_None); resultobj = Py_None;
14051 {
14052 if (temp2)
14053 delete arg2;
14054 }
14055 return resultobj;
14056 fail:
14057 {
14058 if (temp2)
14059 delete arg2;
14060 }
14061 return NULL;
14062}
14063
14064
14065static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
14066 PyObject *resultobj = NULL;
14067 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14068 wxString *arg2 = 0 ;
14069 int arg3 = (int) false ;
14070 bool result;
14071 bool temp2 = false ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 PyObject * obj2 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
14080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail;
14082 {
14083 arg2 = wxString_in_helper(obj1);
14084 if (arg2 == NULL) SWIG_fail;
14085 temp2 = true;
14086 }
14087 if (obj2) {
14088 {
14089 arg3 = static_cast<int >(SWIG_As_int(obj2));
14090 if (SWIG_arg_fail(3)) SWIG_fail;
14091 }
14092 }
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 {
14101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14102 }
14103 {
14104 if (temp2)
14105 delete arg2;
14106 }
14107 return resultobj;
14108 fail:
14109 {
14110 if (temp2)
14111 delete arg2;
14112 }
14113 return NULL;
14114}
14115
14116
14117static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj = NULL;
14119 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14120 wxString *arg2 = 0 ;
14121 bool temp2 = false ;
14122 PyObject * obj0 = 0 ;
14123 PyObject * obj1 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self",(char *) "x", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
14129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14130 if (SWIG_arg_fail(1)) SWIG_fail;
14131 {
14132 arg2 = wxString_in_helper(obj1);
14133 if (arg2 == NULL) SWIG_fail;
14134 temp2 = true;
14135 }
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 (arg1)->Display((wxString const &)*arg2);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 {
14145 if (temp2)
14146 delete arg2;
14147 }
14148 return resultobj;
14149 fail:
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return NULL;
14155}
14156
14157
14158static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj = NULL;
14160 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14161 int arg2 ;
14162 PyObject * obj0 = 0 ;
14163 PyObject * obj1 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "id", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
14169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14170 if (SWIG_arg_fail(1)) SWIG_fail;
14171 {
14172 arg2 = static_cast<int >(SWIG_As_int(obj1));
14173 if (SWIG_arg_fail(2)) SWIG_fail;
14174 }
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 (arg1)->Display(arg2);
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 Py_INCREF(Py_None); resultobj = Py_None;
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
14189static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj = NULL;
14191 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14192 PyObject * obj0 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
14198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 (arg1)->DisplayContents();
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 Py_INCREF(Py_None); resultobj = Py_None;
14208 return resultobj;
14209 fail:
14210 return NULL;
14211}
14212
14213
14214static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj = NULL;
14216 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14217 PyObject * obj0 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
14223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14224 if (SWIG_arg_fail(1)) SWIG_fail;
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 (arg1)->DisplayIndex();
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 Py_INCREF(Py_None); resultobj = Py_None;
14233 return resultobj;
14234 fail:
14235 return NULL;
14236}
14237
14238
14239static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj = NULL;
14241 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14242 wxString *arg2 = 0 ;
14243 bool result;
14244 bool temp2 = false ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "self",(char *) "keyword", NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
14252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14253 if (SWIG_arg_fail(1)) SWIG_fail;
14254 {
14255 arg2 = wxString_in_helper(obj1);
14256 if (arg2 == NULL) SWIG_fail;
14257 temp2 = true;
14258 }
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 {
14267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14268 }
14269 {
14270 if (temp2)
14271 delete arg2;
14272 }
14273 return resultobj;
14274 fail:
14275 {
14276 if (temp2)
14277 delete arg2;
14278 }
14279 return NULL;
14280}
14281
14282
14283static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj = NULL;
14285 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14286 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14287 wxString const &arg3_defvalue = wxPyEmptyString ;
14288 wxString *arg3 = (wxString *) &arg3_defvalue ;
14289 bool temp3 = false ;
14290 PyObject * obj0 = 0 ;
14291 PyObject * obj1 = 0 ;
14292 PyObject * obj2 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
14298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail;
14300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14301 if (SWIG_arg_fail(2)) SWIG_fail;
14302 if (obj2) {
14303 {
14304 arg3 = wxString_in_helper(obj2);
14305 if (arg3 == NULL) SWIG_fail;
14306 temp3 = true;
14307 }
14308 }
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 Py_INCREF(Py_None); resultobj = Py_None;
14317 {
14318 if (temp3)
14319 delete arg3;
14320 }
14321 return resultobj;
14322 fail:
14323 {
14324 if (temp3)
14325 delete arg3;
14326 }
14327 return NULL;
14328}
14329
14330
14331static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj = NULL;
14333 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14334 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14335 wxString arg3 = (wxString) wxPyEmptyString ;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 PyObject * obj2 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self",(char *) "cfg",(char *) "path", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14345 if (SWIG_arg_fail(1)) SWIG_fail;
14346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14347 if (SWIG_arg_fail(2)) SWIG_fail;
14348 if (obj2) {
14349 {
14350 wxString* sptr = wxString_in_helper(obj2);
14351 if (sptr == NULL) SWIG_fail;
14352 arg3 = *sptr;
14353 delete sptr;
14354 }
14355 }
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 (arg1)->ReadCustomization(arg2,arg3);
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 Py_INCREF(Py_None); resultobj = Py_None;
14364 return resultobj;
14365 fail:
14366 return NULL;
14367}
14368
14369
14370static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj = NULL;
14372 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14373 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14374 wxString arg3 = (wxString) wxPyEmptyString ;
14375 PyObject * obj0 = 0 ;
14376 PyObject * obj1 = 0 ;
14377 PyObject * obj2 = 0 ;
14378 char *kwnames[] = {
d14a1e28
RD
14379 (char *) "self",(char *) "cfg",(char *) "path", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14384 if (SWIG_arg_fail(1)) SWIG_fail;
14385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14386 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 14387 if (obj2) {
423f194a
RD
14388 {
14389 wxString* sptr = wxString_in_helper(obj2);
14390 if (sptr == NULL) SWIG_fail;
14391 arg3 = *sptr;
14392 delete sptr;
14393 }
d14a1e28
RD
14394 }
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 (arg1)->WriteCustomization(arg2,arg3);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 return resultobj;
14404 fail:
14405 return NULL;
14406}
14407
14408
32fe5131
RD
14409static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj = NULL;
d14a1e28 14411 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
d14a1e28
RD
14412 PyObject * obj0 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "self", NULL
14415 };
14416
32fe5131 14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames,&obj0)) goto fail;
36ed4f51
RD
14418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131
RD
14422 (arg1)->MakeModalIfNeeded();
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 Py_INCREF(Py_None); resultobj = Py_None;
14428 return resultobj;
14429 fail:
14430 return NULL;
14431}
14432
14433
14434static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14435 PyObject *resultobj = NULL;
14436 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14437 wxWindow *result;
14438 PyObject * obj0 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames,&obj0)) goto fail;
14444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14445 if (SWIG_arg_fail(1)) SWIG_fail;
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 result = (wxWindow *)(arg1)->FindTopLevelWindow();
d14a1e28
RD
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
32fe5131
RD
14453 {
14454 resultobj = wxPyMake_wxObject(result, 0);
14455 }
d14a1e28
RD
14456 return resultobj;
14457 fail:
14458 return NULL;
14459}
14460
14461
c370783e 14462static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14463 PyObject *obj;
14464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14465 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
14466 Py_INCREF(obj);
14467 return Py_BuildValue((char *)"");
14468}
32fe5131
RD
14469static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) {
14470 PyObject *resultobj = NULL;
14471 wxWindow *arg1 = (wxWindow *) 0 ;
14472 wxString *arg2 = 0 ;
14473 wxString const &arg3_defvalue = wxEmptyString ;
14474 wxString *arg3 = (wxString *) &arg3_defvalue ;
14475 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
14476 wxHtmlModalHelp *result;
14477 bool temp2 = false ;
14478 bool temp3 = false ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 PyObject * obj2 = 0 ;
14482 PyObject * obj3 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail;
14490 {
14491 arg2 = wxString_in_helper(obj1);
14492 if (arg2 == NULL) SWIG_fail;
14493 temp2 = true;
14494 }
14495 if (obj2) {
14496 {
14497 arg3 = wxString_in_helper(obj2);
14498 if (arg3 == NULL) SWIG_fail;
14499 temp3 = true;
14500 }
14501 }
14502 if (obj3) {
14503 {
14504 arg4 = static_cast<int >(SWIG_As_int(obj3));
14505 if (SWIG_arg_fail(4)) SWIG_fail;
14506 }
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlModalHelp, 1);
14516 {
14517 if (temp2)
14518 delete arg2;
14519 }
14520 {
14521 if (temp3)
14522 delete arg3;
14523 }
14524 return resultobj;
14525 fail:
14526 {
14527 if (temp2)
14528 delete arg2;
14529 }
14530 {
14531 if (temp3)
14532 delete arg3;
14533 }
14534 return NULL;
14535}
14536
14537
14538static PyObject * HtmlModalHelp_swigregister(PyObject *, PyObject *args) {
14539 PyObject *obj;
14540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14541 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp, obj);
14542 Py_INCREF(obj);
14543 return Py_BuildValue((char *)"");
14544}
d14a1e28 14545static PyMethodDef SwigMethods[] = {
36ed4f51
RD
14546 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14547 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
14548 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
14549 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14550 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14551 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14552 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14553 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
14554 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14555 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
14556 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
14557 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
14558 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
14559 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
14560 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
14561 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
14562 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
14563 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14564 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14565 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
14566 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
14567 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
14568 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14569 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14570 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14571 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
14572 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14573 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14574 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
14575 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
14576 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14577 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14578 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14579 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14580 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14581 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14582 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14583 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14584 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14585 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14586 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14587 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14588 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14589 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14590 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14591 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14592 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14593 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14594 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14595 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14596 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14597 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14598 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14599 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14600 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14601 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14602 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14603 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14604 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
14605 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14606 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
14607 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14608 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14609 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14610 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14611 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14612 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
14613 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14614 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14615 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14616 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14617 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14618 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
14619 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14620 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14621 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14622 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
14623 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
14624 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
14625 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
14626 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
14627 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
14628 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14629 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14630 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14631 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14632 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14633 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
14634 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
14635 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14636 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14637 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14638 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14639 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14640 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14641 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14642 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14643 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
14644 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14645 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14646 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14647 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14648 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14649 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14650 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14651 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14652 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14653 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14654 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14655 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14656 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
14657 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
14658 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14659 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
14660 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
14661 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14662 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14663 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
14664 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14665 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
14666 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
14667 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14668 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14669 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14670 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14671 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
14672 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
14673 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14674 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14675 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14676 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
14677 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
14678 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
14679 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
14680 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
14681 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14682 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14683 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
14684 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
14685 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
14686 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
14687 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14688 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14689 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
14690 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
14691 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
14692 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
14693 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
14694 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
14695 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
14696 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
14697 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14698 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14699 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14700 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14701 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14702 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14703 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
14704 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14705 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
14706 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
14707 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14708 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14709 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14710 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
14711 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14712 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
14713 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
14714 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
14715 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
14716 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
14717 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
14718 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
14719 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14720 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14721 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
14722 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14723 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14724 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14725 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14726 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
14727 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
14728 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14729 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
14730 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
14731 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14732 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14733 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14734 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14735 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
14736 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14737 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd 14738 { (char *)"HtmlWindow_SetLabel", (PyCFunction) _wrap_HtmlWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 14739 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 14740 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14741 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14742 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14743 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
14744 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
14745 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
14746 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
14747 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
14748 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
14749 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14750 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14751 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14752 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14753 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
14754 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
14755 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
14756 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
14757 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
14758 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14759 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14760 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
14761 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14762 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
14763 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
14764 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14765 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14766 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14767 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
14768 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14769 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14770 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14771 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
14772 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14773 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
14774 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
14775 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14776 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
14777 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14778 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14779 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14780 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14781 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
14782 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14783 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
14784 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
14785 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14786 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14787 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
14788 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
14789 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
14790 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
14791 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
14792 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14793 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14794 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14795 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14796 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
14797 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
14798 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
14799 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
14800 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
14801 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14802 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14803 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14804 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
14805 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
14806 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
14807 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14808 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14809 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14810 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
14811 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
14812 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
14813 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
14814 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14815 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14816 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14817 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
14818 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14819 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14820 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14821 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14822 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
14823 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
14824 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 14825 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
32fe5131
RD
14826 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14827 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14828 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14829 { (char *)"HtmlHelpWindow_GetData", (PyCFunction) _wrap_HtmlHelpWindow_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14830 { (char *)"HtmlHelpWindow_GetController", (PyCFunction) _wrap_HtmlHelpWindow_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14831 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14832 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14833 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14834 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction) _wrap_HtmlHelpWindow_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14835 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction) _wrap_HtmlHelpWindow_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14836 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14837 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14838 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14839 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14840 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction) _wrap_HtmlHelpWindow_NotifyPageChanged, METH_VARARGS | METH_KEYWORDS, NULL},
14841 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction) _wrap_HtmlHelpWindow_RefreshLists, METH_VARARGS | METH_KEYWORDS, NULL},
14842 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14843 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14844 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction) _wrap_HtmlHelpWindow_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
14845 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction) _wrap_HtmlHelpWindow_GetCfgData, METH_VARARGS | METH_KEYWORDS, NULL},
14846 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction) _wrap_HtmlHelpWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
14847 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
14848 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14849 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14850 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction) _wrap_HtmlWindowEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14851 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
36ed4f51 14852 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
14853 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14854 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14855 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14856 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
14857 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction) _wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14858 { (char *)"HtmlHelpFrame_GetController", (PyCFunction) _wrap_HtmlHelpFrame_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14859 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14860 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpFrame_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 14861 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
32fe5131
RD
14862 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14863 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14864 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14865 { (char *)"HtmlHelpDialog_GetData", (PyCFunction) _wrap_HtmlHelpDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14866 { (char *)"HtmlHelpDialog_GetController", (PyCFunction) _wrap_HtmlHelpDialog_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14867 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14868 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpDialog_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14869 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14870 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
14871 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
14872 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
14873 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14874 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction) _wrap_HelpControllerBase_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14875 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14876 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14877 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
14878 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
14879 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14880 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14881 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14882 { (char *)"HelpControllerBase_Quit", (PyCFunction) _wrap_HelpControllerBase_Quit, METH_VARARGS | METH_KEYWORDS, NULL},
14883 { (char *)"HelpControllerBase_OnQuit", (PyCFunction) _wrap_HelpControllerBase_OnQuit, METH_VARARGS | METH_KEYWORDS, NULL},
14884 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14885 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction) _wrap_HelpControllerBase_GetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14886 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
14887 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14888 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
14889 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14890 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14891 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14892 { (char *)"HtmlHelpController_GetDialog", (PyCFunction) _wrap_HtmlHelpController_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
14893 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14894 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14895 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14896 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14897 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14898 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14899 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14900 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14901 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14902 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14903 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
14904 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction) _wrap_HtmlHelpController_MakeModalIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14905 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction) _wrap_HtmlHelpController_FindTopLevelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 14906 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
32fe5131
RD
14907 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
14908 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
c370783e 14909 { NULL, NULL, 0, NULL }
d14a1e28
RD
14910};
14911
14912
14913/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14914
14915static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
14916 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
14917}
32fe5131
RD
14918static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
14919 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 14920}
32fe5131
RD
14921static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
14922 return (void *)((wxEvent *) ((wxMenuEvent *) x));
d14a1e28 14923}
32fe5131
RD
14924static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
14925 return (void *)((wxEvent *) ((wxCloseEvent *) x));
d14a1e28 14926}
32fe5131
RD
14927static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
14928 return (void *)((wxEvent *) ((wxMouseEvent *) x));
a2482628 14929}
32fe5131
RD
14930static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
14931 return (void *)((wxEvent *) ((wxEraseEvent *) x));
d14a1e28 14932}
32fe5131
RD
14933static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
14934 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 14935}
32fe5131
RD
14936static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
14937 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 14938}
32fe5131
RD
14939static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
14940 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 14941}
32fe5131
RD
14942static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
14943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
d14a1e28 14944}
32fe5131
RD
14945static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
14946 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 14947}
32fe5131
RD
14948static void *_p_wxPyEventTo_p_wxEvent(void *x) {
14949 return (void *)((wxEvent *) ((wxPyEvent *) x));
d14a1e28 14950}
32fe5131
RD
14951static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
14952 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
14953}
14954static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
14955 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
14956}
14957static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
14958 return (void *)((wxEvent *) ((wxIdleEvent *) x));
14959}
14960static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
14961 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
14962}
14963static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
14964 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
14965}
14966static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
14967 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
14968}
14969static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
14970 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
14971}
14972static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
14973 return (void *)((wxEvent *) ((wxActivateEvent *) x));
14974}
14975static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
14976 return (void *)((wxEvent *) ((wxSizeEvent *) x));
14977}
14978static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
14979 return (void *)((wxEvent *) ((wxMoveEvent *) x));
14980}
14981static void *_p_wxDateEventTo_p_wxEvent(void *x) {
14982 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
14983}
14984static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
14985 return (void *)((wxEvent *) ((wxPaintEvent *) x));
14986}
14987static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
14988 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
14989}
14990static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
14991 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
14992}
14993static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
14994 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
14995}
14996static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
14997 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
14998}
14999static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15000 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15001}
15002static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15003 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15004}
15005static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15006 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15007}
15008static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15009 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15010}
15011static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15012 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15013}
15014static void *_p_wxSashEventTo_p_wxEvent(void *x) {
15015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
15016}
15017static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
15018 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15019}
15020static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15021 return (void *)((wxEvent *) ((wxShowEvent *) x));
15022}
15023static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
15024 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15025}
15026static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15027 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15028}
15029static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15030 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15031}
15032static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15034}
15035static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15036 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15037}
15038static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15039 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15040}
15041static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15042 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15043}
15044static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
15045 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
15046}
15047static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
15048 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
15049}
15050static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
15051 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15052}
15053static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
15054 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
15055}
15056static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
15057 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
15058}
15059static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
15060 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
15061}
15062static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
15063 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15064}
15065static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15066 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15067}
15068static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
15069 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15070}
15071static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
15072 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15073}
15074static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
15075 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15076}
15077static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15078 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15079}
15080static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15081 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15082}
15083static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15084 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15085}
15086static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15087 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15088}
15089static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
15090 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15091}
15092static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
15093 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15094}
15095static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
15096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15097}
15098static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
15099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15100}
15101static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
15102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15103}
15104static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
15105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15106}
15107static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
15108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15109}
15110static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
15111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15112}
15113static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
15114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
15115}
15116static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
15117 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
15118}
15119static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
15120 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15121}
15122static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
15123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15124}
15125static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
15126 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15127}
15128static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
15129 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
15130}
15131static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
15132 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15133}
15134static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
15135 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
15136}
15137static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
15138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
a2482628 15139}
32fe5131
RD
15140static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
15141 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 15142}
32fe5131
RD
15143static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15144 return (void *)((wxEvtHandler *) ((wxWindow *) x));
d14a1e28 15145}
32fe5131
RD
15146static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
15147 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 15148}
32fe5131
RD
15149static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
15150 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 15151}
32fe5131
RD
15152static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
15153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 15154}
32fe5131
RD
15155static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
15156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15157}
32fe5131
RD
15158static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
15159 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15160}
32fe5131
RD
15161static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
15162 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 15163}
32fe5131
RD
15164static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
d14a1e28 15166}
32fe5131
RD
15167static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
070c48b4 15169}
32fe5131
RD
15170static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15172}
32fe5131
RD
15173static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15175}
32fe5131
RD
15176static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15177 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 15178}
32fe5131
RD
15179static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 15181}
32fe5131
RD
15182static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
d14a1e28 15184}
32fe5131
RD
15185static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15186 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15187}
32fe5131
RD
15188static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 15190}
32fe5131
RD
15191static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 15193}
32fe5131
RD
15194static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 15196}
32fe5131
RD
15197static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 15199}
32fe5131
RD
15200static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
15201 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 15202}
32fe5131
RD
15203static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
15204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15205}
32fe5131
RD
15206static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15208}
32fe5131
RD
15209static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 15211}
32fe5131
RD
15212static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15213 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 15214}
32fe5131
RD
15215static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15216 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 15217}
32fe5131
RD
15218static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15219 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
070c48b4 15220}
32fe5131
RD
15221static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
15222 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
a2482628 15223}
32fe5131
RD
15224static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15225 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 15226}
32fe5131
RD
15227static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
15228 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 15229}
32fe5131
RD
15230static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
15231 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15232}
32fe5131
RD
15233static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
15234 return (void *)((wxFrame *) ((wxProgressDialog *) x));
d14a1e28 15235}
32fe5131
RD
15236static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
15237 return (void *)((wxFrame *) ((wxTipWindow *) x));
d14a1e28 15238}
32fe5131
RD
15239static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
15240 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 15241}
32fe5131
RD
15242static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
15243 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15244}
32fe5131
RD
15245static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
15246 return (void *)((wxFrame *) ((wxMiniFrame *) x));
d14a1e28 15247}
32fe5131
RD
15248static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
15249 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15250}
32fe5131
RD
15251static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
15252 return (void *)((wxFrame *) ((wxSplashScreen *) x));
d14a1e28 15253}
32fe5131
RD
15254static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
15255 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 15256}
32fe5131
RD
15257static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
15258 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 15259}
32fe5131
RD
15260static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15261 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
d14a1e28 15262}
32fe5131
RD
15263static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
15264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15265}
32fe5131
RD
15266static void *_p_wxEventTo_p_wxObject(void *x) {
15267 return (void *)((wxObject *) ((wxEvent *) x));
d14a1e28 15268}
32fe5131
RD
15269static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
15270 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 15271}
32fe5131
RD
15272static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15273 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 15274}
32fe5131
RD
15275static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
15276 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
070c48b4 15277}
32fe5131
RD
15278static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
15279 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 15280}
32fe5131
RD
15281static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
15282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15283}
32fe5131
RD
15284static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
15285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 15286}
32fe5131
RD
15287static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
15288 return (void *)((wxObject *) ((wxHtmlTag *) x));
d14a1e28 15289}
32fe5131
RD
15290static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15291 return (void *)((wxObject *) ((wxMenuItem *) x));
070c48b4 15292}
32fe5131
RD
15293static void *_p_wxImageTo_p_wxObject(void *x) {
15294 return (void *)((wxObject *) ((wxImage *) x));
d14a1e28 15295}
32fe5131
RD
15296static void *_p_wxPySizerTo_p_wxObject(void *x) {
15297 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
d14a1e28 15298}
32fe5131
RD
15299static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
15300 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
d14a1e28 15301}
32fe5131
RD
15302static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
15303 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
943e8dfd 15304}
32fe5131
RD
15305static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
15306 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
943e8dfd 15307}
32fe5131
RD
15308static void *_p_wxPyAppTo_p_wxObject(void *x) {
15309 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
943e8dfd 15310}
32fe5131
RD
15311static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
15312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
943e8dfd 15313}
32fe5131
RD
15314static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
15315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
943e8dfd 15316}
32fe5131
RD
15317static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
15318 return (void *)((wxObject *) ((wxFindReplaceData *) x));
943e8dfd 15319}
32fe5131
RD
15320static void *_p_wxValidatorTo_p_wxObject(void *x) {
15321 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
943e8dfd 15322}
32fe5131
RD
15323static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15324 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
943e8dfd 15325}
32fe5131
RD
15326static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15327 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
943e8dfd 15328}
32fe5131
RD
15329static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15330 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
943e8dfd 15331}
32fe5131
RD
15332static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15333 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
943e8dfd 15334}
32fe5131
RD
15335static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
15336 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
943e8dfd 15337}
32fe5131
RD
15338static void *_p_wxScrollEventTo_p_wxObject(void *x) {
15339 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
943e8dfd 15340}
32fe5131
RD
15341static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
15342 return (void *)((wxObject *) ((wxPrintDialogData *) x));
d14a1e28 15343}
32fe5131
RD
15344static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
15345 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
d14a1e28 15346}
32fe5131
RD
15347static void *_p_wxPrinterTo_p_wxObject(void *x) {
15348 return (void *)((wxObject *) ((wxPrinter *) x));
d14a1e28 15349}
32fe5131
RD
15350static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 15352}
32fe5131
RD
15353static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
15354 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 15355}
32fe5131
RD
15356static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
15357 return (void *)((wxObject *) ((wxHtmlParser *) x));
d14a1e28 15358}
32fe5131
RD
15359static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15360 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
d14a1e28 15361}
32fe5131
RD
15362static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15363 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
d14a1e28 15364}
32fe5131
RD
15365static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15366 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
d14a1e28 15367}
32fe5131
RD
15368static void *_p_wxControlTo_p_wxObject(void *x) {
15369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
d14a1e28 15370}
32fe5131
RD
15371static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
15372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15373}
32fe5131
RD
15374static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
15375 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
d14a1e28 15376}
32fe5131
RD
15377static void *_p_wxColourDataTo_p_wxObject(void *x) {
15378 return (void *)((wxObject *) ((wxColourData *) x));
d14a1e28 15379}
32fe5131
RD
15380static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15381 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
d14a1e28 15382}
32fe5131
RD
15383static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15384 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
d14a1e28 15385}
32fe5131
RD
15386static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15387 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
d14a1e28 15388}
32fe5131
RD
15389static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15390 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
d14a1e28 15391}
32fe5131
RD
15392static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15393 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
d14a1e28 15394}
32fe5131
RD
15395static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15396 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
d14a1e28 15397}
32fe5131
RD
15398static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15399 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
d14a1e28 15400}
32fe5131
RD
15401static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15402 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
d14a1e28 15403}
32fe5131
RD
15404static void *_p_wxDateEventTo_p_wxObject(void *x) {
15405 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
d14a1e28 15406}
32fe5131
RD
15407static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
15408 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
d14a1e28 15409}
32fe5131
RD
15410static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
15411 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 15412}
32fe5131
RD
15413static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
15414 return (void *)((wxObject *) ((wxPyPrintout *) x));
d14a1e28 15415}
32fe5131
RD
15416static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
15417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15418}
32fe5131
RD
15419static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
15420 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
d14a1e28 15421}
32fe5131
RD
15422static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15423 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
d14a1e28 15424}
32fe5131
RD
15425static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15426 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
d14a1e28 15427}
32fe5131
RD
15428static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
d14a1e28 15430}
32fe5131
RD
15431static void *_p_wxSashEventTo_p_wxObject(void *x) {
15432 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
d14a1e28 15433}
32fe5131
RD
15434static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
15435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 15436}
32fe5131
RD
15437static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
15438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 15439}
32fe5131
RD
15440static void *_p_wxPrintDataTo_p_wxObject(void *x) {
15441 return (void *)((wxObject *) ((wxPrintData *) x));
d14a1e28 15442}
32fe5131
RD
15443static void *_p_wxFontDataTo_p_wxObject(void *x) {
15444 return (void *)((wxObject *) ((wxFontData *) x));
d14a1e28 15445}
32fe5131
RD
15446static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
15447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 15448}
32fe5131
RD
15449static void *_p_wxFrameTo_p_wxObject(void *x) {
15450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15451}
32fe5131
RD
15452static void *_p_wxPyPanelTo_p_wxObject(void *x) {
15453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
d14a1e28 15454}
32fe5131
RD
15455static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
15456 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
d14a1e28 15457}
32fe5131
RD
15458static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
15459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 15460}
32fe5131
RD
15461static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15462 return (void *)((wxObject *) ((wxFileSystem *) x));
d14a1e28 15463}
32fe5131
RD
15464static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
15465 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
d14a1e28 15466}
32fe5131
RD
15467static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
15468 return (void *)((wxObject *) ((wxPrintPreview *) x));
d14a1e28 15469}
32fe5131
RD
15470static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
15471 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
d14a1e28 15472}
32fe5131
RD
15473static void *_p_wxSizerTo_p_wxObject(void *x) {
15474 return (void *)((wxObject *) ((wxSizer *) x));
d14a1e28 15475}
32fe5131
RD
15476static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
15477 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
d14a1e28 15478}
32fe5131
RD
15479static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
15480 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
d14a1e28 15481}
32fe5131
RD
15482static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
15483 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
d14a1e28 15484}
32fe5131
RD
15485static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
15486 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
d14a1e28 15487}
32fe5131
RD
15488static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15489 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
d14a1e28 15490}
32fe5131
RD
15491static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15492 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
d14a1e28 15493}
32fe5131
RD
15494static void *_p_wxFSFileTo_p_wxObject(void *x) {
15495 return (void *)((wxObject *) ((wxFSFile *) x));
d14a1e28 15496}
32fe5131
RD
15497static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
15498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 15499}
32fe5131
RD
15500static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15501 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 15502}
32fe5131
RD
15503static void *_p_wxMenuTo_p_wxObject(void *x) {
15504 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
070c48b4 15505}
32fe5131
RD
15506static void *_p_wxSizerItemTo_p_wxObject(void *x) {
15507 return (void *)((wxObject *) ((wxSizerItem *) x));
d14a1e28 15508}
32fe5131
RD
15509static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
15510 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
d14a1e28 15511}
32fe5131
RD
15512static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
15513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 15514}
32fe5131
RD
15515static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
15516 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28 15517}
32fe5131
RD
15518static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
15519 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28 15520}
32fe5131
RD
15521static void *_p_wxFontDialogTo_p_wxObject(void *x) {
15522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 15523}
32fe5131
RD
15524static void *_p_wxDirDialogTo_p_wxObject(void *x) {
15525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
53aa7709 15526}
32fe5131
RD
15527static void *_p_wxColourDialogTo_p_wxObject(void *x) {
15528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 15529}
32fe5131
RD
15530static void *_p_wxDialogTo_p_wxObject(void *x) {
15531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 15532}
32fe5131
RD
15533static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15534 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
d14a1e28 15535}
32fe5131
RD
15536static void *_p_wxPyEventTo_p_wxObject(void *x) {
15537 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
d14a1e28 15538}
32fe5131
RD
15539static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
15540 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 15541}
32fe5131
RD
15542static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
15543 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
d14a1e28 15544}
32fe5131
RD
15545static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15546 return (void *)((wxObject *) ((wxEvtHandler *) x));
d14a1e28 15547}
32fe5131
RD
15548static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15549 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
d14a1e28 15550}
32fe5131
RD
15551static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15552 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
d14a1e28 15553}
32fe5131
RD
15554static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15555 return (void *)((wxObject *) ((wxImageHandler *) x));
d14a1e28 15556}
32fe5131
RD
15557static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
15558 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
d14a1e28 15559}
32fe5131
RD
15560static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15561 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
d14a1e28 15562}
32fe5131
RD
15563static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15564 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
d14a1e28 15565}
32fe5131
RD
15566static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15567 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
d14a1e28
RD
15568}
15569static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15570 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15571}
32fe5131
RD
15572static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15573 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
d14a1e28 15574}
32fe5131
RD
15575static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15576 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
d14a1e28 15577}
32fe5131
RD
15578static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15579 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
d14a1e28 15580}
32fe5131
RD
15581static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15582 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
943e8dfd 15583}
32fe5131
RD
15584static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15585 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
d14a1e28 15586}
32fe5131
RD
15587static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
15588 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
943e8dfd 15589}
32fe5131
RD
15590static void *_p_wxShowEventTo_p_wxObject(void *x) {
15591 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
d14a1e28 15592}
32fe5131
RD
15593static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
15594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 15595}
32fe5131
RD
15596static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
15597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15598}
32fe5131
RD
15599static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
15600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15601}
32fe5131
RD
15602static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
15603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 15604}
32fe5131
RD
15605static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
15606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 15607}
32fe5131
RD
15608static void *_p_wxTipWindowTo_p_wxObject(void *x) {
15609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
d14a1e28 15610}
32fe5131
RD
15611static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
15612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
51b83b37 15613}
32fe5131
RD
15614static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
15615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
d14a1e28 15616}
32fe5131
RD
15617static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
15618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 15619}
32fe5131
RD
15620static void *_p_wxSashWindowTo_p_wxObject(void *x) {
15621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
d14a1e28 15622}
32fe5131
RD
15623static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
15624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 15625}
32fe5131
RD
15626static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
15627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 15628}
32fe5131
RD
15629static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
15630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 15631}
32fe5131
RD
15632static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
15633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 15634}
32fe5131
RD
15635static void *_p_wxWindowTo_p_wxObject(void *x) {
15636 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
d14a1e28 15637}
32fe5131
RD
15638static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
15639 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
d14a1e28
RD
15640}
15641static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
15642 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
15643}
32fe5131
RD
15644static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
15645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 15646}
32fe5131
RD
15647static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
15648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 15649}
32fe5131
RD
15650static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
15651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 15652}
32fe5131
RD
15653static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
15654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 15655}
32fe5131
RD
15656static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
15657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 15658}
32fe5131
RD
15659static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
15660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 15661}
32fe5131
RD
15662static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
15663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 15664}
32fe5131
RD
15665static void *_p_wxFileDialogTo_p_wxObject(void *x) {
15666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 15667}
32fe5131
RD
15668static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
15669 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
41f1cec7 15670}
32fe5131
RD
15671static void *_p_wxPyWindowTo_p_wxObject(void *x) {
15672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
d14a1e28 15673}
32fe5131
RD
15674static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15675 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
d14a1e28 15676}
32fe5131
RD
15677static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15678 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
d14a1e28 15679}
32fe5131
RD
15680static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15681 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
d14a1e28 15682}
32fe5131
RD
15683static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15684 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
d14a1e28 15685}
32fe5131
RD
15686static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
15687 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
d14a1e28 15688}
32fe5131
RD
15689static void *_p_wxPanelTo_p_wxObject(void *x) {
15690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
d14a1e28 15691}
32fe5131
RD
15692static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
15693 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
d14a1e28 15694}
32fe5131
RD
15695static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15696 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
d14a1e28 15697}
32fe5131
RD
15698static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
15699 return (void *)((wxObject *) ((wxHtmlCell *) x));
d14a1e28 15700}
32fe5131
RD
15701static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15702 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
a2482628 15703}
32fe5131
RD
15704static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 15706}
32fe5131
RD
15707static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15708 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
d14a1e28 15709}
32fe5131
RD
15710static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
d14a1e28 15712}
32fe5131
RD
15713static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
15714 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
d14a1e28 15715}
32fe5131
RD
15716static void *_p_wxStatusBarTo_p_wxObject(void *x) {
15717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
d14a1e28 15718}
32fe5131
RD
15719static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
d14a1e28 15721}
32fe5131
RD
15722static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15723 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15724}
15725static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15726 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15727}
15728static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
15729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15730}
15731static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
15732 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
d14a1e28 15733}
32fe5131
RD
15734static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
d14a1e28 15736}
32fe5131
RD
15737static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15738 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 15739}
32fe5131
RD
15740static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 15742}
32fe5131
RD
15743static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15744 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 15745}
32fe5131
RD
15746static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15747 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 15748}
32fe5131
RD
15749static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15750 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 15751}
32fe5131
RD
15752static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15753 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 15754}
32fe5131
RD
15755static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15756 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 15757}
32fe5131
RD
15758static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
15759 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 15760}
32fe5131
RD
15761static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 15763}
32fe5131
RD
15764static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 15766}
32fe5131
RD
15767static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 15769}
32fe5131
RD
15770static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15771 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 15772}
32fe5131
RD
15773static void *_p_wxPanelTo_p_wxWindow(void *x) {
15774 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 15775}
32fe5131
RD
15776static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
15777 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 15778}
32fe5131
RD
15779static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
15780 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 15781}
32fe5131
RD
15782static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
15783 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
d14a1e28 15784}
32fe5131
RD
15785static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
15786 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 15787}
32fe5131
RD
15788static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
15789 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 15790}
32fe5131
RD
15791static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
15792 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 15793}
32fe5131
RD
15794static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
15795 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 15796}
32fe5131
RD
15797static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
15798 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 15799}
32fe5131
RD
15800static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
15801 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 15802}
32fe5131
RD
15803static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
15804 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 15805}
32fe5131
RD
15806static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
15807 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 15808}
32fe5131
RD
15809static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
15810 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 15811}
32fe5131
RD
15812static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
15813 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15814}
32fe5131
RD
15815static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
15816 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15817}
32fe5131
RD
15818static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
15819 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 15820}
32fe5131
RD
15821static void *_p_wxControlTo_p_wxWindow(void *x) {
15822 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 15823}
32fe5131
RD
15824static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
15825 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 15826}
32fe5131
RD
15827static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
15828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15829}
32fe5131
RD
15830static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
15831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15832}
32fe5131
RD
15833static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15834 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 15835}
32fe5131
RD
15836static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
15837 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 15838}
32fe5131
RD
15839static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
15840 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15841}
32fe5131
RD
15842static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
15843 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 15844}
32fe5131
RD
15845static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
15846 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 15847}
32fe5131
RD
15848static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
15849 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 15850}
32fe5131
RD
15851static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
15852 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 15853}
32fe5131
RD
15854static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
15855 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15856}
32fe5131
RD
15857static void *_p_wxFrameTo_p_wxWindow(void *x) {
15858 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15859}
32fe5131
RD
15860static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
15861 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 15862}
32fe5131
RD
15863static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
15864 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 15865}
32fe5131
RD
15866static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
15867 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 15868}
32fe5131
RD
15869static void *_p_wxDialogTo_p_wxWindow(void *x) {
15870 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
a2482628 15871}
32fe5131
RD
15872static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
15873 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 15874}
32fe5131
RD
15875static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
15876 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 15877}
32fe5131
RD
15878static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
15879 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 15880}
32fe5131
RD
15881static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
15882 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 15883}
32fe5131
RD
15884static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15885 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 15886}
32fe5131
RD
15887static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
15888 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 15889}
32fe5131
RD
15890static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
15891 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
d14a1e28 15892}
32fe5131
RD
15893static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
15894 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
d14a1e28 15895}
32fe5131
RD
15896static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
15897 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
d14a1e28 15898}
32fe5131
RD
15899static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
15900 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
d14a1e28 15901}
32fe5131
RD
15902static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
15903 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 15904}
32fe5131
RD
15905static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
15906 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 15907}
32fe5131
RD
15908static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
15909 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
d14a1e28 15910}
32fe5131
RD
15911static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
15912 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
d14a1e28 15913}
32fe5131
RD
15914static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
15915 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 15916}
32fe5131
RD
15917static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
15918 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 15919}
32fe5131
RD
15920static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
15921 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
d14a1e28 15922}
32fe5131
RD
15923static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
15924 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 15925}
32fe5131
RD
15926static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
15927 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 15928}
32fe5131
RD
15929static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
15930 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
070c48b4 15931}
32fe5131
RD
15932static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
15933 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 15934}
32fe5131
RD
15935static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
15936 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
d14a1e28 15937}
32fe5131
RD
15938static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
15939 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
d14a1e28 15940}
32fe5131
RD
15941static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
15942 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 15943}
32fe5131
RD
15944static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
15945 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 15946}
32fe5131
RD
15947static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
15948 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 15949}
32fe5131
RD
15950static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
15951 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 15952}
32fe5131
RD
15953static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
15954 return (void *)((wxDialog *) ((wxColourDialog *) x));
d14a1e28 15955}
32fe5131
RD
15956static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
15957 return (void *)((wxDialog *) ((wxDirDialog *) x));
d14a1e28 15958}
32fe5131
RD
15959static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
15960 return (void *)((wxDialog *) ((wxFontDialog *) x));
d14a1e28 15961}
32fe5131
RD
15962static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
15963 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 15964}
32fe5131
RD
15965static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
15966 return (void *)((wxDialog *) ((wxFileDialog *) x));
d14a1e28 15967}
32fe5131
RD
15968static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
15969 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 15970}
32fe5131
RD
15971static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
15972 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 15973}
32fe5131
RD
15974static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
15975 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 15976}
32fe5131
RD
15977static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
15978 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
53aa7709 15979}
32fe5131
RD
15980static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
15981 return (void *)((wxDialog *) ((wxMessageDialog *) x));
53aa7709 15982}
32fe5131
RD
15983static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
15984 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
53aa7709 15985}
32fe5131
RD
15986static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15987 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
53aa7709 15988}
32fe5131
RD
15989static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15990 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
53aa7709 15991}
32fe5131
RD
15992static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
15993 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
53aa7709 15994}
32fe5131
RD
15995static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
15996 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
53aa7709 15997}
32fe5131
RD
15998static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15999 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
53aa7709 16000}
32fe5131
RD
16001static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16002 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
53aa7709 16003}
32fe5131
RD
16004static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16005 return (void *)((wxPanel *) ((wxPyPanel *) x));
53aa7709 16006}
32fe5131
RD
16007static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16008 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
53aa7709 16009}
32fe5131
RD
16010static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16011 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
53aa7709 16012}
32fe5131
RD
16013static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16014 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
53aa7709 16015}
32fe5131
RD
16016static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
16017 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 16018}
32fe5131
RD
16019static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
16020 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
16021}
16022static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16023 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16024}
16025static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16026 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16027}
16028static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16029 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16030}
16031static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
16032 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
16033}
16034static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
16035 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
16036}
16037static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16038 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16039}
16040static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16041 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16042}
16043static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16044 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16045}
16046static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16047 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16048}
16049static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16050 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16051}
16052static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16053 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16054}
16055static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16056 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16057}
16058static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16059 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16060}
16061static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
16062static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
16063static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
16064static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
16065static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
16066static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
16067static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
16068static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
16069static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
16070static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
16071static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
16072static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
16073static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
16074static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
16075static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
16076static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
16077static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
16078static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
16079static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
16080static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
16081static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
16082static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
16083static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
16084static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
16085static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0};
16086static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
16087static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
16088static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
16089static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
16090static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
16091static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
16092static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
16093static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
16094static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
16095static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
16096static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
16097static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
16098static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
16099static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
16100static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
16101static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
16102static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
16103static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
16104static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
16105static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
16106static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
16107static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
16108static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
16109static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
16110static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
16111static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
16112static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
16113static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
16114static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
16115static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
16116static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
16117static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
16118static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
16119static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
16120static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
16121static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
16122static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
16123static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
16124static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
16125static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
16126static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
16127static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
16128static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
16129static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
16130static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
16131static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
16132static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
16133static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
16134static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
16135static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
16136static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
16137static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
16138static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
16139static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
16140static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
16141static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
16142static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
16143static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
16144static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
16145static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
16146static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
16147static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
16148static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
16149static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
16150static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
16151static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
16152static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
16153static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
16154static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
16155static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
16156static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
16157static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
16158static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
16159static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
16160static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
16161static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
16162static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
16163static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0};
16164static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0};
16165static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0};
16166static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0};
16167static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0};
16168static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0};
16169static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0};
16170static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0};
16171static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0};
16172static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0};
16173static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0};
16174static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0};
16175static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0};
16176static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0};
16177static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0};
16178static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0};
16179static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0};
16180static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0};
16181static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0};
16182static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0};
16183static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0};
16184static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0};
16185static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0};
16186static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0};
16187static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0};
16188static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0};
16189static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0};
16190static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0};
16191static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0};
16192static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0};
16193static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0};
16194static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0};
16195static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0};
16196static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
16197static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
16198static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
16199static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
16200static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
16201static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
16202static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
16203static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
16204static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
16205static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
16206static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
16207static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
16208static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
16209static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
16210static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
16211static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
16212static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
16213static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
16214static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
16215static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
16216static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
16217static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
16218static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
16219static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
16220static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
16221static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
16222static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
16223static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
16224static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
16225static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
16226static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
16227static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
16228static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
16229static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
16230static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
16231static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
16232static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
16233static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
16234static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
16235static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
16236static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
16237static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
16238static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
16239static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
16240static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
16241static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
16242static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
16243static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0};
16244static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0};
16245static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0};
16246static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0};
16247static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
16248static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
16249static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
16250static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
16251static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
16252static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
16253static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
16254static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
16255static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
16256static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
16257static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
16258static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
16259
16260static swig_type_info *swig_type_initial[] = {
16261 &_swigt__p_bool,
16262 &_swigt__p_char,
16263 &_swigt__p_form_ops_t,
16264 &_swigt__p_int,
16265 &_swigt__p_unsigned_char,
16266 &_swigt__p_unsigned_int,
16267 &_swigt__p_unsigned_long,
16268 &_swigt__p_wxANIHandler,
16269 &_swigt__p_wxAcceleratorTable,
16270 &_swigt__p_wxActivateEvent,
16271 &_swigt__p_wxBMPHandler,
16272 &_swigt__p_wxBitmap,
16273 &_swigt__p_wxBoxSizer,
16274 &_swigt__p_wxCURHandler,
16275 &_swigt__p_wxCalculateLayoutEvent,
16276 &_swigt__p_wxChildFocusEvent,
16277 &_swigt__p_wxCloseEvent,
16278 &_swigt__p_wxColour,
16279 &_swigt__p_wxColourData,
16280 &_swigt__p_wxColourDialog,
16281 &_swigt__p_wxCommandEvent,
16282 &_swigt__p_wxConfigBase,
16283 &_swigt__p_wxContextMenuEvent,
16284 &_swigt__p_wxControl,
16285 &_swigt__p_wxControlWithItems,
16286 &_swigt__p_wxCursor,
16287 &_swigt__p_wxDC,
16288 &_swigt__p_wxDateEvent,
16289 &_swigt__p_wxDefaultHtmlRenderingStyle,
16290 &_swigt__p_wxDialog,
16291 &_swigt__p_wxDirDialog,
16292 &_swigt__p_wxDisplayChangedEvent,
16293 &_swigt__p_wxDropFilesEvent,
16294 &_swigt__p_wxDuplexMode,
16295 &_swigt__p_wxEraseEvent,
16296 &_swigt__p_wxEvent,
16297 &_swigt__p_wxEvtHandler,
16298 &_swigt__p_wxFSFile,
16299 &_swigt__p_wxFileDialog,
16300 &_swigt__p_wxFileSystem,
16301 &_swigt__p_wxFindDialogEvent,
16302 &_swigt__p_wxFindReplaceData,
16303 &_swigt__p_wxFindReplaceDialog,
16304 &_swigt__p_wxFlexGridSizer,
16305 &_swigt__p_wxFocusEvent,
16306 &_swigt__p_wxFont,
16307 &_swigt__p_wxFontData,
16308 &_swigt__p_wxFontDialog,
16309 &_swigt__p_wxFrame,
16310 &_swigt__p_wxGBSizerItem,
16311 &_swigt__p_wxGIFHandler,
16312 &_swigt__p_wxGridBagSizer,
16313 &_swigt__p_wxGridSizer,
16314 &_swigt__p_wxHelpControllerBase,
16315 &_swigt__p_wxHelpSearchMode,
16316 &_swigt__p_wxHtmlBookRecArray,
16317 &_swigt__p_wxHtmlBookRecord,
16318 &_swigt__p_wxHtmlCell,
16319 &_swigt__p_wxHtmlColourCell,
16320 &_swigt__p_wxHtmlContainerCell,
16321 &_swigt__p_wxHtmlDCRenderer,
16322 &_swigt__p_wxHtmlEasyPrinting,
16323 &_swigt__p_wxHtmlFilter,
16324 &_swigt__p_wxHtmlFontCell,
16325 &_swigt__p_wxHtmlHelpController,
16326 &_swigt__p_wxHtmlHelpData,
16327 &_swigt__p_wxHtmlHelpDialog,
16328 &_swigt__p_wxHtmlHelpFrame,
16329 &_swigt__p_wxHtmlHelpFrameCfg,
16330 &_swigt__p_wxHtmlHelpWindow,
16331 &_swigt__p_wxHtmlLinkInfo,
16332 &_swigt__p_wxHtmlModalHelp,
16333 &_swigt__p_wxHtmlParser,
16334 &_swigt__p_wxHtmlPrintout,
16335 &_swigt__p_wxHtmlRenderingInfo,
16336 &_swigt__p_wxHtmlRenderingState,
16337 &_swigt__p_wxHtmlRenderingStyle,
16338 &_swigt__p_wxHtmlSearchStatus,
16339 &_swigt__p_wxHtmlSelection,
16340 &_swigt__p_wxHtmlTag,
16341 &_swigt__p_wxHtmlTagHandler,
16342 &_swigt__p_wxHtmlWidgetCell,
16343 &_swigt__p_wxHtmlWinParser,
16344 &_swigt__p_wxHtmlWindow,
16345 &_swigt__p_wxHtmlWindowEvent,
16346 &_swigt__p_wxHtmlWordCell,
16347 &_swigt__p_wxICOHandler,
16348 &_swigt__p_wxIconizeEvent,
16349 &_swigt__p_wxIdleEvent,
16350 &_swigt__p_wxImage,
16351 &_swigt__p_wxImageHandler,
16352 &_swigt__p_wxIndividualLayoutConstraint,
16353 &_swigt__p_wxInitDialogEvent,
16354 &_swigt__p_wxJPEGHandler,
16355 &_swigt__p_wxKeyEvent,
16356 &_swigt__p_wxLayoutAlgorithm,
16357 &_swigt__p_wxLayoutConstraints,
16358 &_swigt__p_wxMDIChildFrame,
16359 &_swigt__p_wxMDIClientWindow,
16360 &_swigt__p_wxMDIParentFrame,
16361 &_swigt__p_wxMaximizeEvent,
16362 &_swigt__p_wxMenu,
16363 &_swigt__p_wxMenuBar,
16364 &_swigt__p_wxMenuEvent,
16365 &_swigt__p_wxMenuItem,
16366 &_swigt__p_wxMessageDialog,
16367 &_swigt__p_wxMiniFrame,
16368 &_swigt__p_wxMouseCaptureChangedEvent,
16369 &_swigt__p_wxMouseEvent,
16370 &_swigt__p_wxMoveEvent,
16371 &_swigt__p_wxMultiChoiceDialog,
16372 &_swigt__p_wxNavigationKeyEvent,
16373 &_swigt__p_wxNcPaintEvent,
16374 &_swigt__p_wxNotifyEvent,
16375 &_swigt__p_wxObject,
16376 &_swigt__p_wxPCXHandler,
16377 &_swigt__p_wxPNGHandler,
16378 &_swigt__p_wxPNMHandler,
16379 &_swigt__p_wxPageSetupDialog,
16380 &_swigt__p_wxPageSetupDialogData,
16381 &_swigt__p_wxPaintEvent,
16382 &_swigt__p_wxPaletteChangedEvent,
16383 &_swigt__p_wxPanel,
16384 &_swigt__p_wxPaperSize,
16385 &_swigt__p_wxPasswordEntryDialog,
16386 &_swigt__p_wxPoint,
16387 &_swigt__p_wxPopupWindow,
16388 &_swigt__p_wxPreviewCanvas,
16389 &_swigt__p_wxPreviewControlBar,
16390 &_swigt__p_wxPreviewFrame,
16391 &_swigt__p_wxPrintData,
16392 &_swigt__p_wxPrintDialog,
16393 &_swigt__p_wxPrintDialogData,
16394 &_swigt__p_wxPrintPreview,
16395 &_swigt__p_wxPrinter,
16396 &_swigt__p_wxProgressDialog,
16397 &_swigt__p_wxPyApp,
16398 &_swigt__p_wxPyCommandEvent,
16399 &_swigt__p_wxPyEvent,
16400 &_swigt__p_wxPyHtmlFilter,
16401 &_swigt__p_wxPyHtmlListBox,
16402 &_swigt__p_wxPyHtmlTagHandler,
16403 &_swigt__p_wxPyHtmlWinTagHandler,
16404 &_swigt__p_wxPyHtmlWindow,
16405 &_swigt__p_wxPyImageHandler,
16406 &_swigt__p_wxPyPanel,
16407 &_swigt__p_wxPyPopupTransientWindow,
16408 &_swigt__p_wxPyPreviewControlBar,
16409 &_swigt__p_wxPyPreviewFrame,
16410 &_swigt__p_wxPyPrintPreview,
16411 &_swigt__p_wxPyPrintout,
16412 &_swigt__p_wxPyScrolledWindow,
16413 &_swigt__p_wxPySizer,
16414 &_swigt__p_wxPyTaskBarIcon,
16415 &_swigt__p_wxPyVListBox,
16416 &_swigt__p_wxPyVScrolledWindow,
16417 &_swigt__p_wxPyValidator,
16418 &_swigt__p_wxPyWindow,
16419 &_swigt__p_wxQueryLayoutInfoEvent,
16420 &_swigt__p_wxQueryNewPaletteEvent,
16421 &_swigt__p_wxSashEvent,
16422 &_swigt__p_wxSashLayoutWindow,
16423 &_swigt__p_wxSashWindow,
16424 &_swigt__p_wxScrollEvent,
16425 &_swigt__p_wxScrollWinEvent,
16426 &_swigt__p_wxScrolledWindow,
16427 &_swigt__p_wxSetCursorEvent,
16428 &_swigt__p_wxShowEvent,
16429 &_swigt__p_wxSingleChoiceDialog,
16430 &_swigt__p_wxSize,
16431 &_swigt__p_wxSizeEvent,
16432 &_swigt__p_wxSizer,
16433 &_swigt__p_wxSizerItem,
16434 &_swigt__p_wxSplashScreen,
16435 &_swigt__p_wxSplashScreenWindow,
16436 &_swigt__p_wxSplitterEvent,
16437 &_swigt__p_wxSplitterWindow,
16438 &_swigt__p_wxStaticBoxSizer,
16439 &_swigt__p_wxStatusBar,
16440 &_swigt__p_wxStdDialogButtonSizer,
16441 &_swigt__p_wxString,
16442 &_swigt__p_wxSysColourChangedEvent,
16443 &_swigt__p_wxTIFFHandler,
16444 &_swigt__p_wxTaskBarIconEvent,
16445 &_swigt__p_wxTextEntryDialog,
16446 &_swigt__p_wxTipWindow,
16447 &_swigt__p_wxTopLevelWindow,
16448 &_swigt__p_wxTreeCtrl,
16449 &_swigt__p_wxUpdateUIEvent,
16450 &_swigt__p_wxValidator,
16451 &_swigt__p_wxVisualAttributes,
16452 &_swigt__p_wxWindow,
16453 &_swigt__p_wxWindowCreateEvent,
16454 &_swigt__p_wxWindowDestroyEvent,
16455 &_swigt__p_wxXPMHandler,
16456 &_swigt__ptrdiff_t,
16457 &_swigt__std__ptrdiff_t,
16458 &_swigt__unsigned_int,
16459};
16460
16461static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
16462static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16463static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
16464static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16465static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
16466static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16467static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16468static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
16469static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
16470static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
16471static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
16472static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
16473static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
16474static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
16475static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16476static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16477static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
16478static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
16479static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16480static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
16481static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
16482static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
16483static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
16484static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
16485static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
16486static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
16487static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
16488static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
16489static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
16490static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16491static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16492static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16493static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16494static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
16495static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
16496static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
16497static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
16498static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16499static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
16500static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
16501static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
16502static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16503static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
16504static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
16505static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
16506static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
16507static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16508static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16509static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
16510static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16511static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
16512static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16513static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16514static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16515static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16516static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16517static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16518static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
16519static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16520static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
16521static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
16522static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16523static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16524static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
16525static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
16526static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
16527static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
16528static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
16529static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
16530static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
16531static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
16532static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
16533static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
16534static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
16535static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
16536static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
16537static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16538static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16539static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
16540static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
16541static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
16542static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
16543static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
16544static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16545static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16546static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
16547static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
16548static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
16549static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
16550static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
16551static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
16552static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
16553static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
16554static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16555static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16556static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
16557static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
16558static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
16559static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
16560static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
16561static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
16562static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
16563static swig_cast_info _swigc__p_wxHelpControllerBase[] = { {&_swigt__p_wxHelpControllerBase, 0, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0},{0, 0, 0, 0}};
16564static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
16565static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
16566static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
16567static swig_cast_info _swigc__p_wxHtmlCell[] = { {&_swigt__p_wxHtmlCell, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}};
16568static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
16569static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
16570static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
16571static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
16572static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16573static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
16574static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
16575static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
16576static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
16577static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
16578static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
16579static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
16580static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
16581static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
16582static swig_cast_info _swigc__p_wxHtmlParser[] = { {&_swigt__p_wxHtmlParser, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0},{0, 0, 0, 0}};
16583static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
16584static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
16585static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
16586static swig_cast_info _swigc__p_wxHtmlRenderingStyle[] = { {&_swigt__p_wxHtmlRenderingStyle, 0, 0, 0}, {&_swigt__p_wxDefaultHtmlRenderingStyle, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0},{0, 0, 0, 0}};
16587static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
16588static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
16589static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
16590static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16591static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
16592static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
16593static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16594static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
16595static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
16596static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
16597static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
16598static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
16599static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
16600static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
16601static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
16602static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
16603static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
16604static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
16605static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
16606static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16607static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16608static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
16609static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
16610static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
16611static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
16612static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16613static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16614static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
16615static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16616static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
16617static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16618static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
16619static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
16620static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16621static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16622static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
16623static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
16624static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
16625static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
16626static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16627static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16628static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
16629static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
16630static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
16631static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
16632static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
16633static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
16634static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
16635static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
16636static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
16637static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
16638static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
16639static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
16640static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
16641static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
16642static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
16643static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16644static swig_cast_info _swigc__p_wxPyHtmlTagHandler[] = { {&_swigt__p_wxPyHtmlTagHandler, 0, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0},{0, 0, 0, 0}};
16645static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16646static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16647static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0},{0, 0, 0, 0}};
16648static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
16649static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
16650static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
16651static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
16652static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
16653static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
16654static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
16655static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
16656static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16657static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16658static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16659
16660static swig_cast_info *swig_cast_initial[] = {
16661 _swigc__p_bool,
16662 _swigc__p_char,
16663 _swigc__p_form_ops_t,
16664 _swigc__p_int,
16665 _swigc__p_unsigned_char,
16666 _swigc__p_unsigned_int,
16667 _swigc__p_unsigned_long,
16668 _swigc__p_wxANIHandler,
16669 _swigc__p_wxAcceleratorTable,
16670 _swigc__p_wxActivateEvent,
16671 _swigc__p_wxBMPHandler,
16672 _swigc__p_wxBitmap,
16673 _swigc__p_wxBoxSizer,
16674 _swigc__p_wxCURHandler,
16675 _swigc__p_wxCalculateLayoutEvent,
16676 _swigc__p_wxChildFocusEvent,
16677 _swigc__p_wxCloseEvent,
16678 _swigc__p_wxColour,
16679 _swigc__p_wxColourData,
16680 _swigc__p_wxColourDialog,
16681 _swigc__p_wxCommandEvent,
16682 _swigc__p_wxConfigBase,
16683 _swigc__p_wxContextMenuEvent,
16684 _swigc__p_wxControl,
16685 _swigc__p_wxControlWithItems,
16686 _swigc__p_wxCursor,
16687 _swigc__p_wxDC,
16688 _swigc__p_wxDateEvent,
16689 _swigc__p_wxDefaultHtmlRenderingStyle,
16690 _swigc__p_wxDialog,
16691 _swigc__p_wxDirDialog,
16692 _swigc__p_wxDisplayChangedEvent,
16693 _swigc__p_wxDropFilesEvent,
16694 _swigc__p_wxDuplexMode,
16695 _swigc__p_wxEraseEvent,
16696 _swigc__p_wxEvent,
16697 _swigc__p_wxEvtHandler,
16698 _swigc__p_wxFSFile,
16699 _swigc__p_wxFileDialog,
16700 _swigc__p_wxFileSystem,
16701 _swigc__p_wxFindDialogEvent,
16702 _swigc__p_wxFindReplaceData,
16703 _swigc__p_wxFindReplaceDialog,
16704 _swigc__p_wxFlexGridSizer,
16705 _swigc__p_wxFocusEvent,
16706 _swigc__p_wxFont,
16707 _swigc__p_wxFontData,
16708 _swigc__p_wxFontDialog,
16709 _swigc__p_wxFrame,
16710 _swigc__p_wxGBSizerItem,
16711 _swigc__p_wxGIFHandler,
16712 _swigc__p_wxGridBagSizer,
16713 _swigc__p_wxGridSizer,
16714 _swigc__p_wxHelpControllerBase,
16715 _swigc__p_wxHelpSearchMode,
16716 _swigc__p_wxHtmlBookRecArray,
16717 _swigc__p_wxHtmlBookRecord,
16718 _swigc__p_wxHtmlCell,
16719 _swigc__p_wxHtmlColourCell,
16720 _swigc__p_wxHtmlContainerCell,
16721 _swigc__p_wxHtmlDCRenderer,
16722 _swigc__p_wxHtmlEasyPrinting,
16723 _swigc__p_wxHtmlFilter,
16724 _swigc__p_wxHtmlFontCell,
16725 _swigc__p_wxHtmlHelpController,
16726 _swigc__p_wxHtmlHelpData,
16727 _swigc__p_wxHtmlHelpDialog,
16728 _swigc__p_wxHtmlHelpFrame,
16729 _swigc__p_wxHtmlHelpFrameCfg,
16730 _swigc__p_wxHtmlHelpWindow,
16731 _swigc__p_wxHtmlLinkInfo,
16732 _swigc__p_wxHtmlModalHelp,
16733 _swigc__p_wxHtmlParser,
16734 _swigc__p_wxHtmlPrintout,
16735 _swigc__p_wxHtmlRenderingInfo,
16736 _swigc__p_wxHtmlRenderingState,
16737 _swigc__p_wxHtmlRenderingStyle,
16738 _swigc__p_wxHtmlSearchStatus,
16739 _swigc__p_wxHtmlSelection,
16740 _swigc__p_wxHtmlTag,
16741 _swigc__p_wxHtmlTagHandler,
16742 _swigc__p_wxHtmlWidgetCell,
16743 _swigc__p_wxHtmlWinParser,
16744 _swigc__p_wxHtmlWindow,
16745 _swigc__p_wxHtmlWindowEvent,
16746 _swigc__p_wxHtmlWordCell,
16747 _swigc__p_wxICOHandler,
16748 _swigc__p_wxIconizeEvent,
16749 _swigc__p_wxIdleEvent,
16750 _swigc__p_wxImage,
16751 _swigc__p_wxImageHandler,
16752 _swigc__p_wxIndividualLayoutConstraint,
16753 _swigc__p_wxInitDialogEvent,
16754 _swigc__p_wxJPEGHandler,
16755 _swigc__p_wxKeyEvent,
16756 _swigc__p_wxLayoutAlgorithm,
16757 _swigc__p_wxLayoutConstraints,
16758 _swigc__p_wxMDIChildFrame,
16759 _swigc__p_wxMDIClientWindow,
16760 _swigc__p_wxMDIParentFrame,
16761 _swigc__p_wxMaximizeEvent,
16762 _swigc__p_wxMenu,
16763 _swigc__p_wxMenuBar,
16764 _swigc__p_wxMenuEvent,
16765 _swigc__p_wxMenuItem,
16766 _swigc__p_wxMessageDialog,
16767 _swigc__p_wxMiniFrame,
16768 _swigc__p_wxMouseCaptureChangedEvent,
16769 _swigc__p_wxMouseEvent,
16770 _swigc__p_wxMoveEvent,
16771 _swigc__p_wxMultiChoiceDialog,
16772 _swigc__p_wxNavigationKeyEvent,
16773 _swigc__p_wxNcPaintEvent,
16774 _swigc__p_wxNotifyEvent,
16775 _swigc__p_wxObject,
16776 _swigc__p_wxPCXHandler,
16777 _swigc__p_wxPNGHandler,
16778 _swigc__p_wxPNMHandler,
16779 _swigc__p_wxPageSetupDialog,
16780 _swigc__p_wxPageSetupDialogData,
16781 _swigc__p_wxPaintEvent,
16782 _swigc__p_wxPaletteChangedEvent,
16783 _swigc__p_wxPanel,
16784 _swigc__p_wxPaperSize,
16785 _swigc__p_wxPasswordEntryDialog,
16786 _swigc__p_wxPoint,
16787 _swigc__p_wxPopupWindow,
16788 _swigc__p_wxPreviewCanvas,
16789 _swigc__p_wxPreviewControlBar,
16790 _swigc__p_wxPreviewFrame,
16791 _swigc__p_wxPrintData,
16792 _swigc__p_wxPrintDialog,
16793 _swigc__p_wxPrintDialogData,
16794 _swigc__p_wxPrintPreview,
16795 _swigc__p_wxPrinter,
16796 _swigc__p_wxProgressDialog,
16797 _swigc__p_wxPyApp,
16798 _swigc__p_wxPyCommandEvent,
16799 _swigc__p_wxPyEvent,
16800 _swigc__p_wxPyHtmlFilter,
16801 _swigc__p_wxPyHtmlListBox,
16802 _swigc__p_wxPyHtmlTagHandler,
16803 _swigc__p_wxPyHtmlWinTagHandler,
16804 _swigc__p_wxPyHtmlWindow,
16805 _swigc__p_wxPyImageHandler,
16806 _swigc__p_wxPyPanel,
16807 _swigc__p_wxPyPopupTransientWindow,
16808 _swigc__p_wxPyPreviewControlBar,
16809 _swigc__p_wxPyPreviewFrame,
16810 _swigc__p_wxPyPrintPreview,
16811 _swigc__p_wxPyPrintout,
16812 _swigc__p_wxPyScrolledWindow,
16813 _swigc__p_wxPySizer,
16814 _swigc__p_wxPyTaskBarIcon,
16815 _swigc__p_wxPyVListBox,
16816 _swigc__p_wxPyVScrolledWindow,
16817 _swigc__p_wxPyValidator,
16818 _swigc__p_wxPyWindow,
16819 _swigc__p_wxQueryLayoutInfoEvent,
16820 _swigc__p_wxQueryNewPaletteEvent,
16821 _swigc__p_wxSashEvent,
16822 _swigc__p_wxSashLayoutWindow,
16823 _swigc__p_wxSashWindow,
16824 _swigc__p_wxScrollEvent,
16825 _swigc__p_wxScrollWinEvent,
16826 _swigc__p_wxScrolledWindow,
16827 _swigc__p_wxSetCursorEvent,
16828 _swigc__p_wxShowEvent,
16829 _swigc__p_wxSingleChoiceDialog,
16830 _swigc__p_wxSize,
16831 _swigc__p_wxSizeEvent,
16832 _swigc__p_wxSizer,
16833 _swigc__p_wxSizerItem,
16834 _swigc__p_wxSplashScreen,
16835 _swigc__p_wxSplashScreenWindow,
16836 _swigc__p_wxSplitterEvent,
16837 _swigc__p_wxSplitterWindow,
16838 _swigc__p_wxStaticBoxSizer,
16839 _swigc__p_wxStatusBar,
16840 _swigc__p_wxStdDialogButtonSizer,
16841 _swigc__p_wxString,
16842 _swigc__p_wxSysColourChangedEvent,
16843 _swigc__p_wxTIFFHandler,
16844 _swigc__p_wxTaskBarIconEvent,
16845 _swigc__p_wxTextEntryDialog,
16846 _swigc__p_wxTipWindow,
16847 _swigc__p_wxTopLevelWindow,
16848 _swigc__p_wxTreeCtrl,
16849 _swigc__p_wxUpdateUIEvent,
16850 _swigc__p_wxValidator,
16851 _swigc__p_wxVisualAttributes,
16852 _swigc__p_wxWindow,
16853 _swigc__p_wxWindowCreateEvent,
16854 _swigc__p_wxWindowDestroyEvent,
16855 _swigc__p_wxXPMHandler,
16856 _swigc__ptrdiff_t,
16857 _swigc__std__ptrdiff_t,
16858 _swigc__unsigned_int,
d14a1e28
RD
16859};
16860
16861
16862/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16863
16864static swig_const_info swig_const_table[] = {
c370783e 16865{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
16866
16867#ifdef __cplusplus
16868}
16869#endif
32fe5131
RD
16870/*************************************************************************
16871 * Type initialization:
16872 * This problem is tough by the requirement that no dynamic
16873 * memory is used. Also, since swig_type_info structures store pointers to
16874 * swig_cast_info structures and swig_cast_info structures store pointers back
16875 * to swig_type_info structures, we need some lookup code at initialization.
16876 * The idea is that swig generates all the structures that are needed.
16877 * The runtime then collects these partially filled structures.
16878 * The SWIG_InitializeModule function takes these initial arrays out of
16879 * swig_module, and does all the lookup, filling in the swig_module.types
16880 * array with the correct data and linking the correct swig_cast_info
16881 * structures together.
16882
16883 * The generated swig_type_info structures are assigned staticly to an initial
16884 * array. We just loop though that array, and handle each type individually.
16885 * First we lookup if this type has been already loaded, and if so, use the
16886 * loaded structure instead of the generated one. Then we have to fill in the
16887 * cast linked list. The cast data is initially stored in something like a
16888 * two-dimensional array. Each row corresponds to a type (there are the same
16889 * number of rows as there are in the swig_type_initial array). Each entry in
16890 * a column is one of the swig_cast_info structures for that type.
16891 * The cast_initial array is actually an array of arrays, because each row has
16892 * a variable number of columns. So to actually build the cast linked list,
16893 * we find the array of casts associated with the type, and loop through it
16894 * adding the casts to the list. The one last trick we need to do is making
16895 * sure the type pointer in the swig_cast_info struct is correct.
16896
16897 * First off, we lookup the cast->type name to see if it is already loaded.
16898 * There are three cases to handle:
16899 * 1) If the cast->type has already been loaded AND the type we are adding
16900 * casting info to has not been loaded (it is in this module), THEN we
16901 * replace the cast->type pointer with the type pointer that has already
16902 * been loaded.
16903 * 2) If BOTH types (the one we are adding casting info to, and the
16904 * cast->type) are loaded, THEN the cast info has already been loaded by
16905 * the previous module so we just ignore it.
16906 * 3) Finally, if cast->type has not already been loaded, then we add that
16907 * swig_cast_info to the linked list (because the cast->type) pointer will
16908 * be correct.
16909**/
16910
16911#ifdef __cplusplus
16912extern "C" {
16913#if 0
16914} /* c-mode */
16915#endif
16916#endif
16917
16918#if 0
16919#define SWIGRUNTIME_DEBUG
16920#endif
16921
16922SWIGRUNTIME void
16923SWIG_InitializeModule(void *clientdata) {
16924 size_t i;
16925 swig_module_info *module_head;
16926 static int init_run = 0;
16927
16928 clientdata = clientdata;
16929
16930 if (init_run) return;
16931 init_run = 1;
16932
16933 /* Initialize the swig_module */
16934 swig_module.type_initial = swig_type_initial;
16935 swig_module.cast_initial = swig_cast_initial;
16936
16937 /* Try and load any already created modules */
16938 module_head = SWIG_GetModule(clientdata);
16939 if (module_head) {
16940 swig_module.next = module_head->next;
16941 module_head->next = &swig_module;
16942 } else {
16943 /* This is the first module loaded */
16944 swig_module.next = &swig_module;
16945 SWIG_SetModule(clientdata, &swig_module);
16946 }
16947
16948 /* Now work on filling in swig_module.types */
16949#ifdef SWIGRUNTIME_DEBUG
16950 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
16951#endif
16952 for (i = 0; i < swig_module.size; ++i) {
16953 swig_type_info *type = 0;
16954 swig_type_info *ret;
16955 swig_cast_info *cast;
16956
16957#ifdef SWIGRUNTIME_DEBUG
16958 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
16959#endif
16960
16961 /* if there is another module already loaded */
16962 if (swig_module.next != &swig_module) {
16963 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
16964 }
16965 if (type) {
16966 /* Overwrite clientdata field */
16967#ifdef SWIGRUNTIME_DEBUG
16968 printf("SWIG_InitializeModule: found type %s\n", type->name);
16969#endif
16970 if (swig_module.type_initial[i]->clientdata) {
16971 type->clientdata = swig_module.type_initial[i]->clientdata;
16972#ifdef SWIGRUNTIME_DEBUG
16973 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
16974#endif
16975 }
16976 } else {
16977 type = swig_module.type_initial[i];
16978 }
16979
16980 /* Insert casting types */
16981 cast = swig_module.cast_initial[i];
16982 while (cast->type) {
16983 /* Don't need to add information already in the list */
16984 ret = 0;
16985#ifdef SWIGRUNTIME_DEBUG
16986 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
16987#endif
16988 if (swig_module.next != &swig_module) {
16989 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
16990#ifdef SWIGRUNTIME_DEBUG
16991 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
16992#endif
16993 }
16994 if (ret) {
16995 if (type == swig_module.type_initial[i]) {
16996#ifdef SWIGRUNTIME_DEBUG
16997 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
16998#endif
16999 cast->type = ret;
17000 ret = 0;
17001 } else {
17002 /* Check for casting already in the list */
17003 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
17004#ifdef SWIGRUNTIME_DEBUG
17005 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
17006#endif
17007 if (!ocast) ret = 0;
17008 }
17009 }
17010
17011 if (!ret) {
17012#ifdef SWIGRUNTIME_DEBUG
17013 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
17014#endif
17015 if (type->cast) {
17016 type->cast->prev = cast;
17017 cast->next = type->cast;
17018 }
17019 type->cast = cast;
17020 }
17021 cast++;
17022 }
17023 /* Set entry in modules->types array equal to the type */
17024 swig_module.types[i] = type;
17025 }
17026 swig_module.types[i] = 0;
17027
17028#ifdef SWIGRUNTIME_DEBUG
17029 printf("**** SWIG_InitializeModule: Cast List ******\n");
17030 for (i = 0; i < swig_module.size; ++i) {
17031 int j = 0;
17032 swig_cast_info *cast = swig_module.cast_initial[i];
17033 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17034 while (cast->type) {
17035 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
17036 cast++;
17037 ++j;
17038 }
17039 printf("---- Total casts: %d\n",j);
17040 }
17041 printf("**** SWIG_InitializeModule: Cast List ******\n");
17042#endif
17043}
17044
17045/* This function will propagate the clientdata field of type to
17046* any new swig_type_info structures that have been added into the list
17047* of equivalent types. It is like calling
17048* SWIG_TypeClientData(type, clientdata) a second time.
17049*/
17050SWIGRUNTIME void
17051SWIG_PropagateClientData(void) {
17052 size_t i;
17053 swig_cast_info *equiv;
17054 static int init_run = 0;
17055
17056 if (init_run) return;
17057 init_run = 1;
17058
17059 for (i = 0; i < swig_module.size; i++) {
17060 if (swig_module.types[i]->clientdata) {
17061 equiv = swig_module.types[i]->cast;
17062 while (equiv) {
17063 if (!equiv->converter) {
17064 if (equiv->type && !equiv->type->clientdata)
17065 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
17066 }
17067 equiv = equiv->next;
17068 }
17069 }
17070 }
17071}
17072
17073#ifdef __cplusplus
17074#if 0
17075{
17076 /* c-mode */
17077#endif
17078}
17079#endif
17080
d14a1e28 17081
36ed4f51
RD
17082
17083#ifdef __cplusplus
17084extern "C" {
17085#endif
17086
17087 /* Python-specific SWIG API */
17088#define SWIG_newvarlink() SWIG_Python_newvarlink()
17089#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17090#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17091
17092 /* -----------------------------------------------------------------------------
17093 * global variable support code.
17094 * ----------------------------------------------------------------------------- */
17095
17096 typedef struct swig_globalvar {
17097 char *name; /* Name of global variable */
32fe5131 17098 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
17099 int (*set_attr)(PyObject *); /* Set the value */
17100 struct swig_globalvar *next;
17101 } swig_globalvar;
17102
17103 typedef struct swig_varlinkobject {
17104 PyObject_HEAD
17105 swig_globalvar *vars;
17106 } swig_varlinkobject;
17107
32fe5131 17108 SWIGINTERN PyObject *
36ed4f51
RD
17109 swig_varlink_repr(swig_varlinkobject *v) {
17110 v = v;
17111 return PyString_FromString("<Swig global variables>");
17112 }
17113
32fe5131 17114 SWIGINTERN int
36ed4f51
RD
17115 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
17116 swig_globalvar *var;
17117 flags = flags;
17118 fprintf(fp,"Swig global variables { ");
17119 for (var = v->vars; var; var=var->next) {
17120 fprintf(fp,"%s", var->name);
17121 if (var->next) fprintf(fp,", ");
17122 }
17123 fprintf(fp," }\n");
17124 return 0;
17125 }
17126
32fe5131 17127 SWIGINTERN PyObject *
36ed4f51
RD
17128 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17129 swig_globalvar *var = v->vars;
17130 while (var) {
17131 if (strcmp(var->name,n) == 0) {
17132 return (*var->get_attr)();
17133 }
17134 var = var->next;
17135 }
17136 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17137 return NULL;
17138 }
17139
32fe5131 17140 SWIGINTERN int
36ed4f51
RD
17141 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17142 swig_globalvar *var = v->vars;
17143 while (var) {
17144 if (strcmp(var->name,n) == 0) {
17145 return (*var->set_attr)(p);
17146 }
17147 var = var->next;
17148 }
17149 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17150 return 1;
17151 }
17152
32fe5131
RD
17153 SWIGINTERN PyTypeObject*
17154 swig_varlink_type(void) {
17155 static char varlink__doc__[] = "Swig var link object";
17156 static PyTypeObject varlink_type
17157#if !defined(__cplusplus)
17158 ;
17159 static int type_init = 0;
17160 if (!type_init) {
17161 PyTypeObject tmp
17162#endif
17163 = {
17164 PyObject_HEAD_INIT(&PyType_Type)
17165 0, /* Number of items in variable part (ob_size) */
17166 (char *)"swigvarlink", /* Type name (tp_name) */
17167 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17168 0, /* Itemsize (tp_itemsize) */
17169 0, /* Deallocator (tp_dealloc) */
17170 (printfunc) swig_varlink_print, /* Print (tp_print) */
17171 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17172 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17173 0, /* tp_compare */
17174 (reprfunc) swig_varlink_repr, /* tp_repr */
17175 0, /* tp_as_number */
17176 0, /* tp_as_sequence */
17177 0, /* tp_as_mapping */
17178 0, /* tp_hash */
17179 0, /* tp_call */
17180 0, /* tp_str */
17181 0, /* tp_getattro */
17182 0, /* tp_setattro */
17183 0, /* tp_as_buffer */
17184 0, /* tp_flags */
17185 varlink__doc__, /* tp_doc */
36ed4f51 17186#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
17187 0, /* tp_traverse */
17188 0, /* tp_clear */
36ed4f51
RD
17189#endif
17190#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
17191 0, /* tp_richcompare */
17192 0, /* tp_weaklistoffset */
36ed4f51
RD
17193#endif
17194#if PY_VERSION_HEX >= 0x02020000
32fe5131 17195 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
17196#endif
17197#if PY_VERSION_HEX >= 0x02030000
32fe5131 17198 0, /* tp_del */
36ed4f51
RD
17199#endif
17200#ifdef COUNT_ALLOCS
32fe5131 17201 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 17202#endif
32fe5131
RD
17203 };
17204#if !defined(__cplusplus)
17205 varlink_type = tmp;
17206 type_init = 1;
17207 }
17208#endif
17209 return &varlink_type;
17210 }
36ed4f51
RD
17211
17212 /* Create a variable linking object for use later */
32fe5131 17213 SWIGINTERN PyObject *
36ed4f51 17214 SWIG_Python_newvarlink(void) {
32fe5131
RD
17215 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
17216 if (result) {
17217 result->vars = 0;
17218 }
36ed4f51
RD
17219 return ((PyObject*) result);
17220 }
17221
32fe5131 17222 SWIGINTERN void
36ed4f51 17223 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
17224 swig_varlinkobject *v = (swig_varlinkobject *) p;
17225 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17226 if (gv) {
17227 size_t size = strlen(name)+1;
17228 gv->name = (char *)malloc(size);
17229 if (gv->name) {
17230 strncpy(gv->name,name,size);
17231 gv->get_attr = get_attr;
17232 gv->set_attr = set_attr;
17233 gv->next = v->vars;
17234 }
17235 }
36ed4f51
RD
17236 v->vars = gv;
17237 }
17238
17239 /* -----------------------------------------------------------------------------
17240 * constants/methods manipulation
17241 * ----------------------------------------------------------------------------- */
17242
17243 /* Install Constants */
32fe5131 17244 SWIGINTERN void
36ed4f51
RD
17245 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17246 PyObject *obj = 0;
17247 size_t i;
32fe5131 17248 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
17249 switch(constants[i].type) {
17250 case SWIG_PY_INT:
17251 obj = PyInt_FromLong(constants[i].lvalue);
17252 break;
17253 case SWIG_PY_FLOAT:
17254 obj = PyFloat_FromDouble(constants[i].dvalue);
17255 break;
17256 case SWIG_PY_STRING:
17257 if (constants[i].pvalue) {
17258 obj = PyString_FromString((char *) constants[i].pvalue);
17259 } else {
17260 Py_INCREF(Py_None);
17261 obj = Py_None;
17262 }
17263 break;
17264 case SWIG_PY_POINTER:
17265 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17266 break;
17267 case SWIG_PY_BINARY:
17268 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17269 break;
17270 default:
17271 obj = 0;
17272 break;
17273 }
17274 if (obj) {
17275 PyDict_SetItemString(d,constants[i].name,obj);
17276 Py_DECREF(obj);
17277 }
17278 }
17279 }
17280
17281 /* -----------------------------------------------------------------------------*/
17282 /* Fix SwigMethods to carry the callback ptrs when needed */
17283 /* -----------------------------------------------------------------------------*/
17284
32fe5131 17285 SWIGINTERN void
36ed4f51
RD
17286 SWIG_Python_FixMethods(PyMethodDef *methods,
17287 swig_const_info *const_table,
17288 swig_type_info **types,
17289 swig_type_info **types_initial) {
17290 size_t i;
17291 for (i = 0; methods[i].ml_name; ++i) {
17292 char *c = methods[i].ml_doc;
17293 if (c && (c = strstr(c, "swig_ptr: "))) {
17294 int j;
17295 swig_const_info *ci = 0;
17296 char *name = c + 10;
32fe5131 17297 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
17298 if (strncmp(const_table[j].name, name,
17299 strlen(const_table[j].name)) == 0) {
17300 ci = &(const_table[j]);
17301 break;
17302 }
17303 }
17304 if (ci) {
17305 size_t shift = (ci->ptype) - types;
17306 swig_type_info *ty = types_initial[shift];
17307 size_t ldoc = (c - methods[i].ml_doc);
17308 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17309 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
17310 if (ndoc) {
17311 char *buff = ndoc;
17312 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
17313 if (ptr) {
17314 strncpy(buff, methods[i].ml_doc, ldoc);
17315 buff += ldoc;
17316 strncpy(buff, "swig_ptr: ", 10);
17317 buff += 10;
17318 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17319 methods[i].ml_doc = ndoc;
17320 }
17321 }
36ed4f51
RD
17322 }
17323 }
17324 }
17325 }
17326
17327 /* -----------------------------------------------------------------------------*
17328 * Initialize type list
17329 * -----------------------------------------------------------------------------*/
17330
36ed4f51
RD
17331#ifdef __cplusplus
17332}
17333#endif
17334
17335/* -----------------------------------------------------------------------------*
17336 * Partial Init method
17337 * -----------------------------------------------------------------------------*/
17338
d14a1e28
RD
17339#ifdef __cplusplus
17340extern "C"
17341#endif
32fe5131 17342SWIGEXPORT void SWIG_init(void) {
d14a1e28 17343 static PyObject *SWIG_globals = 0;
d14a1e28 17344 PyObject *m, *d;
d14a1e28 17345 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
17346
17347 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 17348 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 17349
d14a1e28
RD
17350 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17351 d = PyModule_GetDict(m);
17352
32fe5131 17353 SWIG_InitializeModule(0);
d14a1e28
RD
17354 SWIG_InstallConstants(d,swig_const_table);
17355
cbd72d4f
RD
17356 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17357 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
17358 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
17359 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
36ed4f51 17360 {
32fe5131
RD
17361 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_LEFT)));
17362 }
17363 {
17364 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_CENTER)));
17365 }
17366 {
17367 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_RIGHT)));
17368 }
17369 {
17370 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_BOTTOM)));
17371 }
17372 {
17373 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_TOP)));
17374 }
17375 {
17376 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_FOREGROUND)));
17377 }
17378 {
17379 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_BACKGROUND)));
17380 }
17381 {
17382 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PIXELS)));
17383 }
17384 {
17385 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PERCENT)));
17386 }
17387 {
17388 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_LEFT)));
17389 }
17390 {
17391 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_RIGHT)));
17392 }
17393 {
17394 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int(static_cast<int >(wxHTML_INDENT_TOP)));
17395 }
17396 {
17397 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_INDENT_BOTTOM)));
17398 }
17399 {
17400 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_HORIZONTAL)));
17401 }
17402 {
17403 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_VERTICAL)));
17404 }
17405 {
17406 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_ALL)));
17407 }
17408 {
17409 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast<int >(wxHTML_COND_ISANCHOR)));
17410 }
17411 {
17412 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast<int >(wxHTML_COND_ISIMAGEMAP)));
17413 }
17414 {
17415 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int(static_cast<int >(wxHTML_COND_USER)));
17416 }
17417 {
17418 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_1)));
17419 }
17420 {
17421 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_2)));
17422 }
17423 {
17424 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_3)));
17425 }
17426 {
17427 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_4)));
17428 }
17429 {
17430 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_5)));
17431 }
17432 {
17433 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_6)));
17434 }
17435 {
17436 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_7)));
17437 }
17438 {
17439 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_NEVER)));
17440 }
17441 {
17442 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_AUTO)));
17443 }
17444 {
17445 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int(static_cast<int >(wxHW_NO_SELECTION)));
17446 }
17447 {
17448 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHW_DEFAULT_STYLE)));
17449 }
17450 {
17451 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int(static_cast<int >(wxHTML_OPEN)));
17452 }
17453 {
17454 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int(static_cast<int >(wxHTML_BLOCK)));
17455 }
17456 {
17457 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int(static_cast<int >(wxHTML_REDIRECT)));
17458 }
17459 {
17460 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_PAGE)));
36ed4f51
RD
17461 }
17462 {
32fe5131 17463 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_IMAGE)));
36ed4f51
RD
17464 }
17465 {
32fe5131 17466 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int(static_cast<int >(wxHTML_URL_OTHER)));
36ed4f51
RD
17467 }
17468 {
32fe5131 17469 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int(static_cast<int >(wxHTML_SEL_OUT)));
36ed4f51
RD
17470 }
17471 {
32fe5131 17472 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int(static_cast<int >(wxHTML_SEL_IN)));
36ed4f51
RD
17473 }
17474 {
32fe5131 17475 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int(static_cast<int >(wxHTML_SEL_CHANGING)));
36ed4f51
RD
17476 }
17477 {
32fe5131 17478 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int(static_cast<int >(wxHTML_FIND_EXACT)));
36ed4f51
RD
17479 }
17480 {
32fe5131 17481 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_BEFORE)));
36ed4f51
RD
17482 }
17483 {
32fe5131 17484 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_AFTER)));
36ed4f51
RD
17485 }
17486 {
32fe5131 17487 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int(static_cast<int >(wxPAGE_ODD)));
36ed4f51
RD
17488 }
17489 {
32fe5131 17490 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int(static_cast<int >(wxPAGE_EVEN)));
36ed4f51
RD
17491 }
17492 {
32fe5131 17493 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int(static_cast<int >(wxPAGE_ALL)));
36ed4f51
RD
17494 }
17495 {
32fe5131 17496 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_TOOLBAR)));
36ed4f51
RD
17497 }
17498 {
32fe5131 17499 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int(static_cast<int >(wxHF_CONTENTS)));
36ed4f51
RD
17500 }
17501 {
32fe5131 17502 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int(static_cast<int >(wxHF_INDEX)));
36ed4f51
RD
17503 }
17504 {
32fe5131 17505 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int(static_cast<int >(wxHF_SEARCH)));
36ed4f51
RD
17506 }
17507 {
32fe5131 17508 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int(static_cast<int >(wxHF_BOOKMARKS)));
36ed4f51
RD
17509 }
17510 {
32fe5131 17511 PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int(static_cast<int >(wxHF_OPEN_FILES)));
36ed4f51
RD
17512 }
17513 {
32fe5131 17514 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int(static_cast<int >(wxHF_PRINT)));
36ed4f51
RD
17515 }
17516 {
32fe5131 17517 PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_FLAT_TOOLBAR)));
36ed4f51
RD
17518 }
17519 {
32fe5131 17520 PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int(static_cast<int >(wxHF_MERGE_BOOKS)));
36ed4f51
RD
17521 }
17522 {
32fe5131 17523 PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK)));
36ed4f51
RD
17524 }
17525 {
32fe5131 17526 PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK_CHAPTER)));
36ed4f51
RD
17527 }
17528 {
32fe5131 17529 PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int(static_cast<int >(wxHF_ICONS_FOLDER)));
36ed4f51
RD
17530 }
17531 {
32fe5131 17532 PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHF_DEFAULT_STYLE)));
36ed4f51
RD
17533 }
17534 {
32fe5131 17535 PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int(static_cast<int >(wxHF_EMBEDDED)));
36ed4f51
RD
17536 }
17537 {
32fe5131 17538 PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int(static_cast<int >(wxHF_DIALOG)));
36ed4f51
RD
17539 }
17540 {
32fe5131 17541 PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int(static_cast<int >(wxHF_FRAME)));
36ed4f51
RD
17542 }
17543 {
32fe5131 17544 PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int(static_cast<int >(wxHF_MODAL)));
36ed4f51
RD
17545 }
17546 {
32fe5131 17547 PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int(static_cast<int >(wxID_HTML_PANEL)));
36ed4f51
RD
17548 }
17549 {
32fe5131 17550 PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int(static_cast<int >(wxID_HTML_BACK)));
36ed4f51
RD
17551 }
17552 {
32fe5131 17553 PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int(static_cast<int >(wxID_HTML_FORWARD)));
36ed4f51
RD
17554 }
17555 {
32fe5131 17556 PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int(static_cast<int >(wxID_HTML_UPNODE)));
36ed4f51
RD
17557 }
17558 {
32fe5131 17559 PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int(static_cast<int >(wxID_HTML_UP)));
36ed4f51
RD
17560 }
17561 {
32fe5131 17562 PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int(static_cast<int >(wxID_HTML_DOWN)));
36ed4f51
RD
17563 }
17564 {
32fe5131 17565 PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int(static_cast<int >(wxID_HTML_PRINT)));
36ed4f51
RD
17566 }
17567 {
32fe5131 17568 PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int(static_cast<int >(wxID_HTML_OPENFILE)));
36ed4f51
RD
17569 }
17570 {
32fe5131 17571 PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int(static_cast<int >(wxID_HTML_OPTIONS)));
36ed4f51
RD
17572 }
17573 {
32fe5131 17574 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSLIST)));
36ed4f51
RD
17575 }
17576 {
32fe5131 17577 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSADD)));
36ed4f51
RD
17578 }
17579 {
32fe5131 17580 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSREMOVE)));
36ed4f51
RD
17581 }
17582 {
32fe5131 17583 PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int(static_cast<int >(wxID_HTML_TREECTRL)));
36ed4f51
RD
17584 }
17585 {
32fe5131 17586 PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXPAGE)));
36ed4f51
RD
17587 }
17588 {
32fe5131 17589 PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXLIST)));
36ed4f51
RD
17590 }
17591 {
32fe5131 17592 PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXTEXT)));
36ed4f51
RD
17593 }
17594 {
32fe5131 17595 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTON)));
36ed4f51
RD
17596 }
17597 {
32fe5131 17598 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTONALL)));
36ed4f51
RD
17599 }
17600 {
32fe5131 17601 PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast<int >(wxID_HTML_NOTEBOOK)));
36ed4f51
RD
17602 }
17603 {
32fe5131 17604 PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHPAGE)));
36ed4f51
RD
17605 }
17606 {
32fe5131 17607 PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHTEXT)));
36ed4f51
RD
17608 }
17609 {
32fe5131 17610 PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHLIST)));
36ed4f51
RD
17611 }
17612 {
32fe5131 17613 PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHBUTTON)));
36ed4f51
RD
17614 }
17615 {
32fe5131 17616 PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHCHOICE)));
36ed4f51
RD
17617 }
17618 {
32fe5131 17619 PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast<int >(wxID_HTML_COUNTINFO)));
36ed4f51 17620 }
d14a1e28
RD
17621
17622 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
17623 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
17624 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
17625 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
17626
17627}
17628