]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/html_wrap.cpp
Respect the REUSEADDR flag to allow rebinding; bind to local port prior to connecting...
[wxWidgets.git] / wxPython / src / gtk / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.27
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_VERSION 0x010327
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
36
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
41 # else
42 # define SWIGTEMPLATEDISAMBIGUATOR
43 # endif
44 #endif
45
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
97
98 #include <Python.h>
99
100 /***********************************************************************
101 * swigrun.swg
102 *
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
105 *
106 ************************************************************************/
107
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
111
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
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)
117 #else
118 # define SWIG_TYPE_TABLE_NAME
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 */
129
130 #ifndef SWIGRUNTIME
131 # define SWIGRUNTIME SWIGINTERN
132 #endif
133
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
136 #endif
137
138 #include <string.h>
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 typedef void *(*swig_converter_func)(void *);
145 typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info {
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 */
154 } swig_type_info;
155
156 /* Structure to store a type and conversion function used for casting */
157 typedef 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.*/
167 typedef 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
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 */
184 SWIGRUNTIME int
185 SWIG_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;
190 if (*f1 != *f2) return (int)(*f1 - *f2);
191 }
192 return (l1 - f1) - (l2 - f2);
193 }
194
195 /*
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
198 */
199 SWIGRUNTIME int
200 SWIG_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 }
208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
209 if (*ne) ++ne;
210 }
211 return equiv;
212 }
213
214 /*
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
217 */
218 SWIGRUNTIME int
219 SWIG_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;
226 }
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
229 }
230 return equiv;
231 }
232
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
256 /*
257 Check the typename
258 */
259 SWIGRUNTIME swig_cast_info *
260 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
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 */
265 SWIGRUNTIME swig_cast_info *
266 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
268 }
269
270 /*
271 Cast a pointer up an inheritance hierarchy
272 */
273 SWIGRUNTIMEINLINE void *
274 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276 }
277
278 /*
279 Dynamic pointer casting. Down an inheritance hierarchy
280 */
281 SWIGRUNTIME swig_type_info *
282 SWIG_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 */
295 SWIGRUNTIMEINLINE const char *
296 SWIG_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 */
304 SWIGRUNTIME const char *
305 SWIG_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
321 /*
322 Set the clientdata field for a type
323 */
324 SWIGRUNTIME void
325 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
335 }
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 */
349 SWIGRUNTIME swig_type_info *
350 SWIG_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);
379 }
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 */
394 SWIGRUNTIME swig_type_info *
395 SWIG_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);
414 }
415
416 /* neither found a match */
417 return 0;
418 }
419
420
421 /*
422 Pack binary data into a string
423 */
424 SWIGRUNTIME char *
425 SWIG_PackData(char *c, void *ptr, size_t sz) {
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
429 for (; u != eu; ++u) {
430 register unsigned char uu = *u;
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 */
440 SWIGRUNTIME const char *
441 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
443 register const unsigned char *eu = u + sz;
444 for (; u != eu; ++u) {
445 register char d = *(c++);
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
465 /*
466 Pack 'void *' into a string buffer.
467 */
468 SWIGRUNTIME char *
469 SWIG_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
479 SWIGRUNTIME const char *
480 SWIG_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
492 SWIGRUNTIME char *
493 SWIG_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
507 SWIGRUNTIME const char *
508 SWIG_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 }
519
520 #ifdef __cplusplus
521 }
522 #endif
523
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
527
528 #ifdef __cplusplus
529 extern "C" {
530 #endif
531
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
535
536 #ifndef SWIGINTERN
537 # define SWIGINTERN static SWIGUNUSED
538 #endif
539
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
542 #endif
543
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 */
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
571 /* Constant information structure */
572 typedef 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
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
604 /* Common SWIG API */
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)
608
609
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)
613
614 /* Runtime API */
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617
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
629
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
633
634
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
638 #endif
639
640 #ifdef __cplusplus
641 extern "C" {
642 #endif
643
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
649 #endif
650
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
653 static PyObject *
654 PyString_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
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
675 typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679 } PySwigObject;
680
681 /* Declarations for objects of type PySwigObject */
682
683 SWIGRUNTIME int
684 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
685 {
686 char result[SWIG_BUFFER_SIZE];
687 flags = flags;
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
696 SWIGRUNTIME PyObject *
697 PySwigObject_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
704 SWIGRUNTIME PyObject *
705 PySwigObject_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;
710 }
711
712 SWIGRUNTIME PyObject *
713 PySwigObject_long(PySwigObject *v)
714 {
715 return PyLong_FromVoidPtr(v->ptr);
716 }
717
718 SWIGRUNTIME PyObject *
719 PySwigObject_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;
732 }
733
734 SWIGRUNTIME PyObject *
735 PySwigObject_oct(PySwigObject *v)
736 {
737 return PySwigObject_format("%o",v);
738 }
739
740 SWIGRUNTIME PyObject *
741 PySwigObject_hex(PySwigObject *v)
742 {
743 return PySwigObject_format("%x",v);
744 }
745
746 SWIGRUNTIME int
747 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
748 {
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
751 return (c > 0) ? 1 : -1;
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
756 }
757 }
758
759 SWIGRUNTIME void
760 PySwigObject_dealloc(PySwigObject *self)
761 {
762 PyObject_Del(self);
763 }
764
765 SWIGRUNTIME PyTypeObject*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
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*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
798 #endif
799 };
800
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
805 if (!type_init) {
806 PyTypeObject tmp
807 #endif
808 = {
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
811 (char *)"PySwigObject", /*tp_name*/
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 */
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
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 */
843 #endif
844 #ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846 #endif
847 };
848 #if !defined(__cplusplus)
849 pyswigobject_type = tmp;
850 type_init = 1;
851 }
852 #endif
853 return &pyswigobject_type;
854 }
855
856 SWIGRUNTIME PyObject *
857 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
858 {
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
864 return (PyObject *)self;
865 }
866
867 SWIGRUNTIMEINLINE void *
868 PySwigObject_AsVoidPtr(PyObject *self)
869 {
870 return ((PySwigObject *)self)->ptr;
871 }
872
873 SWIGRUNTIMEINLINE const char *
874 PySwigObject_GetDesc(PyObject *self)
875 {
876 return ((PySwigObject *)self)->desc;
877 }
878
879 SWIGRUNTIMEINLINE int
880 PySwigObject_Check(PyObject *op) {
881 return ((op)->ob_type == PySwigObject_type())
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883 }
884
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889 typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894 } PySwigPacked;
895
896 SWIGRUNTIME int
897 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
898 {
899 char result[SWIG_BUFFER_SIZE];
900 flags = flags;
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
911 SWIGRUNTIME PyObject *
912 PySwigPacked_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 }
921
922 SWIGRUNTIME PyObject *
923 PySwigPacked_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 {
929 return PyString_FromString(v->desc);
930 }
931 }
932
933 SWIGRUNTIME int
934 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935 {
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
938 return (c > 0) ? 1 : -1;
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945 }
946
947 SWIGRUNTIME void
948 PySwigPacked_dealloc(PySwigPacked *self)
949 {
950 free(self->pack);
951 PyObject_Del(self);
952 }
953
954 SWIGRUNTIME PyTypeObject*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
962 if (!type_init) {
963 PyTypeObject tmp
964 #endif
965 = {
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
968 (char *)"PySwigPacked", /*tp_name*/
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 */
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
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 };
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
1007 type_init = 1;
1008 }
1009 #endif
1010 return &pyswigpacked_type;
1011 }
1012
1013 SWIGRUNTIME PyObject *
1014 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015 {
1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
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;
1029 }
1030 }
1031
1032 SWIGRUNTIMEINLINE const char *
1033 PySwigPacked_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
1041 SWIGRUNTIMEINLINE const char *
1042 PySwigPacked_GetDesc(PyObject *self)
1043 {
1044 return ((PySwigPacked *)self)->desc;
1045 }
1046
1047 SWIGRUNTIMEINLINE int
1048 PySwigPacked_Check(PyObject *op) {
1049 return ((op)->ob_type == PySwigPacked_type())
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
1071 SWIGRUNTIME void
1072 SWIG_Python_TypeError(const char *type, PyObject *obj)
1073 {
1074 if (type) {
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj && PySwigObject_Check(obj)) {
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 }
1097 Py_XDECREF(str);
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
1107 SWIGRUNTIMEINLINE void
1108 SWIG_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
1117 SWIGRUNTIME int
1118 SWIG_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
1142 SWIGRUNTIME int
1143 SWIG_Python_ArgFail(int argnum)
1144 {
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
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 */
1161 SWIGRUNTIME int
1162 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1163 swig_cast_info *tc;
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 }
1206 c = PyString_AsString(obj);
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
1213 type_check:
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 }
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226 type_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) {
1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
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 */
1252 SWIGRUNTIME void *
1253 SWIG_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 */
1266 SWIGRUNTIME int
1267 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1268 swig_cast_info *tc;
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;
1275 c = PyString_AsString(obj);
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
1286 type_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 */
1299 SWIGRUNTIME PyObject *
1300 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
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
1338 SWIGRUNTIME PyObject *
1339 SWIG_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
1362 void *SWIG_ReturnGlobalTypeList(void *);
1363 #endif
1364
1365 SWIGRUNTIME swig_module_info *
1366 SWIG_Python_GetModule(void) {
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 }
1379 #endif
1380 }
1381 return (swig_module_info *) type_pointer;
1382 }
1383
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 SWIGINTERN int
1388 PyModule_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;
1413 }
1414 #endif
1415
1416 SWIGRUNTIME void
1417 SWIG_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 }
1427
1428 #ifdef __cplusplus
1429 }
1430 #endif
1431
1432
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1434
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]
1633 static swig_type_info *swig_types[199];
1634 static 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)
1637
1638 /* -------- TYPES TABLE (END) -------- */
1639
1640
1641 /*-----------------------------------------------
1642 @(target):= _html.so
1643 ------------------------------------------------*/
1644 #define SWIG_init init_html
1645
1646 #define SWIG_name "_html"
1647
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>
1656 #include <wx/html/helpwnd.h>
1657 #include <wx/html/helpfrm.h>
1658 #include <wx/html/helpdlg.h>
1659
1660
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"));
1665
1666 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1667 #define SWIG_From_int PyInt_FromLong
1668 /*@@*/
1669
1670
1671 #include <limits.h>
1672
1673
1674 SWIGINTERN int
1675 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1676 const char *errmsg)
1677 {
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);
1690 }
1691 return 0;
1692 }
1693 return 1;
1694 }
1695
1696
1697 SWIGINTERN int
1698 SWIG_AsVal_long(PyObject* obj, long* val)
1699 {
1700 if (PyNumber_Check(obj)) {
1701 if (val) *val = PyInt_AsLong(obj);
1702 return 1;
1703 }
1704 else {
1705 SWIG_Python_TypeError("number", obj);
1706 }
1707 return 0;
1708 }
1709
1710
1711 #if INT_MAX != LONG_MAX
1712 SWIGINTERN int
1713 SWIG_AsVal_int(PyObject *obj, int *val)
1714 {
1715 const char* errmsg = val ? "int" : (char*)0;
1716 long v;
1717 if (SWIG_AsVal_long(obj, &v)) {
1718 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1719 if (val) *val = static_cast<int >(v);
1720 return 1;
1721 } else {
1722 return 0;
1723 }
1724 } else {
1725 PyErr_Clear();
1726 }
1727 if (val) {
1728 SWIG_type_error(errmsg, obj);
1729 }
1730 return 0;
1731 }
1732 #else
1733 SWIGINTERNINLINE int
1734 SWIG_AsVal_int(PyObject *obj, int *val)
1735 {
1736 return SWIG_AsVal_long(obj,(long*)val);
1737 }
1738 #endif
1739
1740
1741 SWIGINTERNINLINE int
1742 SWIG_As_int(PyObject* obj)
1743 {
1744 int v;
1745 if (!SWIG_AsVal_int(obj, &v)) {
1746 /*
1747 this is needed to make valgrind/purify happier.
1748 */
1749 memset((void*)&v, 0, sizeof(int));
1750 }
1751 return v;
1752 }
1753
1754
1755 SWIGINTERNINLINE int
1756 SWIG_Check_int(PyObject* obj)
1757 {
1758 return SWIG_AsVal_int(obj, (int*)0);
1759 }
1760
1761 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
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
1769 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1770 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
1771 public:
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
1783 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1784
1785 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1786 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1787
1788
1789 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1790 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
1791 public:
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
1804 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1805
1806 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1807 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1808
1809
1810
1811 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1812 public:
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() {
1821 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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 }
1828 wxPyEndBlockThreads(blocked);
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
1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1836 PyObject* arg = PyTuple_New(0);
1837 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
1838 Py_DECREF(arg);
1839
1840 // now figure out where it's C++ object is...
1841 wxPyHtmlWinTagHandler* thPtr;
1842 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
1843 wxPyEndBlockThreads(blocked);
1844 return;
1845 }
1846 wxPyEndBlockThreads(blocked);
1847
1848 // add it,
1849 parser->AddTagHandler(thPtr);
1850
1851 // and track it.
1852 m_objArray.Add(obj);
1853 }
1854
1855 private:
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
1869 SWIGINTERNINLINE PyObject*
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
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 }
1902
1903
1904
1905 SWIGINTERN int
1906 SWIG_AsVal_bool(PyObject *obj, bool *val)
1907 {
1908 if (obj == Py_True) {
1909 if (val) *val = true;
1910 return 1;
1911 }
1912 if (obj == Py_False) {
1913 if (val) *val = false;
1914 return 1;
1915 }
1916 int res = 0;
1917 if (SWIG_AsVal_int(obj, &res)) {
1918 if (val) *val = res ? true : false;
1919 return 1;
1920 } else {
1921 PyErr_Clear();
1922 }
1923 if (val) {
1924 SWIG_type_error("bool", obj);
1925 }
1926 return 0;
1927 }
1928
1929
1930 SWIGINTERNINLINE bool
1931 SWIG_As_bool(PyObject* obj)
1932 {
1933 bool v;
1934 if (!SWIG_AsVal_bool(obj, &v)) {
1935 /*
1936 this is needed to make valgrind/purify happier.
1937 */
1938 memset((void*)&v, 0, sizeof(bool));
1939 }
1940 return v;
1941 }
1942
1943
1944 SWIGINTERNINLINE int
1945 SWIG_Check_bool(PyObject* obj)
1946 {
1947 return SWIG_AsVal_bool(obj, (bool*)0);
1948 }
1949
1950
1951 SWIGINTERNINLINE int
1952 SWIG_CheckUnsignedLongInRange(unsigned long value,
1953 unsigned long max_value,
1954 const char *errmsg)
1955 {
1956 if (value > max_value) {
1957 if (errmsg) {
1958 PyErr_Format(PyExc_OverflowError,
1959 "value %lu is greater than '%s' minimum %lu",
1960 value, errmsg, max_value);
1961 }
1962 return 0;
1963 }
1964 return 1;
1965 }
1966
1967
1968 SWIGINTERN int
1969 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1970 {
1971 long v = 0;
1972 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1973 SWIG_Python_TypeError("unsigned number", obj);
1974 }
1975 else if (val)
1976 *val = (unsigned long)v;
1977 return 1;
1978 }
1979
1980
1981 #if UINT_MAX != ULONG_MAX
1982 SWIGINTERN int
1983 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1984 {
1985 const char* errmsg = val ? "unsigned int" : (char*)0;
1986 unsigned long v;
1987 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1988 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1989 if (val) *val = static_cast<unsigned int >(v);
1990 return 1;
1991 }
1992 } else {
1993 PyErr_Clear();
1994 }
1995 if (val) {
1996 SWIG_type_error(errmsg, obj);
1997 }
1998 return 0;
1999 }
2000 #else
2001 SWIGINTERNINLINE unsigned int
2002 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2003 {
2004 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2005 }
2006 #endif
2007
2008
2009 SWIGINTERNINLINE unsigned int
2010 SWIG_As_unsigned_SS_int(PyObject* obj)
2011 {
2012 unsigned int v;
2013 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2014 /*
2015 this is needed to make valgrind/purify happier.
2016 */
2017 memset((void*)&v, 0, sizeof(unsigned int));
2018 }
2019 return v;
2020 }
2021
2022
2023 SWIGINTERNINLINE int
2024 SWIG_Check_unsigned_SS_int(PyObject* obj)
2025 {
2026 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2027 }
2028
2029
2030 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2031 #define SWIG_From_long PyInt_FromLong
2032 /*@@*/
2033
2034
2035 SWIGINTERNINLINE PyObject*
2036 SWIG_From_unsigned_SS_long(unsigned long value)
2037 {
2038 return (value > LONG_MAX) ?
2039 PyLong_FromUnsignedLong(value)
2040 : PyInt_FromLong(static_cast<long >(value));
2041 }
2042
2043
2044 #if UINT_MAX < LONG_MAX
2045 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2046 #define SWIG_From_unsigned_SS_int SWIG_From_long
2047 /*@@*/
2048 #else
2049 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2050 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2051 /*@@*/
2052 #endif
2053
2054 // here's the C++ version
2055 class wxPyHtmlFilter : public wxHtmlFilter {
2056 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
2057 public:
2058 wxPyHtmlFilter() : wxHtmlFilter() {}
2059
2060 // returns True if this filter is able to open&read given file
2061 virtual bool CanRead(const wxFSFile& file) const {
2062 bool rval = false;
2063 bool found;
2064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2065 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
2066 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
2067 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2068 Py_DECREF(obj);
2069 }
2070 wxPyEndBlockThreads(blocked);
2071 return rval;
2072 }
2073
2074
2075 // Reads given file and returns HTML document.
2076 // Returns empty string if opening failed
2077 virtual wxString ReadFile(const wxFSFile& file) const {
2078 wxString rval;
2079 bool found;
2080 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2081 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
2082 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
2083 PyObject* ro;
2084 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
2085 Py_DECREF(obj);
2086 if (ro) {
2087 rval = Py2wxString(ro);
2088 Py_DECREF(ro);
2089 }
2090 }
2091 wxPyEndBlockThreads(blocked);
2092 return rval;
2093 }
2094
2095 PYPRIVATE;
2096 };
2097
2098 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
2099
2100
2101 class wxPyHtmlWindow : public wxHtmlWindow {
2102 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
2103 public:
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
2123 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
2124 const wxString& url,
2125 wxString *redirect) const;
2126
2127 DEC_PYCALLBACK__STRING(OnSetTitle);
2128 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
2129 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
2130 PYPRIVATE;
2131 };
2132
2133 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
2134 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
2135 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
2136 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
2137
2138
2139 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
2140 bool found;
2141 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2142 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
2143 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
2144 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2145 Py_DECREF(obj);
2146 }
2147 wxPyEndBlockThreads(blocked);
2148 if (! found)
2149 wxHtmlWindow::OnLinkClicked(link);
2150 }
2151
2152
2153 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
2154 const wxString& url,
2155 wxString *redirect) const {
2156 bool found;
2157 wxHtmlOpeningStatus rval;
2158 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2159 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
2160 PyObject* ro;
2161 PyObject* s = wx2PyString(url);
2162 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
2163 Py_DECREF(s);
2164 if (PyString_Check(ro)
2165 #if PYTHON_API_VERSION >= 1009
2166 || PyUnicode_Check(ro)
2167 #endif
2168 ) {
2169 *redirect = Py2wxString(ro);
2170 rval = wxHTML_REDIRECT;
2171 }
2172 else {
2173 PyObject* num = PyNumber_Int(ro);
2174 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
2175 Py_DECREF(num);
2176 }
2177 Py_DECREF(ro);
2178 }
2179 wxPyEndBlockThreads(blocked);
2180 if (! found)
2181 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
2182 return rval;
2183 }
2184
2185
2186
2187 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2188 int* temp = NULL;
2189 if (sizes) temp = int_LIST_helper(sizes);
2190 self->SetFonts(normal_face, fixed_face, temp);
2191 if (temp)
2192 delete [] temp;
2193 }
2194 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2195 int* temp = NULL;
2196 if (sizes) temp = int_LIST_helper(sizes);
2197 self->SetFonts(normal_face, fixed_face, temp);
2198 if (temp)
2199 delete [] temp;
2200 }
2201 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2202 int* temp = NULL;
2203 if (sizes) temp = int_LIST_helper(sizes);
2204 self->SetFonts(normal_face, fixed_face, temp);
2205 if (temp)
2206 delete [] temp;
2207 }
2208
2209 #include <float.h>
2210 SWIGINTERN int
2211 SWIG_CheckDoubleInRange(double value, double min_value,
2212 double max_value, const char* errmsg)
2213 {
2214 if (value < min_value) {
2215 if (errmsg) {
2216 PyErr_Format(PyExc_OverflowError,
2217 "value %g is less than %s minimum %g",
2218 value, errmsg, min_value);
2219 }
2220 return 0;
2221 } else if (value > max_value) {
2222 if (errmsg) {
2223 PyErr_Format(PyExc_OverflowError,
2224 "value %g is greater than %s maximum %g",
2225 value, errmsg, max_value);
2226 }
2227 return 0;
2228 }
2229 return 1;
2230 }
2231
2232
2233 SWIGINTERN int
2234 SWIG_AsVal_double(PyObject *obj, double* val)
2235 {
2236 if (PyNumber_Check(obj)) {
2237 if (val) *val = PyFloat_AsDouble(obj);
2238 return 1;
2239 }
2240 else {
2241 SWIG_Python_TypeError("number", obj);
2242 }
2243 return 0;
2244 }
2245
2246
2247 SWIGINTERN int
2248 SWIG_AsVal_float(PyObject *obj, float *val)
2249 {
2250 const char* errmsg = val ? "float" : (char*)0;
2251 double v;
2252 if (SWIG_AsVal_double(obj, &v)) {
2253 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2254 if (val) *val = static_cast<float >(v);
2255 return 1;
2256 } else {
2257 return 0;
2258 }
2259 } else {
2260 PyErr_Clear();
2261 }
2262 if (val) {
2263 SWIG_type_error(errmsg, obj);
2264 }
2265 return 0;
2266 }
2267
2268
2269 SWIGINTERNINLINE float
2270 SWIG_As_float(PyObject* obj)
2271 {
2272 float v;
2273 if (!SWIG_AsVal_float(obj, &v)) {
2274 /*
2275 this is needed to make valgrind/purify happier.
2276 */
2277 memset((void*)&v, 0, sizeof(float));
2278 }
2279 return v;
2280 }
2281
2282
2283 SWIGINTERNINLINE int
2284 SWIG_Check_float(PyObject* obj)
2285 {
2286 return SWIG_AsVal_float(obj, (float*)0);
2287 }
2288
2289 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2290 int* temp = NULL;
2291 if (sizes) temp = int_LIST_helper(sizes);
2292 self->SetFonts(normal_face, fixed_face, temp);
2293 if (temp)
2294 delete [] temp;
2295 }
2296
2297 SWIGINTERNINLINE long
2298 SWIG_As_long(PyObject* obj)
2299 {
2300 long v;
2301 if (!SWIG_AsVal_long(obj, &v)) {
2302 /*
2303 this is needed to make valgrind/purify happier.
2304 */
2305 memset((void*)&v, 0, sizeof(long));
2306 }
2307 return v;
2308 }
2309
2310
2311 SWIGINTERNINLINE int
2312 SWIG_Check_long(PyObject* obj)
2313 {
2314 return SWIG_AsVal_long(obj, (long*)0);
2315 }
2316
2317 #ifdef __cplusplus
2318 extern "C" {
2319 #endif
2320 static int _wrap_HtmlWindowNameStr_set(PyObject *) {
2321 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2322 return 1;
2323 }
2324
2325
2326 static PyObject *_wrap_HtmlWindowNameStr_get(void) {
2327 PyObject *pyobj = NULL;
2328
2329 {
2330 #if wxUSE_UNICODE
2331 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2332 #else
2333 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2334 #endif
2335 }
2336 return pyobj;
2337 }
2338
2339
2340 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
2341 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2342 return 1;
2343 }
2344
2345
2346 static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
2347 PyObject *pyobj = NULL;
2348
2349 {
2350 #if wxUSE_UNICODE
2351 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2352 #else
2353 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2354 #endif
2355 }
2356 return pyobj;
2357 }
2358
2359
2360 static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
2361 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2362 return 1;
2363 }
2364
2365
2366 static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
2367 PyObject *pyobj = NULL;
2368
2369 {
2370 #if wxUSE_UNICODE
2371 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2372 #else
2373 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2374 #endif
2375 }
2376 return pyobj;
2377 }
2378
2379
2380 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2381 PyObject *resultobj = NULL;
2382 wxString *arg1 = 0 ;
2383 wxString const &arg2_defvalue = wxPyEmptyString ;
2384 wxString *arg2 = (wxString *) &arg2_defvalue ;
2385 wxHtmlLinkInfo *result;
2386 bool temp1 = false ;
2387 bool temp2 = false ;
2388 PyObject * obj0 = 0 ;
2389 PyObject * obj1 = 0 ;
2390 char *kwnames[] = {
2391 (char *) "href",(char *) "target", NULL
2392 };
2393
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2395 {
2396 arg1 = wxString_in_helper(obj0);
2397 if (arg1 == NULL) SWIG_fail;
2398 temp1 = true;
2399 }
2400 if (obj1) {
2401 {
2402 arg2 = wxString_in_helper(obj1);
2403 if (arg2 == NULL) SWIG_fail;
2404 temp2 = true;
2405 }
2406 }
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2415 {
2416 if (temp1)
2417 delete arg1;
2418 }
2419 {
2420 if (temp2)
2421 delete arg2;
2422 }
2423 return resultobj;
2424 fail:
2425 {
2426 if (temp1)
2427 delete arg1;
2428 }
2429 {
2430 if (temp2)
2431 delete arg2;
2432 }
2433 return NULL;
2434 }
2435
2436
2437 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
2438 PyObject *resultobj = NULL;
2439 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2440 wxString result;
2441 PyObject * obj0 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self", NULL
2444 };
2445
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
2447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail;
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 result = (arg1)->GetHref();
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 {
2457 #if wxUSE_UNICODE
2458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2459 #else
2460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2461 #endif
2462 }
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj = NULL;
2471 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2472 wxString result;
2473 PyObject * obj0 = 0 ;
2474 char *kwnames[] = {
2475 (char *) "self", NULL
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
2479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2480 if (SWIG_arg_fail(1)) SWIG_fail;
2481 {
2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
2483 result = (arg1)->GetTarget();
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 {
2489 #if wxUSE_UNICODE
2490 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2491 #else
2492 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2493 #endif
2494 }
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj = NULL;
2503 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2504 wxMouseEvent *result;
2505 PyObject * obj0 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
2511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2512 if (SWIG_arg_fail(1)) SWIG_fail;
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = (wxMouseEvent *)(arg1)->GetEvent();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 {
2521 resultobj = wxPyMake_wxObject(result, (bool)0);
2522 }
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj = NULL;
2531 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2532 wxHtmlCell *result;
2533 PyObject * obj0 = 0 ;
2534 char *kwnames[] = {
2535 (char *) "self", NULL
2536 };
2537
2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
2539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2540 if (SWIG_arg_fail(1)) SWIG_fail;
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
2549 return resultobj;
2550 fail:
2551 return NULL;
2552 }
2553
2554
2555 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj = NULL;
2557 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2558 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2559 PyObject * obj0 = 0 ;
2560 PyObject * obj1 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "self",(char *) "e", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
2566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2567 if (SWIG_arg_fail(1)) SWIG_fail;
2568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2569 if (SWIG_arg_fail(2)) SWIG_fail;
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 Py_INCREF(Py_None); resultobj = Py_None;
2578 return resultobj;
2579 fail:
2580 return NULL;
2581 }
2582
2583
2584 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj = NULL;
2586 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2587 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2588 PyObject * obj0 = 0 ;
2589 PyObject * obj1 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self",(char *) "e", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
2595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2596 if (SWIG_arg_fail(1)) SWIG_fail;
2597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2598 if (SWIG_arg_fail(2)) SWIG_fail;
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 Py_INCREF(Py_None); resultobj = Py_None;
2607 return resultobj;
2608 fail:
2609 return NULL;
2610 }
2611
2612
2613 static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
2614 PyObject *obj;
2615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2616 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2617 Py_INCREF(obj);
2618 return Py_BuildValue((char *)"");
2619 }
2620 static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
2621 PyObject *resultobj = NULL;
2622 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2623 wxString result;
2624 PyObject * obj0 = 0 ;
2625 char *kwnames[] = {
2626 (char *) "self", NULL
2627 };
2628
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
2630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2631 if (SWIG_arg_fail(1)) SWIG_fail;
2632 {
2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
2634 result = (arg1)->GetName();
2635
2636 wxPyEndAllowThreads(__tstate);
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
2639 {
2640 #if wxUSE_UNICODE
2641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2642 #else
2643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2644 #endif
2645 }
2646 return resultobj;
2647 fail:
2648 return NULL;
2649 }
2650
2651
2652 static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
2653 PyObject *resultobj = NULL;
2654 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2655 wxString *arg2 = 0 ;
2656 bool result;
2657 bool temp2 = false ;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self",(char *) "par", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
2665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2666 if (SWIG_arg_fail(1)) SWIG_fail;
2667 {
2668 arg2 = wxString_in_helper(obj1);
2669 if (arg2 == NULL) SWIG_fail;
2670 temp2 = true;
2671 }
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 {
2680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2681 }
2682 {
2683 if (temp2)
2684 delete arg2;
2685 }
2686 return resultobj;
2687 fail:
2688 {
2689 if (temp2)
2690 delete arg2;
2691 }
2692 return NULL;
2693 }
2694
2695
2696 static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
2697 PyObject *resultobj = NULL;
2698 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2699 wxString *arg2 = 0 ;
2700 int arg3 = (int) false ;
2701 wxString result;
2702 bool temp2 = false ;
2703 PyObject * obj0 = 0 ;
2704 PyObject * obj1 = 0 ;
2705 PyObject * obj2 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
2711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2712 if (SWIG_arg_fail(1)) SWIG_fail;
2713 {
2714 arg2 = wxString_in_helper(obj1);
2715 if (arg2 == NULL) SWIG_fail;
2716 temp2 = true;
2717 }
2718 if (obj2) {
2719 {
2720 arg3 = static_cast<int >(SWIG_As_int(obj2));
2721 if (SWIG_arg_fail(3)) SWIG_fail;
2722 }
2723 }
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 {
2732 #if wxUSE_UNICODE
2733 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2734 #else
2735 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2736 #endif
2737 }
2738 {
2739 if (temp2)
2740 delete arg2;
2741 }
2742 return resultobj;
2743 fail:
2744 {
2745 if (temp2)
2746 delete arg2;
2747 }
2748 return NULL;
2749 }
2750
2751
2752 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj = NULL;
2754 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2755 wxString result;
2756 PyObject * obj0 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "self", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
2762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2763 if (SWIG_arg_fail(1)) SWIG_fail;
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 result = (arg1)->GetAllParams();
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 {
2772 #if wxUSE_UNICODE
2773 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2774 #else
2775 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2776 #endif
2777 }
2778 return resultobj;
2779 fail:
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj = NULL;
2786 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2787 bool result;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
2794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2795 if (SWIG_arg_fail(1)) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 result = (bool)(arg1)->HasEnding();
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 {
2804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2805 }
2806 return resultobj;
2807 fail:
2808 return NULL;
2809 }
2810
2811
2812 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj = NULL;
2814 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2815 int result;
2816 PyObject * obj0 = 0 ;
2817 char *kwnames[] = {
2818 (char *) "self", NULL
2819 };
2820
2821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
2822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2823 if (SWIG_arg_fail(1)) SWIG_fail;
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 result = (int)(arg1)->GetBeginPos();
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 {
2832 resultobj = SWIG_From_int(static_cast<int >(result));
2833 }
2834 return resultobj;
2835 fail:
2836 return NULL;
2837 }
2838
2839
2840 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj = NULL;
2842 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2843 int result;
2844 PyObject * obj0 = 0 ;
2845 char *kwnames[] = {
2846 (char *) "self", NULL
2847 };
2848
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
2850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2851 if (SWIG_arg_fail(1)) SWIG_fail;
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
2854 result = (int)(arg1)->GetEndPos1();
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 {
2860 resultobj = SWIG_From_int(static_cast<int >(result));
2861 }
2862 return resultobj;
2863 fail:
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj = NULL;
2870 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2871 int result;
2872 PyObject * obj0 = 0 ;
2873 char *kwnames[] = {
2874 (char *) "self", NULL
2875 };
2876
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
2878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2879 if (SWIG_arg_fail(1)) SWIG_fail;
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 result = (int)(arg1)->GetEndPos2();
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 resultobj = SWIG_From_int(static_cast<int >(result));
2889 }
2890 return resultobj;
2891 fail:
2892 return NULL;
2893 }
2894
2895
2896 static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
2897 PyObject *obj;
2898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2899 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2900 Py_INCREF(obj);
2901 return Py_BuildValue((char *)"");
2902 }
2903 static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2904 PyObject *resultobj = NULL;
2905 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2906 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2907 PyObject * obj0 = 0 ;
2908 PyObject * obj1 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self",(char *) "fs", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
2914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail;
2916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2917 if (SWIG_arg_fail(2)) SWIG_fail;
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 (arg1)->SetFS(arg2);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 Py_INCREF(Py_None); resultobj = Py_None;
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj = NULL;
2934 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2935 wxFileSystem *result;
2936 PyObject * obj0 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
2942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2943 if (SWIG_arg_fail(1)) SWIG_fail;
2944 {
2945 PyThreadState* __tstate = wxPyBeginAllowThreads();
2946 result = (wxFileSystem *)(arg1)->GetFS();
2947
2948 wxPyEndAllowThreads(__tstate);
2949 if (PyErr_Occurred()) SWIG_fail;
2950 }
2951 {
2952 resultobj = wxPyMake_wxObject(result, (bool)0);
2953 }
2954 return resultobj;
2955 fail:
2956 return NULL;
2957 }
2958
2959
2960 static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj = NULL;
2962 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2963 wxString *arg2 = 0 ;
2964 wxObject *result;
2965 bool temp2 = false ;
2966 PyObject * obj0 = 0 ;
2967 PyObject * obj1 = 0 ;
2968 char *kwnames[] = {
2969 (char *) "self",(char *) "source", NULL
2970 };
2971
2972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
2973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2974 if (SWIG_arg_fail(1)) SWIG_fail;
2975 {
2976 arg2 = wxString_in_helper(obj1);
2977 if (arg2 == NULL) SWIG_fail;
2978 temp2 = true;
2979 }
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 {
2988 resultobj = wxPyMake_wxObject(result, (bool)0);
2989 }
2990 {
2991 if (temp2)
2992 delete arg2;
2993 }
2994 return resultobj;
2995 fail:
2996 {
2997 if (temp2)
2998 delete arg2;
2999 }
3000 return NULL;
3001 }
3002
3003
3004 static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj = NULL;
3006 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3007 wxString *arg2 = 0 ;
3008 bool temp2 = false ;
3009 PyObject * obj0 = 0 ;
3010 PyObject * obj1 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self",(char *) "source", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
3016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3017 if (SWIG_arg_fail(1)) SWIG_fail;
3018 {
3019 arg2 = wxString_in_helper(obj1);
3020 if (arg2 == NULL) SWIG_fail;
3021 temp2 = true;
3022 }
3023 {
3024 PyThreadState* __tstate = wxPyBeginAllowThreads();
3025 (arg1)->InitParser((wxString const &)*arg2);
3026
3027 wxPyEndAllowThreads(__tstate);
3028 if (PyErr_Occurred()) SWIG_fail;
3029 }
3030 Py_INCREF(Py_None); resultobj = Py_None;
3031 {
3032 if (temp2)
3033 delete arg2;
3034 }
3035 return resultobj;
3036 fail:
3037 {
3038 if (temp2)
3039 delete arg2;
3040 }
3041 return NULL;
3042 }
3043
3044
3045 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
3046 PyObject *resultobj = NULL;
3047 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3048 PyObject * obj0 = 0 ;
3049 char *kwnames[] = {
3050 (char *) "self", NULL
3051 };
3052
3053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
3054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3055 if (SWIG_arg_fail(1)) SWIG_fail;
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 (arg1)->DoneParser();
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 Py_INCREF(Py_None); resultobj = Py_None;
3064 return resultobj;
3065 fail:
3066 return NULL;
3067 }
3068
3069
3070 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
3071 PyObject *resultobj = NULL;
3072 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3073 int arg2 ;
3074 int arg3 ;
3075 PyObject * obj0 = 0 ;
3076 PyObject * obj1 = 0 ;
3077 PyObject * obj2 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
3080 };
3081
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
3083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail;
3085 {
3086 arg2 = static_cast<int >(SWIG_As_int(obj1));
3087 if (SWIG_arg_fail(2)) SWIG_fail;
3088 }
3089 {
3090 arg3 = static_cast<int >(SWIG_As_int(obj2));
3091 if (SWIG_arg_fail(3)) SWIG_fail;
3092 }
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 (arg1)->DoParsing(arg2,arg3);
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 Py_INCREF(Py_None); resultobj = Py_None;
3101 return resultobj;
3102 fail:
3103 return NULL;
3104 }
3105
3106
3107 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj = NULL;
3109 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3110 PyObject * obj0 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
3116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3117 if (SWIG_arg_fail(1)) SWIG_fail;
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 (arg1)->StopParsing();
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 Py_INCREF(Py_None); resultobj = Py_None;
3126 return resultobj;
3127 fail:
3128 return NULL;
3129 }
3130
3131
3132 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3133 PyObject *resultobj = NULL;
3134 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3135 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3136 PyObject * obj0 = 0 ;
3137 PyObject * obj1 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self",(char *) "handler", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
3143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3144 if (SWIG_arg_fail(1)) SWIG_fail;
3145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3146 if (SWIG_arg_fail(2)) SWIG_fail;
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 (arg1)->AddTagHandler(arg2);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 Py_INCREF(Py_None); resultobj = Py_None;
3155 return resultobj;
3156 fail:
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj = NULL;
3163 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3164 wxString *result;
3165 PyObject * obj0 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
3171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail;
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = (wxString *)(arg1)->GetSource();
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 {
3181 #if wxUSE_UNICODE
3182 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3183 #else
3184 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3185 #endif
3186 }
3187 return resultobj;
3188 fail:
3189 return NULL;
3190 }
3191
3192
3193 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj = NULL;
3195 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3196 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3197 wxString arg3 ;
3198 PyObject * obj0 = 0 ;
3199 PyObject * obj1 = 0 ;
3200 PyObject * obj2 = 0 ;
3201 char *kwnames[] = {
3202 (char *) "self",(char *) "handler",(char *) "tags", NULL
3203 };
3204
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
3206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3207 if (SWIG_arg_fail(1)) SWIG_fail;
3208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3209 if (SWIG_arg_fail(2)) SWIG_fail;
3210 {
3211 wxString* sptr = wxString_in_helper(obj2);
3212 if (sptr == NULL) SWIG_fail;
3213 arg3 = *sptr;
3214 delete sptr;
3215 }
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
3218 (arg1)->PushTagHandler(arg2,arg3);
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj = NULL;
3232 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3233 PyObject * obj0 = 0 ;
3234 char *kwnames[] = {
3235 (char *) "self", NULL
3236 };
3237
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
3239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3240 if (SWIG_arg_fail(1)) SWIG_fail;
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 (arg1)->PopTagHandler();
3244
3245 wxPyEndAllowThreads(__tstate);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
3248 Py_INCREF(Py_None); resultobj = Py_None;
3249 return resultobj;
3250 fail:
3251 return NULL;
3252 }
3253
3254
3255 static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
3256 PyObject *obj;
3257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3258 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3259 Py_INCREF(obj);
3260 return Py_BuildValue((char *)"");
3261 }
3262 static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
3263 PyObject *resultobj = NULL;
3264 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3265 wxHtmlWinParser *result;
3266 PyObject * obj0 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "wnd", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3272 if (obj0) {
3273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3274 if (SWIG_arg_fail(1)) SWIG_fail;
3275 }
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj = NULL;
3292 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3293 wxDC *arg2 = (wxDC *) 0 ;
3294 PyObject * obj0 = 0 ;
3295 PyObject * obj1 = 0 ;
3296 char *kwnames[] = {
3297 (char *) "self",(char *) "dc", NULL
3298 };
3299
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
3301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3302 if (SWIG_arg_fail(1)) SWIG_fail;
3303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3304 if (SWIG_arg_fail(2)) SWIG_fail;
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->SetDC(arg2);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 return resultobj;
3314 fail:
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj = NULL;
3321 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3322 wxDC *result;
3323 PyObject * obj0 = 0 ;
3324 char *kwnames[] = {
3325 (char *) "self", NULL
3326 };
3327
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
3329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3330 if (SWIG_arg_fail(1)) SWIG_fail;
3331 {
3332 PyThreadState* __tstate = wxPyBeginAllowThreads();
3333 result = (wxDC *)(arg1)->GetDC();
3334
3335 wxPyEndAllowThreads(__tstate);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 {
3339 resultobj = wxPyMake_wxObject(result, (bool)0);
3340 }
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj = NULL;
3349 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3350 int result;
3351 PyObject * obj0 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "self", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
3357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3358 if (SWIG_arg_fail(1)) SWIG_fail;
3359 {
3360 PyThreadState* __tstate = wxPyBeginAllowThreads();
3361 result = (int)(arg1)->GetCharHeight();
3362
3363 wxPyEndAllowThreads(__tstate);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 {
3367 resultobj = SWIG_From_int(static_cast<int >(result));
3368 }
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj = NULL;
3377 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3378 int result;
3379 PyObject * obj0 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
3385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail;
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = (int)(arg1)->GetCharWidth();
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 {
3395 resultobj = SWIG_From_int(static_cast<int >(result));
3396 }
3397 return resultobj;
3398 fail:
3399 return NULL;
3400 }
3401
3402
3403 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3404 PyObject *resultobj = NULL;
3405 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3406 wxPyHtmlWindow *result;
3407 PyObject * obj0 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
3413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3414 if (SWIG_arg_fail(1)) SWIG_fail;
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 {
3423 resultobj = wxPyMake_wxObject(result, (bool)0);
3424 }
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj = NULL;
3433 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3434 wxString arg2 ;
3435 wxString arg3 ;
3436 PyObject *arg4 = (PyObject *) NULL ;
3437 PyObject * obj0 = 0 ;
3438 PyObject * obj1 = 0 ;
3439 PyObject * obj2 = 0 ;
3440 PyObject * obj3 = 0 ;
3441 char *kwnames[] = {
3442 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3443 };
3444
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3447 if (SWIG_arg_fail(1)) SWIG_fail;
3448 {
3449 wxString* sptr = wxString_in_helper(obj1);
3450 if (sptr == NULL) SWIG_fail;
3451 arg2 = *sptr;
3452 delete sptr;
3453 }
3454 {
3455 wxString* sptr = wxString_in_helper(obj2);
3456 if (sptr == NULL) SWIG_fail;
3457 arg3 = *sptr;
3458 delete sptr;
3459 }
3460 if (obj3) {
3461 arg4 = obj3;
3462 }
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 Py_INCREF(Py_None); resultobj = Py_None;
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3478 PyObject *resultobj = NULL;
3479 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3480 int arg2 = (int) -1 ;
3481 wxString const &arg3_defvalue = wxPyEmptyString ;
3482 wxString *arg3 = (wxString *) &arg3_defvalue ;
3483 wxString const &arg4_defvalue = wxPyEmptyString ;
3484 wxString *arg4 = (wxString *) &arg4_defvalue ;
3485 bool temp3 = false ;
3486 bool temp4 = false ;
3487 PyObject * obj0 = 0 ;
3488 PyObject * obj1 = 0 ;
3489 PyObject * obj2 = 0 ;
3490 PyObject * obj3 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3497 if (SWIG_arg_fail(1)) SWIG_fail;
3498 if (obj1) {
3499 {
3500 arg2 = static_cast<int >(SWIG_As_int(obj1));
3501 if (SWIG_arg_fail(2)) SWIG_fail;
3502 }
3503 }
3504 if (obj2) {
3505 {
3506 arg3 = wxString_in_helper(obj2);
3507 if (arg3 == NULL) SWIG_fail;
3508 temp3 = true;
3509 }
3510 }
3511 if (obj3) {
3512 {
3513 arg4 = wxString_in_helper(obj3);
3514 if (arg4 == NULL) SWIG_fail;
3515 temp4 = true;
3516 }
3517 }
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 Py_INCREF(Py_None); resultobj = Py_None;
3526 {
3527 if (temp3)
3528 delete arg3;
3529 }
3530 {
3531 if (temp4)
3532 delete arg4;
3533 }
3534 return resultobj;
3535 fail:
3536 {
3537 if (temp3)
3538 delete arg3;
3539 }
3540 {
3541 if (temp4)
3542 delete arg4;
3543 }
3544 return NULL;
3545 }
3546
3547
3548 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3549 PyObject *resultobj = NULL;
3550 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3551 wxHtmlContainerCell *result;
3552 PyObject * obj0 = 0 ;
3553 char *kwnames[] = {
3554 (char *) "self", NULL
3555 };
3556
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
3558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3559 if (SWIG_arg_fail(1)) SWIG_fail;
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3568 return resultobj;
3569 fail:
3570 return NULL;
3571 }
3572
3573
3574 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3575 PyObject *resultobj = NULL;
3576 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3577 wxHtmlContainerCell *result;
3578 PyObject * obj0 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
3584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3585 if (SWIG_arg_fail(1)) SWIG_fail;
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3594 return resultobj;
3595 fail:
3596 return NULL;
3597 }
3598
3599
3600 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3601 PyObject *resultobj = NULL;
3602 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3603 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3604 wxHtmlContainerCell *result;
3605 PyObject * obj0 = 0 ;
3606 PyObject * obj1 = 0 ;
3607 char *kwnames[] = {
3608 (char *) "self",(char *) "c", NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
3612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3613 if (SWIG_arg_fail(1)) SWIG_fail;
3614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3615 if (SWIG_arg_fail(2)) SWIG_fail;
3616 {
3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
3618 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3619
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
3623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3624 return resultobj;
3625 fail:
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj = NULL;
3632 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3633 wxHtmlContainerCell *result;
3634 PyObject * obj0 = 0 ;
3635 char *kwnames[] = {
3636 (char *) "self", NULL
3637 };
3638
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
3640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3641 if (SWIG_arg_fail(1)) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj = NULL;
3658 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3659 int result;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
3666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = (int)(arg1)->GetFontSize();
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 {
3676 resultobj = SWIG_From_int(static_cast<int >(result));
3677 }
3678 return resultobj;
3679 fail:
3680 return NULL;
3681 }
3682
3683
3684 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj = NULL;
3686 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3687 int arg2 ;
3688 PyObject * obj0 = 0 ;
3689 PyObject * obj1 = 0 ;
3690 char *kwnames[] = {
3691 (char *) "self",(char *) "s", NULL
3692 };
3693
3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
3695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3696 if (SWIG_arg_fail(1)) SWIG_fail;
3697 {
3698 arg2 = static_cast<int >(SWIG_As_int(obj1));
3699 if (SWIG_arg_fail(2)) SWIG_fail;
3700 }
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 (arg1)->SetFontSize(arg2);
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 Py_INCREF(Py_None); resultobj = Py_None;
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj = NULL;
3717 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3718 int result;
3719 PyObject * obj0 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "self", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
3725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3726 if (SWIG_arg_fail(1)) SWIG_fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = (int)(arg1)->GetFontBold();
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 {
3735 resultobj = SWIG_From_int(static_cast<int >(result));
3736 }
3737 return resultobj;
3738 fail:
3739 return NULL;
3740 }
3741
3742
3743 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj = NULL;
3745 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3746 int arg2 ;
3747 PyObject * obj0 = 0 ;
3748 PyObject * obj1 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self",(char *) "x", NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
3754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3755 if (SWIG_arg_fail(1)) SWIG_fail;
3756 {
3757 arg2 = static_cast<int >(SWIG_As_int(obj1));
3758 if (SWIG_arg_fail(2)) SWIG_fail;
3759 }
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 (arg1)->SetFontBold(arg2);
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 Py_INCREF(Py_None); resultobj = Py_None;
3768 return resultobj;
3769 fail:
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj = NULL;
3776 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3777 int result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
3784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3785 if (SWIG_arg_fail(1)) SWIG_fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (int)(arg1)->GetFontItalic();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 {
3794 resultobj = SWIG_From_int(static_cast<int >(result));
3795 }
3796 return resultobj;
3797 fail:
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj = NULL;
3804 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3805 int arg2 ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self",(char *) "x", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
3813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail;
3815 {
3816 arg2 = static_cast<int >(SWIG_As_int(obj1));
3817 if (SWIG_arg_fail(2)) SWIG_fail;
3818 }
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->SetFontItalic(arg2);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830 }
3831
3832
3833 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj = NULL;
3835 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3836 int result;
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
3843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3844 if (SWIG_arg_fail(1)) SWIG_fail;
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (int)(arg1)->GetFontUnderlined();
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 {
3853 resultobj = SWIG_From_int(static_cast<int >(result));
3854 }
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj = NULL;
3863 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3864 int arg2 ;
3865 PyObject * obj0 = 0 ;
3866 PyObject * obj1 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self",(char *) "x", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
3872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3873 if (SWIG_arg_fail(1)) SWIG_fail;
3874 {
3875 arg2 = static_cast<int >(SWIG_As_int(obj1));
3876 if (SWIG_arg_fail(2)) SWIG_fail;
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->SetFontUnderlined(arg2);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 return resultobj;
3887 fail:
3888 return NULL;
3889 }
3890
3891
3892 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3893 PyObject *resultobj = NULL;
3894 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3895 int result;
3896 PyObject * obj0 = 0 ;
3897 char *kwnames[] = {
3898 (char *) "self", NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
3902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3903 if (SWIG_arg_fail(1)) SWIG_fail;
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = (int)(arg1)->GetFontFixed();
3907
3908 wxPyEndAllowThreads(__tstate);
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 {
3912 resultobj = SWIG_From_int(static_cast<int >(result));
3913 }
3914 return resultobj;
3915 fail:
3916 return NULL;
3917 }
3918
3919
3920 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj = NULL;
3922 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3923 int arg2 ;
3924 PyObject * obj0 = 0 ;
3925 PyObject * obj1 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self",(char *) "x", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
3931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3932 if (SWIG_arg_fail(1)) SWIG_fail;
3933 {
3934 arg2 = static_cast<int >(SWIG_As_int(obj1));
3935 if (SWIG_arg_fail(2)) SWIG_fail;
3936 }
3937 {
3938 PyThreadState* __tstate = wxPyBeginAllowThreads();
3939 (arg1)->SetFontFixed(arg2);
3940
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 Py_INCREF(Py_None); resultobj = Py_None;
3945 return resultobj;
3946 fail:
3947 return NULL;
3948 }
3949
3950
3951 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3952 PyObject *resultobj = NULL;
3953 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3954 int result;
3955 PyObject * obj0 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "self", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
3961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail;
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = (int)(arg1)->GetAlign();
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 {
3971 resultobj = SWIG_From_int(static_cast<int >(result));
3972 }
3973 return resultobj;
3974 fail:
3975 return NULL;
3976 }
3977
3978
3979 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj = NULL;
3981 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3982 int arg2 ;
3983 PyObject * obj0 = 0 ;
3984 PyObject * obj1 = 0 ;
3985 char *kwnames[] = {
3986 (char *) "self",(char *) "a", NULL
3987 };
3988
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
3990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3991 if (SWIG_arg_fail(1)) SWIG_fail;
3992 {
3993 arg2 = static_cast<int >(SWIG_As_int(obj1));
3994 if (SWIG_arg_fail(2)) SWIG_fail;
3995 }
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 (arg1)->SetAlign(arg2);
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 Py_INCREF(Py_None); resultobj = Py_None;
4004 return resultobj;
4005 fail:
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj = NULL;
4012 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4013 wxColour result;
4014 PyObject * obj0 = 0 ;
4015 char *kwnames[] = {
4016 (char *) "self", NULL
4017 };
4018
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
4020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4021 if (SWIG_arg_fail(1)) SWIG_fail;
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 result = (arg1)->GetLinkColor();
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 {
4030 wxColour * resultptr;
4031 resultptr = new wxColour(static_cast<wxColour & >(result));
4032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4033 }
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj = NULL;
4042 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4043 wxColour *arg2 = 0 ;
4044 wxColour temp2 ;
4045 PyObject * obj0 = 0 ;
4046 PyObject * obj1 = 0 ;
4047 char *kwnames[] = {
4048 (char *) "self",(char *) "clr", NULL
4049 };
4050
4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
4052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4053 if (SWIG_arg_fail(1)) SWIG_fail;
4054 {
4055 arg2 = &temp2;
4056 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4057 }
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->SetLinkColor((wxColour const &)*arg2);
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 Py_INCREF(Py_None); resultobj = Py_None;
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj = NULL;
4074 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4075 wxColour result;
4076 PyObject * obj0 = 0 ;
4077 char *kwnames[] = {
4078 (char *) "self", NULL
4079 };
4080
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
4082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4083 if (SWIG_arg_fail(1)) SWIG_fail;
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (arg1)->GetActualColor();
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 {
4092 wxColour * resultptr;
4093 resultptr = new wxColour(static_cast<wxColour & >(result));
4094 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4095 }
4096 return resultobj;
4097 fail:
4098 return NULL;
4099 }
4100
4101
4102 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj = NULL;
4104 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4105 wxColour *arg2 = 0 ;
4106 wxColour temp2 ;
4107 PyObject * obj0 = 0 ;
4108 PyObject * obj1 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self",(char *) "clr", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
4114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4115 if (SWIG_arg_fail(1)) SWIG_fail;
4116 {
4117 arg2 = &temp2;
4118 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4119 }
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 (arg1)->SetActualColor((wxColour const &)*arg2);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 Py_INCREF(Py_None); resultobj = Py_None;
4128 return resultobj;
4129 fail:
4130 return NULL;
4131 }
4132
4133
4134 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj = NULL;
4136 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4137 wxString *arg2 = 0 ;
4138 bool temp2 = false ;
4139 PyObject * obj0 = 0 ;
4140 PyObject * obj1 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self",(char *) "link", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
4146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4147 if (SWIG_arg_fail(1)) SWIG_fail;
4148 {
4149 arg2 = wxString_in_helper(obj1);
4150 if (arg2 == NULL) SWIG_fail;
4151 temp2 = true;
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 (arg1)->SetLink((wxString const &)*arg2);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 Py_INCREF(Py_None); resultobj = Py_None;
4161 {
4162 if (temp2)
4163 delete arg2;
4164 }
4165 return resultobj;
4166 fail:
4167 {
4168 if (temp2)
4169 delete arg2;
4170 }
4171 return NULL;
4172 }
4173
4174
4175 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
4176 PyObject *resultobj = NULL;
4177 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4178 wxFont *result;
4179 PyObject * obj0 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
4185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail;
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = (wxFont *)(arg1)->CreateCurrentFont();
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
4195 return resultobj;
4196 fail:
4197 return NULL;
4198 }
4199
4200
4201 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj = NULL;
4203 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4204 SwigValueWrapper<wxHtmlLinkInfo > result;
4205 PyObject * obj0 = 0 ;
4206 char *kwnames[] = {
4207 (char *) "self", NULL
4208 };
4209
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
4211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4212 if (SWIG_arg_fail(1)) SWIG_fail;
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (arg1)->GetLink();
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 {
4221 wxHtmlLinkInfo * resultptr;
4222 resultptr = new wxHtmlLinkInfo(static_cast<wxHtmlLinkInfo & >(result));
4223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
4224 }
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
4232 PyObject *obj;
4233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4234 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
4235 Py_INCREF(obj);
4236 return Py_BuildValue((char *)"");
4237 }
4238 static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = NULL;
4240 wxPyHtmlTagHandler *result;
4241 char *kwnames[] = {
4242 NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
4253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
4254 return resultobj;
4255 fail:
4256 return NULL;
4257 }
4258
4259
4260 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4261 PyObject *resultobj = NULL;
4262 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4263 PyObject *arg2 = (PyObject *) 0 ;
4264 PyObject *arg3 = (PyObject *) 0 ;
4265 PyObject * obj0 = 0 ;
4266 PyObject * obj1 = 0 ;
4267 PyObject * obj2 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self",(char *) "self",(char *) "_class", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4274 if (SWIG_arg_fail(1)) SWIG_fail;
4275 arg2 = obj1;
4276 arg3 = obj2;
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 (arg1)->_setCallbackInfo(arg2,arg3);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 Py_INCREF(Py_None); resultobj = Py_None;
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj = NULL;
4293 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4294 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4295 PyObject * obj0 = 0 ;
4296 PyObject * obj1 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self",(char *) "parser", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4303 if (SWIG_arg_fail(1)) SWIG_fail;
4304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4305 if (SWIG_arg_fail(2)) SWIG_fail;
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 (arg1)->SetParser(arg2);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 Py_INCREF(Py_None); resultobj = Py_None;
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj = NULL;
4322 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4323 wxHtmlParser *result;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
4330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail;
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (wxHtmlParser *)(arg1)->GetParser();
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
4340 return resultobj;
4341 fail:
4342 return NULL;
4343 }
4344
4345
4346 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj = NULL;
4348 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4349 wxHtmlTag *arg2 = 0 ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self",(char *) "tag", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4358 if (SWIG_arg_fail(1)) SWIG_fail;
4359 {
4360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4361 if (SWIG_arg_fail(2)) SWIG_fail;
4362 if (arg2 == NULL) {
4363 SWIG_null_ref("wxHtmlTag");
4364 }
4365 if (SWIG_arg_fail(2)) SWIG_fail;
4366 }
4367 {
4368 PyThreadState* __tstate = wxPyBeginAllowThreads();
4369 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4370
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4374 Py_INCREF(Py_None); resultobj = Py_None;
4375 return resultobj;
4376 fail:
4377 return NULL;
4378 }
4379
4380
4381 static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
4382 PyObject *obj;
4383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4384 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4385 Py_INCREF(obj);
4386 return Py_BuildValue((char *)"");
4387 }
4388 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4389 PyObject *resultobj = NULL;
4390 wxPyHtmlWinTagHandler *result;
4391 char *kwnames[] = {
4392 NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
4404 return resultobj;
4405 fail:
4406 return NULL;
4407 }
4408
4409
4410 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4411 PyObject *resultobj = NULL;
4412 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4413 PyObject *arg2 = (PyObject *) 0 ;
4414 PyObject *arg3 = (PyObject *) 0 ;
4415 PyObject * obj0 = 0 ;
4416 PyObject * obj1 = 0 ;
4417 PyObject * obj2 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "self",(char *) "_class", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4424 if (SWIG_arg_fail(1)) SWIG_fail;
4425 arg2 = obj1;
4426 arg3 = obj2;
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->_setCallbackInfo(arg2,arg3);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 Py_INCREF(Py_None); resultobj = Py_None;
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj = NULL;
4443 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4444 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self",(char *) "parser", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail;
4454 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4455 if (SWIG_arg_fail(2)) SWIG_fail;
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 (arg1)->SetParser(arg2);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 Py_INCREF(Py_None); resultobj = Py_None;
4464 return resultobj;
4465 fail:
4466 return NULL;
4467 }
4468
4469
4470 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj = NULL;
4472 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4473 wxHtmlWinParser *result;
4474 PyObject * obj0 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "self", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
4480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4481 if (SWIG_arg_fail(1)) SWIG_fail;
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (wxHtmlWinParser *)(arg1)->GetParser();
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
4490 return resultobj;
4491 fail:
4492 return NULL;
4493 }
4494
4495
4496 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj = NULL;
4498 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4499 wxHtmlTag *arg2 = 0 ;
4500 PyObject * obj0 = 0 ;
4501 PyObject * obj1 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self",(char *) "tag", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail;
4509 {
4510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4511 if (SWIG_arg_fail(2)) SWIG_fail;
4512 if (arg2 == NULL) {
4513 SWIG_null_ref("wxHtmlTag");
4514 }
4515 if (SWIG_arg_fail(2)) SWIG_fail;
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
4532 PyObject *obj;
4533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4534 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4535 Py_INCREF(obj);
4536 return Py_BuildValue((char *)"");
4537 }
4538 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj = NULL;
4540 PyObject *arg1 = (PyObject *) 0 ;
4541 PyObject * obj0 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "tagHandlerClass", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4547 arg1 = obj0;
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 wxHtmlWinParser_AddTagHandler(arg1);
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 Py_INCREF(Py_None); resultobj = Py_None;
4556 return resultobj;
4557 fail:
4558 return NULL;
4559 }
4560
4561
4562 static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4563 PyObject *resultobj = NULL;
4564 wxHtmlSelection *result;
4565 char *kwnames[] = {
4566 NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 result = (wxHtmlSelection *)new wxHtmlSelection();
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
4578 return resultobj;
4579 fail:
4580 return NULL;
4581 }
4582
4583
4584 static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4585 PyObject *resultobj = NULL;
4586 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4587 PyObject * obj0 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
4593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail;
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 delete arg1;
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 Py_INCREF(Py_None); resultobj = Py_None;
4603 return resultobj;
4604 fail:
4605 return NULL;
4606 }
4607
4608
4609 static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj = NULL;
4611 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4612 wxPoint *arg2 = 0 ;
4613 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4614 wxPoint *arg4 = 0 ;
4615 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4616 wxPoint temp2 ;
4617 wxPoint temp4 ;
4618 PyObject * obj0 = 0 ;
4619 PyObject * obj1 = 0 ;
4620 PyObject * obj2 = 0 ;
4621 PyObject * obj3 = 0 ;
4622 PyObject * obj4 = 0 ;
4623 char *kwnames[] = {
4624 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4625 };
4626
4627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4629 if (SWIG_arg_fail(1)) SWIG_fail;
4630 {
4631 arg2 = &temp2;
4632 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4633 }
4634 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4635 if (SWIG_arg_fail(3)) SWIG_fail;
4636 {
4637 arg4 = &temp4;
4638 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4639 }
4640 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4641 if (SWIG_arg_fail(5)) SWIG_fail;
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4645
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 Py_INCREF(Py_None); resultobj = Py_None;
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj = NULL;
4658 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4659 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4660 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj1 = 0 ;
4663 PyObject * obj2 = 0 ;
4664 char *kwnames[] = {
4665 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
4669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4670 if (SWIG_arg_fail(1)) SWIG_fail;
4671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4672 if (SWIG_arg_fail(2)) SWIG_fail;
4673 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4674 if (SWIG_arg_fail(3)) SWIG_fail;
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
4677 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 Py_INCREF(Py_None); resultobj = Py_None;
4683 return resultobj;
4684 fail:
4685 return NULL;
4686 }
4687
4688
4689 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
4690 PyObject *resultobj = NULL;
4691 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4692 wxHtmlCell *result;
4693 PyObject * obj0 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "self", NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
4699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4700 if (SWIG_arg_fail(1)) SWIG_fail;
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
4716 PyObject *resultobj = NULL;
4717 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4718 wxHtmlCell *result;
4719 PyObject * obj0 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
4725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
4742 PyObject *resultobj = NULL;
4743 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4744 wxPoint *result;
4745 PyObject * obj0 = 0 ;
4746 char *kwnames[] = {
4747 (char *) "self", NULL
4748 };
4749
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
4751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4752 if (SWIG_arg_fail(1)) SWIG_fail;
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 {
4756 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4757 result = (wxPoint *) &_result_ref;
4758 }
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj = NULL;
4772 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4773 wxPoint *result;
4774 PyObject * obj0 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
4780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4781 if (SWIG_arg_fail(1)) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 {
4785 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4786 result = (wxPoint *) &_result_ref;
4787 }
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj = NULL;
4801 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4802 wxPoint *result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
4809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4810 if (SWIG_arg_fail(1)) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 {
4814 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4815 result = (wxPoint *) &_result_ref;
4816 }
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4822 return resultobj;
4823 fail:
4824 return NULL;
4825 }
4826
4827
4828 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj = NULL;
4830 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4831 wxPoint *result;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 {
4843 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4844 result = (wxPoint *) &_result_ref;
4845 }
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4851 return resultobj;
4852 fail:
4853 return NULL;
4854 }
4855
4856
4857 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4858 PyObject *resultobj = NULL;
4859 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4860 wxPoint *arg2 = 0 ;
4861 wxPoint temp2 ;
4862 PyObject * obj0 = 0 ;
4863 PyObject * obj1 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "self",(char *) "pos", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
4869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4870 if (SWIG_arg_fail(1)) SWIG_fail;
4871 {
4872 arg2 = &temp2;
4873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 Py_INCREF(Py_None); resultobj = Py_None;
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj = NULL;
4891 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4892 wxPoint *arg2 = 0 ;
4893 wxPoint temp2 ;
4894 PyObject * obj0 = 0 ;
4895 PyObject * obj1 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self",(char *) "pos", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
4901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4902 if (SWIG_arg_fail(1)) SWIG_fail;
4903 {
4904 arg2 = &temp2;
4905 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4906 }
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 Py_INCREF(Py_None); resultobj = Py_None;
4915 return resultobj;
4916 fail:
4917 return NULL;
4918 }
4919
4920
4921 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4922 PyObject *resultobj = NULL;
4923 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4924 PyObject * obj0 = 0 ;
4925 char *kwnames[] = {
4926 (char *) "self", NULL
4927 };
4928
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
4930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4931 if (SWIG_arg_fail(1)) SWIG_fail;
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 (arg1)->ClearPrivPos();
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 Py_INCREF(Py_None); resultobj = Py_None;
4940 return resultobj;
4941 fail:
4942 return NULL;
4943 }
4944
4945
4946 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj = NULL;
4948 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4949 bool result;
4950 PyObject * obj0 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
4956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail;
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4961
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 {
4966 resultobj = SWIG_From_bool(static_cast<bool >(result));
4967 }
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
4975 PyObject *obj;
4976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4977 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4978 Py_INCREF(obj);
4979 return Py_BuildValue((char *)"");
4980 }
4981 static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
4982 PyObject *resultobj = NULL;
4983 wxHtmlRenderingState *result;
4984 char *kwnames[] = {
4985 NULL
4986 };
4987
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4992
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
4997 return resultobj;
4998 fail:
4999 return NULL;
5000 }
5001
5002
5003 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
5004 PyObject *resultobj = NULL;
5005 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5006 PyObject * obj0 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
5012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5013 if (SWIG_arg_fail(1)) SWIG_fail;
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 delete arg1;
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 Py_INCREF(Py_None); resultobj = Py_None;
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj = NULL;
5030 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5031 wxHtmlSelectionState arg2 ;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "s", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
5039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail;
5041 {
5042 arg2 = static_cast<wxHtmlSelectionState >(SWIG_As_int(obj1));
5043 if (SWIG_arg_fail(2)) SWIG_fail;
5044 }
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 (arg1)->SetSelectionState(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 Py_INCREF(Py_None); resultobj = Py_None;
5053 return resultobj;
5054 fail:
5055 return NULL;
5056 }
5057
5058
5059 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj = NULL;
5061 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5062 wxHtmlSelectionState result;
5063 PyObject * obj0 = 0 ;
5064 char *kwnames[] = {
5065 (char *) "self", NULL
5066 };
5067
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
5069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail;
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 resultobj = SWIG_From_int((result));
5079 return resultobj;
5080 fail:
5081 return NULL;
5082 }
5083
5084
5085 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj = NULL;
5087 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5088 wxColour *arg2 = 0 ;
5089 wxColour temp2 ;
5090 PyObject * obj0 = 0 ;
5091 PyObject * obj1 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "self",(char *) "c", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
5097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5098 if (SWIG_arg_fail(1)) SWIG_fail;
5099 {
5100 arg2 = &temp2;
5101 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5102 }
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetFgColour((wxColour const &)*arg2);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj = NULL;
5119 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5120 wxColour *result;
5121 PyObject * obj0 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
5127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5128 if (SWIG_arg_fail(1)) SWIG_fail;
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 {
5132 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
5133 result = (wxColour *) &_result_ref;
5134 }
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj = NULL;
5148 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5149 wxColour *arg2 = 0 ;
5150 wxColour temp2 ;
5151 PyObject * obj0 = 0 ;
5152 PyObject * obj1 = 0 ;
5153 char *kwnames[] = {
5154 (char *) "self",(char *) "c", NULL
5155 };
5156
5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
5158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5159 if (SWIG_arg_fail(1)) SWIG_fail;
5160 {
5161 arg2 = &temp2;
5162 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5163 }
5164 {
5165 PyThreadState* __tstate = wxPyBeginAllowThreads();
5166 (arg1)->SetBgColour((wxColour const &)*arg2);
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 Py_INCREF(Py_None); resultobj = Py_None;
5172 return resultobj;
5173 fail:
5174 return NULL;
5175 }
5176
5177
5178 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5179 PyObject *resultobj = NULL;
5180 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5181 wxColour *result;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
5188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail;
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 {
5193 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
5194 result = (wxColour *) &_result_ref;
5195 }
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
5201 return resultobj;
5202 fail:
5203 return NULL;
5204 }
5205
5206
5207 static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
5208 PyObject *obj;
5209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5210 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
5211 Py_INCREF(obj);
5212 return Py_BuildValue((char *)"");
5213 }
5214 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
5215 PyObject *resultobj = NULL;
5216 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5217 wxColour *arg2 = 0 ;
5218 wxColour result;
5219 wxColour temp2 ;
5220 PyObject * obj0 = 0 ;
5221 PyObject * obj1 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self",(char *) "clr", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
5227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5228 if (SWIG_arg_fail(1)) SWIG_fail;
5229 {
5230 arg2 = &temp2;
5231 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5232 }
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 {
5241 wxColour * resultptr;
5242 resultptr = new wxColour(static_cast<wxColour & >(result));
5243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5244 }
5245 return resultobj;
5246 fail:
5247 return NULL;
5248 }
5249
5250
5251 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj = NULL;
5253 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5254 wxColour *arg2 = 0 ;
5255 wxColour result;
5256 wxColour temp2 ;
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self",(char *) "clr", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5265 if (SWIG_arg_fail(1)) SWIG_fail;
5266 {
5267 arg2 = &temp2;
5268 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5269 }
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 {
5278 wxColour * resultptr;
5279 resultptr = new wxColour(static_cast<wxColour & >(result));
5280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5281 }
5282 return resultobj;
5283 fail:
5284 return NULL;
5285 }
5286
5287
5288 static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5289 PyObject *obj;
5290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5291 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5292 Py_INCREF(obj);
5293 return Py_BuildValue((char *)"");
5294 }
5295 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj = NULL;
5297 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5298 wxColour *arg2 = 0 ;
5299 wxColour result;
5300 wxColour temp2 ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self",(char *) "clr", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
5308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail;
5310 {
5311 arg2 = &temp2;
5312 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 {
5322 wxColour * resultptr;
5323 resultptr = new wxColour(static_cast<wxColour & >(result));
5324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5325 }
5326 return resultobj;
5327 fail:
5328 return NULL;
5329 }
5330
5331
5332 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj = NULL;
5334 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5335 wxColour *arg2 = 0 ;
5336 wxColour result;
5337 wxColour temp2 ;
5338 PyObject * obj0 = 0 ;
5339 PyObject * obj1 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "self",(char *) "clr", NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5346 if (SWIG_arg_fail(1)) SWIG_fail;
5347 {
5348 arg2 = &temp2;
5349 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5350 }
5351 {
5352 PyThreadState* __tstate = wxPyBeginAllowThreads();
5353 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5354
5355 wxPyEndAllowThreads(__tstate);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 {
5359 wxColour * resultptr;
5360 resultptr = new wxColour(static_cast<wxColour & >(result));
5361 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5362 }
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5370 PyObject *obj;
5371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5372 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5373 Py_INCREF(obj);
5374 return Py_BuildValue((char *)"");
5375 }
5376 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj = NULL;
5378 wxHtmlRenderingInfo *result;
5379 char *kwnames[] = {
5380 NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
5392 return resultobj;
5393 fail:
5394 return NULL;
5395 }
5396
5397
5398 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5399 PyObject *resultobj = NULL;
5400 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5401 PyObject * obj0 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
5407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail;
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 delete arg1;
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 Py_INCREF(Py_None); resultobj = Py_None;
5417 return resultobj;
5418 fail:
5419 return NULL;
5420 }
5421
5422
5423 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5424 PyObject *resultobj = NULL;
5425 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5426 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "s", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
5434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail;
5436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(2)) SWIG_fail;
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 (arg1)->SetSelection(arg2);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 Py_INCREF(Py_None); resultobj = Py_None;
5446 return resultobj;
5447 fail:
5448 return NULL;
5449 }
5450
5451
5452 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj = NULL;
5454 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5455 wxHtmlSelection *result;
5456 PyObject * obj0 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
5462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5463 if (SWIG_arg_fail(1)) SWIG_fail;
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5479 PyObject *resultobj = NULL;
5480 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5481 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self",(char *) "style", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
5489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5490 if (SWIG_arg_fail(1)) SWIG_fail;
5491 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(2)) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 (arg1)->SetStyle(arg2);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 Py_INCREF(Py_None); resultobj = Py_None;
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj = NULL;
5509 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5510 wxHtmlRenderingStyle *result;
5511 PyObject * obj0 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
5517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5518 if (SWIG_arg_fail(1)) SWIG_fail;
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 {
5522 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5523 result = (wxHtmlRenderingStyle *) &_result_ref;
5524 }
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj = NULL;
5538 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5539 wxHtmlRenderingState *result;
5540 PyObject * obj0 = 0 ;
5541 char *kwnames[] = {
5542 (char *) "self", NULL
5543 };
5544
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
5546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5547 if (SWIG_arg_fail(1)) SWIG_fail;
5548 {
5549 PyThreadState* __tstate = wxPyBeginAllowThreads();
5550 {
5551 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5552 result = (wxHtmlRenderingState *) &_result_ref;
5553 }
5554
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 }
5558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
5559 return resultobj;
5560 fail:
5561 return NULL;
5562 }
5563
5564
5565 static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
5566 PyObject *obj;
5567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5568 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5569 Py_INCREF(obj);
5570 return Py_BuildValue((char *)"");
5571 }
5572 static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj = NULL;
5574 wxHtmlCell *result;
5575 char *kwnames[] = {
5576 NULL
5577 };
5578
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (wxHtmlCell *)new wxHtmlCell();
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj = NULL;
5596 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5597 int result;
5598 PyObject * obj0 = 0 ;
5599 char *kwnames[] = {
5600 (char *) "self", NULL
5601 };
5602
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
5604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5605 if (SWIG_arg_fail(1)) SWIG_fail;
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 result = (int)(arg1)->GetPosX();
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 {
5614 resultobj = SWIG_From_int(static_cast<int >(result));
5615 }
5616 return resultobj;
5617 fail:
5618 return NULL;
5619 }
5620
5621
5622 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj = NULL;
5624 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5625 int result;
5626 PyObject * obj0 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
5632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5633 if (SWIG_arg_fail(1)) SWIG_fail;
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 result = (int)(arg1)->GetPosY();
5637
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 {
5642 resultobj = SWIG_From_int(static_cast<int >(result));
5643 }
5644 return resultobj;
5645 fail:
5646 return NULL;
5647 }
5648
5649
5650 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5651 PyObject *resultobj = NULL;
5652 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5653 int result;
5654 PyObject * obj0 = 0 ;
5655 char *kwnames[] = {
5656 (char *) "self", NULL
5657 };
5658
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
5660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail;
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 result = (int)(arg1)->GetWidth();
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 {
5670 resultobj = SWIG_From_int(static_cast<int >(result));
5671 }
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj = NULL;
5680 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5681 int result;
5682 PyObject * obj0 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "self", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
5688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail;
5690 {
5691 PyThreadState* __tstate = wxPyBeginAllowThreads();
5692 result = (int)(arg1)->GetHeight();
5693
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 {
5698 resultobj = SWIG_From_int(static_cast<int >(result));
5699 }
5700 return resultobj;
5701 fail:
5702 return NULL;
5703 }
5704
5705
5706 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
5707 PyObject *resultobj = NULL;
5708 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5709 int result;
5710 PyObject * obj0 = 0 ;
5711 char *kwnames[] = {
5712 (char *) "self", NULL
5713 };
5714
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
5716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5717 if (SWIG_arg_fail(1)) SWIG_fail;
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = (int)(arg1)->GetDescent();
5721
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 {
5726 resultobj = SWIG_From_int(static_cast<int >(result));
5727 }
5728 return resultobj;
5729 fail:
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj = NULL;
5736 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5737 int result;
5738 PyObject * obj0 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
5744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5745 if (SWIG_arg_fail(1)) SWIG_fail;
5746 {
5747 PyThreadState* __tstate = wxPyBeginAllowThreads();
5748 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5749
5750 wxPyEndAllowThreads(__tstate);
5751 if (PyErr_Occurred()) SWIG_fail;
5752 }
5753 {
5754 resultobj = SWIG_From_int(static_cast<int >(result));
5755 }
5756 return resultobj;
5757 fail:
5758 return NULL;
5759 }
5760
5761
5762 static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
5763 PyObject *resultobj = NULL;
5764 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5765 wxString *result;
5766 PyObject * obj0 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
5772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail;
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 {
5777 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5778 result = (wxString *) &_result_ref;
5779 }
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 {
5785 #if wxUSE_UNICODE
5786 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5787 #else
5788 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5789 #endif
5790 }
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj = NULL;
5799 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5800 wxString *arg2 = 0 ;
5801 bool temp2 = false ;
5802 PyObject * obj0 = 0 ;
5803 PyObject * obj1 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "id", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
5809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5810 if (SWIG_arg_fail(1)) SWIG_fail;
5811 {
5812 arg2 = wxString_in_helper(obj1);
5813 if (arg2 == NULL) SWIG_fail;
5814 temp2 = true;
5815 }
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 (arg1)->SetId((wxString const &)*arg2);
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 Py_INCREF(Py_None); resultobj = Py_None;
5824 {
5825 if (temp2)
5826 delete arg2;
5827 }
5828 return resultobj;
5829 fail:
5830 {
5831 if (temp2)
5832 delete arg2;
5833 }
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj = NULL;
5840 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5841 int arg2 = (int) 0 ;
5842 int arg3 = (int) 0 ;
5843 wxHtmlLinkInfo *result;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 PyObject * obj2 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "self",(char *) "x",(char *) "y", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
5852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5853 if (SWIG_arg_fail(1)) SWIG_fail;
5854 if (obj1) {
5855 {
5856 arg2 = static_cast<int >(SWIG_As_int(obj1));
5857 if (SWIG_arg_fail(2)) SWIG_fail;
5858 }
5859 }
5860 if (obj2) {
5861 {
5862 arg3 = static_cast<int >(SWIG_As_int(obj2));
5863 if (SWIG_arg_fail(3)) SWIG_fail;
5864 }
5865 }
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
5873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
5874 return resultobj;
5875 fail:
5876 return NULL;
5877 }
5878
5879
5880 static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj = NULL;
5882 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5883 wxHtmlCell *result;
5884 PyObject * obj0 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
5890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5891 if (SWIG_arg_fail(1)) SWIG_fail;
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 result = (wxHtmlCell *)(arg1)->GetNext();
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
5899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5900 return resultobj;
5901 fail:
5902 return NULL;
5903 }
5904
5905
5906 static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj = NULL;
5908 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5909 wxHtmlContainerCell *result;
5910 PyObject * obj0 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
5916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5917 if (SWIG_arg_fail(1)) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
5933 PyObject *resultobj = NULL;
5934 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5935 wxHtmlCell *result;
5936 PyObject * obj0 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "self", NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
5942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail;
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5952 return resultobj;
5953 fail:
5954 return NULL;
5955 }
5956
5957
5958 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj = NULL;
5960 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5961 wxCursor result;
5962 PyObject * obj0 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "self", NULL
5965 };
5966
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
5968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail;
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 result = ((wxHtmlCell const *)arg1)->GetCursor();
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 {
5978 wxCursor * resultptr;
5979 resultptr = new wxCursor(static_cast<wxCursor & >(result));
5980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
5981 }
5982 return resultobj;
5983 fail:
5984 return NULL;
5985 }
5986
5987
5988 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj = NULL;
5990 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5991 bool result;
5992 PyObject * obj0 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
5998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5999 if (SWIG_arg_fail(1)) SWIG_fail;
6000 {
6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6002 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
6003
6004 wxPyEndAllowThreads(__tstate);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
6007 {
6008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6009 }
6010 return resultobj;
6011 fail:
6012 return NULL;
6013 }
6014
6015
6016 static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj = NULL;
6018 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6019 wxHtmlLinkInfo *arg2 = 0 ;
6020 PyObject * obj0 = 0 ;
6021 PyObject * obj1 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self",(char *) "link", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
6027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6028 if (SWIG_arg_fail(1)) SWIG_fail;
6029 {
6030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
6031 if (SWIG_arg_fail(2)) SWIG_fail;
6032 if (arg2 == NULL) {
6033 SWIG_null_ref("wxHtmlLinkInfo");
6034 }
6035 if (SWIG_arg_fail(2)) SWIG_fail;
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 Py_INCREF(Py_None); resultobj = Py_None;
6045 return resultobj;
6046 fail:
6047 return NULL;
6048 }
6049
6050
6051 static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj = NULL;
6053 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6054 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6055 PyObject * obj0 = 0 ;
6056 PyObject * obj1 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "cell", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
6062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6063 if (SWIG_arg_fail(1)) SWIG_fail;
6064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6065 if (SWIG_arg_fail(2)) SWIG_fail;
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 (arg1)->SetNext(arg2);
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 Py_INCREF(Py_None); resultobj = Py_None;
6074 return resultobj;
6075 fail:
6076 return NULL;
6077 }
6078
6079
6080 static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj = NULL;
6082 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6083 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
6084 PyObject * obj0 = 0 ;
6085 PyObject * obj1 = 0 ;
6086 char *kwnames[] = {
6087 (char *) "self",(char *) "p", NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
6091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6092 if (SWIG_arg_fail(1)) SWIG_fail;
6093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6094 if (SWIG_arg_fail(2)) SWIG_fail;
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 (arg1)->SetParent(arg2);
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 Py_INCREF(Py_None); resultobj = Py_None;
6103 return resultobj;
6104 fail:
6105 return NULL;
6106 }
6107
6108
6109 static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj = NULL;
6111 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6112 int arg2 ;
6113 int arg3 ;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 PyObject * obj2 = 0 ;
6117 char *kwnames[] = {
6118 (char *) "self",(char *) "x",(char *) "y", NULL
6119 };
6120
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
6122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6123 if (SWIG_arg_fail(1)) SWIG_fail;
6124 {
6125 arg2 = static_cast<int >(SWIG_As_int(obj1));
6126 if (SWIG_arg_fail(2)) SWIG_fail;
6127 }
6128 {
6129 arg3 = static_cast<int >(SWIG_As_int(obj2));
6130 if (SWIG_arg_fail(3)) SWIG_fail;
6131 }
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 (arg1)->SetPos(arg2,arg3);
6135
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 Py_INCREF(Py_None); resultobj = Py_None;
6140 return resultobj;
6141 fail:
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj = NULL;
6148 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6149 int arg2 ;
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "w", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
6157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6158 if (SWIG_arg_fail(1)) SWIG_fail;
6159 {
6160 arg2 = static_cast<int >(SWIG_As_int(obj1));
6161 if (SWIG_arg_fail(2)) SWIG_fail;
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->Layout(arg2);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 Py_INCREF(Py_None); resultobj = Py_None;
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj = NULL;
6179 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6180 wxDC *arg2 = 0 ;
6181 int arg3 ;
6182 int arg4 ;
6183 int arg5 ;
6184 int arg6 ;
6185 wxHtmlRenderingInfo *arg7 = 0 ;
6186 PyObject * obj0 = 0 ;
6187 PyObject * obj1 = 0 ;
6188 PyObject * obj2 = 0 ;
6189 PyObject * obj3 = 0 ;
6190 PyObject * obj4 = 0 ;
6191 PyObject * obj5 = 0 ;
6192 PyObject * obj6 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6199 if (SWIG_arg_fail(1)) SWIG_fail;
6200 {
6201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6202 if (SWIG_arg_fail(2)) SWIG_fail;
6203 if (arg2 == NULL) {
6204 SWIG_null_ref("wxDC");
6205 }
6206 if (SWIG_arg_fail(2)) SWIG_fail;
6207 }
6208 {
6209 arg3 = static_cast<int >(SWIG_As_int(obj2));
6210 if (SWIG_arg_fail(3)) SWIG_fail;
6211 }
6212 {
6213 arg4 = static_cast<int >(SWIG_As_int(obj3));
6214 if (SWIG_arg_fail(4)) SWIG_fail;
6215 }
6216 {
6217 arg5 = static_cast<int >(SWIG_As_int(obj4));
6218 if (SWIG_arg_fail(5)) SWIG_fail;
6219 }
6220 {
6221 arg6 = static_cast<int >(SWIG_As_int(obj5));
6222 if (SWIG_arg_fail(6)) SWIG_fail;
6223 }
6224 {
6225 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6226 if (SWIG_arg_fail(7)) SWIG_fail;
6227 if (arg7 == NULL) {
6228 SWIG_null_ref("wxHtmlRenderingInfo");
6229 }
6230 if (SWIG_arg_fail(7)) SWIG_fail;
6231 }
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 Py_INCREF(Py_None); resultobj = Py_None;
6240 return resultobj;
6241 fail:
6242 return NULL;
6243 }
6244
6245
6246 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj = NULL;
6248 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6249 wxDC *arg2 = 0 ;
6250 int arg3 ;
6251 int arg4 ;
6252 wxHtmlRenderingInfo *arg5 = 0 ;
6253 PyObject * obj0 = 0 ;
6254 PyObject * obj1 = 0 ;
6255 PyObject * obj2 = 0 ;
6256 PyObject * obj3 = 0 ;
6257 PyObject * obj4 = 0 ;
6258 char *kwnames[] = {
6259 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6260 };
6261
6262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6264 if (SWIG_arg_fail(1)) SWIG_fail;
6265 {
6266 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6267 if (SWIG_arg_fail(2)) SWIG_fail;
6268 if (arg2 == NULL) {
6269 SWIG_null_ref("wxDC");
6270 }
6271 if (SWIG_arg_fail(2)) SWIG_fail;
6272 }
6273 {
6274 arg3 = static_cast<int >(SWIG_As_int(obj2));
6275 if (SWIG_arg_fail(3)) SWIG_fail;
6276 }
6277 {
6278 arg4 = static_cast<int >(SWIG_As_int(obj3));
6279 if (SWIG_arg_fail(4)) SWIG_fail;
6280 }
6281 {
6282 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6283 if (SWIG_arg_fail(5)) SWIG_fail;
6284 if (arg5 == NULL) {
6285 SWIG_null_ref("wxHtmlRenderingInfo");
6286 }
6287 if (SWIG_arg_fail(5)) SWIG_fail;
6288 }
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 Py_INCREF(Py_None); resultobj = Py_None;
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj = NULL;
6305 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6306 int arg2 ;
6307 void *arg3 = (void *) 0 ;
6308 wxHtmlCell *result;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 PyObject * obj2 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self",(char *) "condition",(char *) "param", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
6317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6318 if (SWIG_arg_fail(1)) SWIG_fail;
6319 {
6320 arg2 = static_cast<int >(SWIG_As_int(obj1));
6321 if (SWIG_arg_fail(2)) SWIG_fail;
6322 }
6323 {
6324 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6325 SWIG_arg_fail(3);SWIG_fail;
6326 }
6327 }
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6336 return resultobj;
6337 fail:
6338 return NULL;
6339 }
6340
6341
6342 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6343 PyObject *resultobj = NULL;
6344 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6345 int *arg2 = (int *) 0 ;
6346 bool result;
6347 int temp2 ;
6348 int res2 = 0 ;
6349 PyObject * obj0 = 0 ;
6350 PyObject * obj1 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self",(char *) "INOUT", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
6356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6357 if (SWIG_arg_fail(1)) SWIG_fail;
6358 {
6359 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6360 temp2 = SWIG_As_int(obj1);
6361 if (SWIG_arg_fail(2)) SWIG_fail;
6362 arg2 = &temp2;
6363 res2 = SWIG_NEWOBJ;
6364 }
6365 }
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 result = (bool)(arg1)->AdjustPagebreak(arg2);
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 {
6374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6375 }
6376 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6377 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj = NULL;
6386 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6387 bool arg2 ;
6388 PyObject * obj0 = 0 ;
6389 PyObject * obj1 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "self",(char *) "can", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
6395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6396 if (SWIG_arg_fail(1)) SWIG_fail;
6397 {
6398 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6399 if (SWIG_arg_fail(2)) SWIG_fail;
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 (arg1)->SetCanLiveOnPagebreak(arg2);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 Py_INCREF(Py_None); resultobj = Py_None;
6409 return resultobj;
6410 fail:
6411 return NULL;
6412 }
6413
6414
6415 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj = NULL;
6417 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6418 bool result;
6419 PyObject * obj0 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
6425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6426 if (SWIG_arg_fail(1)) SWIG_fail;
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6430
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) SWIG_fail;
6433 }
6434 {
6435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6436 }
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj = NULL;
6445 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6446 bool result;
6447 PyObject * obj0 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
6453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6454 if (SWIG_arg_fail(1)) SWIG_fail;
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6464 }
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj = NULL;
6473 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6474 int arg2 ;
6475 int arg3 ;
6476 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6477 wxHtmlCell *result;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 PyObject * obj2 = 0 ;
6481 PyObject * obj3 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6488 if (SWIG_arg_fail(1)) SWIG_fail;
6489 {
6490 arg2 = static_cast<int >(SWIG_As_int(obj1));
6491 if (SWIG_arg_fail(2)) SWIG_fail;
6492 }
6493 {
6494 arg3 = static_cast<int >(SWIG_As_int(obj2));
6495 if (SWIG_arg_fail(3)) SWIG_fail;
6496 }
6497 if (obj3) {
6498 {
6499 arg4 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj3));
6500 if (SWIG_arg_fail(4)) SWIG_fail;
6501 }
6502 }
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6511 return resultobj;
6512 fail:
6513 return NULL;
6514 }
6515
6516
6517 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj = NULL;
6519 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6520 wxPoint result;
6521 PyObject * obj0 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
6527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail;
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 {
6537 wxPoint * resultptr;
6538 resultptr = new wxPoint(static_cast<wxPoint & >(result));
6539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6540 }
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj = NULL;
6549 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6550 wxHtmlCell *result;
6551 PyObject * obj0 = 0 ;
6552 char *kwnames[] = {
6553 (char *) "self", NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
6557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6558 if (SWIG_arg_fail(1)) SWIG_fail;
6559 {
6560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6561 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6562
6563 wxPyEndAllowThreads(__tstate);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6567 return resultobj;
6568 fail:
6569 return NULL;
6570 }
6571
6572
6573 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj = NULL;
6575 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6576 wxHtmlCell *result;
6577 PyObject * obj0 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
6583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6584 if (SWIG_arg_fail(1)) SWIG_fail;
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj = NULL;
6601 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6602 unsigned int result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
6609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6610 if (SWIG_arg_fail(1)) SWIG_fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
6620 }
6621 return resultobj;
6622 fail:
6623 return NULL;
6624 }
6625
6626
6627 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj = NULL;
6629 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6630 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6631 bool result;
6632 PyObject * obj0 = 0 ;
6633 PyObject * obj1 = 0 ;
6634 char *kwnames[] = {
6635 (char *) "self",(char *) "cell", NULL
6636 };
6637
6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
6639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6640 if (SWIG_arg_fail(1)) SWIG_fail;
6641 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6642 if (SWIG_arg_fail(2)) SWIG_fail;
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 {
6651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6652 }
6653 return resultobj;
6654 fail:
6655 return NULL;
6656 }
6657
6658
6659 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj = NULL;
6661 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6662 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6663 wxString result;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "self",(char *) "sel", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
6671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6672 if (SWIG_arg_fail(1)) SWIG_fail;
6673 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6674 if (SWIG_arg_fail(2)) SWIG_fail;
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 {
6683 #if wxUSE_UNICODE
6684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6685 #else
6686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6687 #endif
6688 }
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
6696 PyObject *obj;
6697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6698 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6699 Py_INCREF(obj);
6700 return Py_BuildValue((char *)"");
6701 }
6702 static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj = NULL;
6704 wxString *arg1 = 0 ;
6705 wxDC *arg2 = 0 ;
6706 wxHtmlWordCell *result;
6707 bool temp1 = false ;
6708 PyObject * obj0 = 0 ;
6709 PyObject * obj1 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "word",(char *) "dc", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6715 {
6716 arg1 = wxString_in_helper(obj0);
6717 if (arg1 == NULL) SWIG_fail;
6718 temp1 = true;
6719 }
6720 {
6721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6722 if (SWIG_arg_fail(2)) SWIG_fail;
6723 if (arg2 == NULL) {
6724 SWIG_null_ref("wxDC");
6725 }
6726 if (SWIG_arg_fail(2)) SWIG_fail;
6727 }
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
6736 {
6737 if (temp1)
6738 delete arg1;
6739 }
6740 return resultobj;
6741 fail:
6742 {
6743 if (temp1)
6744 delete arg1;
6745 }
6746 return NULL;
6747 }
6748
6749
6750 static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
6751 PyObject *obj;
6752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6753 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6754 Py_INCREF(obj);
6755 return Py_BuildValue((char *)"");
6756 }
6757 static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj = NULL;
6759 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6760 wxHtmlContainerCell *result;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "parent", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
6767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
6777 return resultobj;
6778 fail:
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj = NULL;
6785 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6786 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6787 PyObject * obj0 = 0 ;
6788 PyObject * obj1 = 0 ;
6789 char *kwnames[] = {
6790 (char *) "self",(char *) "cell", NULL
6791 };
6792
6793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
6794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6795 if (SWIG_arg_fail(1)) SWIG_fail;
6796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6797 if (SWIG_arg_fail(2)) SWIG_fail;
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->InsertCell(arg2);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 return resultobj;
6807 fail:
6808 return NULL;
6809 }
6810
6811
6812 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj = NULL;
6814 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6815 int arg2 ;
6816 PyObject * obj0 = 0 ;
6817 PyObject * obj1 = 0 ;
6818 char *kwnames[] = {
6819 (char *) "self",(char *) "al", NULL
6820 };
6821
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
6823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6824 if (SWIG_arg_fail(1)) SWIG_fail;
6825 {
6826 arg2 = static_cast<int >(SWIG_As_int(obj1));
6827 if (SWIG_arg_fail(2)) SWIG_fail;
6828 }
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 (arg1)->SetAlignHor(arg2);
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 Py_INCREF(Py_None); resultobj = Py_None;
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj = NULL;
6845 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6846 int result;
6847 PyObject * obj0 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
6853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail;
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 result = (int)(arg1)->GetAlignHor();
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 {
6863 resultobj = SWIG_From_int(static_cast<int >(result));
6864 }
6865 return resultobj;
6866 fail:
6867 return NULL;
6868 }
6869
6870
6871 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
6872 PyObject *resultobj = NULL;
6873 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6874 int arg2 ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "al", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
6882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6883 if (SWIG_arg_fail(1)) SWIG_fail;
6884 {
6885 arg2 = static_cast<int >(SWIG_As_int(obj1));
6886 if (SWIG_arg_fail(2)) SWIG_fail;
6887 }
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 (arg1)->SetAlignVer(arg2);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 Py_INCREF(Py_None); resultobj = Py_None;
6896 return resultobj;
6897 fail:
6898 return NULL;
6899 }
6900
6901
6902 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj = NULL;
6904 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6905 int result;
6906 PyObject * obj0 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
6912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail;
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = (int)(arg1)->GetAlignVer();
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 {
6922 resultobj = SWIG_From_int(static_cast<int >(result));
6923 }
6924 return resultobj;
6925 fail:
6926 return NULL;
6927 }
6928
6929
6930 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj = NULL;
6932 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6933 int arg2 ;
6934 int arg3 ;
6935 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6936 PyObject * obj0 = 0 ;
6937 PyObject * obj1 = 0 ;
6938 PyObject * obj2 = 0 ;
6939 PyObject * obj3 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6946 if (SWIG_arg_fail(1)) SWIG_fail;
6947 {
6948 arg2 = static_cast<int >(SWIG_As_int(obj1));
6949 if (SWIG_arg_fail(2)) SWIG_fail;
6950 }
6951 {
6952 arg3 = static_cast<int >(SWIG_As_int(obj2));
6953 if (SWIG_arg_fail(3)) SWIG_fail;
6954 }
6955 if (obj3) {
6956 {
6957 arg4 = static_cast<int >(SWIG_As_int(obj3));
6958 if (SWIG_arg_fail(4)) SWIG_fail;
6959 }
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->SetIndent(arg2,arg3,arg4);
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 Py_INCREF(Py_None); resultobj = Py_None;
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj = NULL;
6977 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6978 int arg2 ;
6979 int result;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self",(char *) "ind", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
6987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6988 if (SWIG_arg_fail(1)) SWIG_fail;
6989 {
6990 arg2 = static_cast<int >(SWIG_As_int(obj1));
6991 if (SWIG_arg_fail(2)) SWIG_fail;
6992 }
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 result = (int)(arg1)->GetIndent(arg2);
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 resultobj = SWIG_From_int(static_cast<int >(result));
7002 }
7003 return resultobj;
7004 fail:
7005 return NULL;
7006 }
7007
7008
7009 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj = NULL;
7011 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7012 int arg2 ;
7013 int result;
7014 PyObject * obj0 = 0 ;
7015 PyObject * obj1 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self",(char *) "ind", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
7021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7022 if (SWIG_arg_fail(1)) SWIG_fail;
7023 {
7024 arg2 = static_cast<int >(SWIG_As_int(obj1));
7025 if (SWIG_arg_fail(2)) SWIG_fail;
7026 }
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (int)(arg1)->GetIndentUnits(arg2);
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 {
7035 resultobj = SWIG_From_int(static_cast<int >(result));
7036 }
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj = NULL;
7045 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7046 wxHtmlTag *arg2 = 0 ;
7047 PyObject * obj0 = 0 ;
7048 PyObject * obj1 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self",(char *) "tag", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
7054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7055 if (SWIG_arg_fail(1)) SWIG_fail;
7056 {
7057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7058 if (SWIG_arg_fail(2)) SWIG_fail;
7059 if (arg2 == NULL) {
7060 SWIG_null_ref("wxHtmlTag");
7061 }
7062 if (SWIG_arg_fail(2)) SWIG_fail;
7063 }
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 Py_INCREF(Py_None); resultobj = Py_None;
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj = NULL;
7080 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7081 int arg2 ;
7082 int arg3 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 PyObject * obj2 = 0 ;
7086 char *kwnames[] = {
7087 (char *) "self",(char *) "w",(char *) "units", NULL
7088 };
7089
7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
7091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7092 if (SWIG_arg_fail(1)) SWIG_fail;
7093 {
7094 arg2 = static_cast<int >(SWIG_As_int(obj1));
7095 if (SWIG_arg_fail(2)) SWIG_fail;
7096 }
7097 {
7098 arg3 = static_cast<int >(SWIG_As_int(obj2));
7099 if (SWIG_arg_fail(3)) SWIG_fail;
7100 }
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 (arg1)->SetWidthFloat(arg2,arg3);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 Py_INCREF(Py_None); resultobj = Py_None;
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj = NULL;
7117 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7118 wxHtmlTag *arg2 = 0 ;
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "tag", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
7126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail;
7128 {
7129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7130 if (SWIG_arg_fail(2)) SWIG_fail;
7131 if (arg2 == NULL) {
7132 SWIG_null_ref("wxHtmlTag");
7133 }
7134 if (SWIG_arg_fail(2)) SWIG_fail;
7135 }
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 Py_INCREF(Py_None); resultobj = Py_None;
7144 return resultobj;
7145 fail:
7146 return NULL;
7147 }
7148
7149
7150 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7151 PyObject *resultobj = NULL;
7152 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7153 int arg2 ;
7154 int arg3 = (int) wxHTML_ALIGN_TOP ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 PyObject * obj2 = 0 ;
7158 char *kwnames[] = {
7159 (char *) "self",(char *) "h",(char *) "align", NULL
7160 };
7161
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
7163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7164 if (SWIG_arg_fail(1)) SWIG_fail;
7165 {
7166 arg2 = static_cast<int >(SWIG_As_int(obj1));
7167 if (SWIG_arg_fail(2)) SWIG_fail;
7168 }
7169 if (obj2) {
7170 {
7171 arg3 = static_cast<int >(SWIG_As_int(obj2));
7172 if (SWIG_arg_fail(3)) SWIG_fail;
7173 }
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 (arg1)->SetMinHeight(arg2,arg3);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 Py_INCREF(Py_None); resultobj = Py_None;
7183 return resultobj;
7184 fail:
7185 return NULL;
7186 }
7187
7188
7189 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj = NULL;
7191 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7192 wxColour *arg2 = 0 ;
7193 wxColour temp2 ;
7194 PyObject * obj0 = 0 ;
7195 PyObject * obj1 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self",(char *) "clr", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7202 if (SWIG_arg_fail(1)) SWIG_fail;
7203 {
7204 arg2 = &temp2;
7205 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7206 }
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 Py_INCREF(Py_None); resultobj = Py_None;
7215 return resultobj;
7216 fail:
7217 return NULL;
7218 }
7219
7220
7221 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj = NULL;
7223 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7224 wxColour result;
7225 PyObject * obj0 = 0 ;
7226 char *kwnames[] = {
7227 (char *) "self", NULL
7228 };
7229
7230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
7231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail;
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 result = (arg1)->GetBackgroundColour();
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 {
7241 wxColour * resultptr;
7242 resultptr = new wxColour(static_cast<wxColour & >(result));
7243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
7244 }
7245 return resultobj;
7246 fail:
7247 return NULL;
7248 }
7249
7250
7251 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj = NULL;
7253 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7254 wxColour *arg2 = 0 ;
7255 wxColour *arg3 = 0 ;
7256 wxColour temp2 ;
7257 wxColour temp3 ;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 PyObject * obj2 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7267 if (SWIG_arg_fail(1)) SWIG_fail;
7268 {
7269 arg2 = &temp2;
7270 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7271 }
7272 {
7273 arg3 = &temp3;
7274 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7275 }
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 Py_INCREF(Py_None); resultobj = Py_None;
7284 return resultobj;
7285 fail:
7286 return NULL;
7287 }
7288
7289
7290 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj = NULL;
7292 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7293 wxHtmlCell *result;
7294 PyObject * obj0 = 0 ;
7295 char *kwnames[] = {
7296 (char *) "self", NULL
7297 };
7298
7299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
7300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7301 if (SWIG_arg_fail(1)) SWIG_fail;
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
7310 return resultobj;
7311 fail:
7312 return NULL;
7313 }
7314
7315
7316 static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
7317 PyObject *obj;
7318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7319 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7320 Py_INCREF(obj);
7321 return Py_BuildValue((char *)"");
7322 }
7323 static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj = NULL;
7325 wxColour *arg1 = 0 ;
7326 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7327 wxHtmlColourCell *result;
7328 wxColour temp1 ;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "clr",(char *) "flags", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
7336 {
7337 arg1 = &temp1;
7338 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7339 }
7340 if (obj1) {
7341 {
7342 arg2 = static_cast<int >(SWIG_As_int(obj1));
7343 if (SWIG_arg_fail(2)) SWIG_fail;
7344 }
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
7361 PyObject *obj;
7362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7363 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7364 Py_INCREF(obj);
7365 return Py_BuildValue((char *)"");
7366 }
7367 static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj = NULL;
7369 wxFont *arg1 = (wxFont *) 0 ;
7370 wxHtmlFontCell *result;
7371 PyObject * obj0 = 0 ;
7372 char *kwnames[] = {
7373 (char *) "font", NULL
7374 };
7375
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
7377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7378 if (SWIG_arg_fail(1)) SWIG_fail;
7379 {
7380 PyThreadState* __tstate = wxPyBeginAllowThreads();
7381 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7382
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
7387 return resultobj;
7388 fail:
7389 return NULL;
7390 }
7391
7392
7393 static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
7394 PyObject *obj;
7395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7396 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7397 Py_INCREF(obj);
7398 return Py_BuildValue((char *)"");
7399 }
7400 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj = NULL;
7402 wxWindow *arg1 = (wxWindow *) 0 ;
7403 int arg2 = (int) 0 ;
7404 wxHtmlWidgetCell *result;
7405 PyObject * obj0 = 0 ;
7406 PyObject * obj1 = 0 ;
7407 char *kwnames[] = {
7408 (char *) "wnd",(char *) "w", NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
7412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7413 if (SWIG_arg_fail(1)) SWIG_fail;
7414 if (obj1) {
7415 {
7416 arg2 = static_cast<int >(SWIG_As_int(obj1));
7417 if (SWIG_arg_fail(2)) SWIG_fail;
7418 }
7419 }
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
7435 PyObject *obj;
7436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7437 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7438 Py_INCREF(obj);
7439 return Py_BuildValue((char *)"");
7440 }
7441 static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj = NULL;
7443 wxPyHtmlFilter *result;
7444 char *kwnames[] = {
7445 NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7449 {
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7452
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
7457 return resultobj;
7458 fail:
7459 return NULL;
7460 }
7461
7462
7463 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj = NULL;
7465 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7466 PyObject *arg2 = (PyObject *) 0 ;
7467 PyObject *arg3 = (PyObject *) 0 ;
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
7470 PyObject * obj2 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "self",(char *) "_class", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail;
7478 arg2 = obj1;
7479 arg3 = obj2;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 (arg1)->_setCallbackInfo(arg2,arg3);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
7495 PyObject *obj;
7496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7497 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7498 Py_INCREF(obj);
7499 return Py_BuildValue((char *)"");
7500 }
7501 static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj = NULL;
7503 wxWindow *arg1 = (wxWindow *) 0 ;
7504 int arg2 = (int) -1 ;
7505 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7506 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7507 wxSize const &arg4_defvalue = wxDefaultSize ;
7508 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7509 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7510 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7511 wxString *arg6 = (wxString *) &arg6_defvalue ;
7512 wxPyHtmlWindow *result;
7513 wxPoint temp3 ;
7514 wxSize temp4 ;
7515 bool temp6 = false ;
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 PyObject * obj2 = 0 ;
7519 PyObject * obj3 = 0 ;
7520 PyObject * obj4 = 0 ;
7521 PyObject * obj5 = 0 ;
7522 char *kwnames[] = {
7523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7524 };
7525
7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7528 if (SWIG_arg_fail(1)) SWIG_fail;
7529 if (obj1) {
7530 {
7531 arg2 = static_cast<int >(SWIG_As_int(obj1));
7532 if (SWIG_arg_fail(2)) SWIG_fail;
7533 }
7534 }
7535 if (obj2) {
7536 {
7537 arg3 = &temp3;
7538 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7539 }
7540 }
7541 if (obj3) {
7542 {
7543 arg4 = &temp4;
7544 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7545 }
7546 }
7547 if (obj4) {
7548 {
7549 arg5 = static_cast<int >(SWIG_As_int(obj4));
7550 if (SWIG_arg_fail(5)) SWIG_fail;
7551 }
7552 }
7553 if (obj5) {
7554 {
7555 arg6 = wxString_in_helper(obj5);
7556 if (arg6 == NULL) SWIG_fail;
7557 temp6 = true;
7558 }
7559 }
7560 {
7561 if (!wxPyCheckForApp()) SWIG_fail;
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7569 {
7570 if (temp6)
7571 delete arg6;
7572 }
7573 return resultobj;
7574 fail:
7575 {
7576 if (temp6)
7577 delete arg6;
7578 }
7579 return NULL;
7580 }
7581
7582
7583 static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj = NULL;
7585 wxPyHtmlWindow *result;
7586 char *kwnames[] = {
7587 NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7591 {
7592 if (!wxPyCheckForApp()) SWIG_fail;
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7600 return resultobj;
7601 fail:
7602 return NULL;
7603 }
7604
7605
7606 static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj = NULL;
7608 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7609 wxWindow *arg2 = (wxWindow *) 0 ;
7610 int arg3 = (int) -1 ;
7611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7613 wxSize const &arg5_defvalue = wxDefaultSize ;
7614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7615 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7616 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7617 wxString *arg7 = (wxString *) &arg7_defvalue ;
7618 bool result;
7619 wxPoint temp4 ;
7620 wxSize temp5 ;
7621 bool temp7 = false ;
7622 PyObject * obj0 = 0 ;
7623 PyObject * obj1 = 0 ;
7624 PyObject * obj2 = 0 ;
7625 PyObject * obj3 = 0 ;
7626 PyObject * obj4 = 0 ;
7627 PyObject * obj5 = 0 ;
7628 PyObject * obj6 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7635 if (SWIG_arg_fail(1)) SWIG_fail;
7636 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7637 if (SWIG_arg_fail(2)) SWIG_fail;
7638 if (obj2) {
7639 {
7640 arg3 = static_cast<int >(SWIG_As_int(obj2));
7641 if (SWIG_arg_fail(3)) SWIG_fail;
7642 }
7643 }
7644 if (obj3) {
7645 {
7646 arg4 = &temp4;
7647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7648 }
7649 }
7650 if (obj4) {
7651 {
7652 arg5 = &temp5;
7653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7654 }
7655 }
7656 if (obj5) {
7657 {
7658 arg6 = static_cast<int >(SWIG_As_int(obj5));
7659 if (SWIG_arg_fail(6)) SWIG_fail;
7660 }
7661 }
7662 if (obj6) {
7663 {
7664 arg7 = wxString_in_helper(obj6);
7665 if (arg7 == NULL) SWIG_fail;
7666 temp7 = true;
7667 }
7668 }
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 {
7677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7678 }
7679 {
7680 if (temp7)
7681 delete arg7;
7682 }
7683 return resultobj;
7684 fail:
7685 {
7686 if (temp7)
7687 delete arg7;
7688 }
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj = NULL;
7695 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7696 PyObject *arg2 = (PyObject *) 0 ;
7697 PyObject *arg3 = (PyObject *) 0 ;
7698 PyObject * obj0 = 0 ;
7699 PyObject * obj1 = 0 ;
7700 PyObject * obj2 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "self",(char *) "self",(char *) "_class", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail;
7708 arg2 = obj1;
7709 arg3 = obj2;
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 (arg1)->_setCallbackInfo(arg2,arg3);
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 Py_INCREF(Py_None); resultobj = Py_None;
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj = NULL;
7726 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7727 wxString *arg2 = 0 ;
7728 bool result;
7729 bool temp2 = false ;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self",(char *) "source", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
7737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7738 if (SWIG_arg_fail(1)) SWIG_fail;
7739 {
7740 arg2 = wxString_in_helper(obj1);
7741 if (arg2 == NULL) SWIG_fail;
7742 temp2 = true;
7743 }
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 {
7752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7753 }
7754 {
7755 if (temp2)
7756 delete arg2;
7757 }
7758 return resultobj;
7759 fail:
7760 {
7761 if (temp2)
7762 delete arg2;
7763 }
7764 return NULL;
7765 }
7766
7767
7768 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj = NULL;
7770 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7771 wxString *arg2 = 0 ;
7772 bool result;
7773 bool temp2 = false ;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "location", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
7781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail;
7783 {
7784 arg2 = wxString_in_helper(obj1);
7785 if (arg2 == NULL) SWIG_fail;
7786 temp2 = true;
7787 }
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 {
7796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7797 }
7798 {
7799 if (temp2)
7800 delete arg2;
7801 }
7802 return resultobj;
7803 fail:
7804 {
7805 if (temp2)
7806 delete arg2;
7807 }
7808 return NULL;
7809 }
7810
7811
7812 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7813 PyObject *resultobj = NULL;
7814 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7815 wxString *arg2 = 0 ;
7816 bool result;
7817 bool temp2 = false ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self",(char *) "filename", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7826 if (SWIG_arg_fail(1)) SWIG_fail;
7827 {
7828 arg2 = wxString_in_helper(obj1);
7829 if (arg2 == NULL) SWIG_fail;
7830 temp2 = true;
7831 }
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 {
7840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7841 }
7842 {
7843 if (temp2)
7844 delete arg2;
7845 }
7846 return resultobj;
7847 fail:
7848 {
7849 if (temp2)
7850 delete arg2;
7851 }
7852 return NULL;
7853 }
7854
7855
7856 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj = NULL;
7858 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7859 wxString *arg2 = 0 ;
7860 bool result;
7861 bool temp2 = false ;
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self",(char *) "source", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
7869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7870 if (SWIG_arg_fail(1)) SWIG_fail;
7871 {
7872 arg2 = wxString_in_helper(obj1);
7873 if (arg2 == NULL) SWIG_fail;
7874 temp2 = true;
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 {
7884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7885 }
7886 {
7887 if (temp2)
7888 delete arg2;
7889 }
7890 return resultobj;
7891 fail:
7892 {
7893 if (temp2)
7894 delete arg2;
7895 }
7896 return NULL;
7897 }
7898
7899
7900 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
7901 PyObject *resultobj = NULL;
7902 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7903 wxString result;
7904 PyObject * obj0 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
7910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7911 if (SWIG_arg_fail(1)) SWIG_fail;
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 result = (arg1)->GetOpenedPage();
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 {
7920 #if wxUSE_UNICODE
7921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7922 #else
7923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7924 #endif
7925 }
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj = NULL;
7934 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7935 wxString result;
7936 PyObject * obj0 = 0 ;
7937 char *kwnames[] = {
7938 (char *) "self", NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
7942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7943 if (SWIG_arg_fail(1)) SWIG_fail;
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (arg1)->GetOpenedAnchor();
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 {
7952 #if wxUSE_UNICODE
7953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7954 #else
7955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7956 #endif
7957 }
7958 return resultobj;
7959 fail:
7960 return NULL;
7961 }
7962
7963
7964 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7965 PyObject *resultobj = NULL;
7966 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7967 wxString result;
7968 PyObject * obj0 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
7974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7975 if (SWIG_arg_fail(1)) SWIG_fail;
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (arg1)->GetOpenedPageTitle();
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 {
7984 #if wxUSE_UNICODE
7985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7986 #else
7987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7988 #endif
7989 }
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj = NULL;
7998 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7999 wxFrame *arg2 = (wxFrame *) 0 ;
8000 wxString *arg3 = 0 ;
8001 bool temp3 = false ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 PyObject * obj2 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self",(char *) "frame",(char *) "format", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail;
8012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
8013 if (SWIG_arg_fail(2)) SWIG_fail;
8014 {
8015 arg3 = wxString_in_helper(obj2);
8016 if (arg3 == NULL) SWIG_fail;
8017 temp3 = true;
8018 }
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 Py_INCREF(Py_None); resultobj = Py_None;
8027 {
8028 if (temp3)
8029 delete arg3;
8030 }
8031 return resultobj;
8032 fail:
8033 {
8034 if (temp3)
8035 delete arg3;
8036 }
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj = NULL;
8043 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8044 wxFrame *result;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
8051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8052 if (SWIG_arg_fail(1)) SWIG_fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (wxFrame *)(arg1)->GetRelatedFrame();
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 {
8061 resultobj = wxPyMake_wxObject(result, 0);
8062 }
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj = NULL;
8071 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8072 int arg2 ;
8073 PyObject * obj0 = 0 ;
8074 PyObject * obj1 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self",(char *) "bar", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
8080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8081 if (SWIG_arg_fail(1)) SWIG_fail;
8082 {
8083 arg2 = static_cast<int >(SWIG_As_int(obj1));
8084 if (SWIG_arg_fail(2)) SWIG_fail;
8085 }
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 (arg1)->SetRelatedStatusBar(arg2);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 Py_INCREF(Py_None); resultobj = Py_None;
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj = NULL;
8102 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8103 wxString arg2 ;
8104 wxString arg3 ;
8105 PyObject *arg4 = (PyObject *) NULL ;
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 PyObject * obj2 = 0 ;
8109 PyObject * obj3 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail;
8117 {
8118 wxString* sptr = wxString_in_helper(obj1);
8119 if (sptr == NULL) SWIG_fail;
8120 arg2 = *sptr;
8121 delete sptr;
8122 }
8123 {
8124 wxString* sptr = wxString_in_helper(obj2);
8125 if (sptr == NULL) SWIG_fail;
8126 arg3 = *sptr;
8127 delete sptr;
8128 }
8129 if (obj3) {
8130 arg4 = obj3;
8131 }
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 Py_INCREF(Py_None); resultobj = Py_None;
8140 return resultobj;
8141 fail:
8142 return NULL;
8143 }
8144
8145
8146 static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj = NULL;
8148 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8149 int arg2 = (int) -1 ;
8150 wxString const &arg3_defvalue = wxPyEmptyString ;
8151 wxString *arg3 = (wxString *) &arg3_defvalue ;
8152 wxString const &arg4_defvalue = wxPyEmptyString ;
8153 wxString *arg4 = (wxString *) &arg4_defvalue ;
8154 bool temp3 = false ;
8155 bool temp4 = false ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 PyObject * obj2 = 0 ;
8159 PyObject * obj3 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8166 if (SWIG_arg_fail(1)) SWIG_fail;
8167 if (obj1) {
8168 {
8169 arg2 = static_cast<int >(SWIG_As_int(obj1));
8170 if (SWIG_arg_fail(2)) SWIG_fail;
8171 }
8172 }
8173 if (obj2) {
8174 {
8175 arg3 = wxString_in_helper(obj2);
8176 if (arg3 == NULL) SWIG_fail;
8177 temp3 = true;
8178 }
8179 }
8180 if (obj3) {
8181 {
8182 arg4 = wxString_in_helper(obj3);
8183 if (arg4 == NULL) SWIG_fail;
8184 temp4 = true;
8185 }
8186 }
8187 {
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 Py_INCREF(Py_None); resultobj = Py_None;
8195 {
8196 if (temp3)
8197 delete arg3;
8198 }
8199 {
8200 if (temp4)
8201 delete arg4;
8202 }
8203 return resultobj;
8204 fail:
8205 {
8206 if (temp3)
8207 delete arg3;
8208 }
8209 {
8210 if (temp4)
8211 delete arg4;
8212 }
8213 return NULL;
8214 }
8215
8216
8217 static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj = NULL;
8219 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8220 wxString *arg2 = 0 ;
8221 bool temp2 = false ;
8222 PyObject * obj0 = 0 ;
8223 PyObject * obj1 = 0 ;
8224 char *kwnames[] = {
8225 (char *) "self",(char *) "title", NULL
8226 };
8227
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail;
8229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8230 if (SWIG_arg_fail(1)) SWIG_fail;
8231 {
8232 arg2 = wxString_in_helper(obj1);
8233 if (arg2 == NULL) SWIG_fail;
8234 temp2 = true;
8235 }
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 (arg1)->SetLabel((wxString const &)*arg2);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 Py_INCREF(Py_None); resultobj = Py_None;
8244 {
8245 if (temp2)
8246 delete arg2;
8247 }
8248 return resultobj;
8249 fail:
8250 {
8251 if (temp2)
8252 delete arg2;
8253 }
8254 return NULL;
8255 }
8256
8257
8258 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj = NULL;
8260 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8261 int arg2 ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 char *kwnames[] = {
8265 (char *) "self",(char *) "b", NULL
8266 };
8267
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
8269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8270 if (SWIG_arg_fail(1)) SWIG_fail;
8271 {
8272 arg2 = static_cast<int >(SWIG_As_int(obj1));
8273 if (SWIG_arg_fail(2)) SWIG_fail;
8274 }
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 (arg1)->SetBorders(arg2);
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 Py_INCREF(Py_None); resultobj = Py_None;
8283 return resultobj;
8284 fail:
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj = NULL;
8291 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8292 wxBitmap *arg2 = 0 ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj1 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "bmpBg", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail;
8302 {
8303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8304 if (SWIG_arg_fail(2)) SWIG_fail;
8305 if (arg2 == NULL) {
8306 SWIG_null_ref("wxBitmap");
8307 }
8308 if (SWIG_arg_fail(2)) SWIG_fail;
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj = NULL;
8326 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8327 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8328 wxString arg3 = (wxString) wxPyEmptyString ;
8329 PyObject * obj0 = 0 ;
8330 PyObject * obj1 = 0 ;
8331 PyObject * obj2 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "self",(char *) "cfg",(char *) "path", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail;
8339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8340 if (SWIG_arg_fail(2)) SWIG_fail;
8341 if (obj2) {
8342 {
8343 wxString* sptr = wxString_in_helper(obj2);
8344 if (sptr == NULL) SWIG_fail;
8345 arg3 = *sptr;
8346 delete sptr;
8347 }
8348 }
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 (arg1)->ReadCustomization(arg2,arg3);
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 Py_INCREF(Py_None); resultobj = Py_None;
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj = NULL;
8365 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8366 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8367 wxString arg3 = (wxString) wxPyEmptyString ;
8368 PyObject * obj0 = 0 ;
8369 PyObject * obj1 = 0 ;
8370 PyObject * obj2 = 0 ;
8371 char *kwnames[] = {
8372 (char *) "self",(char *) "cfg",(char *) "path", NULL
8373 };
8374
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8377 if (SWIG_arg_fail(1)) SWIG_fail;
8378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8379 if (SWIG_arg_fail(2)) SWIG_fail;
8380 if (obj2) {
8381 {
8382 wxString* sptr = wxString_in_helper(obj2);
8383 if (sptr == NULL) SWIG_fail;
8384 arg3 = *sptr;
8385 delete sptr;
8386 }
8387 }
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 (arg1)->WriteCustomization(arg2,arg3);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 Py_INCREF(Py_None); resultobj = Py_None;
8396 return resultobj;
8397 fail:
8398 return NULL;
8399 }
8400
8401
8402 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj = NULL;
8404 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8405 bool result;
8406 PyObject * obj0 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
8412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8413 if (SWIG_arg_fail(1)) SWIG_fail;
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (bool)(arg1)->HistoryBack();
8417
8418 wxPyEndAllowThreads(__tstate);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 {
8422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8423 }
8424 return resultobj;
8425 fail:
8426 return NULL;
8427 }
8428
8429
8430 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
8431 PyObject *resultobj = NULL;
8432 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8433 bool result;
8434 PyObject * obj0 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
8440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8441 if (SWIG_arg_fail(1)) SWIG_fail;
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (bool)(arg1)->HistoryForward();
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 {
8450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8451 }
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj = NULL;
8460 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8461 bool result;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
8468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail;
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (bool)(arg1)->HistoryCanBack();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 {
8478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8479 }
8480 return resultobj;
8481 fail:
8482 return NULL;
8483 }
8484
8485
8486 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj = NULL;
8488 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8489 bool result;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
8496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8497 if (SWIG_arg_fail(1)) SWIG_fail;
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 result = (bool)(arg1)->HistoryCanForward();
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 {
8506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8507 }
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj = NULL;
8516 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8517 PyObject * obj0 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
8523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8524 if (SWIG_arg_fail(1)) SWIG_fail;
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 (arg1)->HistoryClear();
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 Py_INCREF(Py_None); resultobj = Py_None;
8533 return resultobj;
8534 fail:
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj = NULL;
8541 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8542 wxHtmlContainerCell *result;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
8549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8550 if (SWIG_arg_fail(1)) SWIG_fail;
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj = NULL;
8567 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8568 wxHtmlWinParser *result;
8569 PyObject * obj0 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
8575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8576 if (SWIG_arg_fail(1)) SWIG_fail;
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 result = (wxHtmlWinParser *)(arg1)->GetParser();
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
8585 return resultobj;
8586 fail:
8587 return NULL;
8588 }
8589
8590
8591 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8592 PyObject *resultobj = NULL;
8593 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8594 wxString *arg2 = 0 ;
8595 bool result;
8596 bool temp2 = false ;
8597 PyObject * obj0 = 0 ;
8598 PyObject * obj1 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "self",(char *) "anchor", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
8604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8605 if (SWIG_arg_fail(1)) SWIG_fail;
8606 {
8607 arg2 = wxString_in_helper(obj1);
8608 if (arg2 == NULL) SWIG_fail;
8609 temp2 = true;
8610 }
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 {
8619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8620 }
8621 {
8622 if (temp2)
8623 delete arg2;
8624 }
8625 return resultobj;
8626 fail:
8627 {
8628 if (temp2)
8629 delete arg2;
8630 }
8631 return NULL;
8632 }
8633
8634
8635 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj = NULL;
8637 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8638 wxString *arg2 = 0 ;
8639 bool result;
8640 bool temp2 = false ;
8641 PyObject * obj0 = 0 ;
8642 PyObject * obj1 = 0 ;
8643 char *kwnames[] = {
8644 (char *) "self",(char *) "anchor", NULL
8645 };
8646
8647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
8648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8649 if (SWIG_arg_fail(1)) SWIG_fail;
8650 {
8651 arg2 = wxString_in_helper(obj1);
8652 if (arg2 == NULL) SWIG_fail;
8653 temp2 = true;
8654 }
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 {
8663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8664 }
8665 {
8666 if (temp2)
8667 delete arg2;
8668 }
8669 return resultobj;
8670 fail:
8671 {
8672 if (temp2)
8673 delete arg2;
8674 }
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj = NULL;
8681 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8682 PyObject * obj0 = 0 ;
8683 char *kwnames[] = {
8684 (char *) "filter", NULL
8685 };
8686
8687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
8688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8689 if (SWIG_arg_fail(1)) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 wxPyHtmlWindow::AddFilter(arg1);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 Py_INCREF(Py_None); resultobj = Py_None;
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj = NULL;
8706 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8707 wxPoint *arg2 = 0 ;
8708 wxPoint temp2 ;
8709 PyObject * obj0 = 0 ;
8710 PyObject * obj1 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "pos", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
8716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8717 if (SWIG_arg_fail(1)) SWIG_fail;
8718 {
8719 arg2 = &temp2;
8720 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8721 }
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->SelectWord((wxPoint const &)*arg2);
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 Py_INCREF(Py_None); resultobj = Py_None;
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj = NULL;
8738 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8739 wxPoint *arg2 = 0 ;
8740 wxPoint temp2 ;
8741 PyObject * obj0 = 0 ;
8742 PyObject * obj1 = 0 ;
8743 char *kwnames[] = {
8744 (char *) "self",(char *) "pos", NULL
8745 };
8746
8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
8748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8749 if (SWIG_arg_fail(1)) SWIG_fail;
8750 {
8751 arg2 = &temp2;
8752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->SelectLine((wxPoint const &)*arg2);
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj = NULL;
8770 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8771 PyObject * obj0 = 0 ;
8772 char *kwnames[] = {
8773 (char *) "self", NULL
8774 };
8775
8776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
8777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8778 if (SWIG_arg_fail(1)) SWIG_fail;
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 (arg1)->SelectAll();
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 Py_INCREF(Py_None); resultobj = Py_None;
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj = NULL;
8795 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8796 wxString result;
8797 PyObject * obj0 = 0 ;
8798 char *kwnames[] = {
8799 (char *) "self", NULL
8800 };
8801
8802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
8803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8804 if (SWIG_arg_fail(1)) SWIG_fail;
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 result = (arg1)->SelectionToText();
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 {
8813 #if wxUSE_UNICODE
8814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8815 #else
8816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8817 #endif
8818 }
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
8826 PyObject *resultobj = NULL;
8827 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8828 wxString result;
8829 PyObject * obj0 = 0 ;
8830 char *kwnames[] = {
8831 (char *) "self", NULL
8832 };
8833
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
8835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8836 if (SWIG_arg_fail(1)) SWIG_fail;
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (arg1)->ToText();
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 {
8845 #if wxUSE_UNICODE
8846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8847 #else
8848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8849 #endif
8850 }
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj = NULL;
8859 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8860 wxHtmlLinkInfo *arg2 = 0 ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 char *kwnames[] = {
8864 (char *) "self",(char *) "link", NULL
8865 };
8866
8867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
8868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8869 if (SWIG_arg_fail(1)) SWIG_fail;
8870 {
8871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8872 if (SWIG_arg_fail(2)) SWIG_fail;
8873 if (arg2 == NULL) {
8874 SWIG_null_ref("wxHtmlLinkInfo");
8875 }
8876 if (SWIG_arg_fail(2)) SWIG_fail;
8877 }
8878 {
8879 PyThreadState* __tstate = wxPyBeginAllowThreads();
8880 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8881
8882 wxPyEndAllowThreads(__tstate);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 Py_INCREF(Py_None); resultobj = Py_None;
8886 return resultobj;
8887 fail:
8888 return NULL;
8889 }
8890
8891
8892 static PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
8893 PyObject *resultobj = NULL;
8894 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8895 wxString *arg2 = 0 ;
8896 bool temp2 = false ;
8897 PyObject * obj0 = 0 ;
8898 PyObject * obj1 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self",(char *) "title", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
8904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8905 if (SWIG_arg_fail(1)) SWIG_fail;
8906 {
8907 arg2 = wxString_in_helper(obj1);
8908 if (arg2 == NULL) SWIG_fail;
8909 temp2 = true;
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 (arg1)->OnSetTitle((wxString const &)*arg2);
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 Py_INCREF(Py_None); resultobj = Py_None;
8919 {
8920 if (temp2)
8921 delete arg2;
8922 }
8923 return resultobj;
8924 fail:
8925 {
8926 if (temp2)
8927 delete arg2;
8928 }
8929 return NULL;
8930 }
8931
8932
8933 static PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj = NULL;
8935 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8936 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8937 int arg3 ;
8938 int arg4 ;
8939 PyObject * obj0 = 0 ;
8940 PyObject * obj1 = 0 ;
8941 PyObject * obj2 = 0 ;
8942 PyObject * obj3 = 0 ;
8943 char *kwnames[] = {
8944 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8945 };
8946
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8949 if (SWIG_arg_fail(1)) SWIG_fail;
8950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8951 if (SWIG_arg_fail(2)) SWIG_fail;
8952 {
8953 arg3 = static_cast<int >(SWIG_As_int(obj2));
8954 if (SWIG_arg_fail(3)) SWIG_fail;
8955 }
8956 {
8957 arg4 = static_cast<int >(SWIG_As_int(obj3));
8958 if (SWIG_arg_fail(4)) SWIG_fail;
8959 }
8960 {
8961 PyThreadState* __tstate = wxPyBeginAllowThreads();
8962 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
8963
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 Py_INCREF(Py_None); resultobj = Py_None;
8968 return resultobj;
8969 fail:
8970 return NULL;
8971 }
8972
8973
8974 static PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
8975 PyObject *resultobj = NULL;
8976 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8977 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8978 int arg3 ;
8979 int arg4 ;
8980 wxMouseEvent *arg5 = 0 ;
8981 PyObject * obj0 = 0 ;
8982 PyObject * obj1 = 0 ;
8983 PyObject * obj2 = 0 ;
8984 PyObject * obj3 = 0 ;
8985 PyObject * obj4 = 0 ;
8986 char *kwnames[] = {
8987 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8988 };
8989
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8992 if (SWIG_arg_fail(1)) SWIG_fail;
8993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(2)) SWIG_fail;
8995 {
8996 arg3 = static_cast<int >(SWIG_As_int(obj2));
8997 if (SWIG_arg_fail(3)) SWIG_fail;
8998 }
8999 {
9000 arg4 = static_cast<int >(SWIG_As_int(obj3));
9001 if (SWIG_arg_fail(4)) SWIG_fail;
9002 }
9003 {
9004 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
9005 if (SWIG_arg_fail(5)) SWIG_fail;
9006 if (arg5 == NULL) {
9007 SWIG_null_ref("wxMouseEvent");
9008 }
9009 if (SWIG_arg_fail(5)) SWIG_fail;
9010 }
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 (arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 Py_INCREF(Py_None); resultobj = Py_None;
9019 return resultobj;
9020 fail:
9021 return NULL;
9022 }
9023
9024
9025 static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
9026 PyObject *resultobj = NULL;
9027 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9028 wxVisualAttributes result;
9029 PyObject * obj0 = 0 ;
9030 char *kwnames[] = {
9031 (char *) "variant", NULL
9032 };
9033
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9035 if (obj0) {
9036 {
9037 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
9038 if (SWIG_arg_fail(1)) SWIG_fail;
9039 }
9040 }
9041 {
9042 if (!wxPyCheckForApp()) SWIG_fail;
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
9045
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 {
9050 wxVisualAttributes * resultptr;
9051 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
9052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9053 }
9054 return resultobj;
9055 fail:
9056 return NULL;
9057 }
9058
9059
9060 static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
9061 PyObject *obj;
9062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9063 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
9064 Py_INCREF(obj);
9065 return Py_BuildValue((char *)"");
9066 }
9067 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj = NULL;
9069 wxHtmlDCRenderer *result;
9070 char *kwnames[] = {
9071 NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
9075 {
9076 if (!wxPyCheckForApp()) SWIG_fail;
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj = NULL;
9092 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9093 PyObject * obj0 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
9099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 delete arg1;
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj = NULL;
9117 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9118 wxDC *arg2 = (wxDC *) 0 ;
9119 int arg3 ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 PyObject * obj2 = 0 ;
9123 char *kwnames[] = {
9124 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
9125 };
9126
9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
9128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9129 if (SWIG_arg_fail(1)) SWIG_fail;
9130 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9131 if (SWIG_arg_fail(2)) SWIG_fail;
9132 {
9133 arg3 = static_cast<int >(SWIG_As_int(obj2));
9134 if (SWIG_arg_fail(3)) SWIG_fail;
9135 }
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 (arg1)->SetDC(arg2,arg3);
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 Py_INCREF(Py_None); resultobj = Py_None;
9144 return resultobj;
9145 fail:
9146 return NULL;
9147 }
9148
9149
9150 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj = NULL;
9152 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9153 int arg2 ;
9154 int arg3 ;
9155 PyObject * obj0 = 0 ;
9156 PyObject * obj1 = 0 ;
9157 PyObject * obj2 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self",(char *) "width",(char *) "height", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9164 if (SWIG_arg_fail(1)) SWIG_fail;
9165 {
9166 arg2 = static_cast<int >(SWIG_As_int(obj1));
9167 if (SWIG_arg_fail(2)) SWIG_fail;
9168 }
9169 {
9170 arg3 = static_cast<int >(SWIG_As_int(obj2));
9171 if (SWIG_arg_fail(3)) SWIG_fail;
9172 }
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 (arg1)->SetSize(arg2,arg3);
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 Py_INCREF(Py_None); resultobj = Py_None;
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj = NULL;
9189 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9190 wxString *arg2 = 0 ;
9191 wxString const &arg3_defvalue = wxPyEmptyString ;
9192 wxString *arg3 = (wxString *) &arg3_defvalue ;
9193 bool arg4 = (bool) true ;
9194 bool temp2 = false ;
9195 bool temp3 = false ;
9196 PyObject * obj0 = 0 ;
9197 PyObject * obj1 = 0 ;
9198 PyObject * obj2 = 0 ;
9199 PyObject * obj3 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9206 if (SWIG_arg_fail(1)) SWIG_fail;
9207 {
9208 arg2 = wxString_in_helper(obj1);
9209 if (arg2 == NULL) SWIG_fail;
9210 temp2 = true;
9211 }
9212 if (obj2) {
9213 {
9214 arg3 = wxString_in_helper(obj2);
9215 if (arg3 == NULL) SWIG_fail;
9216 temp3 = true;
9217 }
9218 }
9219 if (obj3) {
9220 {
9221 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
9222 if (SWIG_arg_fail(4)) SWIG_fail;
9223 }
9224 }
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 Py_INCREF(Py_None); resultobj = Py_None;
9233 {
9234 if (temp2)
9235 delete arg2;
9236 }
9237 {
9238 if (temp3)
9239 delete arg3;
9240 }
9241 return resultobj;
9242 fail:
9243 {
9244 if (temp2)
9245 delete arg2;
9246 }
9247 {
9248 if (temp3)
9249 delete arg3;
9250 }
9251 return NULL;
9252 }
9253
9254
9255 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj = NULL;
9257 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9258 wxString arg2 ;
9259 wxString arg3 ;
9260 PyObject *arg4 = (PyObject *) NULL ;
9261 PyObject * obj0 = 0 ;
9262 PyObject * obj1 = 0 ;
9263 PyObject * obj2 = 0 ;
9264 PyObject * obj3 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9271 if (SWIG_arg_fail(1)) SWIG_fail;
9272 {
9273 wxString* sptr = wxString_in_helper(obj1);
9274 if (sptr == NULL) SWIG_fail;
9275 arg2 = *sptr;
9276 delete sptr;
9277 }
9278 {
9279 wxString* sptr = wxString_in_helper(obj2);
9280 if (sptr == NULL) SWIG_fail;
9281 arg3 = *sptr;
9282 delete sptr;
9283 }
9284 if (obj3) {
9285 arg4 = obj3;
9286 }
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 Py_INCREF(Py_None); resultobj = Py_None;
9295 return resultobj;
9296 fail:
9297 return NULL;
9298 }
9299
9300
9301 static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj = NULL;
9303 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9304 int arg2 = (int) -1 ;
9305 wxString const &arg3_defvalue = wxPyEmptyString ;
9306 wxString *arg3 = (wxString *) &arg3_defvalue ;
9307 wxString const &arg4_defvalue = wxPyEmptyString ;
9308 wxString *arg4 = (wxString *) &arg4_defvalue ;
9309 bool temp3 = false ;
9310 bool temp4 = false ;
9311 PyObject * obj0 = 0 ;
9312 PyObject * obj1 = 0 ;
9313 PyObject * obj2 = 0 ;
9314 PyObject * obj3 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9321 if (SWIG_arg_fail(1)) SWIG_fail;
9322 if (obj1) {
9323 {
9324 arg2 = static_cast<int >(SWIG_As_int(obj1));
9325 if (SWIG_arg_fail(2)) SWIG_fail;
9326 }
9327 }
9328 if (obj2) {
9329 {
9330 arg3 = wxString_in_helper(obj2);
9331 if (arg3 == NULL) SWIG_fail;
9332 temp3 = true;
9333 }
9334 }
9335 if (obj3) {
9336 {
9337 arg4 = wxString_in_helper(obj3);
9338 if (arg4 == NULL) SWIG_fail;
9339 temp4 = true;
9340 }
9341 }
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 Py_INCREF(Py_None); resultobj = Py_None;
9350 {
9351 if (temp3)
9352 delete arg3;
9353 }
9354 {
9355 if (temp4)
9356 delete arg4;
9357 }
9358 return resultobj;
9359 fail:
9360 {
9361 if (temp3)
9362 delete arg3;
9363 }
9364 {
9365 if (temp4)
9366 delete arg4;
9367 }
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj = NULL;
9374 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9375 int arg2 ;
9376 int arg3 ;
9377 int arg4 = (int) 0 ;
9378 int arg5 = (int) false ;
9379 int arg6 = (int) INT_MAX ;
9380 int *arg7 = (int *) NULL ;
9381 int arg8 = (int) 0 ;
9382 int result;
9383 PyObject * obj0 = 0 ;
9384 PyObject * obj1 = 0 ;
9385 PyObject * obj2 = 0 ;
9386 PyObject * obj3 = 0 ;
9387 PyObject * obj4 = 0 ;
9388 PyObject * obj5 = 0 ;
9389 PyObject * obj6 = 0 ;
9390 PyObject * obj7 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail;
9398 {
9399 arg2 = static_cast<int >(SWIG_As_int(obj1));
9400 if (SWIG_arg_fail(2)) SWIG_fail;
9401 }
9402 {
9403 arg3 = static_cast<int >(SWIG_As_int(obj2));
9404 if (SWIG_arg_fail(3)) SWIG_fail;
9405 }
9406 if (obj3) {
9407 {
9408 arg4 = static_cast<int >(SWIG_As_int(obj3));
9409 if (SWIG_arg_fail(4)) SWIG_fail;
9410 }
9411 }
9412 if (obj4) {
9413 {
9414 arg5 = static_cast<int >(SWIG_As_int(obj4));
9415 if (SWIG_arg_fail(5)) SWIG_fail;
9416 }
9417 }
9418 if (obj5) {
9419 {
9420 arg6 = static_cast<int >(SWIG_As_int(obj5));
9421 if (SWIG_arg_fail(6)) SWIG_fail;
9422 }
9423 }
9424 if (obj6) {
9425 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9426 if (SWIG_arg_fail(7)) SWIG_fail;
9427 }
9428 if (obj7) {
9429 {
9430 arg8 = static_cast<int >(SWIG_As_int(obj7));
9431 if (SWIG_arg_fail(8)) SWIG_fail;
9432 }
9433 }
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 {
9442 resultobj = SWIG_From_int(static_cast<int >(result));
9443 }
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj = NULL;
9452 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9453 int result;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
9460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (int)(arg1)->GetTotalHeight();
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 {
9470 resultobj = SWIG_From_int(static_cast<int >(result));
9471 }
9472 return resultobj;
9473 fail:
9474 return NULL;
9475 }
9476
9477
9478 static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
9479 PyObject *obj;
9480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9481 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9482 Py_INCREF(obj);
9483 return Py_BuildValue((char *)"");
9484 }
9485 static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj = NULL;
9487 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9488 wxString *arg1 = (wxString *) &arg1_defvalue ;
9489 wxHtmlPrintout *result;
9490 bool temp1 = false ;
9491 PyObject * obj0 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "title", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9497 if (obj0) {
9498 {
9499 arg1 = wxString_in_helper(obj0);
9500 if (arg1 == NULL) SWIG_fail;
9501 temp1 = true;
9502 }
9503 }
9504 {
9505 if (!wxPyCheckForApp()) SWIG_fail;
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
9513 {
9514 if (temp1)
9515 delete arg1;
9516 }
9517 return resultobj;
9518 fail:
9519 {
9520 if (temp1)
9521 delete arg1;
9522 }
9523 return NULL;
9524 }
9525
9526
9527 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj = NULL;
9529 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9530 wxString *arg2 = 0 ;
9531 wxString const &arg3_defvalue = wxPyEmptyString ;
9532 wxString *arg3 = (wxString *) &arg3_defvalue ;
9533 bool arg4 = (bool) true ;
9534 bool temp2 = false ;
9535 bool temp3 = false ;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 PyObject * obj2 = 0 ;
9539 PyObject * obj3 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail;
9547 {
9548 arg2 = wxString_in_helper(obj1);
9549 if (arg2 == NULL) SWIG_fail;
9550 temp2 = true;
9551 }
9552 if (obj2) {
9553 {
9554 arg3 = wxString_in_helper(obj2);
9555 if (arg3 == NULL) SWIG_fail;
9556 temp3 = true;
9557 }
9558 }
9559 if (obj3) {
9560 {
9561 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
9562 if (SWIG_arg_fail(4)) SWIG_fail;
9563 }
9564 }
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 Py_INCREF(Py_None); resultobj = Py_None;
9573 {
9574 if (temp2)
9575 delete arg2;
9576 }
9577 {
9578 if (temp3)
9579 delete arg3;
9580 }
9581 return resultobj;
9582 fail:
9583 {
9584 if (temp2)
9585 delete arg2;
9586 }
9587 {
9588 if (temp3)
9589 delete arg3;
9590 }
9591 return NULL;
9592 }
9593
9594
9595 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj = NULL;
9597 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9598 wxString *arg2 = 0 ;
9599 bool temp2 = false ;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "htmlfile", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
9607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9608 if (SWIG_arg_fail(1)) SWIG_fail;
9609 {
9610 arg2 = wxString_in_helper(obj1);
9611 if (arg2 == NULL) SWIG_fail;
9612 temp2 = true;
9613 }
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 (arg1)->SetHtmlFile((wxString const &)*arg2);
9617
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 Py_INCREF(Py_None); resultobj = Py_None;
9622 {
9623 if (temp2)
9624 delete arg2;
9625 }
9626 return resultobj;
9627 fail:
9628 {
9629 if (temp2)
9630 delete arg2;
9631 }
9632 return NULL;
9633 }
9634
9635
9636 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj = NULL;
9638 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9639 wxString *arg2 = 0 ;
9640 int arg3 = (int) wxPAGE_ALL ;
9641 bool temp2 = false ;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj1 = 0 ;
9644 PyObject * obj2 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self",(char *) "header",(char *) "pg", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
9650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9651 if (SWIG_arg_fail(1)) SWIG_fail;
9652 {
9653 arg2 = wxString_in_helper(obj1);
9654 if (arg2 == NULL) SWIG_fail;
9655 temp2 = true;
9656 }
9657 if (obj2) {
9658 {
9659 arg3 = static_cast<int >(SWIG_As_int(obj2));
9660 if (SWIG_arg_fail(3)) SWIG_fail;
9661 }
9662 }
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
9670 Py_INCREF(Py_None); resultobj = Py_None;
9671 {
9672 if (temp2)
9673 delete arg2;
9674 }
9675 return resultobj;
9676 fail:
9677 {
9678 if (temp2)
9679 delete arg2;
9680 }
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj = NULL;
9687 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9688 wxString *arg2 = 0 ;
9689 int arg3 = (int) wxPAGE_ALL ;
9690 bool temp2 = false ;
9691 PyObject * obj0 = 0 ;
9692 PyObject * obj1 = 0 ;
9693 PyObject * obj2 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "footer",(char *) "pg", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
9699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9700 if (SWIG_arg_fail(1)) SWIG_fail;
9701 {
9702 arg2 = wxString_in_helper(obj1);
9703 if (arg2 == NULL) SWIG_fail;
9704 temp2 = true;
9705 }
9706 if (obj2) {
9707 {
9708 arg3 = static_cast<int >(SWIG_As_int(obj2));
9709 if (SWIG_arg_fail(3)) SWIG_fail;
9710 }
9711 }
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 Py_INCREF(Py_None); resultobj = Py_None;
9720 {
9721 if (temp2)
9722 delete arg2;
9723 }
9724 return resultobj;
9725 fail:
9726 {
9727 if (temp2)
9728 delete arg2;
9729 }
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj = NULL;
9736 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9737 wxString arg2 ;
9738 wxString arg3 ;
9739 PyObject *arg4 = (PyObject *) NULL ;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 PyObject * obj2 = 0 ;
9743 PyObject * obj3 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9750 if (SWIG_arg_fail(1)) SWIG_fail;
9751 {
9752 wxString* sptr = wxString_in_helper(obj1);
9753 if (sptr == NULL) SWIG_fail;
9754 arg2 = *sptr;
9755 delete sptr;
9756 }
9757 {
9758 wxString* sptr = wxString_in_helper(obj2);
9759 if (sptr == NULL) SWIG_fail;
9760 arg3 = *sptr;
9761 delete sptr;
9762 }
9763 if (obj3) {
9764 arg4 = obj3;
9765 }
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 Py_INCREF(Py_None); resultobj = Py_None;
9774 return resultobj;
9775 fail:
9776 return NULL;
9777 }
9778
9779
9780 static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj = NULL;
9782 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9783 int arg2 = (int) -1 ;
9784 wxString const &arg3_defvalue = wxPyEmptyString ;
9785 wxString *arg3 = (wxString *) &arg3_defvalue ;
9786 wxString const &arg4_defvalue = wxPyEmptyString ;
9787 wxString *arg4 = (wxString *) &arg4_defvalue ;
9788 bool temp3 = false ;
9789 bool temp4 = false ;
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj1 = 0 ;
9792 PyObject * obj2 = 0 ;
9793 PyObject * obj3 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail;
9801 if (obj1) {
9802 {
9803 arg2 = static_cast<int >(SWIG_As_int(obj1));
9804 if (SWIG_arg_fail(2)) SWIG_fail;
9805 }
9806 }
9807 if (obj2) {
9808 {
9809 arg3 = wxString_in_helper(obj2);
9810 if (arg3 == NULL) SWIG_fail;
9811 temp3 = true;
9812 }
9813 }
9814 if (obj3) {
9815 {
9816 arg4 = wxString_in_helper(obj3);
9817 if (arg4 == NULL) SWIG_fail;
9818 temp4 = true;
9819 }
9820 }
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 Py_INCREF(Py_None); resultobj = Py_None;
9829 {
9830 if (temp3)
9831 delete arg3;
9832 }
9833 {
9834 if (temp4)
9835 delete arg4;
9836 }
9837 return resultobj;
9838 fail:
9839 {
9840 if (temp3)
9841 delete arg3;
9842 }
9843 {
9844 if (temp4)
9845 delete arg4;
9846 }
9847 return NULL;
9848 }
9849
9850
9851 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj = NULL;
9853 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9854 float arg2 = (float) 25.2 ;
9855 float arg3 = (float) 25.2 ;
9856 float arg4 = (float) 25.2 ;
9857 float arg5 = (float) 25.2 ;
9858 float arg6 = (float) 5 ;
9859 PyObject * obj0 = 0 ;
9860 PyObject * obj1 = 0 ;
9861 PyObject * obj2 = 0 ;
9862 PyObject * obj3 = 0 ;
9863 PyObject * obj4 = 0 ;
9864 PyObject * obj5 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail;
9872 if (obj1) {
9873 {
9874 arg2 = static_cast<float >(SWIG_As_float(obj1));
9875 if (SWIG_arg_fail(2)) SWIG_fail;
9876 }
9877 }
9878 if (obj2) {
9879 {
9880 arg3 = static_cast<float >(SWIG_As_float(obj2));
9881 if (SWIG_arg_fail(3)) SWIG_fail;
9882 }
9883 }
9884 if (obj3) {
9885 {
9886 arg4 = static_cast<float >(SWIG_As_float(obj3));
9887 if (SWIG_arg_fail(4)) SWIG_fail;
9888 }
9889 }
9890 if (obj4) {
9891 {
9892 arg5 = static_cast<float >(SWIG_As_float(obj4));
9893 if (SWIG_arg_fail(5)) SWIG_fail;
9894 }
9895 }
9896 if (obj5) {
9897 {
9898 arg6 = static_cast<float >(SWIG_As_float(obj5));
9899 if (SWIG_arg_fail(6)) SWIG_fail;
9900 }
9901 }
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 Py_INCREF(Py_None); resultobj = Py_None;
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj = NULL;
9918 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9919 PyObject * obj0 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "filter", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
9925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9926 if (SWIG_arg_fail(1)) SWIG_fail;
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 wxHtmlPrintout::AddFilter(arg1);
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 Py_INCREF(Py_None); resultobj = Py_None;
9935 return resultobj;
9936 fail:
9937 return NULL;
9938 }
9939
9940
9941 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj = NULL;
9943 char *kwnames[] = {
9944 NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 wxHtmlPrintout::CleanUpStatics();
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 Py_INCREF(Py_None); resultobj = Py_None;
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
9963 PyObject *obj;
9964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9965 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9966 Py_INCREF(obj);
9967 return Py_BuildValue((char *)"");
9968 }
9969 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj = NULL;
9971 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9972 wxString *arg1 = (wxString *) &arg1_defvalue ;
9973 wxWindow *arg2 = (wxWindow *) NULL ;
9974 wxHtmlEasyPrinting *result;
9975 bool temp1 = false ;
9976 PyObject * obj0 = 0 ;
9977 PyObject * obj1 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "name",(char *) "parentWindow", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9983 if (obj0) {
9984 {
9985 arg1 = wxString_in_helper(obj0);
9986 if (arg1 == NULL) SWIG_fail;
9987 temp1 = true;
9988 }
9989 }
9990 if (obj1) {
9991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9992 if (SWIG_arg_fail(2)) SWIG_fail;
9993 }
9994 {
9995 if (!wxPyCheckForApp()) SWIG_fail;
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
9998
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
10003 {
10004 if (temp1)
10005 delete arg1;
10006 }
10007 return resultobj;
10008 fail:
10009 {
10010 if (temp1)
10011 delete arg1;
10012 }
10013 return NULL;
10014 }
10015
10016
10017 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj = NULL;
10019 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10020 PyObject * obj0 = 0 ;
10021 char *kwnames[] = {
10022 (char *) "self", NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
10026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10027 if (SWIG_arg_fail(1)) SWIG_fail;
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 delete arg1;
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 Py_INCREF(Py_None); resultobj = Py_None;
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj = NULL;
10044 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10045 wxString *arg2 = 0 ;
10046 bool temp2 = false ;
10047 PyObject * obj0 = 0 ;
10048 PyObject * obj1 = 0 ;
10049 char *kwnames[] = {
10050 (char *) "self",(char *) "htmlfile", NULL
10051 };
10052
10053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
10054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10055 if (SWIG_arg_fail(1)) SWIG_fail;
10056 {
10057 arg2 = wxString_in_helper(obj1);
10058 if (arg2 == NULL) SWIG_fail;
10059 temp2 = true;
10060 }
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 (arg1)->PreviewFile((wxString const &)*arg2);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 Py_INCREF(Py_None); resultobj = Py_None;
10069 {
10070 if (temp2)
10071 delete arg2;
10072 }
10073 return resultobj;
10074 fail:
10075 {
10076 if (temp2)
10077 delete arg2;
10078 }
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj = NULL;
10085 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10086 wxString *arg2 = 0 ;
10087 wxString const &arg3_defvalue = wxPyEmptyString ;
10088 wxString *arg3 = (wxString *) &arg3_defvalue ;
10089 bool temp2 = false ;
10090 bool temp3 = false ;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 PyObject * obj2 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10100 if (SWIG_arg_fail(1)) SWIG_fail;
10101 {
10102 arg2 = wxString_in_helper(obj1);
10103 if (arg2 == NULL) SWIG_fail;
10104 temp2 = true;
10105 }
10106 if (obj2) {
10107 {
10108 arg3 = wxString_in_helper(obj2);
10109 if (arg3 == NULL) SWIG_fail;
10110 temp3 = true;
10111 }
10112 }
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 Py_INCREF(Py_None); resultobj = Py_None;
10121 {
10122 if (temp2)
10123 delete arg2;
10124 }
10125 {
10126 if (temp3)
10127 delete arg3;
10128 }
10129 return resultobj;
10130 fail:
10131 {
10132 if (temp2)
10133 delete arg2;
10134 }
10135 {
10136 if (temp3)
10137 delete arg3;
10138 }
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj = NULL;
10145 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10146 wxString *arg2 = 0 ;
10147 bool temp2 = false ;
10148 PyObject * obj0 = 0 ;
10149 PyObject * obj1 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self",(char *) "htmlfile", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
10155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10156 if (SWIG_arg_fail(1)) SWIG_fail;
10157 {
10158 arg2 = wxString_in_helper(obj1);
10159 if (arg2 == NULL) SWIG_fail;
10160 temp2 = true;
10161 }
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 (arg1)->PrintFile((wxString const &)*arg2);
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 Py_INCREF(Py_None); resultobj = Py_None;
10170 {
10171 if (temp2)
10172 delete arg2;
10173 }
10174 return resultobj;
10175 fail:
10176 {
10177 if (temp2)
10178 delete arg2;
10179 }
10180 return NULL;
10181 }
10182
10183
10184 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
10185 PyObject *resultobj = NULL;
10186 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10187 wxString *arg2 = 0 ;
10188 wxString const &arg3_defvalue = wxPyEmptyString ;
10189 wxString *arg3 = (wxString *) &arg3_defvalue ;
10190 bool temp2 = false ;
10191 bool temp3 = false ;
10192 PyObject * obj0 = 0 ;
10193 PyObject * obj1 = 0 ;
10194 PyObject * obj2 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail;
10202 {
10203 arg2 = wxString_in_helper(obj1);
10204 if (arg2 == NULL) SWIG_fail;
10205 temp2 = true;
10206 }
10207 if (obj2) {
10208 {
10209 arg3 = wxString_in_helper(obj2);
10210 if (arg3 == NULL) SWIG_fail;
10211 temp3 = true;
10212 }
10213 }
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 Py_INCREF(Py_None); resultobj = Py_None;
10222 {
10223 if (temp2)
10224 delete arg2;
10225 }
10226 {
10227 if (temp3)
10228 delete arg3;
10229 }
10230 return resultobj;
10231 fail:
10232 {
10233 if (temp2)
10234 delete arg2;
10235 }
10236 {
10237 if (temp3)
10238 delete arg3;
10239 }
10240 return NULL;
10241 }
10242
10243
10244 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj = NULL;
10246 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
10253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail;
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->PageSetup();
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266 }
10267
10268
10269 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj = NULL;
10271 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10272 wxString *arg2 = 0 ;
10273 int arg3 = (int) wxPAGE_ALL ;
10274 bool temp2 = false ;
10275 PyObject * obj0 = 0 ;
10276 PyObject * obj1 = 0 ;
10277 PyObject * obj2 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self",(char *) "header",(char *) "pg", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
10283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail;
10285 {
10286 arg2 = wxString_in_helper(obj1);
10287 if (arg2 == NULL) SWIG_fail;
10288 temp2 = true;
10289 }
10290 if (obj2) {
10291 {
10292 arg3 = static_cast<int >(SWIG_As_int(obj2));
10293 if (SWIG_arg_fail(3)) SWIG_fail;
10294 }
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj = NULL;
10320 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10321 wxString *arg2 = 0 ;
10322 int arg3 = (int) wxPAGE_ALL ;
10323 bool temp2 = false ;
10324 PyObject * obj0 = 0 ;
10325 PyObject * obj1 = 0 ;
10326 PyObject * obj2 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "footer",(char *) "pg", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
10332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail;
10334 {
10335 arg2 = wxString_in_helper(obj1);
10336 if (arg2 == NULL) SWIG_fail;
10337 temp2 = true;
10338 }
10339 if (obj2) {
10340 {
10341 arg3 = static_cast<int >(SWIG_As_int(obj2));
10342 if (SWIG_arg_fail(3)) SWIG_fail;
10343 }
10344 }
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 Py_INCREF(Py_None); resultobj = Py_None;
10353 {
10354 if (temp2)
10355 delete arg2;
10356 }
10357 return resultobj;
10358 fail:
10359 {
10360 if (temp2)
10361 delete arg2;
10362 }
10363 return NULL;
10364 }
10365
10366
10367 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10368 PyObject *resultobj = NULL;
10369 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10370 wxString arg2 ;
10371 wxString arg3 ;
10372 PyObject *arg4 = (PyObject *) NULL ;
10373 PyObject * obj0 = 0 ;
10374 PyObject * obj1 = 0 ;
10375 PyObject * obj2 = 0 ;
10376 PyObject * obj3 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10383 if (SWIG_arg_fail(1)) SWIG_fail;
10384 {
10385 wxString* sptr = wxString_in_helper(obj1);
10386 if (sptr == NULL) SWIG_fail;
10387 arg2 = *sptr;
10388 delete sptr;
10389 }
10390 {
10391 wxString* sptr = wxString_in_helper(obj2);
10392 if (sptr == NULL) SWIG_fail;
10393 arg3 = *sptr;
10394 delete sptr;
10395 }
10396 if (obj3) {
10397 arg4 = obj3;
10398 }
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 Py_INCREF(Py_None); resultobj = Py_None;
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj = NULL;
10415 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10416 int arg2 = (int) -1 ;
10417 wxString const &arg3_defvalue = wxPyEmptyString ;
10418 wxString *arg3 = (wxString *) &arg3_defvalue ;
10419 wxString const &arg4_defvalue = wxPyEmptyString ;
10420 wxString *arg4 = (wxString *) &arg4_defvalue ;
10421 bool temp3 = false ;
10422 bool temp4 = false ;
10423 PyObject * obj0 = 0 ;
10424 PyObject * obj1 = 0 ;
10425 PyObject * obj2 = 0 ;
10426 PyObject * obj3 = 0 ;
10427 char *kwnames[] = {
10428 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10429 };
10430
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10433 if (SWIG_arg_fail(1)) SWIG_fail;
10434 if (obj1) {
10435 {
10436 arg2 = static_cast<int >(SWIG_As_int(obj1));
10437 if (SWIG_arg_fail(2)) SWIG_fail;
10438 }
10439 }
10440 if (obj2) {
10441 {
10442 arg3 = wxString_in_helper(obj2);
10443 if (arg3 == NULL) SWIG_fail;
10444 temp3 = true;
10445 }
10446 }
10447 if (obj3) {
10448 {
10449 arg4 = wxString_in_helper(obj3);
10450 if (arg4 == NULL) SWIG_fail;
10451 temp4 = true;
10452 }
10453 }
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 Py_INCREF(Py_None); resultobj = Py_None;
10462 {
10463 if (temp3)
10464 delete arg3;
10465 }
10466 {
10467 if (temp4)
10468 delete arg4;
10469 }
10470 return resultobj;
10471 fail:
10472 {
10473 if (temp3)
10474 delete arg3;
10475 }
10476 {
10477 if (temp4)
10478 delete arg4;
10479 }
10480 return NULL;
10481 }
10482
10483
10484 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj = NULL;
10486 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10487 wxPrintData *result;
10488 PyObject * obj0 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
10494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10495 if (SWIG_arg_fail(1)) SWIG_fail;
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (wxPrintData *)(arg1)->GetPrintData();
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
10504 return resultobj;
10505 fail:
10506 return NULL;
10507 }
10508
10509
10510 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj = NULL;
10512 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10513 wxPageSetupDialogData *result;
10514 PyObject * obj0 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
10520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10521 if (SWIG_arg_fail(1)) SWIG_fail;
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
10530 return resultobj;
10531 fail:
10532 return NULL;
10533 }
10534
10535
10536 static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
10537 PyObject *obj;
10538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10539 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10540 Py_INCREF(obj);
10541 return Py_BuildValue((char *)"");
10542 }
10543 static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
10544 PyObject *resultobj = NULL;
10545 wxString *arg1 = 0 ;
10546 wxString *arg2 = 0 ;
10547 wxString *arg3 = 0 ;
10548 wxString *arg4 = 0 ;
10549 wxHtmlBookRecord *result;
10550 bool temp1 = false ;
10551 bool temp2 = false ;
10552 bool temp3 = false ;
10553 bool temp4 = false ;
10554 PyObject * obj0 = 0 ;
10555 PyObject * obj1 = 0 ;
10556 PyObject * obj2 = 0 ;
10557 PyObject * obj3 = 0 ;
10558 char *kwnames[] = {
10559 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10560 };
10561
10562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10563 {
10564 arg1 = wxString_in_helper(obj0);
10565 if (arg1 == NULL) SWIG_fail;
10566 temp1 = true;
10567 }
10568 {
10569 arg2 = wxString_in_helper(obj1);
10570 if (arg2 == NULL) SWIG_fail;
10571 temp2 = true;
10572 }
10573 {
10574 arg3 = wxString_in_helper(obj2);
10575 if (arg3 == NULL) SWIG_fail;
10576 temp3 = true;
10577 }
10578 {
10579 arg4 = wxString_in_helper(obj3);
10580 if (arg4 == NULL) SWIG_fail;
10581 temp4 = true;
10582 }
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
10591 {
10592 if (temp1)
10593 delete arg1;
10594 }
10595 {
10596 if (temp2)
10597 delete arg2;
10598 }
10599 {
10600 if (temp3)
10601 delete arg3;
10602 }
10603 {
10604 if (temp4)
10605 delete arg4;
10606 }
10607 return resultobj;
10608 fail:
10609 {
10610 if (temp1)
10611 delete arg1;
10612 }
10613 {
10614 if (temp2)
10615 delete arg2;
10616 }
10617 {
10618 if (temp3)
10619 delete arg3;
10620 }
10621 {
10622 if (temp4)
10623 delete arg4;
10624 }
10625 return NULL;
10626 }
10627
10628
10629 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
10630 PyObject *resultobj = NULL;
10631 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10632 wxString result;
10633 PyObject * obj0 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
10639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10640 if (SWIG_arg_fail(1)) SWIG_fail;
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 result = (arg1)->GetBookFile();
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 {
10649 #if wxUSE_UNICODE
10650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10651 #else
10652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10653 #endif
10654 }
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj = NULL;
10663 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10664 wxString result;
10665 PyObject * obj0 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
10671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (arg1)->GetTitle();
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 {
10681 #if wxUSE_UNICODE
10682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10683 #else
10684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10685 #endif
10686 }
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj = NULL;
10695 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10696 wxString result;
10697 PyObject * obj0 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "self", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
10703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10704 if (SWIG_arg_fail(1)) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 result = (arg1)->GetStart();
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 {
10713 #if wxUSE_UNICODE
10714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10715 #else
10716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10717 #endif
10718 }
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj = NULL;
10727 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10728 wxString result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
10735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10736 if (SWIG_arg_fail(1)) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (arg1)->GetBasePath();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 {
10745 #if wxUSE_UNICODE
10746 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10747 #else
10748 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10749 #endif
10750 }
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj = NULL;
10759 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10760 int arg2 ;
10761 int arg3 ;
10762 PyObject * obj0 = 0 ;
10763 PyObject * obj1 = 0 ;
10764 PyObject * obj2 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self",(char *) "start",(char *) "end", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10771 if (SWIG_arg_fail(1)) SWIG_fail;
10772 {
10773 arg2 = static_cast<int >(SWIG_As_int(obj1));
10774 if (SWIG_arg_fail(2)) SWIG_fail;
10775 }
10776 {
10777 arg3 = static_cast<int >(SWIG_As_int(obj2));
10778 if (SWIG_arg_fail(3)) SWIG_fail;
10779 }
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->SetContentsRange(arg2,arg3);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj = NULL;
10796 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10797 int result;
10798 PyObject * obj0 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
10804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10805 if (SWIG_arg_fail(1)) SWIG_fail;
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 result = (int)(arg1)->GetContentsStart();
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 {
10814 resultobj = SWIG_From_int(static_cast<int >(result));
10815 }
10816 return resultobj;
10817 fail:
10818 return NULL;
10819 }
10820
10821
10822 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10823 PyObject *resultobj = NULL;
10824 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10825 int result;
10826 PyObject * obj0 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "self", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
10832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10833 if (SWIG_arg_fail(1)) SWIG_fail;
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 result = (int)(arg1)->GetContentsEnd();
10837
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) SWIG_fail;
10840 }
10841 {
10842 resultobj = SWIG_From_int(static_cast<int >(result));
10843 }
10844 return resultobj;
10845 fail:
10846 return NULL;
10847 }
10848
10849
10850 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj = NULL;
10852 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10853 wxString *arg2 = 0 ;
10854 bool temp2 = false ;
10855 PyObject * obj0 = 0 ;
10856 PyObject * obj1 = 0 ;
10857 char *kwnames[] = {
10858 (char *) "self",(char *) "title", NULL
10859 };
10860
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
10862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10863 if (SWIG_arg_fail(1)) SWIG_fail;
10864 {
10865 arg2 = wxString_in_helper(obj1);
10866 if (arg2 == NULL) SWIG_fail;
10867 temp2 = true;
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->SetTitle((wxString const &)*arg2);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 Py_INCREF(Py_None); resultobj = Py_None;
10877 {
10878 if (temp2)
10879 delete arg2;
10880 }
10881 return resultobj;
10882 fail:
10883 {
10884 if (temp2)
10885 delete arg2;
10886 }
10887 return NULL;
10888 }
10889
10890
10891 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj = NULL;
10893 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10894 wxString *arg2 = 0 ;
10895 bool temp2 = false ;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "path", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
10903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail;
10905 {
10906 arg2 = wxString_in_helper(obj1);
10907 if (arg2 == NULL) SWIG_fail;
10908 temp2 = true;
10909 }
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->SetBasePath((wxString const &)*arg2);
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 {
10919 if (temp2)
10920 delete arg2;
10921 }
10922 return resultobj;
10923 fail:
10924 {
10925 if (temp2)
10926 delete arg2;
10927 }
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj = NULL;
10934 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10935 wxString *arg2 = 0 ;
10936 bool temp2 = false ;
10937 PyObject * obj0 = 0 ;
10938 PyObject * obj1 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self",(char *) "start", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
10944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10945 if (SWIG_arg_fail(1)) SWIG_fail;
10946 {
10947 arg2 = wxString_in_helper(obj1);
10948 if (arg2 == NULL) SWIG_fail;
10949 temp2 = true;
10950 }
10951 {
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 (arg1)->SetStart((wxString const &)*arg2);
10954
10955 wxPyEndAllowThreads(__tstate);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
10958 Py_INCREF(Py_None); resultobj = Py_None;
10959 {
10960 if (temp2)
10961 delete arg2;
10962 }
10963 return resultobj;
10964 fail:
10965 {
10966 if (temp2)
10967 delete arg2;
10968 }
10969 return NULL;
10970 }
10971
10972
10973 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj = NULL;
10975 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10976 wxString *arg2 = 0 ;
10977 wxString result;
10978 bool temp2 = false ;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 char *kwnames[] = {
10982 (char *) "self",(char *) "page", NULL
10983 };
10984
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
10986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail;
10988 {
10989 arg2 = wxString_in_helper(obj1);
10990 if (arg2 == NULL) SWIG_fail;
10991 temp2 = true;
10992 }
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 {
11001 #if wxUSE_UNICODE
11002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11003 #else
11004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11005 #endif
11006 }
11007 {
11008 if (temp2)
11009 delete arg2;
11010 }
11011 return resultobj;
11012 fail:
11013 {
11014 if (temp2)
11015 delete arg2;
11016 }
11017 return NULL;
11018 }
11019
11020
11021 static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
11022 PyObject *obj;
11023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11024 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
11025 Py_INCREF(obj);
11026 return Py_BuildValue((char *)"");
11027 }
11028 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
11029 PyObject *resultobj = NULL;
11030 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11031 bool result;
11032 PyObject * obj0 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
11038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11039 if (SWIG_arg_fail(1)) SWIG_fail;
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 result = (bool)(arg1)->Search();
11043
11044 wxPyEndAllowThreads(__tstate);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11049 }
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
11057 PyObject *resultobj = NULL;
11058 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11059 bool result;
11060 PyObject * obj0 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
11066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11067 if (SWIG_arg_fail(1)) SWIG_fail;
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (bool)(arg1)->IsActive();
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 {
11076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11077 }
11078 return resultobj;
11079 fail:
11080 return NULL;
11081 }
11082
11083
11084 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj = NULL;
11086 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11087 int result;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
11094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail;
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 result = (int)(arg1)->GetCurIndex();
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 {
11104 resultobj = SWIG_From_int(static_cast<int >(result));
11105 }
11106 return resultobj;
11107 fail:
11108 return NULL;
11109 }
11110
11111
11112 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj = NULL;
11114 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11115 int result;
11116 PyObject * obj0 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
11122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (int)(arg1)->GetMaxIndex();
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 {
11132 resultobj = SWIG_From_int(static_cast<int >(result));
11133 }
11134 return resultobj;
11135 fail:
11136 return NULL;
11137 }
11138
11139
11140 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
11141 PyObject *resultobj = NULL;
11142 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11143 wxString *result;
11144 PyObject * obj0 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "self", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
11150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11151 if (SWIG_arg_fail(1)) SWIG_fail;
11152 {
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 {
11155 wxString const &_result_ref = (arg1)->GetName();
11156 result = (wxString *) &_result_ref;
11157 }
11158
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 #if wxUSE_UNICODE
11164 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11165 #else
11166 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11167 #endif
11168 }
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
11176 PyObject *obj;
11177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11178 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11179 Py_INCREF(obj);
11180 return Py_BuildValue((char *)"");
11181 }
11182 static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj = NULL;
11184 wxHtmlHelpData *result;
11185 char *kwnames[] = {
11186 NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11190 {
11191 PyThreadState* __tstate = wxPyBeginAllowThreads();
11192 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11193
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
11198 return resultobj;
11199 fail:
11200 return NULL;
11201 }
11202
11203
11204 static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj = NULL;
11206 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11207 PyObject * obj0 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
11213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11214 if (SWIG_arg_fail(1)) SWIG_fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 delete arg1;
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 Py_INCREF(Py_None); resultobj = Py_None;
11223 return resultobj;
11224 fail:
11225 return NULL;
11226 }
11227
11228
11229 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj = NULL;
11231 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11232 wxString *arg2 = 0 ;
11233 bool temp2 = false ;
11234 PyObject * obj0 = 0 ;
11235 PyObject * obj1 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "path", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
11241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail;
11243 {
11244 arg2 = wxString_in_helper(obj1);
11245 if (arg2 == NULL) SWIG_fail;
11246 temp2 = true;
11247 }
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 (arg1)->SetTempDir((wxString const &)*arg2);
11251
11252 wxPyEndAllowThreads(__tstate);
11253 if (PyErr_Occurred()) SWIG_fail;
11254 }
11255 Py_INCREF(Py_None); resultobj = Py_None;
11256 {
11257 if (temp2)
11258 delete arg2;
11259 }
11260 return resultobj;
11261 fail:
11262 {
11263 if (temp2)
11264 delete arg2;
11265 }
11266 return NULL;
11267 }
11268
11269
11270 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
11271 PyObject *resultobj = NULL;
11272 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11273 wxString *arg2 = 0 ;
11274 bool result;
11275 bool temp2 = false ;
11276 PyObject * obj0 = 0 ;
11277 PyObject * obj1 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self",(char *) "book", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
11283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail;
11285 {
11286 arg2 = wxString_in_helper(obj1);
11287 if (arg2 == NULL) SWIG_fail;
11288 temp2 = true;
11289 }
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 {
11298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11299 }
11300 {
11301 if (temp2)
11302 delete arg2;
11303 }
11304 return resultobj;
11305 fail:
11306 {
11307 if (temp2)
11308 delete arg2;
11309 }
11310 return NULL;
11311 }
11312
11313
11314 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
11315 PyObject *resultobj = NULL;
11316 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11317 wxString *arg2 = 0 ;
11318 wxString result;
11319 bool temp2 = false ;
11320 PyObject * obj0 = 0 ;
11321 PyObject * obj1 = 0 ;
11322 char *kwnames[] = {
11323 (char *) "self",(char *) "page", NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
11327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11328 if (SWIG_arg_fail(1)) SWIG_fail;
11329 {
11330 arg2 = wxString_in_helper(obj1);
11331 if (arg2 == NULL) SWIG_fail;
11332 temp2 = true;
11333 }
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (arg1)->FindPageByName((wxString const &)*arg2);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 {
11342 #if wxUSE_UNICODE
11343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11344 #else
11345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11346 #endif
11347 }
11348 {
11349 if (temp2)
11350 delete arg2;
11351 }
11352 return resultobj;
11353 fail:
11354 {
11355 if (temp2)
11356 delete arg2;
11357 }
11358 return NULL;
11359 }
11360
11361
11362 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj = NULL;
11364 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11365 int arg2 ;
11366 wxString result;
11367 PyObject * obj0 = 0 ;
11368 PyObject * obj1 = 0 ;
11369 char *kwnames[] = {
11370 (char *) "self",(char *) "id", NULL
11371 };
11372
11373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
11374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11375 if (SWIG_arg_fail(1)) SWIG_fail;
11376 {
11377 arg2 = static_cast<int >(SWIG_As_int(obj1));
11378 if (SWIG_arg_fail(2)) SWIG_fail;
11379 }
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 result = (arg1)->FindPageById(arg2);
11383
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 {
11388 #if wxUSE_UNICODE
11389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11390 #else
11391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11392 #endif
11393 }
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj = NULL;
11402 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11403 wxHtmlBookRecArray *result;
11404 PyObject * obj0 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
11410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11411 if (SWIG_arg_fail(1)) SWIG_fail;
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 {
11415 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11416 result = (wxHtmlBookRecArray *) &_result_ref;
11417 }
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
11430 PyObject *obj;
11431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11432 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11433 Py_INCREF(obj);
11434 return Py_BuildValue((char *)"");
11435 }
11436 static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj = NULL;
11438 wxWindow *arg1 = (wxWindow *) 0 ;
11439 int arg2 ;
11440 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11441 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11442 wxSize const &arg4_defvalue = wxDefaultSize ;
11443 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11444 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11445 int arg6 = (int) wxHF_DEFAULT_STYLE ;
11446 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
11447 wxHtmlHelpWindow *result;
11448 wxPoint temp3 ;
11449 wxSize temp4 ;
11450 PyObject * obj0 = 0 ;
11451 PyObject * obj1 = 0 ;
11452 PyObject * obj2 = 0 ;
11453 PyObject * obj3 = 0 ;
11454 PyObject * obj4 = 0 ;
11455 PyObject * obj5 = 0 ;
11456 PyObject * obj6 = 0 ;
11457 char *kwnames[] = {
11458 (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
11459 };
11460
11461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11463 if (SWIG_arg_fail(1)) SWIG_fail;
11464 {
11465 arg2 = static_cast<int >(SWIG_As_int(obj1));
11466 if (SWIG_arg_fail(2)) SWIG_fail;
11467 }
11468 if (obj2) {
11469 {
11470 arg3 = &temp3;
11471 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11472 }
11473 }
11474 if (obj3) {
11475 {
11476 arg4 = &temp4;
11477 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11478 }
11479 }
11480 if (obj4) {
11481 {
11482 arg5 = static_cast<int >(SWIG_As_int(obj4));
11483 if (SWIG_arg_fail(5)) SWIG_fail;
11484 }
11485 }
11486 if (obj5) {
11487 {
11488 arg6 = static_cast<int >(SWIG_As_int(obj5));
11489 if (SWIG_arg_fail(6)) SWIG_fail;
11490 }
11491 }
11492 if (obj6) {
11493 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11494 if (SWIG_arg_fail(7)) SWIG_fail;
11495 }
11496 {
11497 if (!wxPyCheckForApp()) SWIG_fail;
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11505 return resultobj;
11506 fail:
11507 return NULL;
11508 }
11509
11510
11511 static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11512 PyObject *resultobj = NULL;
11513 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
11514 wxHtmlHelpWindow *result;
11515 PyObject * obj0 = 0 ;
11516 char *kwnames[] = {
11517 (char *) "data", NULL
11518 };
11519
11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) goto fail;
11521 if (obj0) {
11522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11523 if (SWIG_arg_fail(1)) SWIG_fail;
11524 }
11525 {
11526 if (!wxPyCheckForApp()) SWIG_fail;
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj = NULL;
11542 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11543 wxWindow *arg2 = (wxWindow *) 0 ;
11544 int arg3 ;
11545 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11546 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11547 wxSize const &arg5_defvalue = wxDefaultSize ;
11548 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11549 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11550 int arg7 = (int) wxHF_DEFAULT_STYLE ;
11551 bool result;
11552 wxPoint temp4 ;
11553 wxSize temp5 ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 PyObject * obj2 = 0 ;
11557 PyObject * obj3 = 0 ;
11558 PyObject * obj4 = 0 ;
11559 PyObject * obj5 = 0 ;
11560 PyObject * obj6 = 0 ;
11561 char *kwnames[] = {
11562 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11567 if (SWIG_arg_fail(1)) SWIG_fail;
11568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11569 if (SWIG_arg_fail(2)) SWIG_fail;
11570 {
11571 arg3 = static_cast<int >(SWIG_As_int(obj2));
11572 if (SWIG_arg_fail(3)) SWIG_fail;
11573 }
11574 if (obj3) {
11575 {
11576 arg4 = &temp4;
11577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11578 }
11579 }
11580 if (obj4) {
11581 {
11582 arg5 = &temp5;
11583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11584 }
11585 }
11586 if (obj5) {
11587 {
11588 arg6 = static_cast<int >(SWIG_As_int(obj5));
11589 if (SWIG_arg_fail(6)) SWIG_fail;
11590 }
11591 }
11592 if (obj6) {
11593 {
11594 arg7 = static_cast<int >(SWIG_As_int(obj6));
11595 if (SWIG_arg_fail(7)) SWIG_fail;
11596 }
11597 }
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 {
11606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11607 }
11608 return resultobj;
11609 fail:
11610 return NULL;
11611 }
11612
11613
11614 static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj = NULL;
11616 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11617 wxHtmlHelpData *result;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetData",kwnames,&obj0)) goto fail;
11624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail;
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (wxHtmlHelpData *)(arg1)->GetData();
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
11634 return resultobj;
11635 fail:
11636 return NULL;
11637 }
11638
11639
11640 static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
11641 PyObject *resultobj = NULL;
11642 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11643 wxHtmlHelpController *result;
11644 PyObject * obj0 = 0 ;
11645 char *kwnames[] = {
11646 (char *) "self", NULL
11647 };
11648
11649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetController",kwnames,&obj0)) goto fail;
11650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11651 if (SWIG_arg_fail(1)) SWIG_fail;
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj = NULL;
11668 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11669 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
11670 PyObject * obj0 = 0 ;
11671 PyObject * obj1 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self",(char *) "controller", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) goto fail;
11677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11678 if (SWIG_arg_fail(1)) SWIG_fail;
11679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
11680 if (SWIG_arg_fail(2)) SWIG_fail;
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 (arg1)->SetController(arg2);
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 Py_INCREF(Py_None); resultobj = Py_None;
11689 return resultobj;
11690 fail:
11691 return NULL;
11692 }
11693
11694
11695 static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) {
11696 PyObject *resultobj = NULL;
11697 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11698 wxString *arg2 = 0 ;
11699 bool result;
11700 bool temp2 = false ;
11701 PyObject * obj0 = 0 ;
11702 PyObject * obj1 = 0 ;
11703 char *kwnames[] = {
11704 (char *) "self",(char *) "x", NULL
11705 };
11706
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) goto fail;
11708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11709 if (SWIG_arg_fail(1)) SWIG_fail;
11710 {
11711 arg2 = wxString_in_helper(obj1);
11712 if (arg2 == NULL) SWIG_fail;
11713 temp2 = true;
11714 }
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 result = (bool)(arg1)->Display((wxString const &)*arg2);
11718
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 {
11723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11724 }
11725 {
11726 if (temp2)
11727 delete arg2;
11728 }
11729 return resultobj;
11730 fail:
11731 {
11732 if (temp2)
11733 delete arg2;
11734 }
11735 return NULL;
11736 }
11737
11738
11739 static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj = NULL;
11741 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11742 int arg2 ;
11743 bool result;
11744 PyObject * obj0 = 0 ;
11745 PyObject * obj1 = 0 ;
11746 char *kwnames[] = {
11747 (char *) "self",(char *) "id", NULL
11748 };
11749
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) goto fail;
11751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11752 if (SWIG_arg_fail(1)) SWIG_fail;
11753 {
11754 arg2 = static_cast<int >(SWIG_As_int(obj1));
11755 if (SWIG_arg_fail(2)) SWIG_fail;
11756 }
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 result = (bool)(arg1)->Display(arg2);
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 {
11765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11766 }
11767 return resultobj;
11768 fail:
11769 return NULL;
11770 }
11771
11772
11773 static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
11774 PyObject *resultobj = NULL;
11775 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11776 bool result;
11777 PyObject * obj0 = 0 ;
11778 char *kwnames[] = {
11779 (char *) "self", NULL
11780 };
11781
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames,&obj0)) goto fail;
11783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11784 if (SWIG_arg_fail(1)) SWIG_fail;
11785 {
11786 PyThreadState* __tstate = wxPyBeginAllowThreads();
11787 result = (bool)(arg1)->DisplayContents();
11788
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 {
11793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11794 }
11795 return resultobj;
11796 fail:
11797 return NULL;
11798 }
11799
11800
11801 static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj = NULL;
11803 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11804 bool result;
11805 PyObject * obj0 = 0 ;
11806 char *kwnames[] = {
11807 (char *) "self", NULL
11808 };
11809
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames,&obj0)) goto fail;
11811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11812 if (SWIG_arg_fail(1)) SWIG_fail;
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 result = (bool)(arg1)->DisplayIndex();
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 {
11821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11822 }
11823 return resultobj;
11824 fail:
11825 return NULL;
11826 }
11827
11828
11829 static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
11830 PyObject *resultobj = NULL;
11831 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11832 wxString *arg2 = 0 ;
11833 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
11834 bool result;
11835 bool temp2 = false ;
11836 PyObject * obj0 = 0 ;
11837 PyObject * obj1 = 0 ;
11838 PyObject * obj2 = 0 ;
11839 char *kwnames[] = {
11840 (char *) "self",(char *) "keyword",(char *) "mode", NULL
11841 };
11842
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
11844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11845 if (SWIG_arg_fail(1)) SWIG_fail;
11846 {
11847 arg2 = wxString_in_helper(obj1);
11848 if (arg2 == NULL) SWIG_fail;
11849 temp2 = true;
11850 }
11851 if (obj2) {
11852 {
11853 wxHelpSearchMode * argp;
11854 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
11855 if (SWIG_arg_fail(3)) SWIG_fail;
11856 if (argp == NULL) {
11857 SWIG_null_ref("wxHelpSearchMode");
11858 }
11859 if (SWIG_arg_fail(3)) SWIG_fail;
11860 arg3 = *argp;
11861 }
11862 }
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 {
11871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11872 }
11873 {
11874 if (temp2)
11875 delete arg2;
11876 }
11877 return resultobj;
11878 fail:
11879 {
11880 if (temp2)
11881 delete arg2;
11882 }
11883 return NULL;
11884 }
11885
11886
11887 static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
11888 PyObject *resultobj = NULL;
11889 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11890 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11891 wxString const &arg3_defvalue = wxEmptyString ;
11892 wxString *arg3 = (wxString *) &arg3_defvalue ;
11893 bool temp3 = false ;
11894 PyObject * obj0 = 0 ;
11895 PyObject * obj1 = 0 ;
11896 PyObject * obj2 = 0 ;
11897 char *kwnames[] = {
11898 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11899 };
11900
11901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
11902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11903 if (SWIG_arg_fail(1)) SWIG_fail;
11904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11905 if (SWIG_arg_fail(2)) SWIG_fail;
11906 if (obj2) {
11907 {
11908 arg3 = wxString_in_helper(obj2);
11909 if (arg3 == NULL) SWIG_fail;
11910 temp3 = true;
11911 }
11912 }
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 Py_INCREF(Py_None); resultobj = Py_None;
11921 {
11922 if (temp3)
11923 delete arg3;
11924 }
11925 return resultobj;
11926 fail:
11927 {
11928 if (temp3)
11929 delete arg3;
11930 }
11931 return NULL;
11932 }
11933
11934
11935 static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11936 PyObject *resultobj = NULL;
11937 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11938 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11939 wxString const &arg3_defvalue = wxEmptyString ;
11940 wxString *arg3 = (wxString *) &arg3_defvalue ;
11941 bool temp3 = false ;
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 PyObject * obj2 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "self",(char *) "cfg",(char *) "path", NULL
11947 };
11948
11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
11950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail;
11952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11953 if (SWIG_arg_fail(2)) SWIG_fail;
11954 if (obj2) {
11955 {
11956 arg3 = wxString_in_helper(obj2);
11957 if (arg3 == NULL) SWIG_fail;
11958 temp3 = true;
11959 }
11960 }
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
11968 Py_INCREF(Py_None); resultobj = Py_None;
11969 {
11970 if (temp3)
11971 delete arg3;
11972 }
11973 return resultobj;
11974 fail:
11975 {
11976 if (temp3)
11977 delete arg3;
11978 }
11979 return NULL;
11980 }
11981
11982
11983 static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11984 PyObject *resultobj = NULL;
11985 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11986 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11987 wxString const &arg3_defvalue = wxEmptyString ;
11988 wxString *arg3 = (wxString *) &arg3_defvalue ;
11989 bool temp3 = false ;
11990 PyObject * obj0 = 0 ;
11991 PyObject * obj1 = 0 ;
11992 PyObject * obj2 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "self",(char *) "cfg",(char *) "path", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
11998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11999 if (SWIG_arg_fail(1)) SWIG_fail;
12000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12001 if (SWIG_arg_fail(2)) SWIG_fail;
12002 if (obj2) {
12003 {
12004 arg3 = wxString_in_helper(obj2);
12005 if (arg3 == NULL) SWIG_fail;
12006 temp3 = true;
12007 }
12008 }
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 Py_INCREF(Py_None); resultobj = Py_None;
12017 {
12018 if (temp3)
12019 delete arg3;
12020 }
12021 return resultobj;
12022 fail:
12023 {
12024 if (temp3)
12025 delete arg3;
12026 }
12027 return NULL;
12028 }
12029
12030
12031 static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj = NULL;
12033 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12034 PyObject * obj0 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames,&obj0)) goto fail;
12040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12041 if (SWIG_arg_fail(1)) SWIG_fail;
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 (arg1)->NotifyPageChanged();
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 Py_INCREF(Py_None); resultobj = Py_None;
12050 return resultobj;
12051 fail:
12052 return NULL;
12053 }
12054
12055
12056 static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) {
12057 PyObject *resultobj = NULL;
12058 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12059 PyObject * obj0 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames,&obj0)) goto fail;
12065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail;
12067 {
12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
12069 (arg1)->RefreshLists();
12070
12071 wxPyEndAllowThreads(__tstate);
12072 if (PyErr_Occurred()) SWIG_fail;
12073 }
12074 Py_INCREF(Py_None); resultobj = Py_None;
12075 return resultobj;
12076 fail:
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj = NULL;
12083 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12084 wxHtmlWindow *result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames,&obj0)) goto fail;
12091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindow, 0);
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj = NULL;
12109 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12110 wxSplitterWindow *result;
12111 PyObject * obj0 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames,&obj0)) goto fail;
12117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 0);
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj = NULL;
12135 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12136 wxToolBar *result;
12137 PyObject * obj0 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames,&obj0)) goto fail;
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 {
12153 resultobj = wxPyMake_wxObject(result, (bool)0);
12154 }
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj = NULL;
12163 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12164 wxHtmlHelpFrameCfg *result;
12165 PyObject * obj0 = 0 ;
12166 char *kwnames[] = {
12167 (char *) "self", NULL
12168 };
12169
12170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames,&obj0)) goto fail;
12171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail;
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 {
12176 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
12177 result = (wxHtmlHelpFrameCfg *) &_result_ref;
12178 }
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0);
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj = NULL;
12192 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12193 wxTreeCtrl *result;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
12200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail;
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) {
12217 PyObject *obj;
12218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12219 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow, obj);
12220 Py_INCREF(obj);
12221 return Py_BuildValue((char *)"");
12222 }
12223 static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj = NULL;
12225 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12226 int arg2 = (int) 0 ;
12227 wxHtmlWindowEvent *result;
12228 PyObject * obj0 = 0 ;
12229 PyObject * obj1 = 0 ;
12230 char *kwnames[] = {
12231 (char *) "commandType",(char *) "id", NULL
12232 };
12233
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) goto fail;
12235 if (obj0) {
12236 {
12237 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
12238 if (SWIG_arg_fail(1)) SWIG_fail;
12239 }
12240 }
12241 if (obj1) {
12242 {
12243 arg2 = static_cast<int >(SWIG_As_int(obj1));
12244 if (SWIG_arg_fail(2)) SWIG_fail;
12245 }
12246 }
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindowEvent, 1);
12255 return resultobj;
12256 fail:
12257 return NULL;
12258 }
12259
12260
12261 static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj = NULL;
12263 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12264 wxString *arg2 = 0 ;
12265 bool temp2 = false ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self",(char *) "url", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
12273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail;
12275 {
12276 arg2 = wxString_in_helper(obj1);
12277 if (arg2 == NULL) SWIG_fail;
12278 temp2 = true;
12279 }
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 (arg1)->SetURL((wxString const &)*arg2);
12283
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 Py_INCREF(Py_None); resultobj = Py_None;
12288 {
12289 if (temp2)
12290 delete arg2;
12291 }
12292 return resultobj;
12293 fail:
12294 {
12295 if (temp2)
12296 delete arg2;
12297 }
12298 return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj = NULL;
12304 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12305 wxString *result;
12306 PyObject * obj0 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindowEvent_GetURL",kwnames,&obj0)) goto fail;
12312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail;
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 {
12317 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
12318 result = (wxString *) &_result_ref;
12319 }
12320
12321 wxPyEndAllowThreads(__tstate);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 }
12324 {
12325 #if wxUSE_UNICODE
12326 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12327 #else
12328 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12329 #endif
12330 }
12331 return resultobj;
12332 fail:
12333 return NULL;
12334 }
12335
12336
12337 static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) {
12338 PyObject *obj;
12339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12340 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent, obj);
12341 Py_INCREF(obj);
12342 return Py_BuildValue((char *)"");
12343 }
12344 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12345 PyObject *resultobj = NULL;
12346 wxWindow *arg1 = (wxWindow *) 0 ;
12347 int arg2 ;
12348 wxString const &arg3_defvalue = wxPyEmptyString ;
12349 wxString *arg3 = (wxString *) &arg3_defvalue ;
12350 int arg4 = (int) wxHF_DEFAULTSTYLE ;
12351 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12352 wxHtmlHelpFrame *result;
12353 bool temp3 = false ;
12354 PyObject * obj0 = 0 ;
12355 PyObject * obj1 = 0 ;
12356 PyObject * obj2 = 0 ;
12357 PyObject * obj3 = 0 ;
12358 PyObject * obj4 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail;
12366 {
12367 arg2 = static_cast<int >(SWIG_As_int(obj1));
12368 if (SWIG_arg_fail(2)) SWIG_fail;
12369 }
12370 if (obj2) {
12371 {
12372 arg3 = wxString_in_helper(obj2);
12373 if (arg3 == NULL) SWIG_fail;
12374 temp3 = true;
12375 }
12376 }
12377 if (obj3) {
12378 {
12379 arg4 = static_cast<int >(SWIG_As_int(obj3));
12380 if (SWIG_arg_fail(4)) SWIG_fail;
12381 }
12382 }
12383 if (obj4) {
12384 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12385 if (SWIG_arg_fail(5)) SWIG_fail;
12386 }
12387 {
12388 if (!wxPyCheckForApp()) SWIG_fail;
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
12396 {
12397 if (temp3)
12398 delete arg3;
12399 }
12400 return resultobj;
12401 fail:
12402 {
12403 if (temp3)
12404 delete arg3;
12405 }
12406 return NULL;
12407 }
12408
12409
12410 static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj = NULL;
12412 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12413 wxHtmlHelpFrame *result;
12414 PyObject * obj0 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "data", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) goto fail;
12420 if (obj0) {
12421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12422 if (SWIG_arg_fail(1)) SWIG_fail;
12423 }
12424 {
12425 if (!wxPyCheckForApp()) SWIG_fail;
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj = NULL;
12441 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12442 wxWindow *arg2 = (wxWindow *) 0 ;
12443 int arg3 ;
12444 wxString const &arg4_defvalue = wxPyEmptyString ;
12445 wxString *arg4 = (wxString *) &arg4_defvalue ;
12446 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12447 bool result;
12448 bool temp4 = false ;
12449 PyObject * obj0 = 0 ;
12450 PyObject * obj1 = 0 ;
12451 PyObject * obj2 = 0 ;
12452 PyObject * obj3 = 0 ;
12453 PyObject * obj4 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12460 if (SWIG_arg_fail(1)) SWIG_fail;
12461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12462 if (SWIG_arg_fail(2)) SWIG_fail;
12463 {
12464 arg3 = static_cast<int >(SWIG_As_int(obj2));
12465 if (SWIG_arg_fail(3)) SWIG_fail;
12466 }
12467 if (obj3) {
12468 {
12469 arg4 = wxString_in_helper(obj3);
12470 if (arg4 == NULL) SWIG_fail;
12471 temp4 = true;
12472 }
12473 }
12474 if (obj4) {
12475 {
12476 arg5 = static_cast<int >(SWIG_As_int(obj4));
12477 if (SWIG_arg_fail(5)) SWIG_fail;
12478 }
12479 }
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 {
12488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12489 }
12490 {
12491 if (temp4)
12492 delete arg4;
12493 }
12494 return resultobj;
12495 fail:
12496 {
12497 if (temp4)
12498 delete arg4;
12499 }
12500 return NULL;
12501 }
12502
12503
12504 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12505 PyObject *resultobj = NULL;
12506 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12507 wxHtmlHelpData *result;
12508 PyObject * obj0 = 0 ;
12509 char *kwnames[] = {
12510 (char *) "self", NULL
12511 };
12512
12513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
12514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12515 if (SWIG_arg_fail(1)) SWIG_fail;
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 result = (wxHtmlHelpData *)(arg1)->GetData();
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12524 return resultobj;
12525 fail:
12526 return NULL;
12527 }
12528
12529
12530 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj = NULL;
12532 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12533 wxString *arg2 = 0 ;
12534 bool temp2 = false ;
12535 PyObject * obj0 = 0 ;
12536 PyObject * obj1 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self",(char *) "format", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12543 if (SWIG_arg_fail(1)) SWIG_fail;
12544 {
12545 arg2 = wxString_in_helper(obj1);
12546 if (arg2 == NULL) SWIG_fail;
12547 temp2 = true;
12548 }
12549 {
12550 PyThreadState* __tstate = wxPyBeginAllowThreads();
12551 (arg1)->SetTitleFormat((wxString const &)*arg2);
12552
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 Py_INCREF(Py_None); resultobj = Py_None;
12557 {
12558 if (temp2)
12559 delete arg2;
12560 }
12561 return resultobj;
12562 fail:
12563 {
12564 if (temp2)
12565 delete arg2;
12566 }
12567 return NULL;
12568 }
12569
12570
12571 static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj = NULL;
12573 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12574 PyObject * obj0 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames,&obj0)) goto fail;
12580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail;
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->AddGrabIfNeeded();
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593 }
12594
12595
12596 static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj = NULL;
12598 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12599 wxHtmlHelpController *result;
12600 PyObject * obj0 = 0 ;
12601 char *kwnames[] = {
12602 (char *) "self", NULL
12603 };
12604
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetController",kwnames,&obj0)) goto fail;
12606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail;
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12616 return resultobj;
12617 fail:
12618 return NULL;
12619 }
12620
12621
12622 static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj = NULL;
12624 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12625 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12626 PyObject * obj0 = 0 ;
12627 PyObject * obj1 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "self",(char *) "controller", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) goto fail;
12633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12634 if (SWIG_arg_fail(1)) SWIG_fail;
12635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
12636 if (SWIG_arg_fail(2)) SWIG_fail;
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 (arg1)->SetController(arg2);
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 Py_INCREF(Py_None); resultobj = Py_None;
12645 return resultobj;
12646 fail:
12647 return NULL;
12648 }
12649
12650
12651 static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12652 PyObject *resultobj = NULL;
12653 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12654 wxHtmlHelpWindow *result;
12655 PyObject * obj0 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames,&obj0)) goto fail;
12661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12662 if (SWIG_arg_fail(1)) SWIG_fail;
12663 {
12664 PyThreadState* __tstate = wxPyBeginAllowThreads();
12665 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
12666
12667 wxPyEndAllowThreads(__tstate);
12668 if (PyErr_Occurred()) SWIG_fail;
12669 }
12670 {
12671 resultobj = wxPyMake_wxObject(result, 0);
12672 }
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
12680 PyObject *obj;
12681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
12683 Py_INCREF(obj);
12684 return Py_BuildValue((char *)"");
12685 }
12686 static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj = NULL;
12688 wxWindow *arg1 = (wxWindow *) 0 ;
12689 int arg2 ;
12690 wxString const &arg3_defvalue = wxPyEmptyString ;
12691 wxString *arg3 = (wxString *) &arg3_defvalue ;
12692 int arg4 = (int) wxHF_DEFAULT_STYLE ;
12693 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12694 wxHtmlHelpDialog *result;
12695 bool temp3 = false ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 PyObject * obj2 = 0 ;
12699 PyObject * obj3 = 0 ;
12700 PyObject * obj4 = 0 ;
12701 char *kwnames[] = {
12702 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12703 };
12704
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail;
12708 {
12709 arg2 = static_cast<int >(SWIG_As_int(obj1));
12710 if (SWIG_arg_fail(2)) SWIG_fail;
12711 }
12712 if (obj2) {
12713 {
12714 arg3 = wxString_in_helper(obj2);
12715 if (arg3 == NULL) SWIG_fail;
12716 temp3 = true;
12717 }
12718 }
12719 if (obj3) {
12720 {
12721 arg4 = static_cast<int >(SWIG_As_int(obj3));
12722 if (SWIG_arg_fail(4)) SWIG_fail;
12723 }
12724 }
12725 if (obj4) {
12726 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12727 if (SWIG_arg_fail(5)) SWIG_fail;
12728 }
12729 {
12730 if (!wxPyCheckForApp()) SWIG_fail;
12731 PyThreadState* __tstate = wxPyBeginAllowThreads();
12732 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12733
12734 wxPyEndAllowThreads(__tstate);
12735 if (PyErr_Occurred()) SWIG_fail;
12736 }
12737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12738 {
12739 if (temp3)
12740 delete arg3;
12741 }
12742 return resultobj;
12743 fail:
12744 {
12745 if (temp3)
12746 delete arg3;
12747 }
12748 return NULL;
12749 }
12750
12751
12752 static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12753 PyObject *resultobj = NULL;
12754 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12755 wxHtmlHelpDialog *result;
12756 PyObject * obj0 = 0 ;
12757 char *kwnames[] = {
12758 (char *) "data", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) goto fail;
12762 if (obj0) {
12763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12764 if (SWIG_arg_fail(1)) SWIG_fail;
12765 }
12766 {
12767 if (!wxPyCheckForApp()) SWIG_fail;
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
12770
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12775 return resultobj;
12776 fail:
12777 return NULL;
12778 }
12779
12780
12781 static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj = NULL;
12783 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12784 wxWindow *arg2 = (wxWindow *) 0 ;
12785 int arg3 ;
12786 wxString const &arg4_defvalue = wxPyEmptyString ;
12787 wxString *arg4 = (wxString *) &arg4_defvalue ;
12788 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12789 bool result;
12790 bool temp4 = false ;
12791 PyObject * obj0 = 0 ;
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
12794 PyObject * obj3 = 0 ;
12795 PyObject * obj4 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12802 if (SWIG_arg_fail(1)) SWIG_fail;
12803 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12804 if (SWIG_arg_fail(2)) SWIG_fail;
12805 {
12806 arg3 = static_cast<int >(SWIG_As_int(obj2));
12807 if (SWIG_arg_fail(3)) SWIG_fail;
12808 }
12809 if (obj3) {
12810 {
12811 arg4 = wxString_in_helper(obj3);
12812 if (arg4 == NULL) SWIG_fail;
12813 temp4 = true;
12814 }
12815 }
12816 if (obj4) {
12817 {
12818 arg5 = static_cast<int >(SWIG_As_int(obj4));
12819 if (SWIG_arg_fail(5)) SWIG_fail;
12820 }
12821 }
12822 {
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
12824 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12825
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 {
12830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12831 }
12832 {
12833 if (temp4)
12834 delete arg4;
12835 }
12836 return resultobj;
12837 fail:
12838 {
12839 if (temp4)
12840 delete arg4;
12841 }
12842 return NULL;
12843 }
12844
12845
12846 static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj = NULL;
12848 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12849 wxHtmlHelpData *result;
12850 PyObject * obj0 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self", NULL
12853 };
12854
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetData",kwnames,&obj0)) goto fail;
12856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (wxHtmlHelpData *)(arg1)->GetData();
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj = NULL;
12874 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12875 wxHtmlHelpController *result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetController",kwnames,&obj0)) goto fail;
12882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj = NULL;
12900 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12901 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self",(char *) "controller", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) goto fail;
12909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12910 if (SWIG_arg_fail(1)) SWIG_fail;
12911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
12912 if (SWIG_arg_fail(2)) SWIG_fail;
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 (arg1)->SetController(arg2);
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 Py_INCREF(Py_None); resultobj = Py_None;
12921 return resultobj;
12922 fail:
12923 return NULL;
12924 }
12925
12926
12927 static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12928 PyObject *resultobj = NULL;
12929 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12930 wxHtmlHelpWindow *result;
12931 PyObject * obj0 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames,&obj0)) goto fail;
12937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12938 if (SWIG_arg_fail(1)) SWIG_fail;
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 {
12947 resultobj = wxPyMake_wxObject(result, 0);
12948 }
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj = NULL;
12957 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12958 wxString *arg2 = 0 ;
12959 bool temp2 = false ;
12960 PyObject * obj0 = 0 ;
12961 PyObject * obj1 = 0 ;
12962 char *kwnames[] = {
12963 (char *) "self",(char *) "format", NULL
12964 };
12965
12966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12968 if (SWIG_arg_fail(1)) SWIG_fail;
12969 {
12970 arg2 = wxString_in_helper(obj1);
12971 if (arg2 == NULL) SWIG_fail;
12972 temp2 = true;
12973 }
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 (arg1)->SetTitleFormat((wxString const &)*arg2);
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 Py_INCREF(Py_None); resultobj = Py_None;
12982 {
12983 if (temp2)
12984 delete arg2;
12985 }
12986 return resultobj;
12987 fail:
12988 {
12989 if (temp2)
12990 delete arg2;
12991 }
12992 return NULL;
12993 }
12994
12995
12996 static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) {
12997 PyObject *obj;
12998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12999 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog, obj);
13000 Py_INCREF(obj);
13001 return Py_BuildValue((char *)"");
13002 }
13003 static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) {
13004 PyObject *resultobj = NULL;
13005 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13006 wxString *arg2 = 0 ;
13007 int arg3 ;
13008 bool result;
13009 bool temp2 = false ;
13010 PyObject * obj0 = 0 ;
13011 PyObject * obj1 = 0 ;
13012 PyObject * obj2 = 0 ;
13013
13014 if(!PyArg_ParseTuple(args,(char *)"OOO:HelpControllerBase_Initialize",&obj0,&obj1,&obj2)) goto fail;
13015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13016 if (SWIG_arg_fail(1)) SWIG_fail;
13017 {
13018 arg2 = wxString_in_helper(obj1);
13019 if (arg2 == NULL) SWIG_fail;
13020 temp2 = true;
13021 }
13022 {
13023 arg3 = static_cast<int >(SWIG_As_int(obj2));
13024 if (SWIG_arg_fail(3)) SWIG_fail;
13025 }
13026 {
13027 PyThreadState* __tstate = wxPyBeginAllowThreads();
13028 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
13029
13030 wxPyEndAllowThreads(__tstate);
13031 if (PyErr_Occurred()) SWIG_fail;
13032 }
13033 {
13034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13035 }
13036 {
13037 if (temp2)
13038 delete arg2;
13039 }
13040 return resultobj;
13041 fail:
13042 {
13043 if (temp2)
13044 delete arg2;
13045 }
13046 return NULL;
13047 }
13048
13049
13050 static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) {
13051 PyObject *resultobj = NULL;
13052 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13053 wxString *arg2 = 0 ;
13054 bool result;
13055 bool temp2 = false ;
13056 PyObject * obj0 = 0 ;
13057 PyObject * obj1 = 0 ;
13058
13059 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_Initialize",&obj0,&obj1)) goto fail;
13060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13061 if (SWIG_arg_fail(1)) SWIG_fail;
13062 {
13063 arg2 = wxString_in_helper(obj1);
13064 if (arg2 == NULL) SWIG_fail;
13065 temp2 = true;
13066 }
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 {
13075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13076 }
13077 {
13078 if (temp2)
13079 delete arg2;
13080 }
13081 return resultobj;
13082 fail:
13083 {
13084 if (temp2)
13085 delete arg2;
13086 }
13087 return NULL;
13088 }
13089
13090
13091 static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
13092 int argc;
13093 PyObject *argv[4];
13094 int ii;
13095
13096 argc = PyObject_Length(args);
13097 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
13098 argv[ii] = PyTuple_GetItem(args,ii);
13099 }
13100 if (argc == 2) {
13101 int _v;
13102 {
13103 void *ptr;
13104 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13105 _v = 0;
13106 PyErr_Clear();
13107 } else {
13108 _v = 1;
13109 }
13110 }
13111 if (_v) {
13112 {
13113 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13114 }
13115 if (_v) {
13116 return _wrap_HelpControllerBase_Initialize__SWIG_1(self,args);
13117 }
13118 }
13119 }
13120 if (argc == 3) {
13121 int _v;
13122 {
13123 void *ptr;
13124 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13125 _v = 0;
13126 PyErr_Clear();
13127 } else {
13128 _v = 1;
13129 }
13130 }
13131 if (_v) {
13132 {
13133 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13134 }
13135 if (_v) {
13136 _v = SWIG_Check_int(argv[2]);
13137 if (_v) {
13138 return _wrap_HelpControllerBase_Initialize__SWIG_0(self,args);
13139 }
13140 }
13141 }
13142 }
13143
13144 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
13145 return NULL;
13146 }
13147
13148
13149 static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj = NULL;
13151 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13152 wxString *arg2 = 0 ;
13153 long arg3 = (long) 0 ;
13154 bool temp2 = false ;
13155 PyObject * obj0 = 0 ;
13156 PyObject * obj1 = 0 ;
13157 PyObject * obj2 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self",(char *) "viewer",(char *) "flags", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) goto fail;
13163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail;
13165 {
13166 arg2 = wxString_in_helper(obj1);
13167 if (arg2 == NULL) SWIG_fail;
13168 temp2 = true;
13169 }
13170 if (obj2) {
13171 {
13172 arg3 = static_cast<long >(SWIG_As_long(obj2));
13173 if (SWIG_arg_fail(3)) SWIG_fail;
13174 }
13175 }
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 (arg1)->SetViewer((wxString const &)*arg2,arg3);
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 Py_INCREF(Py_None); resultobj = Py_None;
13184 {
13185 if (temp2)
13186 delete arg2;
13187 }
13188 return resultobj;
13189 fail:
13190 {
13191 if (temp2)
13192 delete arg2;
13193 }
13194 return NULL;
13195 }
13196
13197
13198 static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj = NULL;
13200 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13201 wxString const &arg2_defvalue = wxEmptyString ;
13202 wxString *arg2 = (wxString *) &arg2_defvalue ;
13203 bool result;
13204 bool temp2 = false ;
13205 PyObject * obj0 = 0 ;
13206 PyObject * obj1 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self",(char *) "file", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) goto fail;
13212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13213 if (SWIG_arg_fail(1)) SWIG_fail;
13214 if (obj1) {
13215 {
13216 arg2 = wxString_in_helper(obj1);
13217 if (arg2 == NULL) SWIG_fail;
13218 temp2 = true;
13219 }
13220 }
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
13224
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 {
13229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13230 }
13231 {
13232 if (temp2)
13233 delete arg2;
13234 }
13235 return resultobj;
13236 fail:
13237 {
13238 if (temp2)
13239 delete arg2;
13240 }
13241 return NULL;
13242 }
13243
13244
13245 static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
13246 PyObject *resultobj = NULL;
13247 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13248 bool result;
13249 PyObject * obj0 = 0 ;
13250 char *kwnames[] = {
13251 (char *) "self", NULL
13252 };
13253
13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_DisplayContents",kwnames,&obj0)) goto fail;
13255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail;
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (bool)(arg1)->DisplayContents();
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 {
13265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13266 }
13267 return resultobj;
13268 fail:
13269 return NULL;
13270 }
13271
13272
13273 static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) {
13274 PyObject *resultobj = NULL;
13275 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13276 int arg2 ;
13277 bool result;
13278 PyObject * obj0 = 0 ;
13279 PyObject * obj1 = 0 ;
13280
13281 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail;
13284 {
13285 arg2 = static_cast<int >(SWIG_As_int(obj1));
13286 if (SWIG_arg_fail(2)) SWIG_fail;
13287 }
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (bool)(arg1)->DisplaySection(arg2);
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 {
13296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13297 }
13298 return resultobj;
13299 fail:
13300 return NULL;
13301 }
13302
13303
13304 static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj = NULL;
13306 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13307 int arg2 ;
13308 bool result;
13309 PyObject * obj0 = 0 ;
13310 PyObject * obj1 = 0 ;
13311 char *kwnames[] = {
13312 (char *) "self",(char *) "contextId", NULL
13313 };
13314
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) goto fail;
13316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail;
13318 {
13319 arg2 = static_cast<int >(SWIG_As_int(obj1));
13320 if (SWIG_arg_fail(2)) SWIG_fail;
13321 }
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (bool)(arg1)->DisplayContextPopup(arg2);
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 {
13330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13331 }
13332 return resultobj;
13333 fail:
13334 return NULL;
13335 }
13336
13337
13338 static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj = NULL;
13340 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13341 wxString *arg2 = 0 ;
13342 wxPoint *arg3 = 0 ;
13343 bool result;
13344 bool temp2 = false ;
13345 wxPoint temp3 ;
13346 PyObject * obj0 = 0 ;
13347 PyObject * obj1 = 0 ;
13348 PyObject * obj2 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "self",(char *) "text",(char *) "pos", NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) goto fail;
13354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13355 if (SWIG_arg_fail(1)) SWIG_fail;
13356 {
13357 arg2 = wxString_in_helper(obj1);
13358 if (arg2 == NULL) SWIG_fail;
13359 temp2 = true;
13360 }
13361 {
13362 arg3 = &temp3;
13363 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 {
13373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13374 }
13375 {
13376 if (temp2)
13377 delete arg2;
13378 }
13379 return resultobj;
13380 fail:
13381 {
13382 if (temp2)
13383 delete arg2;
13384 }
13385 return NULL;
13386 }
13387
13388
13389 static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) {
13390 PyObject *resultobj = NULL;
13391 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13392 wxString *arg2 = 0 ;
13393 bool result;
13394 bool temp2 = false ;
13395 PyObject * obj0 = 0 ;
13396 PyObject * obj1 = 0 ;
13397
13398 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail;
13401 {
13402 arg2 = wxString_in_helper(obj1);
13403 if (arg2 == NULL) SWIG_fail;
13404 temp2 = true;
13405 }
13406 {
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
13409
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 {
13414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13415 }
13416 {
13417 if (temp2)
13418 delete arg2;
13419 }
13420 return resultobj;
13421 fail:
13422 {
13423 if (temp2)
13424 delete arg2;
13425 }
13426 return NULL;
13427 }
13428
13429
13430 static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
13431 int argc;
13432 PyObject *argv[3];
13433 int ii;
13434
13435 argc = PyObject_Length(args);
13436 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
13437 argv[ii] = PyTuple_GetItem(args,ii);
13438 }
13439 if (argc == 2) {
13440 int _v;
13441 {
13442 void *ptr;
13443 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13444 _v = 0;
13445 PyErr_Clear();
13446 } else {
13447 _v = 1;
13448 }
13449 }
13450 if (_v) {
13451 {
13452 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13453 }
13454 if (_v) {
13455 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self,args);
13456 }
13457 }
13458 }
13459 if (argc == 2) {
13460 int _v;
13461 {
13462 void *ptr;
13463 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13464 _v = 0;
13465 PyErr_Clear();
13466 } else {
13467 _v = 1;
13468 }
13469 }
13470 if (_v) {
13471 _v = SWIG_Check_int(argv[1]);
13472 if (_v) {
13473 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self,args);
13474 }
13475 }
13476 }
13477
13478 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj = NULL;
13485 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13486 long arg2 ;
13487 bool result;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "blockNo", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) goto fail;
13495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13496 if (SWIG_arg_fail(1)) SWIG_fail;
13497 {
13498 arg2 = static_cast<long >(SWIG_As_long(obj1));
13499 if (SWIG_arg_fail(2)) SWIG_fail;
13500 }
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 result = (bool)(arg1)->DisplayBlock(arg2);
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 {
13509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13510 }
13511 return resultobj;
13512 fail:
13513 return NULL;
13514 }
13515
13516
13517 static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
13518 PyObject *resultobj = NULL;
13519 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13520 wxString *arg2 = 0 ;
13521 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
13522 bool result;
13523 bool temp2 = false ;
13524 PyObject * obj0 = 0 ;
13525 PyObject * obj1 = 0 ;
13526 PyObject * obj2 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self",(char *) "k",(char *) "mode", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
13532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13533 if (SWIG_arg_fail(1)) SWIG_fail;
13534 {
13535 arg2 = wxString_in_helper(obj1);
13536 if (arg2 == NULL) SWIG_fail;
13537 temp2 = true;
13538 }
13539 if (obj2) {
13540 {
13541 wxHelpSearchMode * argp;
13542 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
13543 if (SWIG_arg_fail(3)) SWIG_fail;
13544 if (argp == NULL) {
13545 SWIG_null_ref("wxHelpSearchMode");
13546 }
13547 if (SWIG_arg_fail(3)) SWIG_fail;
13548 arg3 = *argp;
13549 }
13550 }
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 {
13559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13560 }
13561 {
13562 if (temp2)
13563 delete arg2;
13564 }
13565 return resultobj;
13566 fail:
13567 {
13568 if (temp2)
13569 delete arg2;
13570 }
13571 return NULL;
13572 }
13573
13574
13575 static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj = NULL;
13577 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13578 wxString *arg2 = 0 ;
13579 wxSize *arg3 = 0 ;
13580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13582 bool arg5 = (bool) false ;
13583 bool temp2 = false ;
13584 wxSize temp3 ;
13585 wxPoint temp4 ;
13586 PyObject * obj0 = 0 ;
13587 PyObject * obj1 = 0 ;
13588 PyObject * obj2 = 0 ;
13589 PyObject * obj3 = 0 ;
13590 PyObject * obj4 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13597 if (SWIG_arg_fail(1)) SWIG_fail;
13598 {
13599 arg2 = wxString_in_helper(obj1);
13600 if (arg2 == NULL) SWIG_fail;
13601 temp2 = true;
13602 }
13603 {
13604 arg3 = &temp3;
13605 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13606 }
13607 if (obj3) {
13608 {
13609 arg4 = &temp4;
13610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13611 }
13612 }
13613 if (obj4) {
13614 {
13615 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
13616 if (SWIG_arg_fail(5)) SWIG_fail;
13617 }
13618 }
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
13621 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 Py_INCREF(Py_None); resultobj = Py_None;
13627 {
13628 if (temp2)
13629 delete arg2;
13630 }
13631 return resultobj;
13632 fail:
13633 {
13634 if (temp2)
13635 delete arg2;
13636 }
13637 return NULL;
13638 }
13639
13640
13641 static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj = NULL;
13643 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13644 wxSize *arg2 = (wxSize *) NULL ;
13645 wxPoint *arg3 = (wxPoint *) NULL ;
13646 bool *arg4 = (bool *) NULL ;
13647 wxFrame *result;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 PyObject * obj2 = 0 ;
13651 PyObject * obj3 = 0 ;
13652 char *kwnames[] = {
13653 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13654 };
13655
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13658 if (SWIG_arg_fail(1)) SWIG_fail;
13659 if (obj1) {
13660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
13661 if (SWIG_arg_fail(2)) SWIG_fail;
13662 }
13663 if (obj2) {
13664 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13665 if (SWIG_arg_fail(3)) SWIG_fail;
13666 }
13667 if (obj3) {
13668 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_bool, SWIG_POINTER_EXCEPTION | 0);
13669 if (SWIG_arg_fail(4)) SWIG_fail;
13670 }
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 {
13679 resultobj = wxPyMake_wxObject(result, 0);
13680 }
13681 return resultobj;
13682 fail:
13683 return NULL;
13684 }
13685
13686
13687 static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj = NULL;
13689 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13690 bool result;
13691 PyObject * obj0 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_Quit",kwnames,&obj0)) goto fail;
13697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13698 if (SWIG_arg_fail(1)) SWIG_fail;
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 result = (bool)(arg1)->Quit();
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 {
13707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13708 }
13709 return resultobj;
13710 fail:
13711 return NULL;
13712 }
13713
13714
13715 static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) {
13716 PyObject *resultobj = NULL;
13717 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13718 PyObject * obj0 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_OnQuit",kwnames,&obj0)) goto fail;
13724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13725 if (SWIG_arg_fail(1)) SWIG_fail;
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->OnQuit();
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 return resultobj;
13735 fail:
13736 return NULL;
13737 }
13738
13739
13740 static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13741 PyObject *resultobj = NULL;
13742 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13743 wxWindow *arg2 = (wxWindow *) 0 ;
13744 PyObject * obj0 = 0 ;
13745 PyObject * obj1 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "win", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) goto fail;
13751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13752 if (SWIG_arg_fail(1)) SWIG_fail;
13753 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13754 if (SWIG_arg_fail(2)) SWIG_fail;
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 (arg1)->SetParentWindow(arg2);
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 Py_INCREF(Py_None); resultobj = Py_None;
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj = NULL;
13771 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13772 wxWindow *result;
13773 PyObject * obj0 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_GetParentWindow",kwnames,&obj0)) goto fail;
13779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13780 if (SWIG_arg_fail(1)) SWIG_fail;
13781 {
13782 PyThreadState* __tstate = wxPyBeginAllowThreads();
13783 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
13784
13785 wxPyEndAllowThreads(__tstate);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 }
13788 {
13789 resultobj = wxPyMake_wxObject(result, 0);
13790 }
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) {
13798 PyObject *obj;
13799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13800 SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase, obj);
13801 Py_INCREF(obj);
13802 return Py_BuildValue((char *)"");
13803 }
13804 static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj = NULL;
13806 int arg1 = (int) wxHF_DEFAULT_STYLE ;
13807 wxWindow *arg2 = (wxWindow *) NULL ;
13808 wxHtmlHelpController *result;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "style",(char *) "parentWindow", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) goto fail;
13816 if (obj0) {
13817 {
13818 arg1 = static_cast<int >(SWIG_As_int(obj0));
13819 if (SWIG_arg_fail(1)) SWIG_fail;
13820 }
13821 }
13822 if (obj1) {
13823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13824 if (SWIG_arg_fail(2)) SWIG_fail;
13825 }
13826 {
13827 if (!wxPyCheckForApp()) SWIG_fail;
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj = NULL;
13843 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13844 PyObject * obj0 = 0 ;
13845 char *kwnames[] = {
13846 (char *) "self", NULL
13847 };
13848
13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
13850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail;
13852 {
13853 PyThreadState* __tstate = wxPyBeginAllowThreads();
13854 delete arg1;
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 Py_INCREF(Py_None); resultobj = Py_None;
13860 return resultobj;
13861 fail:
13862 return NULL;
13863 }
13864
13865
13866 static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj = NULL;
13868 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13869 wxHtmlHelpWindow *result;
13870 PyObject * obj0 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames,&obj0)) goto fail;
13876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13877 if (SWIG_arg_fail(1)) SWIG_fail;
13878 {
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
13881
13882 wxPyEndAllowThreads(__tstate);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 {
13886 resultobj = wxPyMake_wxObject(result, 0);
13887 }
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj = NULL;
13896 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13897 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
13898 PyObject * obj0 = 0 ;
13899 PyObject * obj1 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self",(char *) "helpWindow", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) goto fail;
13905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13906 if (SWIG_arg_fail(1)) SWIG_fail;
13907 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
13908 if (SWIG_arg_fail(2)) SWIG_fail;
13909 {
13910 PyThreadState* __tstate = wxPyBeginAllowThreads();
13911 (arg1)->SetHelpWindow(arg2);
13912
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 Py_INCREF(Py_None); resultobj = Py_None;
13917 return resultobj;
13918 fail:
13919 return NULL;
13920 }
13921
13922
13923 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj = NULL;
13925 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13926 wxHtmlHelpFrame *result;
13927 PyObject * obj0 = 0 ;
13928 char *kwnames[] = {
13929 (char *) "self", NULL
13930 };
13931
13932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
13933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13934 if (SWIG_arg_fail(1)) SWIG_fail;
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
13938
13939 wxPyEndAllowThreads(__tstate);
13940 if (PyErr_Occurred()) SWIG_fail;
13941 }
13942 {
13943 resultobj = wxPyMake_wxObject(result, 0);
13944 }
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj = NULL;
13953 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13954 wxHtmlHelpDialog *result;
13955 PyObject * obj0 = 0 ;
13956 char *kwnames[] = {
13957 (char *) "self", NULL
13958 };
13959
13960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetDialog",kwnames,&obj0)) goto fail;
13961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13962 if (SWIG_arg_fail(1)) SWIG_fail;
13963 {
13964 PyThreadState* __tstate = wxPyBeginAllowThreads();
13965 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
13966
13967 wxPyEndAllowThreads(__tstate);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 }
13970 {
13971 resultobj = wxPyMake_wxObject(result, 0);
13972 }
13973 return resultobj;
13974 fail:
13975 return NULL;
13976 }
13977
13978
13979 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
13980 PyObject *resultobj = NULL;
13981 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13982 wxString *arg2 = 0 ;
13983 bool temp2 = false ;
13984 PyObject * obj0 = 0 ;
13985 PyObject * obj1 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self",(char *) "format", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
13991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13992 if (SWIG_arg_fail(1)) SWIG_fail;
13993 {
13994 arg2 = wxString_in_helper(obj1);
13995 if (arg2 == NULL) SWIG_fail;
13996 temp2 = true;
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 (arg1)->SetTitleFormat((wxString const &)*arg2);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 Py_INCREF(Py_None); resultobj = Py_None;
14006 {
14007 if (temp2)
14008 delete arg2;
14009 }
14010 return resultobj;
14011 fail:
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return NULL;
14017 }
14018
14019
14020 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj = NULL;
14022 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14023 wxString *arg2 = 0 ;
14024 bool temp2 = false ;
14025 PyObject * obj0 = 0 ;
14026 PyObject * obj1 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self",(char *) "path", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
14032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14033 if (SWIG_arg_fail(1)) SWIG_fail;
14034 {
14035 arg2 = wxString_in_helper(obj1);
14036 if (arg2 == NULL) SWIG_fail;
14037 temp2 = true;
14038 }
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 (arg1)->SetTempDir((wxString const &)*arg2);
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 Py_INCREF(Py_None); resultobj = Py_None;
14047 {
14048 if (temp2)
14049 delete arg2;
14050 }
14051 return resultobj;
14052 fail:
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = NULL;
14063 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14064 wxString *arg2 = 0 ;
14065 int arg3 = (int) false ;
14066 bool result;
14067 bool temp2 = false ;
14068 PyObject * obj0 = 0 ;
14069 PyObject * obj1 = 0 ;
14070 PyObject * obj2 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
14076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14077 if (SWIG_arg_fail(1)) SWIG_fail;
14078 {
14079 arg2 = wxString_in_helper(obj1);
14080 if (arg2 == NULL) SWIG_fail;
14081 temp2 = true;
14082 }
14083 if (obj2) {
14084 {
14085 arg3 = static_cast<int >(SWIG_As_int(obj2));
14086 if (SWIG_arg_fail(3)) SWIG_fail;
14087 }
14088 }
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 {
14097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14098 }
14099 {
14100 if (temp2)
14101 delete arg2;
14102 }
14103 return resultobj;
14104 fail:
14105 {
14106 if (temp2)
14107 delete arg2;
14108 }
14109 return NULL;
14110 }
14111
14112
14113 static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
14114 PyObject *resultobj = NULL;
14115 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14116 wxString *arg2 = 0 ;
14117 bool temp2 = false ;
14118 PyObject * obj0 = 0 ;
14119 PyObject * obj1 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self",(char *) "x", NULL
14122 };
14123
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
14125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14126 if (SWIG_arg_fail(1)) SWIG_fail;
14127 {
14128 arg2 = wxString_in_helper(obj1);
14129 if (arg2 == NULL) SWIG_fail;
14130 temp2 = true;
14131 }
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 (arg1)->Display((wxString const &)*arg2);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 Py_INCREF(Py_None); resultobj = Py_None;
14140 {
14141 if (temp2)
14142 delete arg2;
14143 }
14144 return resultobj;
14145 fail:
14146 {
14147 if (temp2)
14148 delete arg2;
14149 }
14150 return NULL;
14151 }
14152
14153
14154 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj = NULL;
14156 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14157 int arg2 ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self",(char *) "id", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
14165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14166 if (SWIG_arg_fail(1)) SWIG_fail;
14167 {
14168 arg2 = static_cast<int >(SWIG_As_int(obj1));
14169 if (SWIG_arg_fail(2)) SWIG_fail;
14170 }
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 (arg1)->Display(arg2);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 Py_INCREF(Py_None); resultobj = Py_None;
14179 return resultobj;
14180 fail:
14181 return NULL;
14182 }
14183
14184
14185 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
14186 PyObject *resultobj = NULL;
14187 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14188 PyObject * obj0 = 0 ;
14189 char *kwnames[] = {
14190 (char *) "self", NULL
14191 };
14192
14193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
14194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14195 if (SWIG_arg_fail(1)) SWIG_fail;
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 (arg1)->DisplayContents();
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 Py_INCREF(Py_None); resultobj = Py_None;
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj = NULL;
14212 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
14219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail;
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 (arg1)->DisplayIndex();
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 Py_INCREF(Py_None); resultobj = Py_None;
14229 return resultobj;
14230 fail:
14231 return NULL;
14232 }
14233
14234
14235 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
14236 PyObject *resultobj = NULL;
14237 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14238 wxString *arg2 = 0 ;
14239 bool result;
14240 bool temp2 = false ;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self",(char *) "keyword", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
14248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail;
14250 {
14251 arg2 = wxString_in_helper(obj1);
14252 if (arg2 == NULL) SWIG_fail;
14253 temp2 = true;
14254 }
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 {
14263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14264 }
14265 {
14266 if (temp2)
14267 delete arg2;
14268 }
14269 return resultobj;
14270 fail:
14271 {
14272 if (temp2)
14273 delete arg2;
14274 }
14275 return NULL;
14276 }
14277
14278
14279 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj = NULL;
14281 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14282 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14283 wxString const &arg3_defvalue = wxPyEmptyString ;
14284 wxString *arg3 = (wxString *) &arg3_defvalue ;
14285 bool temp3 = false ;
14286 PyObject * obj0 = 0 ;
14287 PyObject * obj1 = 0 ;
14288 PyObject * obj2 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
14294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail;
14296 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14297 if (SWIG_arg_fail(2)) SWIG_fail;
14298 if (obj2) {
14299 {
14300 arg3 = wxString_in_helper(obj2);
14301 if (arg3 == NULL) SWIG_fail;
14302 temp3 = true;
14303 }
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 {
14314 if (temp3)
14315 delete arg3;
14316 }
14317 return resultobj;
14318 fail:
14319 {
14320 if (temp3)
14321 delete arg3;
14322 }
14323 return NULL;
14324 }
14325
14326
14327 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj = NULL;
14329 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14330 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14331 wxString arg3 = (wxString) wxPyEmptyString ;
14332 PyObject * obj0 = 0 ;
14333 PyObject * obj1 = 0 ;
14334 PyObject * obj2 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "self",(char *) "cfg",(char *) "path", NULL
14337 };
14338
14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14341 if (SWIG_arg_fail(1)) SWIG_fail;
14342 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14343 if (SWIG_arg_fail(2)) SWIG_fail;
14344 if (obj2) {
14345 {
14346 wxString* sptr = wxString_in_helper(obj2);
14347 if (sptr == NULL) SWIG_fail;
14348 arg3 = *sptr;
14349 delete sptr;
14350 }
14351 }
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->ReadCustomization(arg2,arg3);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj = NULL;
14368 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14369 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14370 wxString arg3 = (wxString) wxPyEmptyString ;
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 PyObject * obj2 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self",(char *) "cfg",(char *) "path", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14380 if (SWIG_arg_fail(1)) SWIG_fail;
14381 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14382 if (SWIG_arg_fail(2)) SWIG_fail;
14383 if (obj2) {
14384 {
14385 wxString* sptr = wxString_in_helper(obj2);
14386 if (sptr == NULL) SWIG_fail;
14387 arg3 = *sptr;
14388 delete sptr;
14389 }
14390 }
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 (arg1)->WriteCustomization(arg2,arg3);
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 Py_INCREF(Py_None); resultobj = Py_None;
14399 return resultobj;
14400 fail:
14401 return NULL;
14402 }
14403
14404
14405 static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj = NULL;
14407 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames,&obj0)) goto fail;
14414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14415 if (SWIG_arg_fail(1)) SWIG_fail;
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 (arg1)->MakeModalIfNeeded();
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
14423 Py_INCREF(Py_None); resultobj = Py_None;
14424 return resultobj;
14425 fail:
14426 return NULL;
14427 }
14428
14429
14430 static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14431 PyObject *resultobj = NULL;
14432 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14433 wxWindow *result;
14434 PyObject * obj0 = 0 ;
14435 char *kwnames[] = {
14436 (char *) "self", NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames,&obj0)) goto fail;
14440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14441 if (SWIG_arg_fail(1)) SWIG_fail;
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = (wxWindow *)(arg1)->FindTopLevelWindow();
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 resultobj = wxPyMake_wxObject(result, 0);
14451 }
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
14459 PyObject *obj;
14460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14461 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
14462 Py_INCREF(obj);
14463 return Py_BuildValue((char *)"");
14464 }
14465 static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) {
14466 PyObject *resultobj = NULL;
14467 wxWindow *arg1 = (wxWindow *) 0 ;
14468 wxString *arg2 = 0 ;
14469 wxString const &arg3_defvalue = wxEmptyString ;
14470 wxString *arg3 = (wxString *) &arg3_defvalue ;
14471 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
14472 wxHtmlModalHelp *result;
14473 bool temp2 = false ;
14474 bool temp3 = false ;
14475 PyObject * obj0 = 0 ;
14476 PyObject * obj1 = 0 ;
14477 PyObject * obj2 = 0 ;
14478 PyObject * obj3 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail;
14486 {
14487 arg2 = wxString_in_helper(obj1);
14488 if (arg2 == NULL) SWIG_fail;
14489 temp2 = true;
14490 }
14491 if (obj2) {
14492 {
14493 arg3 = wxString_in_helper(obj2);
14494 if (arg3 == NULL) SWIG_fail;
14495 temp3 = true;
14496 }
14497 }
14498 if (obj3) {
14499 {
14500 arg4 = static_cast<int >(SWIG_As_int(obj3));
14501 if (SWIG_arg_fail(4)) SWIG_fail;
14502 }
14503 }
14504 {
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
14506 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
14507
14508 wxPyEndAllowThreads(__tstate);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
14511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlModalHelp, 1);
14512 {
14513 if (temp2)
14514 delete arg2;
14515 }
14516 {
14517 if (temp3)
14518 delete arg3;
14519 }
14520 return resultobj;
14521 fail:
14522 {
14523 if (temp2)
14524 delete arg2;
14525 }
14526 {
14527 if (temp3)
14528 delete arg3;
14529 }
14530 return NULL;
14531 }
14532
14533
14534 static PyObject * HtmlModalHelp_swigregister(PyObject *, PyObject *args) {
14535 PyObject *obj;
14536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14537 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp, obj);
14538 Py_INCREF(obj);
14539 return Py_BuildValue((char *)"");
14540 }
14541 static PyMethodDef SwigMethods[] = {
14542 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14543 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
14544 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
14545 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14546 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14547 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14548 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14549 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
14550 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14551 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
14552 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
14553 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
14554 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
14555 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
14556 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
14557 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
14558 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
14559 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14560 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14561 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
14562 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
14563 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
14564 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14565 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14566 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14567 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
14568 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14569 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14570 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
14571 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
14572 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14573 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14574 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14575 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14576 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14577 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14578 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14579 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14580 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14581 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14582 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14583 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14584 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14585 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14586 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14587 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14588 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14589 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14590 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14591 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14592 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14593 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14594 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14595 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14596 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14597 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14598 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14599 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14600 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
14601 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14602 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
14603 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14604 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14605 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14606 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14607 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14608 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
14609 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14610 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14611 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14612 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14613 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14614 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
14615 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14616 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14617 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14618 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
14619 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
14620 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
14621 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
14622 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
14623 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
14624 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14625 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14626 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14627 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14628 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14629 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
14630 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
14631 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14632 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14633 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14634 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14635 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14636 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14637 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14638 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14639 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
14640 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14641 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14642 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14643 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14644 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14645 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14646 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14647 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14648 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14649 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14650 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14651 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14652 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
14653 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
14654 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14655 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
14656 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
14657 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14658 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14659 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
14660 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14661 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
14662 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
14663 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14664 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14665 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14666 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14667 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
14668 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
14669 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14670 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14671 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14672 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
14673 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
14674 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
14675 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
14676 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
14677 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14678 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14679 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
14680 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
14681 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
14682 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
14683 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14684 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14685 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
14686 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
14687 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
14688 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
14689 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
14690 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
14691 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
14692 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
14693 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14694 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14695 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14696 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14697 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14698 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14699 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
14700 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14701 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
14702 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
14703 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14704 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14705 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14706 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
14707 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14708 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
14709 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
14710 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
14711 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
14712 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
14713 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
14714 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
14715 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14716 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14717 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
14718 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14719 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14720 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14721 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14722 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
14723 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
14724 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14725 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
14726 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
14727 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14728 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14729 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14730 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14731 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
14732 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14733 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14734 { (char *)"HtmlWindow_SetLabel", (PyCFunction) _wrap_HtmlWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
14735 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
14736 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
14737 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14738 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14739 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
14740 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
14741 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
14742 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
14743 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
14744 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
14745 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14746 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14747 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14748 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14749 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
14750 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
14751 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
14752 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
14753 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
14754 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14755 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14756 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
14757 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14758 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
14759 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
14760 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14761 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14762 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14763 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
14764 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14765 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14766 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14767 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
14768 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14769 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
14770 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
14771 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14772 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
14773 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14774 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14775 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14776 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14777 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
14778 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14779 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
14780 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
14781 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14782 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14783 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
14784 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
14785 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
14786 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
14787 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
14788 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14789 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14790 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14791 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14792 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
14793 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
14794 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
14795 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
14796 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
14797 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14798 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14799 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14800 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
14801 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
14802 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
14803 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14804 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14805 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14806 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
14807 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
14808 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
14809 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
14810 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14811 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14812 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14813 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
14814 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14815 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14816 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14817 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14818 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
14819 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
14820 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
14821 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
14822 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14823 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14824 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14825 { (char *)"HtmlHelpWindow_GetData", (PyCFunction) _wrap_HtmlHelpWindow_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14826 { (char *)"HtmlHelpWindow_GetController", (PyCFunction) _wrap_HtmlHelpWindow_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14827 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14828 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14829 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14830 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction) _wrap_HtmlHelpWindow_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14831 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction) _wrap_HtmlHelpWindow_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14832 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14833 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14834 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14835 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14836 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction) _wrap_HtmlHelpWindow_NotifyPageChanged, METH_VARARGS | METH_KEYWORDS, NULL},
14837 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction) _wrap_HtmlHelpWindow_RefreshLists, METH_VARARGS | METH_KEYWORDS, NULL},
14838 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14839 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14840 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction) _wrap_HtmlHelpWindow_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
14841 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction) _wrap_HtmlHelpWindow_GetCfgData, METH_VARARGS | METH_KEYWORDS, NULL},
14842 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction) _wrap_HtmlHelpWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
14843 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
14844 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14845 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14846 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction) _wrap_HtmlWindowEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14847 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
14848 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14849 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14850 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14851 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14852 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14853 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction) _wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14854 { (char *)"HtmlHelpFrame_GetController", (PyCFunction) _wrap_HtmlHelpFrame_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14855 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14856 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpFrame_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14857 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
14858 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14859 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14860 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14861 { (char *)"HtmlHelpDialog_GetData", (PyCFunction) _wrap_HtmlHelpDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14862 { (char *)"HtmlHelpDialog_GetController", (PyCFunction) _wrap_HtmlHelpDialog_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14863 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14864 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpDialog_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14865 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14866 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
14867 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
14868 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
14869 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14870 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction) _wrap_HelpControllerBase_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14871 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14872 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14873 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
14874 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
14875 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14876 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14877 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14878 { (char *)"HelpControllerBase_Quit", (PyCFunction) _wrap_HelpControllerBase_Quit, METH_VARARGS | METH_KEYWORDS, NULL},
14879 { (char *)"HelpControllerBase_OnQuit", (PyCFunction) _wrap_HelpControllerBase_OnQuit, METH_VARARGS | METH_KEYWORDS, NULL},
14880 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14881 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction) _wrap_HelpControllerBase_GetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14882 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
14883 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14884 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14885 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14886 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14887 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14888 { (char *)"HtmlHelpController_GetDialog", (PyCFunction) _wrap_HtmlHelpController_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14889 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14890 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14891 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14892 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14893 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14894 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14895 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14896 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14897 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14898 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14899 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14900 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction) _wrap_HtmlHelpController_MakeModalIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14901 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction) _wrap_HtmlHelpController_FindTopLevelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14902 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
14903 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
14904 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
14905 { NULL, NULL, 0, NULL }
14906 };
14907
14908
14909 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14910
14911 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
14912 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
14913 }
14914 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
14915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
14916 }
14917 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
14918 return (void *)((wxEvent *) ((wxMenuEvent *) x));
14919 }
14920 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
14921 return (void *)((wxEvent *) ((wxCloseEvent *) x));
14922 }
14923 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
14924 return (void *)((wxEvent *) ((wxMouseEvent *) x));
14925 }
14926 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
14927 return (void *)((wxEvent *) ((wxEraseEvent *) x));
14928 }
14929 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
14930 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
14931 }
14932 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
14933 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14934 }
14935 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
14936 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
14937 }
14938 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
14939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
14940 }
14941 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
14942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
14943 }
14944 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
14945 return (void *)((wxEvent *) ((wxPyEvent *) x));
14946 }
14947 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
14948 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
14949 }
14950 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
14951 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
14952 }
14953 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
14954 return (void *)((wxEvent *) ((wxIdleEvent *) x));
14955 }
14956 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
14957 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
14958 }
14959 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
14960 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
14961 }
14962 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
14963 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
14964 }
14965 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
14966 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
14967 }
14968 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
14969 return (void *)((wxEvent *) ((wxActivateEvent *) x));
14970 }
14971 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
14972 return (void *)((wxEvent *) ((wxSizeEvent *) x));
14973 }
14974 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
14975 return (void *)((wxEvent *) ((wxMoveEvent *) x));
14976 }
14977 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
14978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
14979 }
14980 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
14981 return (void *)((wxEvent *) ((wxPaintEvent *) x));
14982 }
14983 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
14984 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
14985 }
14986 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
14987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
14988 }
14989 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
14990 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
14991 }
14992 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
14993 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
14994 }
14995 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
14996 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14997 }
14998 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
14999 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15000 }
15001 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15002 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15003 }
15004 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15005 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15006 }
15007 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15008 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15009 }
15010 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
15011 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
15012 }
15013 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
15014 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15015 }
15016 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15017 return (void *)((wxEvent *) ((wxShowEvent *) x));
15018 }
15019 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
15020 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15021 }
15022 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15023 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15024 }
15025 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15026 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15027 }
15028 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15029 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15030 }
15031 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15032 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15033 }
15034 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15035 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15036 }
15037 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15038 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15039 }
15040 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
15041 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
15042 }
15043 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
15044 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
15045 }
15046 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
15047 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15048 }
15049 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
15050 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
15051 }
15052 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
15053 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
15054 }
15055 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
15056 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
15057 }
15058 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
15059 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15060 }
15061 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15062 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15063 }
15064 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
15065 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15066 }
15067 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
15068 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15069 }
15070 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
15071 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15072 }
15073 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15075 }
15076 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15077 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15078 }
15079 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15080 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15081 }
15082 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15083 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15084 }
15085 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
15086 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15087 }
15088 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
15089 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15090 }
15091 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
15092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15093 }
15094 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
15095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15096 }
15097 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
15098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15099 }
15100 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
15101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15102 }
15103 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
15104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15105 }
15106 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
15107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15108 }
15109 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
15110 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
15111 }
15112 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
15113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
15114 }
15115 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
15116 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15117 }
15118 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
15119 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
15120 }
15121 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
15122 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15123 }
15124 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
15125 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
15126 }
15127 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
15128 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15129 }
15130 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
15131 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
15132 }
15133 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
15134 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
15135 }
15136 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
15137 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
15138 }
15139 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15140 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15141 }
15142 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
15143 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15144 }
15145 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
15146 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
15147 }
15148 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
15149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
15150 }
15151 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
15152 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15153 }
15154 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
15155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15156 }
15157 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
15158 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
15159 }
15160 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15161 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15162 }
15163 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15164 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15165 }
15166 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15168 }
15169 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15170 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15171 }
15172 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15173 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15174 }
15175 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15177 }
15178 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15179 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
15180 }
15181 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15182 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15183 }
15184 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15185 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15186 }
15187 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15188 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15189 }
15190 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15192 }
15193 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15194 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15195 }
15196 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
15197 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15198 }
15199 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
15200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15201 }
15202 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15204 }
15205 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15207 }
15208 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15209 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15210 }
15211 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15212 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15213 }
15214 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15215 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15216 }
15217 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
15218 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15219 }
15220 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15221 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15222 }
15223 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
15224 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
15225 }
15226 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
15227 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
15228 }
15229 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
15230 return (void *)((wxFrame *) ((wxProgressDialog *) x));
15231 }
15232 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
15233 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
15234 }
15235 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
15236 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15237 }
15238 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
15239 return (void *)((wxFrame *) ((wxMiniFrame *) x));
15240 }
15241 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
15242 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
15243 }
15244 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
15245 return (void *)((wxFrame *) ((wxSplashScreen *) x));
15246 }
15247 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
15248 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
15249 }
15250 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
15251 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
15252 }
15253 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
15255 }
15256 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
15257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15258 }
15259 static void *_p_wxEventTo_p_wxObject(void *x) {
15260 return (void *)((wxObject *) ((wxEvent *) x));
15261 }
15262 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
15263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
15264 }
15265 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15266 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15267 }
15268 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
15269 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
15270 }
15271 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
15272 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
15273 }
15274 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
15275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15276 }
15277 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
15278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15279 }
15280 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
15281 return (void *)((wxObject *) ((wxHtmlTag *) x));
15282 }
15283 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15284 return (void *)((wxObject *) ((wxMenuItem *) x));
15285 }
15286 static void *_p_wxImageTo_p_wxObject(void *x) {
15287 return (void *)((wxObject *) ((wxImage *) x));
15288 }
15289 static void *_p_wxPySizerTo_p_wxObject(void *x) {
15290 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15291 }
15292 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
15293 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
15294 }
15295 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
15296 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15297 }
15298 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
15299 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
15300 }
15301 static void *_p_wxPyAppTo_p_wxObject(void *x) {
15302 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15303 }
15304 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
15305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15306 }
15307 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
15308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15309 }
15310 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
15311 return (void *)((wxObject *) ((wxFindReplaceData *) x));
15312 }
15313 static void *_p_wxValidatorTo_p_wxObject(void *x) {
15314 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15315 }
15316 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15317 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15318 }
15319 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15320 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15321 }
15322 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15323 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15324 }
15325 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15326 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15327 }
15328 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
15329 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
15330 }
15331 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
15332 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
15333 }
15334 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
15335 return (void *)((wxObject *) ((wxPrintDialogData *) x));
15336 }
15337 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
15338 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
15339 }
15340 static void *_p_wxPrinterTo_p_wxObject(void *x) {
15341 return (void *)((wxObject *) ((wxPrinter *) x));
15342 }
15343 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15345 }
15346 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
15347 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
15348 }
15349 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
15350 return (void *)((wxObject *) ((wxHtmlParser *) x));
15351 }
15352 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15353 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15354 }
15355 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15356 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15357 }
15358 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15359 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15360 }
15361 static void *_p_wxControlTo_p_wxObject(void *x) {
15362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15363 }
15364 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
15365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15366 }
15367 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
15368 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15369 }
15370 static void *_p_wxColourDataTo_p_wxObject(void *x) {
15371 return (void *)((wxObject *) ((wxColourData *) x));
15372 }
15373 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15374 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15375 }
15376 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15377 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15378 }
15379 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15380 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15381 }
15382 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15383 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15384 }
15385 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15386 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15387 }
15388 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15389 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15390 }
15391 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15393 }
15394 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15395 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15396 }
15397 static void *_p_wxDateEventTo_p_wxObject(void *x) {
15398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
15399 }
15400 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
15401 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
15402 }
15403 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
15404 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
15405 }
15406 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
15407 return (void *)((wxObject *) ((wxPyPrintout *) x));
15408 }
15409 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
15410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15411 }
15412 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
15413 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
15414 }
15415 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15416 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15417 }
15418 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15419 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15420 }
15421 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15423 }
15424 static void *_p_wxSashEventTo_p_wxObject(void *x) {
15425 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
15426 }
15427 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
15428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15429 }
15430 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
15431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15432 }
15433 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
15434 return (void *)((wxObject *) ((wxPrintData *) x));
15435 }
15436 static void *_p_wxFontDataTo_p_wxObject(void *x) {
15437 return (void *)((wxObject *) ((wxFontData *) x));
15438 }
15439 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
15440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15441 }
15442 static void *_p_wxFrameTo_p_wxObject(void *x) {
15443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15444 }
15445 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
15446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15447 }
15448 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
15449 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15450 }
15451 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
15452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15453 }
15454 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15455 return (void *)((wxObject *) ((wxFileSystem *) x));
15456 }
15457 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
15458 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
15459 }
15460 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
15461 return (void *)((wxObject *) ((wxPrintPreview *) x));
15462 }
15463 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
15464 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
15465 }
15466 static void *_p_wxSizerTo_p_wxObject(void *x) {
15467 return (void *)((wxObject *) ((wxSizer *) x));
15468 }
15469 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
15470 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
15471 }
15472 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
15473 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
15474 }
15475 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
15476 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
15477 }
15478 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
15479 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
15480 }
15481 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15482 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15483 }
15484 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15485 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15486 }
15487 static void *_p_wxFSFileTo_p_wxObject(void *x) {
15488 return (void *)((wxObject *) ((wxFSFile *) x));
15489 }
15490 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
15491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
15492 }
15493 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15494 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15495 }
15496 static void *_p_wxMenuTo_p_wxObject(void *x) {
15497 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15498 }
15499 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
15500 return (void *)((wxObject *) ((wxSizerItem *) x));
15501 }
15502 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
15503 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
15504 }
15505 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
15506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15507 }
15508 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
15509 return (void *)((wxObject *) ((wxPrintDialog *) x));
15510 }
15511 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
15512 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
15513 }
15514 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
15515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15516 }
15517 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
15518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15519 }
15520 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
15521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15522 }
15523 static void *_p_wxDialogTo_p_wxObject(void *x) {
15524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15525 }
15526 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15527 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15528 }
15529 static void *_p_wxPyEventTo_p_wxObject(void *x) {
15530 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15531 }
15532 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
15533 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
15534 }
15535 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
15536 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
15537 }
15538 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15539 return (void *)((wxObject *) ((wxEvtHandler *) x));
15540 }
15541 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15542 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15543 }
15544 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15545 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15546 }
15547 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15548 return (void *)((wxObject *) ((wxImageHandler *) x));
15549 }
15550 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
15551 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
15552 }
15553 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15554 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15555 }
15556 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15557 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15558 }
15559 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15560 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15561 }
15562 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15563 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15564 }
15565 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15566 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15567 }
15568 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15569 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15570 }
15571 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15572 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15573 }
15574 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15575 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15576 }
15577 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15578 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15579 }
15580 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
15581 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15582 }
15583 static void *_p_wxShowEventTo_p_wxObject(void *x) {
15584 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15585 }
15586 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
15587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
15588 }
15589 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
15590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15591 }
15592 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
15593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15594 }
15595 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
15596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
15597 }
15598 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
15599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15600 }
15601 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
15602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
15603 }
15604 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
15605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15606 }
15607 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
15608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
15609 }
15610 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
15611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15612 }
15613 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
15614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
15615 }
15616 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
15617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
15618 }
15619 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
15620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
15621 }
15622 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
15623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
15624 }
15625 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
15626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15627 }
15628 static void *_p_wxWindowTo_p_wxObject(void *x) {
15629 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15630 }
15631 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
15632 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
15633 }
15634 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
15635 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
15636 }
15637 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
15638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15639 }
15640 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
15641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15642 }
15643 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
15644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15645 }
15646 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
15647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15648 }
15649 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
15650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15651 }
15652 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
15653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15654 }
15655 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
15656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15657 }
15658 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
15659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15660 }
15661 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
15662 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
15663 }
15664 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
15665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
15666 }
15667 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15668 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15669 }
15670 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15671 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15672 }
15673 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15674 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15675 }
15676 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15677 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15678 }
15679 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
15680 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
15681 }
15682 static void *_p_wxPanelTo_p_wxObject(void *x) {
15683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
15684 }
15685 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
15686 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
15687 }
15688 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15689 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15690 }
15691 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
15692 return (void *)((wxObject *) ((wxHtmlCell *) x));
15693 }
15694 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15695 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15696 }
15697 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15698 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15699 }
15700 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15701 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15702 }
15703 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15704 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15705 }
15706 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
15707 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
15708 }
15709 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
15710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
15711 }
15712 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15713 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15714 }
15715 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15716 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15717 }
15718 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15719 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15720 }
15721 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
15722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15723 }
15724 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
15725 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
15726 }
15727 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15729 }
15730 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15731 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15732 }
15733 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15734 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15735 }
15736 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15737 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
15738 }
15739 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15740 return (void *)((wxWindow *) ((wxMenuBar *) x));
15741 }
15742 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15744 }
15745 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15746 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15747 }
15748 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15749 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15750 }
15751 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
15752 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15753 }
15754 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15755 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15756 }
15757 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15759 }
15760 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15761 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15762 }
15763 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15765 }
15766 static void *_p_wxPanelTo_p_wxWindow(void *x) {
15767 return (void *)((wxWindow *) ((wxPanel *) x));
15768 }
15769 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
15770 return (void *)((wxWindow *) ((wxStatusBar *) x));
15771 }
15772 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
15773 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
15774 }
15775 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
15776 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
15777 }
15778 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
15779 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15780 }
15781 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
15782 return (void *)((wxWindow *) ((wxPopupWindow *) x));
15783 }
15784 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
15785 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
15786 }
15787 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
15788 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
15789 }
15790 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
15791 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
15792 }
15793 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
15794 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
15795 }
15796 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
15797 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
15798 }
15799 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
15800 return (void *)((wxWindow *) ((wxSashWindow *) x));
15801 }
15802 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
15803 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
15804 }
15805 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
15806 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15807 }
15808 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
15809 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15810 }
15811 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
15812 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
15813 }
15814 static void *_p_wxControlTo_p_wxWindow(void *x) {
15815 return (void *)((wxWindow *) ((wxControl *) x));
15816 }
15817 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
15818 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15819 }
15820 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
15821 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15822 }
15823 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
15824 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15825 }
15826 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15827 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15828 }
15829 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
15830 return (void *)((wxWindow *) ((wxPyWindow *) x));
15831 }
15832 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
15833 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15834 }
15835 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
15836 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15837 }
15838 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
15839 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15840 }
15841 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
15842 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
15843 }
15844 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
15845 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15846 }
15847 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
15848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15849 }
15850 static void *_p_wxFrameTo_p_wxWindow(void *x) {
15851 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
15852 }
15853 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
15854 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15855 }
15856 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
15857 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15858 }
15859 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
15860 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15861 }
15862 static void *_p_wxDialogTo_p_wxWindow(void *x) {
15863 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
15864 }
15865 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
15866 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15867 }
15868 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
15869 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15870 }
15871 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
15872 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15873 }
15874 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
15875 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15876 }
15877 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15878 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15879 }
15880 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
15881 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
15882 }
15883 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
15884 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
15885 }
15886 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
15887 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
15888 }
15889 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
15890 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
15891 }
15892 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
15893 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
15894 }
15895 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
15896 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
15897 }
15898 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
15899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
15900 }
15901 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
15902 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
15903 }
15904 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
15905 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
15906 }
15907 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
15908 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
15909 }
15910 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
15911 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
15912 }
15913 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
15914 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
15915 }
15916 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
15917 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15918 }
15919 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
15920 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
15921 }
15922 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
15923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
15924 }
15925 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
15926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
15927 }
15928 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
15929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
15930 }
15931 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
15932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
15933 }
15934 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
15935 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
15936 }
15937 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
15938 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
15939 }
15940 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
15941 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15942 }
15943 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
15944 return (void *)((wxDialog *) ((wxColourDialog *) x));
15945 }
15946 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
15947 return (void *)((wxDialog *) ((wxDirDialog *) x));
15948 }
15949 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
15950 return (void *)((wxDialog *) ((wxFontDialog *) x));
15951 }
15952 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
15953 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
15954 }
15955 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
15956 return (void *)((wxDialog *) ((wxFileDialog *) x));
15957 }
15958 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
15959 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
15960 }
15961 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
15962 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
15963 }
15964 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
15965 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
15966 }
15967 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
15968 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15969 }
15970 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
15971 return (void *)((wxDialog *) ((wxMessageDialog *) x));
15972 }
15973 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
15974 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
15975 }
15976 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
15977 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
15978 }
15979 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
15980 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
15981 }
15982 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
15983 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15984 }
15985 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
15986 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15987 }
15988 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
15989 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15990 }
15991 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
15992 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15993 }
15994 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
15995 return (void *)((wxPanel *) ((wxPyPanel *) x));
15996 }
15997 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
15998 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
15999 }
16000 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16001 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16002 }
16003 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16004 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16005 }
16006 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
16007 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
16008 }
16009 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
16010 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
16011 }
16012 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16013 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16014 }
16015 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16016 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16017 }
16018 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16019 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16020 }
16021 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
16022 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
16023 }
16024 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
16025 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
16026 }
16027 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16028 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16029 }
16030 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16031 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16032 }
16033 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16034 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16035 }
16036 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16037 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16038 }
16039 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16040 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16041 }
16042 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16043 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16044 }
16045 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16046 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16047 }
16048 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16049 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16050 }
16051 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
16052 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
16053 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
16054 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
16055 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
16056 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
16057 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
16058 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
16059 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
16060 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
16061 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
16062 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
16063 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
16064 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
16065 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
16066 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
16067 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
16068 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
16069 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
16070 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
16071 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
16072 static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
16073 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
16074 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
16075 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0};
16076 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
16077 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
16078 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
16079 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
16080 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
16081 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
16082 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
16083 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
16084 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
16085 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
16086 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
16087 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
16088 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
16089 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
16090 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
16091 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
16092 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
16093 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
16094 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
16095 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
16096 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
16097 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
16098 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
16099 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
16100 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
16101 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
16102 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
16103 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
16104 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
16105 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
16106 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
16107 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
16108 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
16109 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
16110 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
16111 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
16112 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
16113 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
16114 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
16115 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
16116 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
16117 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
16118 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
16119 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
16120 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
16121 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
16122 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
16123 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
16124 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
16125 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
16126 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
16127 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
16128 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
16129 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
16130 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
16131 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
16132 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
16133 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
16134 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
16135 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
16136 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
16137 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
16138 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
16139 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
16140 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
16141 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
16142 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
16143 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
16144 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
16145 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
16146 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
16147 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
16148 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
16149 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
16150 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
16151 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
16152 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
16153 static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0};
16154 static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0};
16155 static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0};
16156 static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0};
16157 static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0};
16158 static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0};
16159 static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0};
16160 static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0};
16161 static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0};
16162 static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0};
16163 static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0};
16164 static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0};
16165 static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0};
16166 static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0};
16167 static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0};
16168 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0};
16169 static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0};
16170 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0};
16171 static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0};
16172 static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0};
16173 static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0};
16174 static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0};
16175 static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0};
16176 static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0};
16177 static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0};
16178 static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0};
16179 static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0};
16180 static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0};
16181 static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0};
16182 static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0};
16183 static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0};
16184 static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0};
16185 static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0};
16186 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
16187 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
16188 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
16189 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
16190 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
16191 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
16192 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
16193 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
16194 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
16195 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
16196 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
16197 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
16198 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
16199 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
16200 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
16201 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
16202 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
16203 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
16204 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
16205 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
16206 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
16207 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
16208 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
16209 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
16210 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
16211 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
16212 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
16213 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
16214 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
16215 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
16216 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
16217 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
16218 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
16219 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
16220 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
16221 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
16222 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
16223 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
16224 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
16225 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
16226 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
16227 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
16228 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
16229 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
16230 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
16231 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
16232 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
16233 static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0};
16234 static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0};
16235 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0};
16236 static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0};
16237 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
16238 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
16239 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
16240 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
16241 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
16242 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
16243 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
16244 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
16245 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
16246 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
16247 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
16248 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
16249
16250 static swig_type_info *swig_type_initial[] = {
16251 &_swigt__p_bool,
16252 &_swigt__p_char,
16253 &_swigt__p_form_ops_t,
16254 &_swigt__p_int,
16255 &_swigt__p_unsigned_char,
16256 &_swigt__p_unsigned_int,
16257 &_swigt__p_unsigned_long,
16258 &_swigt__p_wxANIHandler,
16259 &_swigt__p_wxAcceleratorTable,
16260 &_swigt__p_wxActivateEvent,
16261 &_swigt__p_wxBMPHandler,
16262 &_swigt__p_wxBitmap,
16263 &_swigt__p_wxBoxSizer,
16264 &_swigt__p_wxCURHandler,
16265 &_swigt__p_wxCalculateLayoutEvent,
16266 &_swigt__p_wxChildFocusEvent,
16267 &_swigt__p_wxCloseEvent,
16268 &_swigt__p_wxColour,
16269 &_swigt__p_wxColourData,
16270 &_swigt__p_wxColourDialog,
16271 &_swigt__p_wxCommandEvent,
16272 &_swigt__p_wxConfigBase,
16273 &_swigt__p_wxContextMenuEvent,
16274 &_swigt__p_wxControl,
16275 &_swigt__p_wxControlWithItems,
16276 &_swigt__p_wxCursor,
16277 &_swigt__p_wxDC,
16278 &_swigt__p_wxDateEvent,
16279 &_swigt__p_wxDefaultHtmlRenderingStyle,
16280 &_swigt__p_wxDialog,
16281 &_swigt__p_wxDirDialog,
16282 &_swigt__p_wxDisplayChangedEvent,
16283 &_swigt__p_wxDropFilesEvent,
16284 &_swigt__p_wxDuplexMode,
16285 &_swigt__p_wxEraseEvent,
16286 &_swigt__p_wxEvent,
16287 &_swigt__p_wxEvtHandler,
16288 &_swigt__p_wxFSFile,
16289 &_swigt__p_wxFileDialog,
16290 &_swigt__p_wxFileSystem,
16291 &_swigt__p_wxFindDialogEvent,
16292 &_swigt__p_wxFindReplaceData,
16293 &_swigt__p_wxFindReplaceDialog,
16294 &_swigt__p_wxFlexGridSizer,
16295 &_swigt__p_wxFocusEvent,
16296 &_swigt__p_wxFont,
16297 &_swigt__p_wxFontData,
16298 &_swigt__p_wxFontDialog,
16299 &_swigt__p_wxFrame,
16300 &_swigt__p_wxGBSizerItem,
16301 &_swigt__p_wxGIFHandler,
16302 &_swigt__p_wxGridBagSizer,
16303 &_swigt__p_wxGridSizer,
16304 &_swigt__p_wxHelpControllerBase,
16305 &_swigt__p_wxHelpSearchMode,
16306 &_swigt__p_wxHtmlBookRecArray,
16307 &_swigt__p_wxHtmlBookRecord,
16308 &_swigt__p_wxHtmlCell,
16309 &_swigt__p_wxHtmlColourCell,
16310 &_swigt__p_wxHtmlContainerCell,
16311 &_swigt__p_wxHtmlDCRenderer,
16312 &_swigt__p_wxHtmlEasyPrinting,
16313 &_swigt__p_wxHtmlFilter,
16314 &_swigt__p_wxHtmlFontCell,
16315 &_swigt__p_wxHtmlHelpController,
16316 &_swigt__p_wxHtmlHelpData,
16317 &_swigt__p_wxHtmlHelpDialog,
16318 &_swigt__p_wxHtmlHelpFrame,
16319 &_swigt__p_wxHtmlHelpFrameCfg,
16320 &_swigt__p_wxHtmlHelpWindow,
16321 &_swigt__p_wxHtmlLinkInfo,
16322 &_swigt__p_wxHtmlModalHelp,
16323 &_swigt__p_wxHtmlParser,
16324 &_swigt__p_wxHtmlPrintout,
16325 &_swigt__p_wxHtmlRenderingInfo,
16326 &_swigt__p_wxHtmlRenderingState,
16327 &_swigt__p_wxHtmlRenderingStyle,
16328 &_swigt__p_wxHtmlSearchStatus,
16329 &_swigt__p_wxHtmlSelection,
16330 &_swigt__p_wxHtmlTag,
16331 &_swigt__p_wxHtmlTagHandler,
16332 &_swigt__p_wxHtmlWidgetCell,
16333 &_swigt__p_wxHtmlWinParser,
16334 &_swigt__p_wxHtmlWindow,
16335 &_swigt__p_wxHtmlWindowEvent,
16336 &_swigt__p_wxHtmlWordCell,
16337 &_swigt__p_wxICOHandler,
16338 &_swigt__p_wxIconizeEvent,
16339 &_swigt__p_wxIdleEvent,
16340 &_swigt__p_wxImage,
16341 &_swigt__p_wxImageHandler,
16342 &_swigt__p_wxIndividualLayoutConstraint,
16343 &_swigt__p_wxInitDialogEvent,
16344 &_swigt__p_wxJPEGHandler,
16345 &_swigt__p_wxKeyEvent,
16346 &_swigt__p_wxLayoutAlgorithm,
16347 &_swigt__p_wxLayoutConstraints,
16348 &_swigt__p_wxMDIChildFrame,
16349 &_swigt__p_wxMDIClientWindow,
16350 &_swigt__p_wxMDIParentFrame,
16351 &_swigt__p_wxMaximizeEvent,
16352 &_swigt__p_wxMenu,
16353 &_swigt__p_wxMenuBar,
16354 &_swigt__p_wxMenuEvent,
16355 &_swigt__p_wxMenuItem,
16356 &_swigt__p_wxMessageDialog,
16357 &_swigt__p_wxMiniFrame,
16358 &_swigt__p_wxMouseCaptureChangedEvent,
16359 &_swigt__p_wxMouseEvent,
16360 &_swigt__p_wxMoveEvent,
16361 &_swigt__p_wxMultiChoiceDialog,
16362 &_swigt__p_wxNavigationKeyEvent,
16363 &_swigt__p_wxNcPaintEvent,
16364 &_swigt__p_wxNotifyEvent,
16365 &_swigt__p_wxObject,
16366 &_swigt__p_wxPCXHandler,
16367 &_swigt__p_wxPNGHandler,
16368 &_swigt__p_wxPNMHandler,
16369 &_swigt__p_wxPageSetupDialog,
16370 &_swigt__p_wxPageSetupDialogData,
16371 &_swigt__p_wxPaintEvent,
16372 &_swigt__p_wxPaletteChangedEvent,
16373 &_swigt__p_wxPanel,
16374 &_swigt__p_wxPaperSize,
16375 &_swigt__p_wxPasswordEntryDialog,
16376 &_swigt__p_wxPoint,
16377 &_swigt__p_wxPopupWindow,
16378 &_swigt__p_wxPreviewCanvas,
16379 &_swigt__p_wxPreviewControlBar,
16380 &_swigt__p_wxPreviewFrame,
16381 &_swigt__p_wxPrintData,
16382 &_swigt__p_wxPrintDialog,
16383 &_swigt__p_wxPrintDialogData,
16384 &_swigt__p_wxPrintPreview,
16385 &_swigt__p_wxPrinter,
16386 &_swigt__p_wxProgressDialog,
16387 &_swigt__p_wxPyApp,
16388 &_swigt__p_wxPyCommandEvent,
16389 &_swigt__p_wxPyEvent,
16390 &_swigt__p_wxPyHtmlFilter,
16391 &_swigt__p_wxPyHtmlListBox,
16392 &_swigt__p_wxPyHtmlTagHandler,
16393 &_swigt__p_wxPyHtmlWinTagHandler,
16394 &_swigt__p_wxPyHtmlWindow,
16395 &_swigt__p_wxPyImageHandler,
16396 &_swigt__p_wxPyPanel,
16397 &_swigt__p_wxPyPopupTransientWindow,
16398 &_swigt__p_wxPyPreviewControlBar,
16399 &_swigt__p_wxPyPreviewFrame,
16400 &_swigt__p_wxPyPrintPreview,
16401 &_swigt__p_wxPyPrintout,
16402 &_swigt__p_wxPyScrolledWindow,
16403 &_swigt__p_wxPySizer,
16404 &_swigt__p_wxPyTaskBarIcon,
16405 &_swigt__p_wxPyVListBox,
16406 &_swigt__p_wxPyVScrolledWindow,
16407 &_swigt__p_wxPyValidator,
16408 &_swigt__p_wxPyWindow,
16409 &_swigt__p_wxQueryLayoutInfoEvent,
16410 &_swigt__p_wxQueryNewPaletteEvent,
16411 &_swigt__p_wxSashEvent,
16412 &_swigt__p_wxSashLayoutWindow,
16413 &_swigt__p_wxSashWindow,
16414 &_swigt__p_wxScrollEvent,
16415 &_swigt__p_wxScrollWinEvent,
16416 &_swigt__p_wxScrolledWindow,
16417 &_swigt__p_wxSetCursorEvent,
16418 &_swigt__p_wxShowEvent,
16419 &_swigt__p_wxSingleChoiceDialog,
16420 &_swigt__p_wxSize,
16421 &_swigt__p_wxSizeEvent,
16422 &_swigt__p_wxSizer,
16423 &_swigt__p_wxSizerItem,
16424 &_swigt__p_wxSplashScreen,
16425 &_swigt__p_wxSplashScreenWindow,
16426 &_swigt__p_wxSplitterEvent,
16427 &_swigt__p_wxSplitterWindow,
16428 &_swigt__p_wxStaticBoxSizer,
16429 &_swigt__p_wxStatusBar,
16430 &_swigt__p_wxStdDialogButtonSizer,
16431 &_swigt__p_wxString,
16432 &_swigt__p_wxSysColourChangedEvent,
16433 &_swigt__p_wxTIFFHandler,
16434 &_swigt__p_wxTaskBarIconEvent,
16435 &_swigt__p_wxTextEntryDialog,
16436 &_swigt__p_wxTipWindow,
16437 &_swigt__p_wxTopLevelWindow,
16438 &_swigt__p_wxTreeCtrl,
16439 &_swigt__p_wxUpdateUIEvent,
16440 &_swigt__p_wxValidator,
16441 &_swigt__p_wxVisualAttributes,
16442 &_swigt__p_wxWindow,
16443 &_swigt__p_wxWindowCreateEvent,
16444 &_swigt__p_wxWindowDestroyEvent,
16445 &_swigt__p_wxXPMHandler,
16446 &_swigt__ptrdiff_t,
16447 &_swigt__std__ptrdiff_t,
16448 &_swigt__unsigned_int,
16449 };
16450
16451 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
16452 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16453 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
16454 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16455 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
16456 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16457 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16458 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
16459 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
16460 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
16461 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
16462 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
16463 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
16464 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
16465 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16466 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16467 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
16468 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
16469 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16470 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
16471 static 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}};
16472 static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
16473 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
16474 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
16475 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
16476 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
16477 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
16478 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
16479 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
16480 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16481 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16482 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16483 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16484 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
16485 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
16486 static 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}};
16487 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
16488 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16489 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
16490 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
16491 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
16492 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16493 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
16494 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
16495 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
16496 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
16497 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16498 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16499 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
16500 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16501 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
16502 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16503 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16504 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16505 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16506 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16507 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16508 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
16509 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16510 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
16511 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
16512 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16513 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16514 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
16515 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
16516 static 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}};
16517 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
16518 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
16519 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
16520 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
16521 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
16522 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
16523 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
16524 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
16525 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
16526 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16527 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16528 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
16529 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
16530 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
16531 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
16532 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
16533 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
16534 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16535 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16536 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
16537 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
16538 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
16539 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
16540 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
16541 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
16542 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
16543 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
16544 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16545 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16546 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
16547 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
16548 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
16549 static 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_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_wxTipWindow, _p_wxTipWindowTo_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}};
16550 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
16551 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
16552 static 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_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}};
16553 static 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}};
16554 static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
16555 static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
16556 static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
16557 static 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}};
16558 static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
16559 static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
16560 static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
16561 static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
16562 static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16563 static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
16564 static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
16565 static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
16566 static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
16567 static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
16568 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
16569 static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
16570 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
16571 static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
16572 static 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}};
16573 static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
16574 static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
16575 static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
16576 static 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}};
16577 static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
16578 static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
16579 static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
16580 static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16581 static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
16582 static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
16583 static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16584 static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
16585 static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
16586 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
16587 static 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}};
16588 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
16589 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
16590 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
16591 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
16592 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
16593 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
16594 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
16595 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
16596 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16597 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16598 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
16599 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
16600 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
16601 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
16602 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16603 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16604 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
16605 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16606 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
16607 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16608 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
16609 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
16610 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16611 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16612 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
16613 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
16614 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
16615 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
16616 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16617 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16618 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
16619 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
16620 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
16621 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
16622 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
16623 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
16624 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
16625 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
16626 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
16627 static 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
16628 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
16629 static 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}};
16630 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
16631 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
16632 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
16633 static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16634 static 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}};
16635 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16636 static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16637 static 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}};
16638 static 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}};
16639 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
16640 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
16641 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
16642 static 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_wxDirDialog, _p_wxDirDialogTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_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}};
16643 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
16644 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
16645 static 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_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_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_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}};
16646 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16647 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16648 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16649
16650 static swig_cast_info *swig_cast_initial[] = {
16651 _swigc__p_bool,
16652 _swigc__p_char,
16653 _swigc__p_form_ops_t,
16654 _swigc__p_int,
16655 _swigc__p_unsigned_char,
16656 _swigc__p_unsigned_int,
16657 _swigc__p_unsigned_long,
16658 _swigc__p_wxANIHandler,
16659 _swigc__p_wxAcceleratorTable,
16660 _swigc__p_wxActivateEvent,
16661 _swigc__p_wxBMPHandler,
16662 _swigc__p_wxBitmap,
16663 _swigc__p_wxBoxSizer,
16664 _swigc__p_wxCURHandler,
16665 _swigc__p_wxCalculateLayoutEvent,
16666 _swigc__p_wxChildFocusEvent,
16667 _swigc__p_wxCloseEvent,
16668 _swigc__p_wxColour,
16669 _swigc__p_wxColourData,
16670 _swigc__p_wxColourDialog,
16671 _swigc__p_wxCommandEvent,
16672 _swigc__p_wxConfigBase,
16673 _swigc__p_wxContextMenuEvent,
16674 _swigc__p_wxControl,
16675 _swigc__p_wxControlWithItems,
16676 _swigc__p_wxCursor,
16677 _swigc__p_wxDC,
16678 _swigc__p_wxDateEvent,
16679 _swigc__p_wxDefaultHtmlRenderingStyle,
16680 _swigc__p_wxDialog,
16681 _swigc__p_wxDirDialog,
16682 _swigc__p_wxDisplayChangedEvent,
16683 _swigc__p_wxDropFilesEvent,
16684 _swigc__p_wxDuplexMode,
16685 _swigc__p_wxEraseEvent,
16686 _swigc__p_wxEvent,
16687 _swigc__p_wxEvtHandler,
16688 _swigc__p_wxFSFile,
16689 _swigc__p_wxFileDialog,
16690 _swigc__p_wxFileSystem,
16691 _swigc__p_wxFindDialogEvent,
16692 _swigc__p_wxFindReplaceData,
16693 _swigc__p_wxFindReplaceDialog,
16694 _swigc__p_wxFlexGridSizer,
16695 _swigc__p_wxFocusEvent,
16696 _swigc__p_wxFont,
16697 _swigc__p_wxFontData,
16698 _swigc__p_wxFontDialog,
16699 _swigc__p_wxFrame,
16700 _swigc__p_wxGBSizerItem,
16701 _swigc__p_wxGIFHandler,
16702 _swigc__p_wxGridBagSizer,
16703 _swigc__p_wxGridSizer,
16704 _swigc__p_wxHelpControllerBase,
16705 _swigc__p_wxHelpSearchMode,
16706 _swigc__p_wxHtmlBookRecArray,
16707 _swigc__p_wxHtmlBookRecord,
16708 _swigc__p_wxHtmlCell,
16709 _swigc__p_wxHtmlColourCell,
16710 _swigc__p_wxHtmlContainerCell,
16711 _swigc__p_wxHtmlDCRenderer,
16712 _swigc__p_wxHtmlEasyPrinting,
16713 _swigc__p_wxHtmlFilter,
16714 _swigc__p_wxHtmlFontCell,
16715 _swigc__p_wxHtmlHelpController,
16716 _swigc__p_wxHtmlHelpData,
16717 _swigc__p_wxHtmlHelpDialog,
16718 _swigc__p_wxHtmlHelpFrame,
16719 _swigc__p_wxHtmlHelpFrameCfg,
16720 _swigc__p_wxHtmlHelpWindow,
16721 _swigc__p_wxHtmlLinkInfo,
16722 _swigc__p_wxHtmlModalHelp,
16723 _swigc__p_wxHtmlParser,
16724 _swigc__p_wxHtmlPrintout,
16725 _swigc__p_wxHtmlRenderingInfo,
16726 _swigc__p_wxHtmlRenderingState,
16727 _swigc__p_wxHtmlRenderingStyle,
16728 _swigc__p_wxHtmlSearchStatus,
16729 _swigc__p_wxHtmlSelection,
16730 _swigc__p_wxHtmlTag,
16731 _swigc__p_wxHtmlTagHandler,
16732 _swigc__p_wxHtmlWidgetCell,
16733 _swigc__p_wxHtmlWinParser,
16734 _swigc__p_wxHtmlWindow,
16735 _swigc__p_wxHtmlWindowEvent,
16736 _swigc__p_wxHtmlWordCell,
16737 _swigc__p_wxICOHandler,
16738 _swigc__p_wxIconizeEvent,
16739 _swigc__p_wxIdleEvent,
16740 _swigc__p_wxImage,
16741 _swigc__p_wxImageHandler,
16742 _swigc__p_wxIndividualLayoutConstraint,
16743 _swigc__p_wxInitDialogEvent,
16744 _swigc__p_wxJPEGHandler,
16745 _swigc__p_wxKeyEvent,
16746 _swigc__p_wxLayoutAlgorithm,
16747 _swigc__p_wxLayoutConstraints,
16748 _swigc__p_wxMDIChildFrame,
16749 _swigc__p_wxMDIClientWindow,
16750 _swigc__p_wxMDIParentFrame,
16751 _swigc__p_wxMaximizeEvent,
16752 _swigc__p_wxMenu,
16753 _swigc__p_wxMenuBar,
16754 _swigc__p_wxMenuEvent,
16755 _swigc__p_wxMenuItem,
16756 _swigc__p_wxMessageDialog,
16757 _swigc__p_wxMiniFrame,
16758 _swigc__p_wxMouseCaptureChangedEvent,
16759 _swigc__p_wxMouseEvent,
16760 _swigc__p_wxMoveEvent,
16761 _swigc__p_wxMultiChoiceDialog,
16762 _swigc__p_wxNavigationKeyEvent,
16763 _swigc__p_wxNcPaintEvent,
16764 _swigc__p_wxNotifyEvent,
16765 _swigc__p_wxObject,
16766 _swigc__p_wxPCXHandler,
16767 _swigc__p_wxPNGHandler,
16768 _swigc__p_wxPNMHandler,
16769 _swigc__p_wxPageSetupDialog,
16770 _swigc__p_wxPageSetupDialogData,
16771 _swigc__p_wxPaintEvent,
16772 _swigc__p_wxPaletteChangedEvent,
16773 _swigc__p_wxPanel,
16774 _swigc__p_wxPaperSize,
16775 _swigc__p_wxPasswordEntryDialog,
16776 _swigc__p_wxPoint,
16777 _swigc__p_wxPopupWindow,
16778 _swigc__p_wxPreviewCanvas,
16779 _swigc__p_wxPreviewControlBar,
16780 _swigc__p_wxPreviewFrame,
16781 _swigc__p_wxPrintData,
16782 _swigc__p_wxPrintDialog,
16783 _swigc__p_wxPrintDialogData,
16784 _swigc__p_wxPrintPreview,
16785 _swigc__p_wxPrinter,
16786 _swigc__p_wxProgressDialog,
16787 _swigc__p_wxPyApp,
16788 _swigc__p_wxPyCommandEvent,
16789 _swigc__p_wxPyEvent,
16790 _swigc__p_wxPyHtmlFilter,
16791 _swigc__p_wxPyHtmlListBox,
16792 _swigc__p_wxPyHtmlTagHandler,
16793 _swigc__p_wxPyHtmlWinTagHandler,
16794 _swigc__p_wxPyHtmlWindow,
16795 _swigc__p_wxPyImageHandler,
16796 _swigc__p_wxPyPanel,
16797 _swigc__p_wxPyPopupTransientWindow,
16798 _swigc__p_wxPyPreviewControlBar,
16799 _swigc__p_wxPyPreviewFrame,
16800 _swigc__p_wxPyPrintPreview,
16801 _swigc__p_wxPyPrintout,
16802 _swigc__p_wxPyScrolledWindow,
16803 _swigc__p_wxPySizer,
16804 _swigc__p_wxPyTaskBarIcon,
16805 _swigc__p_wxPyVListBox,
16806 _swigc__p_wxPyVScrolledWindow,
16807 _swigc__p_wxPyValidator,
16808 _swigc__p_wxPyWindow,
16809 _swigc__p_wxQueryLayoutInfoEvent,
16810 _swigc__p_wxQueryNewPaletteEvent,
16811 _swigc__p_wxSashEvent,
16812 _swigc__p_wxSashLayoutWindow,
16813 _swigc__p_wxSashWindow,
16814 _swigc__p_wxScrollEvent,
16815 _swigc__p_wxScrollWinEvent,
16816 _swigc__p_wxScrolledWindow,
16817 _swigc__p_wxSetCursorEvent,
16818 _swigc__p_wxShowEvent,
16819 _swigc__p_wxSingleChoiceDialog,
16820 _swigc__p_wxSize,
16821 _swigc__p_wxSizeEvent,
16822 _swigc__p_wxSizer,
16823 _swigc__p_wxSizerItem,
16824 _swigc__p_wxSplashScreen,
16825 _swigc__p_wxSplashScreenWindow,
16826 _swigc__p_wxSplitterEvent,
16827 _swigc__p_wxSplitterWindow,
16828 _swigc__p_wxStaticBoxSizer,
16829 _swigc__p_wxStatusBar,
16830 _swigc__p_wxStdDialogButtonSizer,
16831 _swigc__p_wxString,
16832 _swigc__p_wxSysColourChangedEvent,
16833 _swigc__p_wxTIFFHandler,
16834 _swigc__p_wxTaskBarIconEvent,
16835 _swigc__p_wxTextEntryDialog,
16836 _swigc__p_wxTipWindow,
16837 _swigc__p_wxTopLevelWindow,
16838 _swigc__p_wxTreeCtrl,
16839 _swigc__p_wxUpdateUIEvent,
16840 _swigc__p_wxValidator,
16841 _swigc__p_wxVisualAttributes,
16842 _swigc__p_wxWindow,
16843 _swigc__p_wxWindowCreateEvent,
16844 _swigc__p_wxWindowDestroyEvent,
16845 _swigc__p_wxXPMHandler,
16846 _swigc__ptrdiff_t,
16847 _swigc__std__ptrdiff_t,
16848 _swigc__unsigned_int,
16849 };
16850
16851
16852 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16853
16854 static swig_const_info swig_const_table[] = {
16855 {0, 0, 0, 0.0, 0, 0}};
16856
16857 #ifdef __cplusplus
16858 }
16859 #endif
16860 /*************************************************************************
16861 * Type initialization:
16862 * This problem is tough by the requirement that no dynamic
16863 * memory is used. Also, since swig_type_info structures store pointers to
16864 * swig_cast_info structures and swig_cast_info structures store pointers back
16865 * to swig_type_info structures, we need some lookup code at initialization.
16866 * The idea is that swig generates all the structures that are needed.
16867 * The runtime then collects these partially filled structures.
16868 * The SWIG_InitializeModule function takes these initial arrays out of
16869 * swig_module, and does all the lookup, filling in the swig_module.types
16870 * array with the correct data and linking the correct swig_cast_info
16871 * structures together.
16872
16873 * The generated swig_type_info structures are assigned staticly to an initial
16874 * array. We just loop though that array, and handle each type individually.
16875 * First we lookup if this type has been already loaded, and if so, use the
16876 * loaded structure instead of the generated one. Then we have to fill in the
16877 * cast linked list. The cast data is initially stored in something like a
16878 * two-dimensional array. Each row corresponds to a type (there are the same
16879 * number of rows as there are in the swig_type_initial array). Each entry in
16880 * a column is one of the swig_cast_info structures for that type.
16881 * The cast_initial array is actually an array of arrays, because each row has
16882 * a variable number of columns. So to actually build the cast linked list,
16883 * we find the array of casts associated with the type, and loop through it
16884 * adding the casts to the list. The one last trick we need to do is making
16885 * sure the type pointer in the swig_cast_info struct is correct.
16886
16887 * First off, we lookup the cast->type name to see if it is already loaded.
16888 * There are three cases to handle:
16889 * 1) If the cast->type has already been loaded AND the type we are adding
16890 * casting info to has not been loaded (it is in this module), THEN we
16891 * replace the cast->type pointer with the type pointer that has already
16892 * been loaded.
16893 * 2) If BOTH types (the one we are adding casting info to, and the
16894 * cast->type) are loaded, THEN the cast info has already been loaded by
16895 * the previous module so we just ignore it.
16896 * 3) Finally, if cast->type has not already been loaded, then we add that
16897 * swig_cast_info to the linked list (because the cast->type) pointer will
16898 * be correct.
16899 **/
16900
16901 #ifdef __cplusplus
16902 extern "C" {
16903 #if 0
16904 } /* c-mode */
16905 #endif
16906 #endif
16907
16908 #if 0
16909 #define SWIGRUNTIME_DEBUG
16910 #endif
16911
16912 SWIGRUNTIME void
16913 SWIG_InitializeModule(void *clientdata) {
16914 size_t i;
16915 swig_module_info *module_head;
16916 static int init_run = 0;
16917
16918 clientdata = clientdata;
16919
16920 if (init_run) return;
16921 init_run = 1;
16922
16923 /* Initialize the swig_module */
16924 swig_module.type_initial = swig_type_initial;
16925 swig_module.cast_initial = swig_cast_initial;
16926
16927 /* Try and load any already created modules */
16928 module_head = SWIG_GetModule(clientdata);
16929 if (module_head) {
16930 swig_module.next = module_head->next;
16931 module_head->next = &swig_module;
16932 } else {
16933 /* This is the first module loaded */
16934 swig_module.next = &swig_module;
16935 SWIG_SetModule(clientdata, &swig_module);
16936 }
16937
16938 /* Now work on filling in swig_module.types */
16939 #ifdef SWIGRUNTIME_DEBUG
16940 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
16941 #endif
16942 for (i = 0; i < swig_module.size; ++i) {
16943 swig_type_info *type = 0;
16944 swig_type_info *ret;
16945 swig_cast_info *cast;
16946
16947 #ifdef SWIGRUNTIME_DEBUG
16948 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
16949 #endif
16950
16951 /* if there is another module already loaded */
16952 if (swig_module.next != &swig_module) {
16953 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
16954 }
16955 if (type) {
16956 /* Overwrite clientdata field */
16957 #ifdef SWIGRUNTIME_DEBUG
16958 printf("SWIG_InitializeModule: found type %s\n", type->name);
16959 #endif
16960 if (swig_module.type_initial[i]->clientdata) {
16961 type->clientdata = swig_module.type_initial[i]->clientdata;
16962 #ifdef SWIGRUNTIME_DEBUG
16963 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
16964 #endif
16965 }
16966 } else {
16967 type = swig_module.type_initial[i];
16968 }
16969
16970 /* Insert casting types */
16971 cast = swig_module.cast_initial[i];
16972 while (cast->type) {
16973 /* Don't need to add information already in the list */
16974 ret = 0;
16975 #ifdef SWIGRUNTIME_DEBUG
16976 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
16977 #endif
16978 if (swig_module.next != &swig_module) {
16979 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
16980 #ifdef SWIGRUNTIME_DEBUG
16981 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
16982 #endif
16983 }
16984 if (ret) {
16985 if (type == swig_module.type_initial[i]) {
16986 #ifdef SWIGRUNTIME_DEBUG
16987 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
16988 #endif
16989 cast->type = ret;
16990 ret = 0;
16991 } else {
16992 /* Check for casting already in the list */
16993 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
16994 #ifdef SWIGRUNTIME_DEBUG
16995 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
16996 #endif
16997 if (!ocast) ret = 0;
16998 }
16999 }
17000
17001 if (!ret) {
17002 #ifdef SWIGRUNTIME_DEBUG
17003 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
17004 #endif
17005 if (type->cast) {
17006 type->cast->prev = cast;
17007 cast->next = type->cast;
17008 }
17009 type->cast = cast;
17010 }
17011 cast++;
17012 }
17013 /* Set entry in modules->types array equal to the type */
17014 swig_module.types[i] = type;
17015 }
17016 swig_module.types[i] = 0;
17017
17018 #ifdef SWIGRUNTIME_DEBUG
17019 printf("**** SWIG_InitializeModule: Cast List ******\n");
17020 for (i = 0; i < swig_module.size; ++i) {
17021 int j = 0;
17022 swig_cast_info *cast = swig_module.cast_initial[i];
17023 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17024 while (cast->type) {
17025 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
17026 cast++;
17027 ++j;
17028 }
17029 printf("---- Total casts: %d\n",j);
17030 }
17031 printf("**** SWIG_InitializeModule: Cast List ******\n");
17032 #endif
17033 }
17034
17035 /* This function will propagate the clientdata field of type to
17036 * any new swig_type_info structures that have been added into the list
17037 * of equivalent types. It is like calling
17038 * SWIG_TypeClientData(type, clientdata) a second time.
17039 */
17040 SWIGRUNTIME void
17041 SWIG_PropagateClientData(void) {
17042 size_t i;
17043 swig_cast_info *equiv;
17044 static int init_run = 0;
17045
17046 if (init_run) return;
17047 init_run = 1;
17048
17049 for (i = 0; i < swig_module.size; i++) {
17050 if (swig_module.types[i]->clientdata) {
17051 equiv = swig_module.types[i]->cast;
17052 while (equiv) {
17053 if (!equiv->converter) {
17054 if (equiv->type && !equiv->type->clientdata)
17055 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
17056 }
17057 equiv = equiv->next;
17058 }
17059 }
17060 }
17061 }
17062
17063 #ifdef __cplusplus
17064 #if 0
17065 {
17066 /* c-mode */
17067 #endif
17068 }
17069 #endif
17070
17071
17072
17073 #ifdef __cplusplus
17074 extern "C" {
17075 #endif
17076
17077 /* Python-specific SWIG API */
17078 #define SWIG_newvarlink() SWIG_Python_newvarlink()
17079 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17080 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17081
17082 /* -----------------------------------------------------------------------------
17083 * global variable support code.
17084 * ----------------------------------------------------------------------------- */
17085
17086 typedef struct swig_globalvar {
17087 char *name; /* Name of global variable */
17088 PyObject *(*get_attr)(void); /* Return the current value */
17089 int (*set_attr)(PyObject *); /* Set the value */
17090 struct swig_globalvar *next;
17091 } swig_globalvar;
17092
17093 typedef struct swig_varlinkobject {
17094 PyObject_HEAD
17095 swig_globalvar *vars;
17096 } swig_varlinkobject;
17097
17098 SWIGINTERN PyObject *
17099 swig_varlink_repr(swig_varlinkobject *v) {
17100 v = v;
17101 return PyString_FromString("<Swig global variables>");
17102 }
17103
17104 SWIGINTERN int
17105 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
17106 swig_globalvar *var;
17107 flags = flags;
17108 fprintf(fp,"Swig global variables { ");
17109 for (var = v->vars; var; var=var->next) {
17110 fprintf(fp,"%s", var->name);
17111 if (var->next) fprintf(fp,", ");
17112 }
17113 fprintf(fp," }\n");
17114 return 0;
17115 }
17116
17117 SWIGINTERN PyObject *
17118 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17119 swig_globalvar *var = v->vars;
17120 while (var) {
17121 if (strcmp(var->name,n) == 0) {
17122 return (*var->get_attr)();
17123 }
17124 var = var->next;
17125 }
17126 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17127 return NULL;
17128 }
17129
17130 SWIGINTERN int
17131 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17132 swig_globalvar *var = v->vars;
17133 while (var) {
17134 if (strcmp(var->name,n) == 0) {
17135 return (*var->set_attr)(p);
17136 }
17137 var = var->next;
17138 }
17139 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17140 return 1;
17141 }
17142
17143 SWIGINTERN PyTypeObject*
17144 swig_varlink_type(void) {
17145 static char varlink__doc__[] = "Swig var link object";
17146 static PyTypeObject varlink_type
17147 #if !defined(__cplusplus)
17148 ;
17149 static int type_init = 0;
17150 if (!type_init) {
17151 PyTypeObject tmp
17152 #endif
17153 = {
17154 PyObject_HEAD_INIT(&PyType_Type)
17155 0, /* Number of items in variable part (ob_size) */
17156 (char *)"swigvarlink", /* Type name (tp_name) */
17157 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17158 0, /* Itemsize (tp_itemsize) */
17159 0, /* Deallocator (tp_dealloc) */
17160 (printfunc) swig_varlink_print, /* Print (tp_print) */
17161 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17162 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17163 0, /* tp_compare */
17164 (reprfunc) swig_varlink_repr, /* tp_repr */
17165 0, /* tp_as_number */
17166 0, /* tp_as_sequence */
17167 0, /* tp_as_mapping */
17168 0, /* tp_hash */
17169 0, /* tp_call */
17170 0, /* tp_str */
17171 0, /* tp_getattro */
17172 0, /* tp_setattro */
17173 0, /* tp_as_buffer */
17174 0, /* tp_flags */
17175 varlink__doc__, /* tp_doc */
17176 #if PY_VERSION_HEX >= 0x02000000
17177 0, /* tp_traverse */
17178 0, /* tp_clear */
17179 #endif
17180 #if PY_VERSION_HEX >= 0x02010000
17181 0, /* tp_richcompare */
17182 0, /* tp_weaklistoffset */
17183 #endif
17184 #if PY_VERSION_HEX >= 0x02020000
17185 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
17186 #endif
17187 #if PY_VERSION_HEX >= 0x02030000
17188 0, /* tp_del */
17189 #endif
17190 #ifdef COUNT_ALLOCS
17191 0,0,0,0 /* tp_alloc -> tp_next */
17192 #endif
17193 };
17194 #if !defined(__cplusplus)
17195 varlink_type = tmp;
17196 type_init = 1;
17197 }
17198 #endif
17199 return &varlink_type;
17200 }
17201
17202 /* Create a variable linking object for use later */
17203 SWIGINTERN PyObject *
17204 SWIG_Python_newvarlink(void) {
17205 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
17206 if (result) {
17207 result->vars = 0;
17208 }
17209 return ((PyObject*) result);
17210 }
17211
17212 SWIGINTERN void
17213 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
17214 swig_varlinkobject *v = (swig_varlinkobject *) p;
17215 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17216 if (gv) {
17217 size_t size = strlen(name)+1;
17218 gv->name = (char *)malloc(size);
17219 if (gv->name) {
17220 strncpy(gv->name,name,size);
17221 gv->get_attr = get_attr;
17222 gv->set_attr = set_attr;
17223 gv->next = v->vars;
17224 }
17225 }
17226 v->vars = gv;
17227 }
17228
17229 /* -----------------------------------------------------------------------------
17230 * constants/methods manipulation
17231 * ----------------------------------------------------------------------------- */
17232
17233 /* Install Constants */
17234 SWIGINTERN void
17235 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17236 PyObject *obj = 0;
17237 size_t i;
17238 for (i = 0; constants[i].type; ++i) {
17239 switch(constants[i].type) {
17240 case SWIG_PY_INT:
17241 obj = PyInt_FromLong(constants[i].lvalue);
17242 break;
17243 case SWIG_PY_FLOAT:
17244 obj = PyFloat_FromDouble(constants[i].dvalue);
17245 break;
17246 case SWIG_PY_STRING:
17247 if (constants[i].pvalue) {
17248 obj = PyString_FromString((char *) constants[i].pvalue);
17249 } else {
17250 Py_INCREF(Py_None);
17251 obj = Py_None;
17252 }
17253 break;
17254 case SWIG_PY_POINTER:
17255 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17256 break;
17257 case SWIG_PY_BINARY:
17258 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17259 break;
17260 default:
17261 obj = 0;
17262 break;
17263 }
17264 if (obj) {
17265 PyDict_SetItemString(d,constants[i].name,obj);
17266 Py_DECREF(obj);
17267 }
17268 }
17269 }
17270
17271 /* -----------------------------------------------------------------------------*/
17272 /* Fix SwigMethods to carry the callback ptrs when needed */
17273 /* -----------------------------------------------------------------------------*/
17274
17275 SWIGINTERN void
17276 SWIG_Python_FixMethods(PyMethodDef *methods,
17277 swig_const_info *const_table,
17278 swig_type_info **types,
17279 swig_type_info **types_initial) {
17280 size_t i;
17281 for (i = 0; methods[i].ml_name; ++i) {
17282 char *c = methods[i].ml_doc;
17283 if (c && (c = strstr(c, "swig_ptr: "))) {
17284 int j;
17285 swig_const_info *ci = 0;
17286 char *name = c + 10;
17287 for (j = 0; const_table[j].type; ++j) {
17288 if (strncmp(const_table[j].name, name,
17289 strlen(const_table[j].name)) == 0) {
17290 ci = &(const_table[j]);
17291 break;
17292 }
17293 }
17294 if (ci) {
17295 size_t shift = (ci->ptype) - types;
17296 swig_type_info *ty = types_initial[shift];
17297 size_t ldoc = (c - methods[i].ml_doc);
17298 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17299 char *ndoc = (char*)malloc(ldoc + lptr + 10);
17300 if (ndoc) {
17301 char *buff = ndoc;
17302 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
17303 if (ptr) {
17304 strncpy(buff, methods[i].ml_doc, ldoc);
17305 buff += ldoc;
17306 strncpy(buff, "swig_ptr: ", 10);
17307 buff += 10;
17308 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17309 methods[i].ml_doc = ndoc;
17310 }
17311 }
17312 }
17313 }
17314 }
17315 }
17316
17317 /* -----------------------------------------------------------------------------*
17318 * Initialize type list
17319 * -----------------------------------------------------------------------------*/
17320
17321 #ifdef __cplusplus
17322 }
17323 #endif
17324
17325 /* -----------------------------------------------------------------------------*
17326 * Partial Init method
17327 * -----------------------------------------------------------------------------*/
17328
17329 #ifdef __cplusplus
17330 extern "C"
17331 #endif
17332 SWIGEXPORT void SWIG_init(void) {
17333 static PyObject *SWIG_globals = 0;
17334 PyObject *m, *d;
17335 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17336
17337 /* Fix SwigMethods to carry the callback ptrs when needed */
17338 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
17339
17340 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17341 d = PyModule_GetDict(m);
17342
17343 SWIG_InitializeModule(0);
17344 SWIG_InstallConstants(d,swig_const_table);
17345
17346 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17347 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
17348 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
17349 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
17350 {
17351 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_LEFT)));
17352 }
17353 {
17354 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_CENTER)));
17355 }
17356 {
17357 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_RIGHT)));
17358 }
17359 {
17360 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_BOTTOM)));
17361 }
17362 {
17363 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_TOP)));
17364 }
17365 {
17366 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_FOREGROUND)));
17367 }
17368 {
17369 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_BACKGROUND)));
17370 }
17371 {
17372 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PIXELS)));
17373 }
17374 {
17375 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PERCENT)));
17376 }
17377 {
17378 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_LEFT)));
17379 }
17380 {
17381 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_RIGHT)));
17382 }
17383 {
17384 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int(static_cast<int >(wxHTML_INDENT_TOP)));
17385 }
17386 {
17387 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_INDENT_BOTTOM)));
17388 }
17389 {
17390 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_HORIZONTAL)));
17391 }
17392 {
17393 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_VERTICAL)));
17394 }
17395 {
17396 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_ALL)));
17397 }
17398 {
17399 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast<int >(wxHTML_COND_ISANCHOR)));
17400 }
17401 {
17402 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast<int >(wxHTML_COND_ISIMAGEMAP)));
17403 }
17404 {
17405 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int(static_cast<int >(wxHTML_COND_USER)));
17406 }
17407 {
17408 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_1)));
17409 }
17410 {
17411 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_2)));
17412 }
17413 {
17414 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_3)));
17415 }
17416 {
17417 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_4)));
17418 }
17419 {
17420 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_5)));
17421 }
17422 {
17423 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_6)));
17424 }
17425 {
17426 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_7)));
17427 }
17428 {
17429 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_NEVER)));
17430 }
17431 {
17432 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_AUTO)));
17433 }
17434 {
17435 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int(static_cast<int >(wxHW_NO_SELECTION)));
17436 }
17437 {
17438 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHW_DEFAULT_STYLE)));
17439 }
17440 {
17441 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int(static_cast<int >(wxHTML_OPEN)));
17442 }
17443 {
17444 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int(static_cast<int >(wxHTML_BLOCK)));
17445 }
17446 {
17447 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int(static_cast<int >(wxHTML_REDIRECT)));
17448 }
17449 {
17450 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_PAGE)));
17451 }
17452 {
17453 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_IMAGE)));
17454 }
17455 {
17456 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int(static_cast<int >(wxHTML_URL_OTHER)));
17457 }
17458 {
17459 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int(static_cast<int >(wxHTML_SEL_OUT)));
17460 }
17461 {
17462 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int(static_cast<int >(wxHTML_SEL_IN)));
17463 }
17464 {
17465 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int(static_cast<int >(wxHTML_SEL_CHANGING)));
17466 }
17467 {
17468 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int(static_cast<int >(wxHTML_FIND_EXACT)));
17469 }
17470 {
17471 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_BEFORE)));
17472 }
17473 {
17474 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_AFTER)));
17475 }
17476 {
17477 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int(static_cast<int >(wxPAGE_ODD)));
17478 }
17479 {
17480 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int(static_cast<int >(wxPAGE_EVEN)));
17481 }
17482 {
17483 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int(static_cast<int >(wxPAGE_ALL)));
17484 }
17485 {
17486 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_TOOLBAR)));
17487 }
17488 {
17489 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int(static_cast<int >(wxHF_CONTENTS)));
17490 }
17491 {
17492 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int(static_cast<int >(wxHF_INDEX)));
17493 }
17494 {
17495 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int(static_cast<int >(wxHF_SEARCH)));
17496 }
17497 {
17498 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int(static_cast<int >(wxHF_BOOKMARKS)));
17499 }
17500 {
17501 PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int(static_cast<int >(wxHF_OPEN_FILES)));
17502 }
17503 {
17504 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int(static_cast<int >(wxHF_PRINT)));
17505 }
17506 {
17507 PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_FLAT_TOOLBAR)));
17508 }
17509 {
17510 PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int(static_cast<int >(wxHF_MERGE_BOOKS)));
17511 }
17512 {
17513 PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK)));
17514 }
17515 {
17516 PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK_CHAPTER)));
17517 }
17518 {
17519 PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int(static_cast<int >(wxHF_ICONS_FOLDER)));
17520 }
17521 {
17522 PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHF_DEFAULT_STYLE)));
17523 }
17524 {
17525 PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int(static_cast<int >(wxHF_EMBEDDED)));
17526 }
17527 {
17528 PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int(static_cast<int >(wxHF_DIALOG)));
17529 }
17530 {
17531 PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int(static_cast<int >(wxHF_FRAME)));
17532 }
17533 {
17534 PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int(static_cast<int >(wxHF_MODAL)));
17535 }
17536 {
17537 PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int(static_cast<int >(wxID_HTML_PANEL)));
17538 }
17539 {
17540 PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int(static_cast<int >(wxID_HTML_BACK)));
17541 }
17542 {
17543 PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int(static_cast<int >(wxID_HTML_FORWARD)));
17544 }
17545 {
17546 PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int(static_cast<int >(wxID_HTML_UPNODE)));
17547 }
17548 {
17549 PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int(static_cast<int >(wxID_HTML_UP)));
17550 }
17551 {
17552 PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int(static_cast<int >(wxID_HTML_DOWN)));
17553 }
17554 {
17555 PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int(static_cast<int >(wxID_HTML_PRINT)));
17556 }
17557 {
17558 PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int(static_cast<int >(wxID_HTML_OPENFILE)));
17559 }
17560 {
17561 PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int(static_cast<int >(wxID_HTML_OPTIONS)));
17562 }
17563 {
17564 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSLIST)));
17565 }
17566 {
17567 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSADD)));
17568 }
17569 {
17570 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSREMOVE)));
17571 }
17572 {
17573 PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int(static_cast<int >(wxID_HTML_TREECTRL)));
17574 }
17575 {
17576 PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXPAGE)));
17577 }
17578 {
17579 PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXLIST)));
17580 }
17581 {
17582 PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXTEXT)));
17583 }
17584 {
17585 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTON)));
17586 }
17587 {
17588 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTONALL)));
17589 }
17590 {
17591 PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast<int >(wxID_HTML_NOTEBOOK)));
17592 }
17593 {
17594 PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHPAGE)));
17595 }
17596 {
17597 PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHTEXT)));
17598 }
17599 {
17600 PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHLIST)));
17601 }
17602 {
17603 PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHBUTTON)));
17604 }
17605 {
17606 PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHCHOICE)));
17607 }
17608 {
17609 PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast<int >(wxID_HTML_COUNTINFO)));
17610 }
17611
17612 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
17613 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
17614 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
17615 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
17616
17617 }
17618