]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/html_wrap.cpp
Tweaks for demos on MacOSX
[wxWidgets.git] / wxPython / src / mac / 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
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29 /***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
35
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 #endif
44
45 /* inline attribute */
46 #ifndef SWIGINLINE
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
49 # else
50 # define SWIGINLINE
51 # endif
52 #endif
53
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
55 #ifndef SWIGUNUSED
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
58 # else
59 # define SWIGUNUSED
60 # endif
61 #endif
62
63 /* internal SWIG method */
64 #ifndef SWIGINTERN
65 # define SWIGINTERN static SWIGUNUSED
66 #endif
67
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71 #endif
72
73 /* exporting methods for Windows DLLs */
74 #ifndef SWIGEXPORT
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
77 # define SWIGEXPORT
78 # else
79 # define SWIGEXPORT __declspec(dllexport)
80 # endif
81 # else
82 # define SWIGEXPORT
83 # endif
84 #endif
85
86 /* calling conventions for Windows */
87 #ifndef SWIGSTDCALL
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
90 # else
91 # define SWIGSTDCALL
92 # endif
93 #endif
94
95
96
97 #include <Python.h>
98
99 /***********************************************************************
100 * swigrun.swg
101 *
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
104 *
105 ************************************************************************/
106
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
110
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
116 #else
117 # define SWIG_TYPE_TABLE_NAME
118 #endif
119
120 /*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127 */
128
129 #ifndef SWIGRUNTIME
130 # define SWIGRUNTIME SWIGINTERN
131 #endif
132
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
135 #endif
136
137 #include <string.h>
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 typedef void *(*swig_converter_func)(void *);
144 typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info {
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
153 } swig_type_info;
154
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161 } swig_cast_info;
162
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173 } swig_module_info;
174
175
176 /*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182 */
183 SWIGRUNTIME int
184 SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
189 if (*f1 != *f2) return (int)(*f1 - *f2);
190 }
191 return (l1 - f1) - (l2 - f2);
192 }
193
194 /*
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
197 */
198 SWIGRUNTIME int
199 SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
208 if (*ne) ++ne;
209 }
210 return equiv;
211 }
212
213 /*
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
216 */
217 SWIGRUNTIME int
218 SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
225 }
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
228 }
229 return equiv;
230 }
231
232
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
255 /*
256 Check the typename
257 */
258 SWIGRUNTIME swig_cast_info *
259 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261 }
262
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info *
265 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
267 }
268
269 /*
270 Cast a pointer up an inheritance hierarchy
271 */
272 SWIGRUNTIMEINLINE void *
273 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275 }
276
277 /*
278 Dynamic pointer casting. Down an inheritance hierarchy
279 */
280 SWIGRUNTIME swig_type_info *
281 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289 }
290
291 /*
292 Return the name associated with this type
293 */
294 SWIGRUNTIMEINLINE const char *
295 SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297 }
298
299 /*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302 */
303 SWIGRUNTIME const char *
304 SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318 }
319
320 /*
321 Set the clientdata field for a type
322 */
323 SWIGRUNTIME void
324 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
334 }
335 }
336 cast = cast->next;
337 }
338 }
339
340 /*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347 */
348 SWIGRUNTIME swig_type_info *
349 SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
378 }
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382 }
383
384 /*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392 */
393 SWIGRUNTIME swig_type_info *
394 SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
413 }
414
415 /* neither found a match */
416 return 0;
417 }
418
419
420 /*
421 Pack binary data into a string
422 */
423 SWIGRUNTIME char *
424 SWIG_PackData(char *c, void *ptr, size_t sz) {
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
428 for (; u != eu; ++u) {
429 register unsigned char uu = *u;
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434 }
435
436 /*
437 Unpack binary data from a string
438 */
439 SWIGRUNTIME const char *
440 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
442 register const unsigned char *eu = u + sz;
443 for (; u != eu; ++u) {
444 register char d = *(c++);
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462 }
463
464 /*
465 Pack 'void *' into a string buffer.
466 */
467 SWIGRUNTIME char *
468 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476 }
477
478 SWIGRUNTIME const char *
479 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489 }
490
491 SWIGRUNTIME char *
492 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504 }
505
506 SWIGRUNTIME const char *
507 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517 }
518
519 #ifdef __cplusplus
520 }
521 #endif
522
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
527 #ifdef __cplusplus
528 extern "C" {
529 #endif
530
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535 #ifndef SWIGINTERN
536 # define SWIGINTERN static SWIGUNUSED
537 #endif
538
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
541 #endif
542
543 /*
544 Exception handling in wrappers
545 */
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553 /*
554 Contract support
555 */
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563 /* Constant Types */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
569
570 /* Constant information structure */
571 typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578 } swig_const_info;
579
580
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588 #ifdef __cplusplus
589 }
590 #endif
591
592
593 /***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
608
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
612
613 /* Runtime API */
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
616
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620 /*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624 */
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
627 #endif
628
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
632
633
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
637 #endif
638
639 #ifdef __cplusplus
640 extern "C" {
641 #endif
642
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
648 #endif
649
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
652 static PyObject *
653 PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661 }
662 #endif
663
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
666 #endif
667
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674 typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678 } PySwigObject;
679
680 /* Declarations for objects of type PySwigObject */
681
682 SWIGRUNTIME int
683 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684 {
685 char result[SWIG_BUFFER_SIZE];
686 flags = flags;
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693 }
694
695 SWIGRUNTIME PyObject *
696 PySwigObject_repr(PySwigObject *v)
697 {
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701 }
702
703 SWIGRUNTIME PyObject *
704 PySwigObject_str(PySwigObject *v)
705 {
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709 }
710
711 SWIGRUNTIME PyObject *
712 PySwigObject_long(PySwigObject *v)
713 {
714 return PyLong_FromVoidPtr(v->ptr);
715 }
716
717 SWIGRUNTIME PyObject *
718 PySwigObject_format(const char* fmt, PySwigObject *v)
719 {
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
731 }
732
733 SWIGRUNTIME PyObject *
734 PySwigObject_oct(PySwigObject *v)
735 {
736 return PySwigObject_format("%o",v);
737 }
738
739 SWIGRUNTIME PyObject *
740 PySwigObject_hex(PySwigObject *v)
741 {
742 return PySwigObject_format("%x",v);
743 }
744
745 SWIGRUNTIME int
746 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747 {
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
750 return (c > 0) ? 1 : -1;
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
755 }
756 }
757
758 SWIGRUNTIME void
759 PySwigObject_dealloc(PySwigObject *self)
760 {
761 PyObject_Del(self);
762 }
763
764 SWIGRUNTIME PyTypeObject*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
797 #endif
798 };
799
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
804 if (!type_init) {
805 PyTypeObject tmp
806 #endif
807 = {
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832 #endif
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836 #endif
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839 #endif
840 #if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842 #endif
843 #ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845 #endif
846 };
847 #if !defined(__cplusplus)
848 pyswigobject_type = tmp;
849 type_init = 1;
850 }
851 #endif
852 return &pyswigobject_type;
853 }
854
855 SWIGRUNTIME PyObject *
856 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857 {
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
863 return (PyObject *)self;
864 }
865
866 SWIGRUNTIMEINLINE void *
867 PySwigObject_AsVoidPtr(PyObject *self)
868 {
869 return ((PySwigObject *)self)->ptr;
870 }
871
872 SWIGRUNTIMEINLINE const char *
873 PySwigObject_GetDesc(PyObject *self)
874 {
875 return ((PySwigObject *)self)->desc;
876 }
877
878 SWIGRUNTIMEINLINE int
879 PySwigObject_Check(PyObject *op) {
880 return ((op)->ob_type == PySwigObject_type())
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882 }
883
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888 typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893 } PySwigPacked;
894
895 SWIGRUNTIME int
896 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897 {
898 char result[SWIG_BUFFER_SIZE];
899 flags = flags;
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908 }
909
910 SWIGRUNTIME PyObject *
911 PySwigPacked_repr(PySwigPacked *v)
912 {
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919 }
920
921 SWIGRUNTIME PyObject *
922 PySwigPacked_str(PySwigPacked *v)
923 {
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
928 return PyString_FromString(v->desc);
929 }
930 }
931
932 SWIGRUNTIME int
933 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934 {
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
937 return (c > 0) ? 1 : -1;
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944 }
945
946 SWIGRUNTIME void
947 PySwigPacked_dealloc(PySwigPacked *self)
948 {
949 free(self->pack);
950 PyObject_Del(self);
951 }
952
953 SWIGRUNTIME PyTypeObject*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
961 if (!type_init) {
962 PyTypeObject tmp
963 #endif
964 = {
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989 #endif
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993 #endif
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996 #endif
997 #if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999 #endif
1000 #ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002 #endif
1003 };
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
1006 type_init = 1;
1007 }
1008 #endif
1009 return &pyswigpacked_type;
1010 }
1011
1012 SWIGRUNTIME PyObject *
1013 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014 {
1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
1028 }
1029 }
1030
1031 SWIGRUNTIMEINLINE const char *
1032 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033 {
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038 }
1039
1040 SWIGRUNTIMEINLINE const char *
1041 PySwigPacked_GetDesc(PyObject *self)
1042 {
1043 return ((PySwigPacked *)self)->desc;
1044 }
1045
1046 SWIGRUNTIMEINLINE int
1047 PySwigPacked_Check(PyObject *op) {
1048 return ((op)->ob_type == PySwigPacked_type())
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050 }
1051
1052 #else
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062 #endif
1063
1064 #endif
1065
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070 SWIGRUNTIME void
1071 SWIG_Python_TypeError(const char *type, PyObject *obj)
1072 {
1073 if (type) {
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj && PySwigObject_Check(obj)) {
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083 #endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
1096 Py_XDECREF(str);
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104 }
1105
1106 SWIGRUNTIMEINLINE void
1107 SWIG_Python_NullRef(const char *type)
1108 {
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114 }
1115
1116 SWIGRUNTIME int
1117 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118 {
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139 }
1140
1141 SWIGRUNTIME int
1142 SWIG_Python_ArgFail(int argnum)
1143 {
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152 }
1153
1154
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159 /* Convert a pointer value */
1160 SWIGRUNTIME int
1161 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1162 swig_cast_info *tc;
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192 #else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
1205 c = PyString_AsString(obj);
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210 #endif
1211
1212 type_check:
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225 type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248 }
1249
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1251 SWIGRUNTIME void *
1252 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262 }
1263
1264 /* Convert a packed value value */
1265 SWIGRUNTIME int
1266 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1267 swig_cast_info *tc;
1268 const char *c = 0;
1269
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272 #else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1274 c = PyString_AsString(obj);
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277 #endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285 type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295 }
1296
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject *
1299 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313 #else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319 #endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335 }
1336
1337 SWIGRUNTIME PyObject *
1338 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346 #else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352 #endif
1353 return robj;
1354 }
1355
1356 /* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1362 #endif
1363
1364 SWIGRUNTIME swig_module_info *
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371 #else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
1378 #endif
1379 }
1380 return (swig_module_info *) type_pointer;
1381 }
1382
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1386 SWIGINTERN int
1387 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388 {
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
1412 }
1413 #endif
1414
1415 SWIGRUNTIME void
1416 SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425 }
1426
1427 #ifdef __cplusplus
1428 }
1429 #endif
1430
1431
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1433
1434 #define SWIGTYPE_p_bool swig_types[0]
1435 #define SWIGTYPE_p_char swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_unsigned_char swig_types[4]
1439 #define SWIGTYPE_p_unsigned_int swig_types[5]
1440 #define SWIGTYPE_p_unsigned_long swig_types[6]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451 #define SWIGTYPE_p_wxColour swig_types[17]
1452 #define SWIGTYPE_p_wxColourData swig_types[18]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455 #define SWIGTYPE_p_wxConfigBase swig_types[21]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
1457 #define SWIGTYPE_p_wxControl swig_types[23]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
1459 #define SWIGTYPE_p_wxCursor swig_types[25]
1460 #define SWIGTYPE_p_wxDC swig_types[26]
1461 #define SWIGTYPE_p_wxDateEvent swig_types[27]
1462 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28]
1463 #define SWIGTYPE_p_wxDialog swig_types[29]
1464 #define SWIGTYPE_p_wxDirDialog swig_types[30]
1465 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1466 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1467 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
1468 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
1469 #define SWIGTYPE_p_wxEvent swig_types[35]
1470 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
1471 #define SWIGTYPE_p_wxFSFile swig_types[37]
1472 #define SWIGTYPE_p_wxFileDialog swig_types[38]
1473 #define SWIGTYPE_p_wxFileSystem swig_types[39]
1474 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
1475 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
1476 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
1477 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
1478 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
1479 #define SWIGTYPE_p_wxFont swig_types[45]
1480 #define SWIGTYPE_p_wxFontData swig_types[46]
1481 #define SWIGTYPE_p_wxFontDialog swig_types[47]
1482 #define SWIGTYPE_p_wxFrame swig_types[48]
1483 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
1484 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
1485 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
1486 #define SWIGTYPE_p_wxGridSizer swig_types[52]
1487 #define SWIGTYPE_p_wxHelpControllerBase swig_types[53]
1488 #define SWIGTYPE_p_wxHelpSearchMode swig_types[54]
1489 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55]
1490 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[56]
1491 #define SWIGTYPE_p_wxHtmlCell swig_types[57]
1492 #define SWIGTYPE_p_wxHtmlColourCell swig_types[58]
1493 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[59]
1494 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60]
1495 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61]
1496 #define SWIGTYPE_p_wxHtmlFilter swig_types[62]
1497 #define SWIGTYPE_p_wxHtmlFontCell swig_types[63]
1498 #define SWIGTYPE_p_wxHtmlHelpController swig_types[64]
1499 #define SWIGTYPE_p_wxHtmlHelpData swig_types[65]
1500 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66]
1501 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67]
1502 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68]
1503 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69]
1504 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70]
1505 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[71]
1506 #define SWIGTYPE_p_wxHtmlParser swig_types[72]
1507 #define SWIGTYPE_p_wxHtmlPrintout swig_types[73]
1508 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74]
1509 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[75]
1510 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76]
1511 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77]
1512 #define SWIGTYPE_p_wxHtmlSelection swig_types[78]
1513 #define SWIGTYPE_p_wxHtmlTag swig_types[79]
1514 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[80]
1515 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81]
1516 #define SWIGTYPE_p_wxHtmlWinParser swig_types[82]
1517 #define SWIGTYPE_p_wxHtmlWindow swig_types[83]
1518 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84]
1519 #define SWIGTYPE_p_wxHtmlWordCell swig_types[85]
1520 #define SWIGTYPE_p_wxICOHandler swig_types[86]
1521 #define SWIGTYPE_p_wxIconizeEvent swig_types[87]
1522 #define SWIGTYPE_p_wxIdleEvent swig_types[88]
1523 #define SWIGTYPE_p_wxImage swig_types[89]
1524 #define SWIGTYPE_p_wxImageHandler swig_types[90]
1525 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91]
1526 #define SWIGTYPE_p_wxInitDialogEvent swig_types[92]
1527 #define SWIGTYPE_p_wxJPEGHandler swig_types[93]
1528 #define SWIGTYPE_p_wxKeyEvent swig_types[94]
1529 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95]
1530 #define SWIGTYPE_p_wxLayoutConstraints swig_types[96]
1531 #define SWIGTYPE_p_wxMDIChildFrame swig_types[97]
1532 #define SWIGTYPE_p_wxMDIClientWindow swig_types[98]
1533 #define SWIGTYPE_p_wxMDIParentFrame swig_types[99]
1534 #define SWIGTYPE_p_wxMaximizeEvent swig_types[100]
1535 #define SWIGTYPE_p_wxMenu swig_types[101]
1536 #define SWIGTYPE_p_wxMenuBar swig_types[102]
1537 #define SWIGTYPE_p_wxMenuEvent swig_types[103]
1538 #define SWIGTYPE_p_wxMenuItem swig_types[104]
1539 #define SWIGTYPE_p_wxMessageDialog swig_types[105]
1540 #define SWIGTYPE_p_wxMiniFrame swig_types[106]
1541 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107]
1542 #define SWIGTYPE_p_wxMouseEvent swig_types[108]
1543 #define SWIGTYPE_p_wxMoveEvent swig_types[109]
1544 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110]
1545 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111]
1546 #define SWIGTYPE_p_wxNcPaintEvent swig_types[112]
1547 #define SWIGTYPE_p_wxNotifyEvent swig_types[113]
1548 #define SWIGTYPE_p_wxObject swig_types[114]
1549 #define SWIGTYPE_p_wxPCXHandler swig_types[115]
1550 #define SWIGTYPE_p_wxPNGHandler swig_types[116]
1551 #define SWIGTYPE_p_wxPNMHandler swig_types[117]
1552 #define SWIGTYPE_p_wxPageSetupDialog swig_types[118]
1553 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[119]
1554 #define SWIGTYPE_p_wxPaintEvent swig_types[120]
1555 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121]
1556 #define SWIGTYPE_p_wxPanel swig_types[122]
1557 #define SWIGTYPE_p_wxPaperSize swig_types[123]
1558 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124]
1559 #define SWIGTYPE_p_wxPoint swig_types[125]
1560 #define SWIGTYPE_p_wxPopupWindow swig_types[126]
1561 #define SWIGTYPE_p_wxPreviewCanvas swig_types[127]
1562 #define SWIGTYPE_p_wxPreviewControlBar swig_types[128]
1563 #define SWIGTYPE_p_wxPreviewFrame swig_types[129]
1564 #define SWIGTYPE_p_wxPrintData swig_types[130]
1565 #define SWIGTYPE_p_wxPrintDialog swig_types[131]
1566 #define SWIGTYPE_p_wxPrintDialogData swig_types[132]
1567 #define SWIGTYPE_p_wxPrintPreview swig_types[133]
1568 #define SWIGTYPE_p_wxPrinter swig_types[134]
1569 #define SWIGTYPE_p_wxProgressDialog swig_types[135]
1570 #define SWIGTYPE_p_wxPyApp swig_types[136]
1571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[137]
1572 #define SWIGTYPE_p_wxPyEvent swig_types[138]
1573 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[139]
1574 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[140]
1575 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141]
1576 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142]
1577 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[143]
1578 #define SWIGTYPE_p_wxPyImageHandler swig_types[144]
1579 #define SWIGTYPE_p_wxPyPanel swig_types[145]
1580 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146]
1581 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147]
1582 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[148]
1583 #define SWIGTYPE_p_wxPyPrintPreview swig_types[149]
1584 #define SWIGTYPE_p_wxPyPrintout swig_types[150]
1585 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[151]
1586 #define SWIGTYPE_p_wxPySizer swig_types[152]
1587 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153]
1588 #define SWIGTYPE_p_wxPyVListBox swig_types[154]
1589 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155]
1590 #define SWIGTYPE_p_wxPyValidator swig_types[156]
1591 #define SWIGTYPE_p_wxPyWindow swig_types[157]
1592 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158]
1593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159]
1594 #define SWIGTYPE_p_wxSashEvent swig_types[160]
1595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[161]
1596 #define SWIGTYPE_p_wxSashWindow swig_types[162]
1597 #define SWIGTYPE_p_wxScrollEvent swig_types[163]
1598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[164]
1599 #define SWIGTYPE_p_wxScrolledWindow swig_types[165]
1600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[166]
1601 #define SWIGTYPE_p_wxShowEvent swig_types[167]
1602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168]
1603 #define SWIGTYPE_p_wxSize swig_types[169]
1604 #define SWIGTYPE_p_wxSizeEvent swig_types[170]
1605 #define SWIGTYPE_p_wxSizer swig_types[171]
1606 #define SWIGTYPE_p_wxSizerItem swig_types[172]
1607 #define SWIGTYPE_p_wxSplashScreen swig_types[173]
1608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[174]
1609 #define SWIGTYPE_p_wxSplitterEvent swig_types[175]
1610 #define SWIGTYPE_p_wxSplitterWindow swig_types[176]
1611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[177]
1612 #define SWIGTYPE_p_wxStatusBar swig_types[178]
1613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179]
1614 #define SWIGTYPE_p_wxString swig_types[180]
1615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181]
1616 #define SWIGTYPE_p_wxTIFFHandler swig_types[182]
1617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183]
1618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[184]
1619 #define SWIGTYPE_p_wxTipWindow swig_types[185]
1620 #define SWIGTYPE_p_wxTopLevelWindow swig_types[186]
1621 #define SWIGTYPE_p_wxTreeCtrl swig_types[187]
1622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[188]
1623 #define SWIGTYPE_p_wxValidator swig_types[189]
1624 #define SWIGTYPE_p_wxVisualAttributes swig_types[190]
1625 #define SWIGTYPE_p_wxWindow swig_types[191]
1626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[192]
1627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193]
1628 #define SWIGTYPE_p_wxXPMHandler swig_types[194]
1629 #define SWIGTYPE_ptrdiff_t swig_types[195]
1630 #define SWIGTYPE_std__ptrdiff_t swig_types[196]
1631 #define SWIGTYPE_unsigned_int swig_types[197]
1632 static swig_type_info *swig_types[199];
1633 static swig_module_info swig_module = {swig_types, 198, 0, 0, 0, 0};
1634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1636
1637 /* -------- TYPES TABLE (END) -------- */
1638
1639
1640 /*-----------------------------------------------
1641 @(target):= _html.so
1642 ------------------------------------------------*/
1643 #define SWIG_init init_html
1644
1645 #define SWIG_name "_html"
1646
1647 #include "wx/wxPython/wxPython.h"
1648 #include "wx/wxPython/pyclasses.h"
1649 #include "wx/wxPython/pyistream.h"
1650 #include "wx/wxPython/printfw.h"
1651
1652 #include <wx/html/htmlwin.h>
1653 #include <wx/html/htmprint.h>
1654 #include <wx/html/helpctrl.h>
1655 #include <wx/html/helpwnd.h>
1656 #include <wx/html/helpfrm.h>
1657 #include <wx/html/helpdlg.h>
1658
1659
1660 static const wxString wxPyEmptyString(wxEmptyString);
1661 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1662 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1663 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
1664
1665 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1666 #define SWIG_From_int PyInt_FromLong
1667 /*@@*/
1668
1669
1670 #include <limits.h>
1671
1672
1673 SWIGINTERN int
1674 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1675 const char *errmsg)
1676 {
1677 if (value < min_value) {
1678 if (errmsg) {
1679 PyErr_Format(PyExc_OverflowError,
1680 "value %ld is less than '%s' minimum %ld",
1681 value, errmsg, min_value);
1682 }
1683 return 0;
1684 } else if (value > max_value) {
1685 if (errmsg) {
1686 PyErr_Format(PyExc_OverflowError,
1687 "value %ld is greater than '%s' maximum %ld",
1688 value, errmsg, max_value);
1689 }
1690 return 0;
1691 }
1692 return 1;
1693 }
1694
1695
1696 SWIGINTERN int
1697 SWIG_AsVal_long(PyObject* obj, long* val)
1698 {
1699 if (PyNumber_Check(obj)) {
1700 if (val) *val = PyInt_AsLong(obj);
1701 return 1;
1702 }
1703 else {
1704 SWIG_Python_TypeError("number", obj);
1705 }
1706 return 0;
1707 }
1708
1709
1710 #if INT_MAX != LONG_MAX
1711 SWIGINTERN int
1712 SWIG_AsVal_int(PyObject *obj, int *val)
1713 {
1714 const char* errmsg = val ? "int" : (char*)0;
1715 long v;
1716 if (SWIG_AsVal_long(obj, &v)) {
1717 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1718 if (val) *val = static_cast<int >(v);
1719 return 1;
1720 } else {
1721 return 0;
1722 }
1723 } else {
1724 PyErr_Clear();
1725 }
1726 if (val) {
1727 SWIG_type_error(errmsg, obj);
1728 }
1729 return 0;
1730 }
1731 #else
1732 SWIGINTERNINLINE int
1733 SWIG_AsVal_int(PyObject *obj, int *val)
1734 {
1735 return SWIG_AsVal_long(obj,(long*)val);
1736 }
1737 #endif
1738
1739
1740 SWIGINTERNINLINE int
1741 SWIG_As_int(PyObject* obj)
1742 {
1743 int v;
1744 if (!SWIG_AsVal_int(obj, &v)) {
1745 /*
1746 this is needed to make valgrind/purify happier.
1747 */
1748 memset((void*)&v, 0, sizeof(int));
1749 }
1750 return v;
1751 }
1752
1753
1754 SWIGINTERNINLINE int
1755 SWIG_Check_int(PyObject* obj)
1756 {
1757 return SWIG_AsVal_int(obj, (int*)0);
1758 }
1759
1760 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
1761 int* temp = NULL;
1762 if (sizes) temp = int_LIST_helper(sizes);
1763 self->SetFonts(normal_face, fixed_face, temp);
1764 if (temp)
1765 delete [] temp;
1766 }
1767
1768 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1769 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
1770 public:
1771 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1772
1773 wxHtmlParser* GetParser() { return m_Parser; }
1774 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1775
1776 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1777 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1778
1779 PYPRIVATE;
1780 };
1781
1782 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1783
1784 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1785 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1786
1787
1788 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1789 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
1790 public:
1791 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1792
1793 wxHtmlWinParser* GetParser() { return m_WParser; }
1794 void ParseInner(const wxHtmlTag& tag)
1795 { wxHtmlWinTagHandler::ParseInner(tag); }
1796
1797 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1798 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1799
1800 PYPRIVATE;
1801 };
1802
1803 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1804
1805 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1806 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1807
1808
1809
1810 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1811 public:
1812 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1813 m_tagHandlerClass = thc;
1814 Py_INCREF(m_tagHandlerClass);
1815 RegisterModule(this);
1816 wxHtmlWinParser::AddModule(this);
1817 }
1818
1819 void OnExit() {
1820 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1821 Py_DECREF(m_tagHandlerClass);
1822 m_tagHandlerClass = NULL;
1823 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1824 PyObject* obj = (PyObject*)m_objArray.Item(x);
1825 Py_DECREF(obj);
1826 }
1827 wxPyEndBlockThreads(blocked);
1828 };
1829
1830 void FillHandlersTable(wxHtmlWinParser *parser) {
1831 // Wave our magic wand... (if it works it's a miracle! ;-)
1832
1833 // First, make a new instance of the tag handler
1834 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1835 PyObject* arg = PyTuple_New(0);
1836 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
1837 Py_DECREF(arg);
1838
1839 // now figure out where it's C++ object is...
1840 wxPyHtmlWinTagHandler* thPtr;
1841 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
1842 wxPyEndBlockThreads(blocked);
1843 return;
1844 }
1845 wxPyEndBlockThreads(blocked);
1846
1847 // add it,
1848 parser->AddTagHandler(thPtr);
1849
1850 // and track it.
1851 m_objArray.Add(obj);
1852 }
1853
1854 private:
1855 PyObject* m_tagHandlerClass;
1856 wxArrayPtrVoid m_objArray;
1857
1858 };
1859
1860
1861 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1862 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1863 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1864 new wxPyHtmlTagsModule(tagHandlerClass);
1865 }
1866
1867
1868 SWIGINTERNINLINE PyObject*
1869 SWIG_From_bool(bool value)
1870 {
1871 PyObject *obj = value ? Py_True : Py_False;
1872 Py_INCREF(obj);
1873 return obj;
1874 }
1875
1876
1877 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1878 {
1879 PyObject* o2;
1880 PyObject* o3;
1881 if (!result) {
1882 result = obj;
1883 } else if (result == Py_None) {
1884 Py_DECREF(result);
1885 result = obj;
1886 } else {
1887 if (!PyTuple_Check(result)) {
1888 o2 = result;
1889 result = PyTuple_New(1);
1890 PyTuple_SET_ITEM(result, 0, o2);
1891 }
1892 o3 = PyTuple_New(1);
1893 PyTuple_SetItem(o3, 0, obj);
1894 o2 = result;
1895 result = PySequence_Concat(o2, o3);
1896 Py_DECREF(o2);
1897 Py_DECREF(o3);
1898 }
1899 return result;
1900 }
1901
1902
1903
1904 SWIGINTERN int
1905 SWIG_AsVal_bool(PyObject *obj, bool *val)
1906 {
1907 if (obj == Py_True) {
1908 if (val) *val = true;
1909 return 1;
1910 }
1911 if (obj == Py_False) {
1912 if (val) *val = false;
1913 return 1;
1914 }
1915 int res = 0;
1916 if (SWIG_AsVal_int(obj, &res)) {
1917 if (val) *val = res ? true : false;
1918 return 1;
1919 } else {
1920 PyErr_Clear();
1921 }
1922 if (val) {
1923 SWIG_type_error("bool", obj);
1924 }
1925 return 0;
1926 }
1927
1928
1929 SWIGINTERNINLINE bool
1930 SWIG_As_bool(PyObject* obj)
1931 {
1932 bool v;
1933 if (!SWIG_AsVal_bool(obj, &v)) {
1934 /*
1935 this is needed to make valgrind/purify happier.
1936 */
1937 memset((void*)&v, 0, sizeof(bool));
1938 }
1939 return v;
1940 }
1941
1942
1943 SWIGINTERNINLINE int
1944 SWIG_Check_bool(PyObject* obj)
1945 {
1946 return SWIG_AsVal_bool(obj, (bool*)0);
1947 }
1948
1949
1950 SWIGINTERNINLINE int
1951 SWIG_CheckUnsignedLongInRange(unsigned long value,
1952 unsigned long max_value,
1953 const char *errmsg)
1954 {
1955 if (value > max_value) {
1956 if (errmsg) {
1957 PyErr_Format(PyExc_OverflowError,
1958 "value %lu is greater than '%s' minimum %lu",
1959 value, errmsg, max_value);
1960 }
1961 return 0;
1962 }
1963 return 1;
1964 }
1965
1966
1967 SWIGINTERN int
1968 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1969 {
1970 long v = 0;
1971 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1972 SWIG_Python_TypeError("unsigned number", obj);
1973 }
1974 else if (val)
1975 *val = (unsigned long)v;
1976 return 1;
1977 }
1978
1979
1980 #if UINT_MAX != ULONG_MAX
1981 SWIGINTERN int
1982 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1983 {
1984 const char* errmsg = val ? "unsigned int" : (char*)0;
1985 unsigned long v;
1986 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1987 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1988 if (val) *val = static_cast<unsigned int >(v);
1989 return 1;
1990 }
1991 } else {
1992 PyErr_Clear();
1993 }
1994 if (val) {
1995 SWIG_type_error(errmsg, obj);
1996 }
1997 return 0;
1998 }
1999 #else
2000 SWIGINTERNINLINE unsigned int
2001 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2002 {
2003 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2004 }
2005 #endif
2006
2007
2008 SWIGINTERNINLINE unsigned int
2009 SWIG_As_unsigned_SS_int(PyObject* obj)
2010 {
2011 unsigned int v;
2012 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2013 /*
2014 this is needed to make valgrind/purify happier.
2015 */
2016 memset((void*)&v, 0, sizeof(unsigned int));
2017 }
2018 return v;
2019 }
2020
2021
2022 SWIGINTERNINLINE int
2023 SWIG_Check_unsigned_SS_int(PyObject* obj)
2024 {
2025 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2026 }
2027
2028
2029 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2030 #define SWIG_From_long PyInt_FromLong
2031 /*@@*/
2032
2033
2034 SWIGINTERNINLINE PyObject*
2035 SWIG_From_unsigned_SS_long(unsigned long value)
2036 {
2037 return (value > LONG_MAX) ?
2038 PyLong_FromUnsignedLong(value)
2039 : PyInt_FromLong(static_cast<long >(value));
2040 }
2041
2042
2043 #if UINT_MAX < LONG_MAX
2044 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2045 #define SWIG_From_unsigned_SS_int SWIG_From_long
2046 /*@@*/
2047 #else
2048 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2049 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2050 /*@@*/
2051 #endif
2052
2053 // here's the C++ version
2054 class wxPyHtmlFilter : public wxHtmlFilter {
2055 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
2056 public:
2057 wxPyHtmlFilter() : wxHtmlFilter() {}
2058
2059 // returns True if this filter is able to open&read given file
2060 virtual bool CanRead(const wxFSFile& file) const {
2061 bool rval = false;
2062 bool found;
2063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2064 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
2065 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
2066 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2067 Py_DECREF(obj);
2068 }
2069 wxPyEndBlockThreads(blocked);
2070 return rval;
2071 }
2072
2073
2074 // Reads given file and returns HTML document.
2075 // Returns empty string if opening failed
2076 virtual wxString ReadFile(const wxFSFile& file) const {
2077 wxString rval;
2078 bool found;
2079 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2080 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
2081 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
2082 PyObject* ro;
2083 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
2084 Py_DECREF(obj);
2085 if (ro) {
2086 rval = Py2wxString(ro);
2087 Py_DECREF(ro);
2088 }
2089 }
2090 wxPyEndBlockThreads(blocked);
2091 return rval;
2092 }
2093
2094 PYPRIVATE;
2095 };
2096
2097 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
2098
2099
2100 class wxPyHtmlWindow : public wxHtmlWindow {
2101 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
2102 public:
2103 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
2104 const wxPoint& pos = wxDefaultPosition,
2105 const wxSize& size = wxDefaultSize,
2106 long style = wxHW_DEFAULT_STYLE,
2107 const wxString& name = wxPyHtmlWindowNameStr)
2108 : wxHtmlWindow(parent, id, pos, size, style, name) {};
2109 wxPyHtmlWindow() : wxHtmlWindow() {};
2110
2111 bool ScrollToAnchor(const wxString& anchor) {
2112 return wxHtmlWindow::ScrollToAnchor(anchor);
2113 }
2114
2115 bool HasAnchor(const wxString& anchor) {
2116 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
2117 return c!=NULL;
2118 }
2119
2120 void OnLinkClicked(const wxHtmlLinkInfo& link);
2121
2122 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
2123 const wxString& url,
2124 wxString *redirect) const;
2125
2126 DEC_PYCALLBACK__STRING(OnSetTitle);
2127 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
2128 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
2129 PYPRIVATE;
2130 };
2131
2132 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
2133 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
2134 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
2135 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
2136
2137
2138 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
2139 bool found;
2140 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2141 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
2142 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
2143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
2144 Py_DECREF(obj);
2145 }
2146 wxPyEndBlockThreads(blocked);
2147 if (! found)
2148 wxHtmlWindow::OnLinkClicked(link);
2149 }
2150
2151
2152 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
2153 const wxString& url,
2154 wxString *redirect) const {
2155 bool found;
2156 wxHtmlOpeningStatus rval;
2157 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2158 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
2159 PyObject* ro;
2160 PyObject* s = wx2PyString(url);
2161 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
2162 Py_DECREF(s);
2163 if (PyString_Check(ro)
2164 #if PYTHON_API_VERSION >= 1009
2165 || PyUnicode_Check(ro)
2166 #endif
2167 ) {
2168 *redirect = Py2wxString(ro);
2169 rval = wxHTML_REDIRECT;
2170 }
2171 else {
2172 PyObject* num = PyNumber_Int(ro);
2173 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
2174 Py_DECREF(num);
2175 }
2176 Py_DECREF(ro);
2177 }
2178 wxPyEndBlockThreads(blocked);
2179 if (! found)
2180 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
2181 return rval;
2182 }
2183
2184
2185
2186 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2187 int* temp = NULL;
2188 if (sizes) temp = int_LIST_helper(sizes);
2189 self->SetFonts(normal_face, fixed_face, temp);
2190 if (temp)
2191 delete [] temp;
2192 }
2193 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2194 int* temp = NULL;
2195 if (sizes) temp = int_LIST_helper(sizes);
2196 self->SetFonts(normal_face, fixed_face, temp);
2197 if (temp)
2198 delete [] temp;
2199 }
2200 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2201 int* temp = NULL;
2202 if (sizes) temp = int_LIST_helper(sizes);
2203 self->SetFonts(normal_face, fixed_face, temp);
2204 if (temp)
2205 delete [] temp;
2206 }
2207
2208 #include <float.h>
2209 SWIGINTERN int
2210 SWIG_CheckDoubleInRange(double value, double min_value,
2211 double max_value, const char* errmsg)
2212 {
2213 if (value < min_value) {
2214 if (errmsg) {
2215 PyErr_Format(PyExc_OverflowError,
2216 "value %g is less than %s minimum %g",
2217 value, errmsg, min_value);
2218 }
2219 return 0;
2220 } else if (value > max_value) {
2221 if (errmsg) {
2222 PyErr_Format(PyExc_OverflowError,
2223 "value %g is greater than %s maximum %g",
2224 value, errmsg, max_value);
2225 }
2226 return 0;
2227 }
2228 return 1;
2229 }
2230
2231
2232 SWIGINTERN int
2233 SWIG_AsVal_double(PyObject *obj, double* val)
2234 {
2235 if (PyNumber_Check(obj)) {
2236 if (val) *val = PyFloat_AsDouble(obj);
2237 return 1;
2238 }
2239 else {
2240 SWIG_Python_TypeError("number", obj);
2241 }
2242 return 0;
2243 }
2244
2245
2246 SWIGINTERN int
2247 SWIG_AsVal_float(PyObject *obj, float *val)
2248 {
2249 const char* errmsg = val ? "float" : (char*)0;
2250 double v;
2251 if (SWIG_AsVal_double(obj, &v)) {
2252 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2253 if (val) *val = static_cast<float >(v);
2254 return 1;
2255 } else {
2256 return 0;
2257 }
2258 } else {
2259 PyErr_Clear();
2260 }
2261 if (val) {
2262 SWIG_type_error(errmsg, obj);
2263 }
2264 return 0;
2265 }
2266
2267
2268 SWIGINTERNINLINE float
2269 SWIG_As_float(PyObject* obj)
2270 {
2271 float v;
2272 if (!SWIG_AsVal_float(obj, &v)) {
2273 /*
2274 this is needed to make valgrind/purify happier.
2275 */
2276 memset((void*)&v, 0, sizeof(float));
2277 }
2278 return v;
2279 }
2280
2281
2282 SWIGINTERNINLINE int
2283 SWIG_Check_float(PyObject* obj)
2284 {
2285 return SWIG_AsVal_float(obj, (float*)0);
2286 }
2287
2288 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2289 int* temp = NULL;
2290 if (sizes) temp = int_LIST_helper(sizes);
2291 self->SetFonts(normal_face, fixed_face, temp);
2292 if (temp)
2293 delete [] temp;
2294 }
2295
2296 SWIGINTERNINLINE long
2297 SWIG_As_long(PyObject* obj)
2298 {
2299 long v;
2300 if (!SWIG_AsVal_long(obj, &v)) {
2301 /*
2302 this is needed to make valgrind/purify happier.
2303 */
2304 memset((void*)&v, 0, sizeof(long));
2305 }
2306 return v;
2307 }
2308
2309
2310 SWIGINTERNINLINE int
2311 SWIG_Check_long(PyObject* obj)
2312 {
2313 return SWIG_AsVal_long(obj, (long*)0);
2314 }
2315
2316 #ifdef __cplusplus
2317 extern "C" {
2318 #endif
2319 static int _wrap_HtmlWindowNameStr_set(PyObject *) {
2320 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2321 return 1;
2322 }
2323
2324
2325 static PyObject *_wrap_HtmlWindowNameStr_get(void) {
2326 PyObject *pyobj = NULL;
2327
2328 {
2329 #if wxUSE_UNICODE
2330 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2331 #else
2332 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2333 #endif
2334 }
2335 return pyobj;
2336 }
2337
2338
2339 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
2340 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2341 return 1;
2342 }
2343
2344
2345 static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
2346 PyObject *pyobj = NULL;
2347
2348 {
2349 #if wxUSE_UNICODE
2350 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2351 #else
2352 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2353 #endif
2354 }
2355 return pyobj;
2356 }
2357
2358
2359 static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
2360 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2361 return 1;
2362 }
2363
2364
2365 static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
2366 PyObject *pyobj = NULL;
2367
2368 {
2369 #if wxUSE_UNICODE
2370 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2371 #else
2372 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2373 #endif
2374 }
2375 return pyobj;
2376 }
2377
2378
2379 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj = NULL;
2381 wxString *arg1 = 0 ;
2382 wxString const &arg2_defvalue = wxPyEmptyString ;
2383 wxString *arg2 = (wxString *) &arg2_defvalue ;
2384 wxHtmlLinkInfo *result;
2385 bool temp1 = false ;
2386 bool temp2 = false ;
2387 PyObject * obj0 = 0 ;
2388 PyObject * obj1 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "href",(char *) "target", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2394 {
2395 arg1 = wxString_in_helper(obj0);
2396 if (arg1 == NULL) SWIG_fail;
2397 temp1 = true;
2398 }
2399 if (obj1) {
2400 {
2401 arg2 = wxString_in_helper(obj1);
2402 if (arg2 == NULL) SWIG_fail;
2403 temp2 = true;
2404 }
2405 }
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
2413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2414 {
2415 if (temp1)
2416 delete arg1;
2417 }
2418 {
2419 if (temp2)
2420 delete arg2;
2421 }
2422 return resultobj;
2423 fail:
2424 {
2425 if (temp1)
2426 delete arg1;
2427 }
2428 {
2429 if (temp2)
2430 delete arg2;
2431 }
2432 return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj = NULL;
2438 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2439 wxString result;
2440 PyObject * obj0 = 0 ;
2441 char *kwnames[] = {
2442 (char *) "self", NULL
2443 };
2444
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
2446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2447 if (SWIG_arg_fail(1)) SWIG_fail;
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 result = (arg1)->GetHref();
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 {
2456 #if wxUSE_UNICODE
2457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2458 #else
2459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2460 #endif
2461 }
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj = NULL;
2470 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2471 wxString result;
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
2478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2479 if (SWIG_arg_fail(1)) SWIG_fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = (arg1)->GetTarget();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488 #if wxUSE_UNICODE
2489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2490 #else
2491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2492 #endif
2493 }
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj = NULL;
2502 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2503 wxMouseEvent *result;
2504 PyObject * obj0 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self", NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
2510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2511 if (SWIG_arg_fail(1)) SWIG_fail;
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 result = (wxMouseEvent *)(arg1)->GetEvent();
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 {
2520 resultobj = wxPyMake_wxObject(result, (bool)0);
2521 }
2522 return resultobj;
2523 fail:
2524 return NULL;
2525 }
2526
2527
2528 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2529 PyObject *resultobj = NULL;
2530 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2531 wxHtmlCell *result;
2532 PyObject * obj0 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "self", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
2538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2539 if (SWIG_arg_fail(1)) SWIG_fail;
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
2548 return resultobj;
2549 fail:
2550 return NULL;
2551 }
2552
2553
2554 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj = NULL;
2556 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2557 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2558 PyObject * obj0 = 0 ;
2559 PyObject * obj1 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "self",(char *) "e", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
2565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2566 if (SWIG_arg_fail(1)) SWIG_fail;
2567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2568 if (SWIG_arg_fail(2)) SWIG_fail;
2569 {
2570 PyThreadState* __tstate = wxPyBeginAllowThreads();
2571 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2572
2573 wxPyEndAllowThreads(__tstate);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 Py_INCREF(Py_None); resultobj = Py_None;
2577 return resultobj;
2578 fail:
2579 return NULL;
2580 }
2581
2582
2583 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2584 PyObject *resultobj = NULL;
2585 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2586 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2587 PyObject * obj0 = 0 ;
2588 PyObject * obj1 = 0 ;
2589 char *kwnames[] = {
2590 (char *) "self",(char *) "e", NULL
2591 };
2592
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
2594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2595 if (SWIG_arg_fail(1)) SWIG_fail;
2596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2597 if (SWIG_arg_fail(2)) SWIG_fail;
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 Py_INCREF(Py_None); resultobj = Py_None;
2606 return resultobj;
2607 fail:
2608 return NULL;
2609 }
2610
2611
2612 static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
2613 PyObject *obj;
2614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2615 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2616 Py_INCREF(obj);
2617 return Py_BuildValue((char *)"");
2618 }
2619 static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
2620 PyObject *resultobj = NULL;
2621 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2622 wxString result;
2623 PyObject * obj0 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
2629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2630 if (SWIG_arg_fail(1)) SWIG_fail;
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = (arg1)->GetName();
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639 #if wxUSE_UNICODE
2640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2641 #else
2642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2643 #endif
2644 }
2645 return resultobj;
2646 fail:
2647 return NULL;
2648 }
2649
2650
2651 static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj = NULL;
2653 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2654 wxString *arg2 = 0 ;
2655 bool result;
2656 bool temp2 = false ;
2657 PyObject * obj0 = 0 ;
2658 PyObject * obj1 = 0 ;
2659 char *kwnames[] = {
2660 (char *) "self",(char *) "par", NULL
2661 };
2662
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
2664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2665 if (SWIG_arg_fail(1)) SWIG_fail;
2666 {
2667 arg2 = wxString_in_helper(obj1);
2668 if (arg2 == NULL) SWIG_fail;
2669 temp2 = true;
2670 }
2671 {
2672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2673 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2674
2675 wxPyEndAllowThreads(__tstate);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
2678 {
2679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2680 }
2681 {
2682 if (temp2)
2683 delete arg2;
2684 }
2685 return resultobj;
2686 fail:
2687 {
2688 if (temp2)
2689 delete arg2;
2690 }
2691 return NULL;
2692 }
2693
2694
2695 static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
2696 PyObject *resultobj = NULL;
2697 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2698 wxString *arg2 = 0 ;
2699 int arg3 = (int) false ;
2700 wxString result;
2701 bool temp2 = false ;
2702 PyObject * obj0 = 0 ;
2703 PyObject * obj1 = 0 ;
2704 PyObject * obj2 = 0 ;
2705 char *kwnames[] = {
2706 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2707 };
2708
2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
2710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2711 if (SWIG_arg_fail(1)) SWIG_fail;
2712 {
2713 arg2 = wxString_in_helper(obj1);
2714 if (arg2 == NULL) SWIG_fail;
2715 temp2 = true;
2716 }
2717 if (obj2) {
2718 {
2719 arg3 = static_cast<int >(SWIG_As_int(obj2));
2720 if (SWIG_arg_fail(3)) SWIG_fail;
2721 }
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 {
2731 #if wxUSE_UNICODE
2732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2733 #else
2734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2735 #endif
2736 }
2737 {
2738 if (temp2)
2739 delete arg2;
2740 }
2741 return resultobj;
2742 fail:
2743 {
2744 if (temp2)
2745 delete arg2;
2746 }
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj = NULL;
2753 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2754 wxString result;
2755 PyObject * obj0 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "self", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
2761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2762 if (SWIG_arg_fail(1)) SWIG_fail;
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 result = (arg1)->GetAllParams();
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 {
2771 #if wxUSE_UNICODE
2772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2773 #else
2774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2775 #endif
2776 }
2777 return resultobj;
2778 fail:
2779 return NULL;
2780 }
2781
2782
2783 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj = NULL;
2785 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2786 bool result;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
2793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail;
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = (bool)(arg1)->HasEnding();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 {
2803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2804 }
2805 return resultobj;
2806 fail:
2807 return NULL;
2808 }
2809
2810
2811 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj = NULL;
2813 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2814 int result;
2815 PyObject * obj0 = 0 ;
2816 char *kwnames[] = {
2817 (char *) "self", NULL
2818 };
2819
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
2821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2822 if (SWIG_arg_fail(1)) SWIG_fail;
2823 {
2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
2825 result = (int)(arg1)->GetBeginPos();
2826
2827 wxPyEndAllowThreads(__tstate);
2828 if (PyErr_Occurred()) SWIG_fail;
2829 }
2830 {
2831 resultobj = SWIG_From_int(static_cast<int >(result));
2832 }
2833 return resultobj;
2834 fail:
2835 return NULL;
2836 }
2837
2838
2839 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj = NULL;
2841 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2842 int result;
2843 PyObject * obj0 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
2849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2850 if (SWIG_arg_fail(1)) SWIG_fail;
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 result = (int)(arg1)->GetEndPos1();
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
2858 {
2859 resultobj = SWIG_From_int(static_cast<int >(result));
2860 }
2861 return resultobj;
2862 fail:
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj = NULL;
2869 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2870 int result;
2871 PyObject * obj0 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
2877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail;
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 result = (int)(arg1)->GetEndPos2();
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
2886 {
2887 resultobj = SWIG_From_int(static_cast<int >(result));
2888 }
2889 return resultobj;
2890 fail:
2891 return NULL;
2892 }
2893
2894
2895 static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
2896 PyObject *obj;
2897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2898 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2899 Py_INCREF(obj);
2900 return Py_BuildValue((char *)"");
2901 }
2902 static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj = NULL;
2904 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2905 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2906 PyObject * obj0 = 0 ;
2907 PyObject * obj1 = 0 ;
2908 char *kwnames[] = {
2909 (char *) "self",(char *) "fs", NULL
2910 };
2911
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
2913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2914 if (SWIG_arg_fail(1)) SWIG_fail;
2915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2916 if (SWIG_arg_fail(2)) SWIG_fail;
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 (arg1)->SetFS(arg2);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 Py_INCREF(Py_None); resultobj = Py_None;
2925 return resultobj;
2926 fail:
2927 return NULL;
2928 }
2929
2930
2931 static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj = NULL;
2933 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2934 wxFileSystem *result;
2935 PyObject * obj0 = 0 ;
2936 char *kwnames[] = {
2937 (char *) "self", NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
2941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2942 if (SWIG_arg_fail(1)) SWIG_fail;
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 result = (wxFileSystem *)(arg1)->GetFS();
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 {
2951 resultobj = wxPyMake_wxObject(result, (bool)0);
2952 }
2953 return resultobj;
2954 fail:
2955 return NULL;
2956 }
2957
2958
2959 static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
2960 PyObject *resultobj = NULL;
2961 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2962 wxString *arg2 = 0 ;
2963 wxObject *result;
2964 bool temp2 = false ;
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 char *kwnames[] = {
2968 (char *) "self",(char *) "source", NULL
2969 };
2970
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
2972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2973 if (SWIG_arg_fail(1)) SWIG_fail;
2974 {
2975 arg2 = wxString_in_helper(obj1);
2976 if (arg2 == NULL) SWIG_fail;
2977 temp2 = true;
2978 }
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
2981 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
2986 {
2987 resultobj = wxPyMake_wxObject(result, (bool)0);
2988 }
2989 {
2990 if (temp2)
2991 delete arg2;
2992 }
2993 return resultobj;
2994 fail:
2995 {
2996 if (temp2)
2997 delete arg2;
2998 }
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj = NULL;
3005 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3006 wxString *arg2 = 0 ;
3007 bool temp2 = false ;
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self",(char *) "source", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
3015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3016 if (SWIG_arg_fail(1)) SWIG_fail;
3017 {
3018 arg2 = wxString_in_helper(obj1);
3019 if (arg2 == NULL) SWIG_fail;
3020 temp2 = true;
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 (arg1)->InitParser((wxString const &)*arg2);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 Py_INCREF(Py_None); resultobj = Py_None;
3030 {
3031 if (temp2)
3032 delete arg2;
3033 }
3034 return resultobj;
3035 fail:
3036 {
3037 if (temp2)
3038 delete arg2;
3039 }
3040 return NULL;
3041 }
3042
3043
3044 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
3045 PyObject *resultobj = NULL;
3046 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3047 PyObject * obj0 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
3053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail;
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 (arg1)->DoneParser();
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 Py_INCREF(Py_None); resultobj = Py_None;
3063 return resultobj;
3064 fail:
3065 return NULL;
3066 }
3067
3068
3069 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
3070 PyObject *resultobj = NULL;
3071 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3072 int arg2 ;
3073 int arg3 ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 PyObject * obj2 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
3082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail;
3084 {
3085 arg2 = static_cast<int >(SWIG_As_int(obj1));
3086 if (SWIG_arg_fail(2)) SWIG_fail;
3087 }
3088 {
3089 arg3 = static_cast<int >(SWIG_As_int(obj2));
3090 if (SWIG_arg_fail(3)) SWIG_fail;
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 (arg1)->DoParsing(arg2,arg3);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 Py_INCREF(Py_None); resultobj = Py_None;
3100 return resultobj;
3101 fail:
3102 return NULL;
3103 }
3104
3105
3106 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
3107 PyObject *resultobj = NULL;
3108 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3109 PyObject * obj0 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
3115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3116 if (SWIG_arg_fail(1)) SWIG_fail;
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 (arg1)->StopParsing();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 Py_INCREF(Py_None); resultobj = Py_None;
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj = NULL;
3133 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3134 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "handler", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
3142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail;
3144 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3145 if (SWIG_arg_fail(2)) SWIG_fail;
3146 {
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 (arg1)->AddTagHandler(arg2);
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) SWIG_fail;
3152 }
3153 Py_INCREF(Py_None); resultobj = Py_None;
3154 return resultobj;
3155 fail:
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj = NULL;
3162 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3163 wxString *result;
3164 PyObject * obj0 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
3170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3171 if (SWIG_arg_fail(1)) SWIG_fail;
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 result = (wxString *)(arg1)->GetSource();
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 {
3180 #if wxUSE_UNICODE
3181 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3182 #else
3183 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3184 #endif
3185 }
3186 return resultobj;
3187 fail:
3188 return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj = NULL;
3194 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3195 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
3196 wxString arg3 ;
3197 PyObject * obj0 = 0 ;
3198 PyObject * obj1 = 0 ;
3199 PyObject * obj2 = 0 ;
3200 char *kwnames[] = {
3201 (char *) "self",(char *) "handler",(char *) "tags", NULL
3202 };
3203
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
3205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3206 if (SWIG_arg_fail(1)) SWIG_fail;
3207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
3208 if (SWIG_arg_fail(2)) SWIG_fail;
3209 {
3210 wxString* sptr = wxString_in_helper(obj2);
3211 if (sptr == NULL) SWIG_fail;
3212 arg3 = *sptr;
3213 delete sptr;
3214 }
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->PushTagHandler(arg2,arg3);
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj = NULL;
3231 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
3238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->PopTagHandler();
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
3255 PyObject *obj;
3256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3257 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3258 Py_INCREF(obj);
3259 return Py_BuildValue((char *)"");
3260 }
3261 static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj = NULL;
3263 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3264 wxHtmlWinParser *result;
3265 PyObject * obj0 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "wnd", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3271 if (obj0) {
3272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3273 if (SWIG_arg_fail(1)) SWIG_fail;
3274 }
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
3283 return resultobj;
3284 fail:
3285 return NULL;
3286 }
3287
3288
3289 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3290 PyObject *resultobj = NULL;
3291 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3292 wxDC *arg2 = (wxDC *) 0 ;
3293 PyObject * obj0 = 0 ;
3294 PyObject * obj1 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self",(char *) "dc", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
3300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3301 if (SWIG_arg_fail(1)) SWIG_fail;
3302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3303 if (SWIG_arg_fail(2)) SWIG_fail;
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
3306 (arg1)->SetDC(arg2);
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 Py_INCREF(Py_None); resultobj = Py_None;
3312 return resultobj;
3313 fail:
3314 return NULL;
3315 }
3316
3317
3318 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3319 PyObject *resultobj = NULL;
3320 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3321 wxDC *result;
3322 PyObject * obj0 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
3328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3329 if (SWIG_arg_fail(1)) SWIG_fail;
3330 {
3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
3332 result = (wxDC *)(arg1)->GetDC();
3333
3334 wxPyEndAllowThreads(__tstate);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 }
3337 {
3338 resultobj = wxPyMake_wxObject(result, (bool)0);
3339 }
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj = NULL;
3348 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3349 int result;
3350 PyObject * obj0 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
3356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3357 if (SWIG_arg_fail(1)) SWIG_fail;
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (int)(arg1)->GetCharHeight();
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 {
3366 resultobj = SWIG_From_int(static_cast<int >(result));
3367 }
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj = NULL;
3376 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3377 int result;
3378 PyObject * obj0 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
3384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3385 if (SWIG_arg_fail(1)) SWIG_fail;
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 result = (int)(arg1)->GetCharWidth();
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 {
3394 resultobj = SWIG_From_int(static_cast<int >(result));
3395 }
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj = NULL;
3404 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3405 wxPyHtmlWindow *result;
3406 PyObject * obj0 = 0 ;
3407 char *kwnames[] = {
3408 (char *) "self", NULL
3409 };
3410
3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
3412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3413 if (SWIG_arg_fail(1)) SWIG_fail;
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 {
3422 resultobj = wxPyMake_wxObject(result, (bool)0);
3423 }
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj = NULL;
3432 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3433 wxString arg2 ;
3434 wxString arg3 ;
3435 PyObject *arg4 = (PyObject *) NULL ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 PyObject * obj2 = 0 ;
3439 PyObject * obj3 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
3447 {
3448 wxString* sptr = wxString_in_helper(obj1);
3449 if (sptr == NULL) SWIG_fail;
3450 arg2 = *sptr;
3451 delete sptr;
3452 }
3453 {
3454 wxString* sptr = wxString_in_helper(obj2);
3455 if (sptr == NULL) SWIG_fail;
3456 arg3 = *sptr;
3457 delete sptr;
3458 }
3459 if (obj3) {
3460 arg4 = obj3;
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj = NULL;
3478 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3479 int arg2 = (int) -1 ;
3480 wxString const &arg3_defvalue = wxPyEmptyString ;
3481 wxString *arg3 = (wxString *) &arg3_defvalue ;
3482 wxString const &arg4_defvalue = wxPyEmptyString ;
3483 wxString *arg4 = (wxString *) &arg4_defvalue ;
3484 bool temp3 = false ;
3485 bool temp4 = false ;
3486 PyObject * obj0 = 0 ;
3487 PyObject * obj1 = 0 ;
3488 PyObject * obj2 = 0 ;
3489 PyObject * obj3 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3492 };
3493
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3496 if (SWIG_arg_fail(1)) SWIG_fail;
3497 if (obj1) {
3498 {
3499 arg2 = static_cast<int >(SWIG_As_int(obj1));
3500 if (SWIG_arg_fail(2)) SWIG_fail;
3501 }
3502 }
3503 if (obj2) {
3504 {
3505 arg3 = wxString_in_helper(obj2);
3506 if (arg3 == NULL) SWIG_fail;
3507 temp3 = true;
3508 }
3509 }
3510 if (obj3) {
3511 {
3512 arg4 = wxString_in_helper(obj3);
3513 if (arg4 == NULL) SWIG_fail;
3514 temp4 = true;
3515 }
3516 }
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 Py_INCREF(Py_None); resultobj = Py_None;
3525 {
3526 if (temp3)
3527 delete arg3;
3528 }
3529 {
3530 if (temp4)
3531 delete arg4;
3532 }
3533 return resultobj;
3534 fail:
3535 {
3536 if (temp3)
3537 delete arg3;
3538 }
3539 {
3540 if (temp4)
3541 delete arg4;
3542 }
3543 return NULL;
3544 }
3545
3546
3547 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3548 PyObject *resultobj = NULL;
3549 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3550 wxHtmlContainerCell *result;
3551 PyObject * obj0 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self", NULL
3554 };
3555
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
3557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3558 if (SWIG_arg_fail(1)) SWIG_fail;
3559 {
3560 PyThreadState* __tstate = wxPyBeginAllowThreads();
3561 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3562
3563 wxPyEndAllowThreads(__tstate);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj = NULL;
3575 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3576 wxHtmlContainerCell *result;
3577 PyObject * obj0 = 0 ;
3578 char *kwnames[] = {
3579 (char *) "self", NULL
3580 };
3581
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
3583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3584 if (SWIG_arg_fail(1)) SWIG_fail;
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj = NULL;
3601 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3602 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3603 wxHtmlContainerCell *result;
3604 PyObject * obj0 = 0 ;
3605 PyObject * obj1 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "self",(char *) "c", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
3613 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3614 if (SWIG_arg_fail(2)) SWIG_fail;
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3623 return resultobj;
3624 fail:
3625 return NULL;
3626 }
3627
3628
3629 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj = NULL;
3631 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3632 wxHtmlContainerCell *result;
3633 PyObject * obj0 = 0 ;
3634 char *kwnames[] = {
3635 (char *) "self", NULL
3636 };
3637
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
3639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3640 if (SWIG_arg_fail(1)) SWIG_fail;
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3649 return resultobj;
3650 fail:
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj = NULL;
3657 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3658 int result;
3659 PyObject * obj0 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
3665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail;
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 result = (int)(arg1)->GetFontSize();
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 {
3675 resultobj = SWIG_From_int(static_cast<int >(result));
3676 }
3677 return resultobj;
3678 fail:
3679 return NULL;
3680 }
3681
3682
3683 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3684 PyObject *resultobj = NULL;
3685 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3686 int arg2 ;
3687 PyObject * obj0 = 0 ;
3688 PyObject * obj1 = 0 ;
3689 char *kwnames[] = {
3690 (char *) "self",(char *) "s", NULL
3691 };
3692
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
3694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3695 if (SWIG_arg_fail(1)) SWIG_fail;
3696 {
3697 arg2 = static_cast<int >(SWIG_As_int(obj1));
3698 if (SWIG_arg_fail(2)) SWIG_fail;
3699 }
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 (arg1)->SetFontSize(arg2);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 Py_INCREF(Py_None); resultobj = Py_None;
3708 return resultobj;
3709 fail:
3710 return NULL;
3711 }
3712
3713
3714 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3715 PyObject *resultobj = NULL;
3716 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3717 int result;
3718 PyObject * obj0 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "self", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
3724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3725 if (SWIG_arg_fail(1)) SWIG_fail;
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 result = (int)(arg1)->GetFontBold();
3729
3730 wxPyEndAllowThreads(__tstate);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
3733 {
3734 resultobj = SWIG_From_int(static_cast<int >(result));
3735 }
3736 return resultobj;
3737 fail:
3738 return NULL;
3739 }
3740
3741
3742 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj = NULL;
3744 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3745 int arg2 ;
3746 PyObject * obj0 = 0 ;
3747 PyObject * obj1 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self",(char *) "x", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
3753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3754 if (SWIG_arg_fail(1)) SWIG_fail;
3755 {
3756 arg2 = static_cast<int >(SWIG_As_int(obj1));
3757 if (SWIG_arg_fail(2)) SWIG_fail;
3758 }
3759 {
3760 PyThreadState* __tstate = wxPyBeginAllowThreads();
3761 (arg1)->SetFontBold(arg2);
3762
3763 wxPyEndAllowThreads(__tstate);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 }
3766 Py_INCREF(Py_None); resultobj = Py_None;
3767 return resultobj;
3768 fail:
3769 return NULL;
3770 }
3771
3772
3773 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj = NULL;
3775 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3776 int result;
3777 PyObject * obj0 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "self", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
3783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = (int)(arg1)->GetFontItalic();
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 {
3793 resultobj = SWIG_From_int(static_cast<int >(result));
3794 }
3795 return resultobj;
3796 fail:
3797 return NULL;
3798 }
3799
3800
3801 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj = NULL;
3803 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3804 int arg2 ;
3805 PyObject * obj0 = 0 ;
3806 PyObject * obj1 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "self",(char *) "x", NULL
3809 };
3810
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
3812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail;
3814 {
3815 arg2 = static_cast<int >(SWIG_As_int(obj1));
3816 if (SWIG_arg_fail(2)) SWIG_fail;
3817 }
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 (arg1)->SetFontItalic(arg2);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 Py_INCREF(Py_None); resultobj = Py_None;
3826 return resultobj;
3827 fail:
3828 return NULL;
3829 }
3830
3831
3832 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3833 PyObject *resultobj = NULL;
3834 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3835 int result;
3836 PyObject * obj0 = 0 ;
3837 char *kwnames[] = {
3838 (char *) "self", NULL
3839 };
3840
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
3842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3843 if (SWIG_arg_fail(1)) SWIG_fail;
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 result = (int)(arg1)->GetFontUnderlined();
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 {
3852 resultobj = SWIG_From_int(static_cast<int >(result));
3853 }
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj = NULL;
3862 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3863 int arg2 ;
3864 PyObject * obj0 = 0 ;
3865 PyObject * obj1 = 0 ;
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "x", NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
3871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3872 if (SWIG_arg_fail(1)) SWIG_fail;
3873 {
3874 arg2 = static_cast<int >(SWIG_As_int(obj1));
3875 if (SWIG_arg_fail(2)) SWIG_fail;
3876 }
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->SetFontUnderlined(arg2);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 return resultobj;
3886 fail:
3887 return NULL;
3888 }
3889
3890
3891 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj = NULL;
3893 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3894 int result;
3895 PyObject * obj0 = 0 ;
3896 char *kwnames[] = {
3897 (char *) "self", NULL
3898 };
3899
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
3901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3902 if (SWIG_arg_fail(1)) SWIG_fail;
3903 {
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (int)(arg1)->GetFontFixed();
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 {
3911 resultobj = SWIG_From_int(static_cast<int >(result));
3912 }
3913 return resultobj;
3914 fail:
3915 return NULL;
3916 }
3917
3918
3919 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3920 PyObject *resultobj = NULL;
3921 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3922 int arg2 ;
3923 PyObject * obj0 = 0 ;
3924 PyObject * obj1 = 0 ;
3925 char *kwnames[] = {
3926 (char *) "self",(char *) "x", NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
3930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3931 if (SWIG_arg_fail(1)) SWIG_fail;
3932 {
3933 arg2 = static_cast<int >(SWIG_As_int(obj1));
3934 if (SWIG_arg_fail(2)) SWIG_fail;
3935 }
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 (arg1)->SetFontFixed(arg2);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 Py_INCREF(Py_None); resultobj = Py_None;
3944 return resultobj;
3945 fail:
3946 return NULL;
3947 }
3948
3949
3950 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3951 PyObject *resultobj = NULL;
3952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3953 int result;
3954 PyObject * obj0 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
3960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3961 if (SWIG_arg_fail(1)) SWIG_fail;
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (int)(arg1)->GetAlign();
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 {
3970 resultobj = SWIG_From_int(static_cast<int >(result));
3971 }
3972 return resultobj;
3973 fail:
3974 return NULL;
3975 }
3976
3977
3978 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3979 PyObject *resultobj = NULL;
3980 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3981 int arg2 ;
3982 PyObject * obj0 = 0 ;
3983 PyObject * obj1 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "a", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
3989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail;
3991 {
3992 arg2 = static_cast<int >(SWIG_As_int(obj1));
3993 if (SWIG_arg_fail(2)) SWIG_fail;
3994 }
3995 {
3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
3997 (arg1)->SetAlign(arg2);
3998
3999 wxPyEndAllowThreads(__tstate);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 }
4002 Py_INCREF(Py_None); resultobj = Py_None;
4003 return resultobj;
4004 fail:
4005 return NULL;
4006 }
4007
4008
4009 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
4010 PyObject *resultobj = NULL;
4011 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4012 wxColour result;
4013 PyObject * obj0 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
4019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail;
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 result = (arg1)->GetLinkColor();
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 {
4029 wxColour * resultptr;
4030 resultptr = new wxColour(static_cast<wxColour & >(result));
4031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4032 }
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj = NULL;
4041 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4042 wxColour *arg2 = 0 ;
4043 wxColour temp2 ;
4044 PyObject * obj0 = 0 ;
4045 PyObject * obj1 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self",(char *) "clr", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
4051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4052 if (SWIG_arg_fail(1)) SWIG_fail;
4053 {
4054 arg2 = &temp2;
4055 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4056 }
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 (arg1)->SetLinkColor((wxColour const &)*arg2);
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 Py_INCREF(Py_None); resultobj = Py_None;
4065 return resultobj;
4066 fail:
4067 return NULL;
4068 }
4069
4070
4071 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj = NULL;
4073 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4074 wxColour result;
4075 PyObject * obj0 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "self", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
4081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4082 if (SWIG_arg_fail(1)) SWIG_fail;
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (arg1)->GetActualColor();
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 {
4091 wxColour * resultptr;
4092 resultptr = new wxColour(static_cast<wxColour & >(result));
4093 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4094 }
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj = NULL;
4103 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4104 wxColour *arg2 = 0 ;
4105 wxColour temp2 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "clr", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
4113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4114 if (SWIG_arg_fail(1)) SWIG_fail;
4115 {
4116 arg2 = &temp2;
4117 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4118 }
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 (arg1)->SetActualColor((wxColour const &)*arg2);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 Py_INCREF(Py_None); resultobj = Py_None;
4127 return resultobj;
4128 fail:
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj = NULL;
4135 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4136 wxString *arg2 = 0 ;
4137 bool temp2 = false ;
4138 PyObject * obj0 = 0 ;
4139 PyObject * obj1 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self",(char *) "link", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
4147 {
4148 arg2 = wxString_in_helper(obj1);
4149 if (arg2 == NULL) SWIG_fail;
4150 temp2 = true;
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 (arg1)->SetLink((wxString const &)*arg2);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 Py_INCREF(Py_None); resultobj = Py_None;
4160 {
4161 if (temp2)
4162 delete arg2;
4163 }
4164 return resultobj;
4165 fail:
4166 {
4167 if (temp2)
4168 delete arg2;
4169 }
4170 return NULL;
4171 }
4172
4173
4174 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj = NULL;
4176 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4177 wxFont *result;
4178 PyObject * obj0 = 0 ;
4179 char *kwnames[] = {
4180 (char *) "self", NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
4184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail;
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (wxFont *)(arg1)->CreateCurrentFont();
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
4194 return resultobj;
4195 fail:
4196 return NULL;
4197 }
4198
4199
4200 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
4201 PyObject *resultobj = NULL;
4202 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4203 SwigValueWrapper<wxHtmlLinkInfo > result;
4204 PyObject * obj0 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "self", NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
4210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
4211 if (SWIG_arg_fail(1)) SWIG_fail;
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 result = (arg1)->GetLink();
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 {
4220 wxHtmlLinkInfo * resultptr;
4221 resultptr = new wxHtmlLinkInfo(static_cast<wxHtmlLinkInfo & >(result));
4222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
4223 }
4224 return resultobj;
4225 fail:
4226 return NULL;
4227 }
4228
4229
4230 static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
4231 PyObject *obj;
4232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4233 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
4234 Py_INCREF(obj);
4235 return Py_BuildValue((char *)"");
4236 }
4237 static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj = NULL;
4239 wxPyHtmlTagHandler *result;
4240 char *kwnames[] = {
4241 NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj = NULL;
4261 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4262 PyObject *arg2 = (PyObject *) 0 ;
4263 PyObject *arg3 = (PyObject *) 0 ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj1 = 0 ;
4266 PyObject * obj2 = 0 ;
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "self",(char *) "_class", NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4273 if (SWIG_arg_fail(1)) SWIG_fail;
4274 arg2 = obj1;
4275 arg3 = obj2;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 (arg1)->_setCallbackInfo(arg2,arg3);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 Py_INCREF(Py_None); resultobj = Py_None;
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4291 PyObject *resultobj = NULL;
4292 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4293 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4294 PyObject * obj0 = 0 ;
4295 PyObject * obj1 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "self",(char *) "parser", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4302 if (SWIG_arg_fail(1)) SWIG_fail;
4303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4304 if (SWIG_arg_fail(2)) SWIG_fail;
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->SetParser(arg2);
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 Py_INCREF(Py_None); resultobj = Py_None;
4313 return resultobj;
4314 fail:
4315 return NULL;
4316 }
4317
4318
4319 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4320 PyObject *resultobj = NULL;
4321 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4322 wxHtmlParser *result;
4323 PyObject * obj0 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
4329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4330 if (SWIG_arg_fail(1)) SWIG_fail;
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 result = (wxHtmlParser *)(arg1)->GetParser();
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = NULL;
4347 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4348 wxHtmlTag *arg2 = 0 ;
4349 PyObject * obj0 = 0 ;
4350 PyObject * obj1 = 0 ;
4351 char *kwnames[] = {
4352 (char *) "self",(char *) "tag", NULL
4353 };
4354
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail;
4358 {
4359 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4360 if (SWIG_arg_fail(2)) SWIG_fail;
4361 if (arg2 == NULL) {
4362 SWIG_null_ref("wxHtmlTag");
4363 }
4364 if (SWIG_arg_fail(2)) SWIG_fail;
4365 }
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4369
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 Py_INCREF(Py_None); resultobj = Py_None;
4374 return resultobj;
4375 fail:
4376 return NULL;
4377 }
4378
4379
4380 static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
4381 PyObject *obj;
4382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4383 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4384 Py_INCREF(obj);
4385 return Py_BuildValue((char *)"");
4386 }
4387 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj = NULL;
4389 wxPyHtmlWinTagHandler *result;
4390 char *kwnames[] = {
4391 NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj = NULL;
4411 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4412 PyObject *arg2 = (PyObject *) 0 ;
4413 PyObject *arg3 = (PyObject *) 0 ;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj2 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "self",(char *) "_class", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail;
4424 arg2 = obj1;
4425 arg3 = obj2;
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->_setCallbackInfo(arg2,arg3);
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 Py_INCREF(Py_None); resultobj = Py_None;
4434 return resultobj;
4435 fail:
4436 return NULL;
4437 }
4438
4439
4440 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = NULL;
4442 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4443 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 char *kwnames[] = {
4447 (char *) "self",(char *) "parser", NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4452 if (SWIG_arg_fail(1)) SWIG_fail;
4453 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(2)) SWIG_fail;
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 (arg1)->SetParser(arg2);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 Py_INCREF(Py_None); resultobj = Py_None;
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj = NULL;
4471 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4472 wxHtmlWinParser *result;
4473 PyObject * obj0 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
4479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail;
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (wxHtmlWinParser *)(arg1)->GetParser();
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj = NULL;
4497 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4498 wxHtmlTag *arg2 = 0 ;
4499 PyObject * obj0 = 0 ;
4500 PyObject * obj1 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self",(char *) "tag", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail;
4508 {
4509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4510 if (SWIG_arg_fail(2)) SWIG_fail;
4511 if (arg2 == NULL) {
4512 SWIG_null_ref("wxHtmlTag");
4513 }
4514 if (SWIG_arg_fail(2)) SWIG_fail;
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 return resultobj;
4525 fail:
4526 return NULL;
4527 }
4528
4529
4530 static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
4531 PyObject *obj;
4532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4533 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4534 Py_INCREF(obj);
4535 return Py_BuildValue((char *)"");
4536 }
4537 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4538 PyObject *resultobj = NULL;
4539 PyObject *arg1 = (PyObject *) 0 ;
4540 PyObject * obj0 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "tagHandlerClass", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4546 arg1 = obj0;
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 wxHtmlWinParser_AddTagHandler(arg1);
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 Py_INCREF(Py_None); resultobj = Py_None;
4555 return resultobj;
4556 fail:
4557 return NULL;
4558 }
4559
4560
4561 static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj = NULL;
4563 wxHtmlSelection *result;
4564 char *kwnames[] = {
4565 NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
4571 result = (wxHtmlSelection *)new wxHtmlSelection();
4572
4573 wxPyEndAllowThreads(__tstate);
4574 if (PyErr_Occurred()) SWIG_fail;
4575 }
4576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
4577 return resultobj;
4578 fail:
4579 return NULL;
4580 }
4581
4582
4583 static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj = NULL;
4585 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4586 PyObject * obj0 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
4592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail;
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 delete arg1;
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 Py_INCREF(Py_None); resultobj = Py_None;
4602 return resultobj;
4603 fail:
4604 return NULL;
4605 }
4606
4607
4608 static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj = NULL;
4610 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4611 wxPoint *arg2 = 0 ;
4612 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4613 wxPoint *arg4 = 0 ;
4614 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4615 wxPoint temp2 ;
4616 wxPoint temp4 ;
4617 PyObject * obj0 = 0 ;
4618 PyObject * obj1 = 0 ;
4619 PyObject * obj2 = 0 ;
4620 PyObject * obj3 = 0 ;
4621 PyObject * obj4 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4628 if (SWIG_arg_fail(1)) SWIG_fail;
4629 {
4630 arg2 = &temp2;
4631 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4632 }
4633 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4634 if (SWIG_arg_fail(3)) SWIG_fail;
4635 {
4636 arg4 = &temp4;
4637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4638 }
4639 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4640 if (SWIG_arg_fail(5)) SWIG_fail;
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 Py_INCREF(Py_None); resultobj = Py_None;
4649 return resultobj;
4650 fail:
4651 return NULL;
4652 }
4653
4654
4655 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
4656 PyObject *resultobj = NULL;
4657 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4658 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4659 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4660 PyObject * obj0 = 0 ;
4661 PyObject * obj1 = 0 ;
4662 PyObject * obj2 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
4668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail;
4670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4671 if (SWIG_arg_fail(2)) SWIG_fail;
4672 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4673 if (SWIG_arg_fail(3)) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685 }
4686
4687
4688 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj = NULL;
4690 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4691 wxHtmlCell *result;
4692 PyObject * obj0 = 0 ;
4693 char *kwnames[] = {
4694 (char *) "self", NULL
4695 };
4696
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
4698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail;
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 {
4708 resultobj = wxPyMake_wxObject(result, 0);
4709 }
4710 return resultobj;
4711 fail:
4712 return NULL;
4713 }
4714
4715
4716 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj = NULL;
4718 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4719 wxHtmlCell *result;
4720 PyObject * obj0 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
4726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail;
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 {
4736 resultobj = wxPyMake_wxObject(result, 0);
4737 }
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj = NULL;
4746 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4747 wxPoint *result;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
4754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4755 if (SWIG_arg_fail(1)) SWIG_fail;
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 {
4759 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4760 result = (wxPoint *) &_result_ref;
4761 }
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4767 return resultobj;
4768 fail:
4769 return NULL;
4770 }
4771
4772
4773 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
4774 PyObject *resultobj = NULL;
4775 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4776 wxPoint *result;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
4783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4784 if (SWIG_arg_fail(1)) SWIG_fail;
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 {
4788 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4789 result = (wxPoint *) &_result_ref;
4790 }
4791
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4803 PyObject *resultobj = NULL;
4804 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4805 wxPoint *result;
4806 PyObject * obj0 = 0 ;
4807 char *kwnames[] = {
4808 (char *) "self", NULL
4809 };
4810
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
4812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4813 if (SWIG_arg_fail(1)) SWIG_fail;
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 {
4817 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4818 result = (wxPoint *) &_result_ref;
4819 }
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4825 return resultobj;
4826 fail:
4827 return NULL;
4828 }
4829
4830
4831 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj = NULL;
4833 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4834 wxPoint *result;
4835 PyObject * obj0 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
4841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4842 if (SWIG_arg_fail(1)) SWIG_fail;
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 {
4846 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4847 result = (wxPoint *) &_result_ref;
4848 }
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4854 return resultobj;
4855 fail:
4856 return NULL;
4857 }
4858
4859
4860 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4861 PyObject *resultobj = NULL;
4862 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4863 wxPoint *arg2 = 0 ;
4864 wxPoint temp2 ;
4865 PyObject * obj0 = 0 ;
4866 PyObject * obj1 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self",(char *) "pos", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
4872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail;
4874 {
4875 arg2 = &temp2;
4876 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4877 }
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 Py_INCREF(Py_None); resultobj = Py_None;
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj = NULL;
4894 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4895 wxPoint *arg2 = 0 ;
4896 wxPoint temp2 ;
4897 PyObject * obj0 = 0 ;
4898 PyObject * obj1 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self",(char *) "pos", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
4904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4905 if (SWIG_arg_fail(1)) SWIG_fail;
4906 {
4907 arg2 = &temp2;
4908 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 Py_INCREF(Py_None); resultobj = Py_None;
4918 return resultobj;
4919 fail:
4920 return NULL;
4921 }
4922
4923
4924 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4925 PyObject *resultobj = NULL;
4926 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4927 PyObject * obj0 = 0 ;
4928 char *kwnames[] = {
4929 (char *) "self", NULL
4930 };
4931
4932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
4933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail;
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 (arg1)->ClearPrivPos();
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 Py_INCREF(Py_None); resultobj = Py_None;
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj = NULL;
4951 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4952 bool result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
4959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4960 if (SWIG_arg_fail(1)) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 {
4969 resultobj = SWIG_From_bool(static_cast<bool >(result));
4970 }
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
4978 PyObject *obj;
4979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4980 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4981 Py_INCREF(obj);
4982 return Py_BuildValue((char *)"");
4983 }
4984 static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj = NULL;
4986 wxHtmlRenderingState *result;
4987 char *kwnames[] = {
4988 NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
5000 return resultobj;
5001 fail:
5002 return NULL;
5003 }
5004
5005
5006 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj = NULL;
5008 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5009 PyObject * obj0 = 0 ;
5010 char *kwnames[] = {
5011 (char *) "self", NULL
5012 };
5013
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
5015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5016 if (SWIG_arg_fail(1)) SWIG_fail;
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 delete arg1;
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 Py_INCREF(Py_None); resultobj = Py_None;
5025 return resultobj;
5026 fail:
5027 return NULL;
5028 }
5029
5030
5031 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
5032 PyObject *resultobj = NULL;
5033 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5034 wxHtmlSelectionState arg2 ;
5035 PyObject * obj0 = 0 ;
5036 PyObject * obj1 = 0 ;
5037 char *kwnames[] = {
5038 (char *) "self",(char *) "s", NULL
5039 };
5040
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
5042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail;
5044 {
5045 arg2 = static_cast<wxHtmlSelectionState >(SWIG_As_int(obj1));
5046 if (SWIG_arg_fail(2)) SWIG_fail;
5047 }
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 (arg1)->SetSelectionState(arg2);
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 Py_INCREF(Py_None); resultobj = Py_None;
5056 return resultobj;
5057 fail:
5058 return NULL;
5059 }
5060
5061
5062 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj = NULL;
5064 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5065 wxHtmlSelectionState result;
5066 PyObject * obj0 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
5072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail;
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 resultobj = SWIG_From_int((result));
5082 return resultobj;
5083 fail:
5084 return NULL;
5085 }
5086
5087
5088 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj = NULL;
5090 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5091 wxColour *arg2 = 0 ;
5092 wxColour temp2 ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "c", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
5102 {
5103 arg2 = &temp2;
5104 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5105 }
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 (arg1)->SetFgColour((wxColour const &)*arg2);
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 Py_INCREF(Py_None); resultobj = Py_None;
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj = NULL;
5122 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5123 wxColour *result;
5124 PyObject * obj0 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
5130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5131 if (SWIG_arg_fail(1)) SWIG_fail;
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 {
5135 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
5136 result = (wxColour *) &_result_ref;
5137 }
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
5143 return resultobj;
5144 fail:
5145 return NULL;
5146 }
5147
5148
5149 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj = NULL;
5151 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5152 wxColour *arg2 = 0 ;
5153 wxColour temp2 ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self",(char *) "c", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
5161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail;
5163 {
5164 arg2 = &temp2;
5165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->SetBgColour((wxColour const &)*arg2);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj = NULL;
5183 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
5184 wxColour *result;
5185 PyObject * obj0 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
5191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
5192 if (SWIG_arg_fail(1)) SWIG_fail;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 {
5196 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
5197 result = (wxColour *) &_result_ref;
5198 }
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
5204 return resultobj;
5205 fail:
5206 return NULL;
5207 }
5208
5209
5210 static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
5211 PyObject *obj;
5212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5213 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
5214 Py_INCREF(obj);
5215 return Py_BuildValue((char *)"");
5216 }
5217 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj = NULL;
5219 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5220 wxColour *arg2 = 0 ;
5221 wxColour result;
5222 wxColour temp2 ;
5223 PyObject * obj0 = 0 ;
5224 PyObject * obj1 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self",(char *) "clr", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
5230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail;
5232 {
5233 arg2 = &temp2;
5234 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 {
5244 wxColour * resultptr;
5245 resultptr = new wxColour(static_cast<wxColour & >(result));
5246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj = NULL;
5256 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5257 wxColour *arg2 = 0 ;
5258 wxColour result;
5259 wxColour temp2 ;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "clr", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail;
5269 {
5270 arg2 = &temp2;
5271 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5272 }
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 {
5281 wxColour * resultptr;
5282 resultptr = new wxColour(static_cast<wxColour & >(result));
5283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5284 }
5285 return resultobj;
5286 fail:
5287 return NULL;
5288 }
5289
5290
5291 static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5292 PyObject *obj;
5293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5294 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5295 Py_INCREF(obj);
5296 return Py_BuildValue((char *)"");
5297 }
5298 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj = NULL;
5300 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5301 wxColour *arg2 = 0 ;
5302 wxColour result;
5303 wxColour temp2 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "clr", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
5311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5312 if (SWIG_arg_fail(1)) SWIG_fail;
5313 {
5314 arg2 = &temp2;
5315 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5316 }
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 {
5325 wxColour * resultptr;
5326 resultptr = new wxColour(static_cast<wxColour & >(result));
5327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5328 }
5329 return resultobj;
5330 fail:
5331 return NULL;
5332 }
5333
5334
5335 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj = NULL;
5337 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5338 wxColour *arg2 = 0 ;
5339 wxColour result;
5340 wxColour temp2 ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 char *kwnames[] = {
5344 (char *) "self",(char *) "clr", NULL
5345 };
5346
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5349 if (SWIG_arg_fail(1)) SWIG_fail;
5350 {
5351 arg2 = &temp2;
5352 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5353 }
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 {
5362 wxColour * resultptr;
5363 resultptr = new wxColour(static_cast<wxColour & >(result));
5364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5365 }
5366 return resultobj;
5367 fail:
5368 return NULL;
5369 }
5370
5371
5372 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5373 PyObject *obj;
5374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5375 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5376 Py_INCREF(obj);
5377 return Py_BuildValue((char *)"");
5378 }
5379 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj = NULL;
5381 wxHtmlRenderingInfo *result;
5382 char *kwnames[] = {
5383 NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5402 PyObject *resultobj = NULL;
5403 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
5410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5411 if (SWIG_arg_fail(1)) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 delete arg1;
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 Py_INCREF(Py_None); resultobj = Py_None;
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj = NULL;
5428 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5429 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "s", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
5437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail;
5439 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5440 if (SWIG_arg_fail(2)) SWIG_fail;
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 (arg1)->SetSelection(arg2);
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 Py_INCREF(Py_None); resultobj = Py_None;
5449 return resultobj;
5450 fail:
5451 return NULL;
5452 }
5453
5454
5455 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5456 PyObject *resultobj = NULL;
5457 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5458 wxHtmlSelection *result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
5465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj = NULL;
5483 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5484 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5485 PyObject * obj0 = 0 ;
5486 PyObject * obj1 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self",(char *) "style", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
5492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5493 if (SWIG_arg_fail(1)) SWIG_fail;
5494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5495 if (SWIG_arg_fail(2)) SWIG_fail;
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 (arg1)->SetStyle(arg2);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 Py_INCREF(Py_None); resultobj = Py_None;
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj = NULL;
5512 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5513 wxHtmlRenderingStyle *result;
5514 PyObject * obj0 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
5520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail;
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 {
5525 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5526 result = (wxHtmlRenderingStyle *) &_result_ref;
5527 }
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
5533 return resultobj;
5534 fail:
5535 return NULL;
5536 }
5537
5538
5539 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj = NULL;
5541 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5542 wxHtmlRenderingState *result;
5543 PyObject * obj0 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
5549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail;
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 {
5554 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5555 result = (wxHtmlRenderingState *) &_result_ref;
5556 }
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
5562 return resultobj;
5563 fail:
5564 return NULL;
5565 }
5566
5567
5568 static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
5569 PyObject *obj;
5570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5571 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5572 Py_INCREF(obj);
5573 return Py_BuildValue((char *)"");
5574 }
5575 static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj = NULL;
5577 wxHtmlCell *result;
5578 char *kwnames[] = {
5579 NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 result = (wxHtmlCell *)new wxHtmlCell();
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
5591 return resultobj;
5592 fail:
5593 return NULL;
5594 }
5595
5596
5597 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj = NULL;
5599 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5600 int result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
5607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (int)(arg1)->GetPosX();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 {
5617 resultobj = SWIG_From_int(static_cast<int >(result));
5618 }
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj = NULL;
5627 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5628 int result;
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
5635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail;
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (int)(arg1)->GetPosY();
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 {
5645 resultobj = SWIG_From_int(static_cast<int >(result));
5646 }
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj = NULL;
5655 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5656 int result;
5657 PyObject * obj0 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
5663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5664 if (SWIG_arg_fail(1)) SWIG_fail;
5665 {
5666 PyThreadState* __tstate = wxPyBeginAllowThreads();
5667 result = (int)(arg1)->GetWidth();
5668
5669 wxPyEndAllowThreads(__tstate);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 }
5672 {
5673 resultobj = SWIG_From_int(static_cast<int >(result));
5674 }
5675 return resultobj;
5676 fail:
5677 return NULL;
5678 }
5679
5680
5681 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj = NULL;
5683 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5684 int result;
5685 PyObject * obj0 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self", NULL
5688 };
5689
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
5691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5692 if (SWIG_arg_fail(1)) SWIG_fail;
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 result = (int)(arg1)->GetHeight();
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 {
5701 resultobj = SWIG_From_int(static_cast<int >(result));
5702 }
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj = NULL;
5711 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5712 int result;
5713 PyObject * obj0 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
5719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail;
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 result = (int)(arg1)->GetDescent();
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 {
5729 resultobj = SWIG_From_int(static_cast<int >(result));
5730 }
5731 return resultobj;
5732 fail:
5733 return NULL;
5734 }
5735
5736
5737 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj = NULL;
5739 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5740 int result;
5741 PyObject * obj0 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
5747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail;
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 {
5757 resultobj = SWIG_From_int(static_cast<int >(result));
5758 }
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj = NULL;
5767 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5768 wxString *result;
5769 PyObject * obj0 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
5775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail;
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 {
5780 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5781 result = (wxString *) &_result_ref;
5782 }
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788 #if wxUSE_UNICODE
5789 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5790 #else
5791 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5792 #endif
5793 }
5794 return resultobj;
5795 fail:
5796 return NULL;
5797 }
5798
5799
5800 static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
5801 PyObject *resultobj = NULL;
5802 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5803 wxString *arg2 = 0 ;
5804 bool temp2 = false ;
5805 PyObject * obj0 = 0 ;
5806 PyObject * obj1 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self",(char *) "id", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
5812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5813 if (SWIG_arg_fail(1)) SWIG_fail;
5814 {
5815 arg2 = wxString_in_helper(obj1);
5816 if (arg2 == NULL) SWIG_fail;
5817 temp2 = true;
5818 }
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->SetId((wxString const &)*arg2);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 {
5828 if (temp2)
5829 delete arg2;
5830 }
5831 return resultobj;
5832 fail:
5833 {
5834 if (temp2)
5835 delete arg2;
5836 }
5837 return NULL;
5838 }
5839
5840
5841 static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj = NULL;
5843 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5844 int arg2 = (int) 0 ;
5845 int arg3 = (int) 0 ;
5846 wxHtmlLinkInfo *result;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 PyObject * obj2 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self",(char *) "x",(char *) "y", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
5855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail;
5857 if (obj1) {
5858 {
5859 arg2 = static_cast<int >(SWIG_As_int(obj1));
5860 if (SWIG_arg_fail(2)) SWIG_fail;
5861 }
5862 }
5863 if (obj2) {
5864 {
5865 arg3 = static_cast<int >(SWIG_As_int(obj2));
5866 if (SWIG_arg_fail(3)) SWIG_fail;
5867 }
5868 }
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj = NULL;
5885 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5886 wxHtmlCell *result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
5893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (wxHtmlCell *)(arg1)->GetNext();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 {
5903 resultobj = wxPyMake_wxObject(result, 0);
5904 }
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj = NULL;
5913 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5914 wxHtmlContainerCell *result;
5915 PyObject * obj0 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
5921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5922 if (SWIG_arg_fail(1)) SWIG_fail;
5923 {
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
5931 return resultobj;
5932 fail:
5933 return NULL;
5934 }
5935
5936
5937 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj = NULL;
5939 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5940 wxHtmlCell *result;
5941 PyObject * obj0 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "self", NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
5947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail;
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 {
5957 resultobj = wxPyMake_wxObject(result, 0);
5958 }
5959 return resultobj;
5960 fail:
5961 return NULL;
5962 }
5963
5964
5965 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5966 PyObject *resultobj = NULL;
5967 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5968 wxCursor result;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
5975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail;
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = ((wxHtmlCell const *)arg1)->GetCursor();
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 {
5985 wxCursor * resultptr;
5986 resultptr = new wxCursor(static_cast<wxCursor & >(result));
5987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
5988 }
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj = NULL;
5997 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5998 bool result;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
6005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6006 if (SWIG_arg_fail(1)) SWIG_fail;
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 {
6015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6016 }
6017 return resultobj;
6018 fail:
6019 return NULL;
6020 }
6021
6022
6023 static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
6024 PyObject *resultobj = NULL;
6025 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6026 wxHtmlLinkInfo *arg2 = 0 ;
6027 PyObject * obj0 = 0 ;
6028 PyObject * obj1 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self",(char *) "link", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
6034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail;
6036 {
6037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
6038 if (SWIG_arg_fail(2)) SWIG_fail;
6039 if (arg2 == NULL) {
6040 SWIG_null_ref("wxHtmlLinkInfo");
6041 }
6042 if (SWIG_arg_fail(2)) SWIG_fail;
6043 }
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 Py_INCREF(Py_None); resultobj = Py_None;
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj = NULL;
6060 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6061 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6062 PyObject * obj0 = 0 ;
6063 PyObject * obj1 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self",(char *) "cell", NULL
6066 };
6067
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
6069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail;
6071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6072 if (SWIG_arg_fail(2)) SWIG_fail;
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 (arg1)->SetNext(arg2);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 Py_INCREF(Py_None); resultobj = Py_None;
6081 return resultobj;
6082 fail:
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj = NULL;
6089 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6090 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
6091 PyObject * obj0 = 0 ;
6092 PyObject * obj1 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self",(char *) "p", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
6098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail;
6100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6101 if (SWIG_arg_fail(2)) SWIG_fail;
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 (arg1)->SetParent(arg2);
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 Py_INCREF(Py_None); resultobj = Py_None;
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj = NULL;
6118 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6119 int arg2 ;
6120 int arg3 ;
6121 PyObject * obj0 = 0 ;
6122 PyObject * obj1 = 0 ;
6123 PyObject * obj2 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "x",(char *) "y", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
6129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6130 if (SWIG_arg_fail(1)) SWIG_fail;
6131 {
6132 arg2 = static_cast<int >(SWIG_As_int(obj1));
6133 if (SWIG_arg_fail(2)) SWIG_fail;
6134 }
6135 {
6136 arg3 = static_cast<int >(SWIG_As_int(obj2));
6137 if (SWIG_arg_fail(3)) SWIG_fail;
6138 }
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 (arg1)->SetPos(arg2,arg3);
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
6146 Py_INCREF(Py_None); resultobj = Py_None;
6147 return resultobj;
6148 fail:
6149 return NULL;
6150 }
6151
6152
6153 static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj = NULL;
6155 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6156 int arg2 ;
6157 PyObject * obj0 = 0 ;
6158 PyObject * obj1 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "self",(char *) "w", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
6164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6165 if (SWIG_arg_fail(1)) SWIG_fail;
6166 {
6167 arg2 = static_cast<int >(SWIG_As_int(obj1));
6168 if (SWIG_arg_fail(2)) SWIG_fail;
6169 }
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 (arg1)->Layout(arg2);
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 Py_INCREF(Py_None); resultobj = Py_None;
6178 return resultobj;
6179 fail:
6180 return NULL;
6181 }
6182
6183
6184 static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj = NULL;
6186 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6187 wxDC *arg2 = 0 ;
6188 int arg3 ;
6189 int arg4 ;
6190 int arg5 ;
6191 int arg6 ;
6192 wxHtmlRenderingInfo *arg7 = 0 ;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 PyObject * obj2 = 0 ;
6196 PyObject * obj3 = 0 ;
6197 PyObject * obj4 = 0 ;
6198 PyObject * obj5 = 0 ;
6199 PyObject * obj6 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6206 if (SWIG_arg_fail(1)) SWIG_fail;
6207 {
6208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6209 if (SWIG_arg_fail(2)) SWIG_fail;
6210 if (arg2 == NULL) {
6211 SWIG_null_ref("wxDC");
6212 }
6213 if (SWIG_arg_fail(2)) SWIG_fail;
6214 }
6215 {
6216 arg3 = static_cast<int >(SWIG_As_int(obj2));
6217 if (SWIG_arg_fail(3)) SWIG_fail;
6218 }
6219 {
6220 arg4 = static_cast<int >(SWIG_As_int(obj3));
6221 if (SWIG_arg_fail(4)) SWIG_fail;
6222 }
6223 {
6224 arg5 = static_cast<int >(SWIG_As_int(obj4));
6225 if (SWIG_arg_fail(5)) SWIG_fail;
6226 }
6227 {
6228 arg6 = static_cast<int >(SWIG_As_int(obj5));
6229 if (SWIG_arg_fail(6)) SWIG_fail;
6230 }
6231 {
6232 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6233 if (SWIG_arg_fail(7)) SWIG_fail;
6234 if (arg7 == NULL) {
6235 SWIG_null_ref("wxHtmlRenderingInfo");
6236 }
6237 if (SWIG_arg_fail(7)) SWIG_fail;
6238 }
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 Py_INCREF(Py_None); resultobj = Py_None;
6247 return resultobj;
6248 fail:
6249 return NULL;
6250 }
6251
6252
6253 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj = NULL;
6255 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6256 wxDC *arg2 = 0 ;
6257 int arg3 ;
6258 int arg4 ;
6259 wxHtmlRenderingInfo *arg5 = 0 ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 PyObject * obj2 = 0 ;
6263 PyObject * obj3 = 0 ;
6264 PyObject * obj4 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6267 };
6268
6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail;
6272 {
6273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6274 if (SWIG_arg_fail(2)) SWIG_fail;
6275 if (arg2 == NULL) {
6276 SWIG_null_ref("wxDC");
6277 }
6278 if (SWIG_arg_fail(2)) SWIG_fail;
6279 }
6280 {
6281 arg3 = static_cast<int >(SWIG_As_int(obj2));
6282 if (SWIG_arg_fail(3)) SWIG_fail;
6283 }
6284 {
6285 arg4 = static_cast<int >(SWIG_As_int(obj3));
6286 if (SWIG_arg_fail(4)) SWIG_fail;
6287 }
6288 {
6289 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6290 if (SWIG_arg_fail(5)) SWIG_fail;
6291 if (arg5 == NULL) {
6292 SWIG_null_ref("wxHtmlRenderingInfo");
6293 }
6294 if (SWIG_arg_fail(5)) SWIG_fail;
6295 }
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 Py_INCREF(Py_None); resultobj = Py_None;
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj = NULL;
6312 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6313 int arg2 ;
6314 void *arg3 = (void *) 0 ;
6315 wxHtmlCell *result;
6316 PyObject * obj0 = 0 ;
6317 PyObject * obj1 = 0 ;
6318 PyObject * obj2 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "condition",(char *) "param", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
6324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail;
6326 {
6327 arg2 = static_cast<int >(SWIG_As_int(obj1));
6328 if (SWIG_arg_fail(2)) SWIG_fail;
6329 }
6330 {
6331 if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6332 SWIG_arg_fail(3);SWIG_fail;
6333 }
6334 }
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 {
6343 resultobj = wxPyMake_wxObject(result, 0);
6344 }
6345 return resultobj;
6346 fail:
6347 return NULL;
6348 }
6349
6350
6351 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6352 PyObject *resultobj = NULL;
6353 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6354 int *arg2 = (int *) 0 ;
6355 bool result;
6356 int temp2 ;
6357 int res2 = 0 ;
6358 PyObject * obj0 = 0 ;
6359 PyObject * obj1 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self",(char *) "INOUT", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
6365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6366 if (SWIG_arg_fail(1)) SWIG_fail;
6367 {
6368 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6369 temp2 = SWIG_As_int(obj1);
6370 if (SWIG_arg_fail(2)) SWIG_fail;
6371 arg2 = &temp2;
6372 res2 = SWIG_NEWOBJ;
6373 }
6374 }
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (bool)(arg1)->AdjustPagebreak(arg2);
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 {
6383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6384 }
6385 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6386 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6387 return resultobj;
6388 fail:
6389 return NULL;
6390 }
6391
6392
6393 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6394 PyObject *resultobj = NULL;
6395 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6396 bool arg2 ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "self",(char *) "can", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
6404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6405 if (SWIG_arg_fail(1)) SWIG_fail;
6406 {
6407 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6408 if (SWIG_arg_fail(2)) SWIG_fail;
6409 }
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 (arg1)->SetCanLiveOnPagebreak(arg2);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 Py_INCREF(Py_None); resultobj = Py_None;
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj = NULL;
6426 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6427 bool result;
6428 PyObject * obj0 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "self", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
6434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6435 if (SWIG_arg_fail(1)) SWIG_fail;
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6439
6440 wxPyEndAllowThreads(__tstate);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
6443 {
6444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6445 }
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj = NULL;
6454 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6455 bool result;
6456 PyObject * obj0 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "self", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
6462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail;
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 {
6472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6473 }
6474 return resultobj;
6475 fail:
6476 return NULL;
6477 }
6478
6479
6480 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj = NULL;
6482 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6483 int arg2 ;
6484 int arg3 ;
6485 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6486 wxHtmlCell *result;
6487 PyObject * obj0 = 0 ;
6488 PyObject * obj1 = 0 ;
6489 PyObject * obj2 = 0 ;
6490 PyObject * obj3 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail;
6498 {
6499 arg2 = static_cast<int >(SWIG_As_int(obj1));
6500 if (SWIG_arg_fail(2)) SWIG_fail;
6501 }
6502 {
6503 arg3 = static_cast<int >(SWIG_As_int(obj2));
6504 if (SWIG_arg_fail(3)) SWIG_fail;
6505 }
6506 if (obj3) {
6507 {
6508 arg4 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj3));
6509 if (SWIG_arg_fail(4)) SWIG_fail;
6510 }
6511 }
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 {
6520 resultobj = wxPyMake_wxObject(result, 0);
6521 }
6522 return resultobj;
6523 fail:
6524 return NULL;
6525 }
6526
6527
6528 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
6529 PyObject *resultobj = NULL;
6530 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6531 wxPoint result;
6532 PyObject * obj0 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
6538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6539 if (SWIG_arg_fail(1)) SWIG_fail;
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 {
6548 wxPoint * resultptr;
6549 resultptr = new wxPoint(static_cast<wxPoint & >(result));
6550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6551 }
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj = NULL;
6560 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6561 wxHtmlCell *result;
6562 PyObject * obj0 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "self", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
6568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6569 if (SWIG_arg_fail(1)) SWIG_fail;
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 {
6578 resultobj = wxPyMake_wxObject(result, 0);
6579 }
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = NULL;
6588 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6589 wxHtmlCell *result;
6590 PyObject * obj0 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "self", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
6596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6597 if (SWIG_arg_fail(1)) SWIG_fail;
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 resultobj = wxPyMake_wxObject(result, 0);
6607 }
6608 return resultobj;
6609 fail:
6610 return NULL;
6611 }
6612
6613
6614 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj = NULL;
6616 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6617 unsigned int result;
6618 PyObject * obj0 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self", NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
6624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6625 if (SWIG_arg_fail(1)) SWIG_fail;
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 {
6634 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
6635 }
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj = NULL;
6644 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6645 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6646 bool result;
6647 PyObject * obj0 = 0 ;
6648 PyObject * obj1 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self",(char *) "cell", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
6654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6655 if (SWIG_arg_fail(1)) SWIG_fail;
6656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6657 if (SWIG_arg_fail(2)) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6667 }
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj = NULL;
6676 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6677 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6678 wxString result;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "sel", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
6686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail;
6688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6689 if (SWIG_arg_fail(2)) SWIG_fail;
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 {
6698 #if wxUSE_UNICODE
6699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6700 #else
6701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6702 #endif
6703 }
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
6711 PyObject *obj;
6712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6713 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6714 Py_INCREF(obj);
6715 return Py_BuildValue((char *)"");
6716 }
6717 static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
6718 PyObject *resultobj = NULL;
6719 wxString *arg1 = 0 ;
6720 wxDC *arg2 = 0 ;
6721 wxHtmlWordCell *result;
6722 bool temp1 = false ;
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 char *kwnames[] = {
6726 (char *) "word",(char *) "dc", NULL
6727 };
6728
6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6730 {
6731 arg1 = wxString_in_helper(obj0);
6732 if (arg1 == NULL) SWIG_fail;
6733 temp1 = true;
6734 }
6735 {
6736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6737 if (SWIG_arg_fail(2)) SWIG_fail;
6738 if (arg2 == NULL) {
6739 SWIG_null_ref("wxDC");
6740 }
6741 if (SWIG_arg_fail(2)) SWIG_fail;
6742 }
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
6751 {
6752 if (temp1)
6753 delete arg1;
6754 }
6755 return resultobj;
6756 fail:
6757 {
6758 if (temp1)
6759 delete arg1;
6760 }
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj = NULL;
6767 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
6768 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6769 wxString result;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "sel", NULL
6774 };
6775
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
6777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail;
6779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6780 if (SWIG_arg_fail(2)) SWIG_fail;
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 {
6789 #if wxUSE_UNICODE
6790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6791 #else
6792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6793 #endif
6794 }
6795 return resultobj;
6796 fail:
6797 return NULL;
6798 }
6799
6800
6801 static PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
6802 PyObject *resultobj = NULL;
6803 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
6804 bool result;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWordCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
6811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6812 if (SWIG_arg_fail(1)) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 {
6821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6822 }
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj = NULL;
6831 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
6832 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "cell", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) goto fail;
6840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail;
6842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_EXCEPTION | 0);
6843 if (SWIG_arg_fail(2)) SWIG_fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 (arg1)->SetPreviousWord(arg2);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
6859 PyObject *obj;
6860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6861 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6862 Py_INCREF(obj);
6863 return Py_BuildValue((char *)"");
6864 }
6865 static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj = NULL;
6867 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6868 wxHtmlContainerCell *result;
6869 PyObject * obj0 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "parent", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
6875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
6885 return resultobj;
6886 fail:
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj = NULL;
6893 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6894 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6895 PyObject * obj0 = 0 ;
6896 PyObject * obj1 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self",(char *) "cell", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
6902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail;
6904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6905 if (SWIG_arg_fail(2)) SWIG_fail;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 (arg1)->InsertCell(arg2);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj = NULL;
6922 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6923 int arg2 ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "al", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
6931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail;
6933 {
6934 arg2 = static_cast<int >(SWIG_As_int(obj1));
6935 if (SWIG_arg_fail(2)) SWIG_fail;
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 (arg1)->SetAlignHor(arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 Py_INCREF(Py_None); resultobj = Py_None;
6945 return resultobj;
6946 fail:
6947 return NULL;
6948 }
6949
6950
6951 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj = NULL;
6953 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6954 int result;
6955 PyObject * obj0 = 0 ;
6956 char *kwnames[] = {
6957 (char *) "self", NULL
6958 };
6959
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
6961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6962 if (SWIG_arg_fail(1)) SWIG_fail;
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = (int)(arg1)->GetAlignHor();
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 {
6971 resultobj = SWIG_From_int(static_cast<int >(result));
6972 }
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj = NULL;
6981 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6982 int arg2 ;
6983 PyObject * obj0 = 0 ;
6984 PyObject * obj1 = 0 ;
6985 char *kwnames[] = {
6986 (char *) "self",(char *) "al", NULL
6987 };
6988
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
6990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6991 if (SWIG_arg_fail(1)) SWIG_fail;
6992 {
6993 arg2 = static_cast<int >(SWIG_As_int(obj1));
6994 if (SWIG_arg_fail(2)) SWIG_fail;
6995 }
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->SetAlignVer(arg2);
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 Py_INCREF(Py_None); resultobj = Py_None;
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj = NULL;
7012 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7013 int result;
7014 PyObject * obj0 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
7020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (int)(arg1)->GetAlignVer();
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 {
7030 resultobj = SWIG_From_int(static_cast<int >(result));
7031 }
7032 return resultobj;
7033 fail:
7034 return NULL;
7035 }
7036
7037
7038 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj = NULL;
7040 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7041 int arg2 ;
7042 int arg3 ;
7043 int arg4 = (int) wxHTML_UNITS_PIXELS ;
7044 PyObject * obj0 = 0 ;
7045 PyObject * obj1 = 0 ;
7046 PyObject * obj2 = 0 ;
7047 PyObject * obj3 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7054 if (SWIG_arg_fail(1)) SWIG_fail;
7055 {
7056 arg2 = static_cast<int >(SWIG_As_int(obj1));
7057 if (SWIG_arg_fail(2)) SWIG_fail;
7058 }
7059 {
7060 arg3 = static_cast<int >(SWIG_As_int(obj2));
7061 if (SWIG_arg_fail(3)) SWIG_fail;
7062 }
7063 if (obj3) {
7064 {
7065 arg4 = static_cast<int >(SWIG_As_int(obj3));
7066 if (SWIG_arg_fail(4)) SWIG_fail;
7067 }
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 (arg1)->SetIndent(arg2,arg3,arg4);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 Py_INCREF(Py_None); resultobj = Py_None;
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj = NULL;
7085 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7086 int arg2 ;
7087 int result;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "ind", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
7095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7096 if (SWIG_arg_fail(1)) SWIG_fail;
7097 {
7098 arg2 = static_cast<int >(SWIG_As_int(obj1));
7099 if (SWIG_arg_fail(2)) SWIG_fail;
7100 }
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = (int)(arg1)->GetIndent(arg2);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 {
7109 resultobj = SWIG_From_int(static_cast<int >(result));
7110 }
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj = NULL;
7119 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7120 int arg2 ;
7121 int result;
7122 PyObject * obj0 = 0 ;
7123 PyObject * obj1 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "self",(char *) "ind", NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
7129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7130 if (SWIG_arg_fail(1)) SWIG_fail;
7131 {
7132 arg2 = static_cast<int >(SWIG_As_int(obj1));
7133 if (SWIG_arg_fail(2)) SWIG_fail;
7134 }
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 result = (int)(arg1)->GetIndentUnits(arg2);
7138
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 {
7143 resultobj = SWIG_From_int(static_cast<int >(result));
7144 }
7145 return resultobj;
7146 fail:
7147 return NULL;
7148 }
7149
7150
7151 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj = NULL;
7153 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7154 wxHtmlTag *arg2 = 0 ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self",(char *) "tag", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
7162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail;
7164 {
7165 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7166 if (SWIG_arg_fail(2)) SWIG_fail;
7167 if (arg2 == NULL) {
7168 SWIG_null_ref("wxHtmlTag");
7169 }
7170 if (SWIG_arg_fail(2)) SWIG_fail;
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 Py_INCREF(Py_None); resultobj = Py_None;
7180 return resultobj;
7181 fail:
7182 return NULL;
7183 }
7184
7185
7186 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj = NULL;
7188 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7189 int arg2 ;
7190 int arg3 ;
7191 PyObject * obj0 = 0 ;
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "w",(char *) "units", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
7199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7200 if (SWIG_arg_fail(1)) SWIG_fail;
7201 {
7202 arg2 = static_cast<int >(SWIG_As_int(obj1));
7203 if (SWIG_arg_fail(2)) SWIG_fail;
7204 }
7205 {
7206 arg3 = static_cast<int >(SWIG_As_int(obj2));
7207 if (SWIG_arg_fail(3)) SWIG_fail;
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 (arg1)->SetWidthFloat(arg2,arg3);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 Py_INCREF(Py_None); resultobj = Py_None;
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj = NULL;
7225 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7226 wxHtmlTag *arg2 = 0 ;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "tag", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
7234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail;
7236 {
7237 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
7238 if (SWIG_arg_fail(2)) SWIG_fail;
7239 if (arg2 == NULL) {
7240 SWIG_null_ref("wxHtmlTag");
7241 }
7242 if (SWIG_arg_fail(2)) SWIG_fail;
7243 }
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 Py_INCREF(Py_None); resultobj = Py_None;
7252 return resultobj;
7253 fail:
7254 return NULL;
7255 }
7256
7257
7258 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7259 PyObject *resultobj = NULL;
7260 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7261 int arg2 ;
7262 int arg3 = (int) wxHTML_ALIGN_TOP ;
7263 PyObject * obj0 = 0 ;
7264 PyObject * obj1 = 0 ;
7265 PyObject * obj2 = 0 ;
7266 char *kwnames[] = {
7267 (char *) "self",(char *) "h",(char *) "align", NULL
7268 };
7269
7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
7271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail;
7273 {
7274 arg2 = static_cast<int >(SWIG_As_int(obj1));
7275 if (SWIG_arg_fail(2)) SWIG_fail;
7276 }
7277 if (obj2) {
7278 {
7279 arg3 = static_cast<int >(SWIG_As_int(obj2));
7280 if (SWIG_arg_fail(3)) SWIG_fail;
7281 }
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->SetMinHeight(arg2,arg3);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj = NULL;
7299 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7300 wxColour *arg2 = 0 ;
7301 wxColour temp2 ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self",(char *) "clr", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail;
7311 {
7312 arg2 = &temp2;
7313 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7330 PyObject *resultobj = NULL;
7331 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7332 wxColour result;
7333 PyObject * obj0 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
7339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7340 if (SWIG_arg_fail(1)) SWIG_fail;
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (arg1)->GetBackgroundColour();
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 {
7349 wxColour * resultptr;
7350 resultptr = new wxColour(static_cast<wxColour & >(result));
7351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
7352 }
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj = NULL;
7361 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7362 wxColour *arg2 = 0 ;
7363 wxColour *arg3 = 0 ;
7364 wxColour temp2 ;
7365 wxColour temp3 ;
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
7368 PyObject * obj2 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail;
7376 {
7377 arg2 = &temp2;
7378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7379 }
7380 {
7381 arg3 = &temp3;
7382 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7383 }
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 Py_INCREF(Py_None); resultobj = Py_None;
7392 return resultobj;
7393 fail:
7394 return NULL;
7395 }
7396
7397
7398 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
7399 PyObject *resultobj = NULL;
7400 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7401 wxHtmlCell *result;
7402 PyObject * obj0 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
7408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail;
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 {
7418 resultobj = wxPyMake_wxObject(result, 0);
7419 }
7420 return resultobj;
7421 fail:
7422 return NULL;
7423 }
7424
7425
7426 static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
7427 PyObject *obj;
7428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7429 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7430 Py_INCREF(obj);
7431 return Py_BuildValue((char *)"");
7432 }
7433 static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj = NULL;
7435 wxColour *arg1 = 0 ;
7436 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7437 wxHtmlColourCell *result;
7438 wxColour temp1 ;
7439 PyObject * obj0 = 0 ;
7440 PyObject * obj1 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "clr",(char *) "flags", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
7446 {
7447 arg1 = &temp1;
7448 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7449 }
7450 if (obj1) {
7451 {
7452 arg2 = static_cast<int >(SWIG_As_int(obj1));
7453 if (SWIG_arg_fail(2)) SWIG_fail;
7454 }
7455 }
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
7471 PyObject *obj;
7472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7473 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7474 Py_INCREF(obj);
7475 return Py_BuildValue((char *)"");
7476 }
7477 static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj = NULL;
7479 wxFont *arg1 = (wxFont *) 0 ;
7480 wxHtmlFontCell *result;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "font", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
7487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7488 if (SWIG_arg_fail(1)) SWIG_fail;
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
7504 PyObject *obj;
7505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7506 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7507 Py_INCREF(obj);
7508 return Py_BuildValue((char *)"");
7509 }
7510 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj = NULL;
7512 wxWindow *arg1 = (wxWindow *) 0 ;
7513 int arg2 = (int) 0 ;
7514 wxHtmlWidgetCell *result;
7515 PyObject * obj0 = 0 ;
7516 PyObject * obj1 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "wnd",(char *) "w", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
7522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail;
7524 if (obj1) {
7525 {
7526 arg2 = static_cast<int >(SWIG_As_int(obj1));
7527 if (SWIG_arg_fail(2)) SWIG_fail;
7528 }
7529 }
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
7538 return resultobj;
7539 fail:
7540 return NULL;
7541 }
7542
7543
7544 static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
7545 PyObject *obj;
7546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7547 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7548 Py_INCREF(obj);
7549 return Py_BuildValue((char *)"");
7550 }
7551 static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj = NULL;
7553 wxPyHtmlFilter *result;
7554 char *kwnames[] = {
7555 NULL
7556 };
7557
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
7567 return resultobj;
7568 fail:
7569 return NULL;
7570 }
7571
7572
7573 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj = NULL;
7575 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7576 PyObject *arg2 = (PyObject *) 0 ;
7577 PyObject *arg3 = (PyObject *) 0 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 PyObject * obj2 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "self",(char *) "_class", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail;
7588 arg2 = obj1;
7589 arg3 = obj2;
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 (arg1)->_setCallbackInfo(arg2,arg3);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 Py_INCREF(Py_None); resultobj = Py_None;
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
7605 PyObject *obj;
7606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7607 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7608 Py_INCREF(obj);
7609 return Py_BuildValue((char *)"");
7610 }
7611 static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj = NULL;
7613 wxWindow *arg1 = (wxWindow *) 0 ;
7614 int arg2 = (int) -1 ;
7615 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7616 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7617 wxSize const &arg4_defvalue = wxDefaultSize ;
7618 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7619 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7620 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7621 wxString *arg6 = (wxString *) &arg6_defvalue ;
7622 wxPyHtmlWindow *result;
7623 wxPoint temp3 ;
7624 wxSize temp4 ;
7625 bool temp6 = false ;
7626 PyObject * obj0 = 0 ;
7627 PyObject * obj1 = 0 ;
7628 PyObject * obj2 = 0 ;
7629 PyObject * obj3 = 0 ;
7630 PyObject * obj4 = 0 ;
7631 PyObject * obj5 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail;
7639 if (obj1) {
7640 {
7641 arg2 = static_cast<int >(SWIG_As_int(obj1));
7642 if (SWIG_arg_fail(2)) SWIG_fail;
7643 }
7644 }
7645 if (obj2) {
7646 {
7647 arg3 = &temp3;
7648 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7649 }
7650 }
7651 if (obj3) {
7652 {
7653 arg4 = &temp4;
7654 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7655 }
7656 }
7657 if (obj4) {
7658 {
7659 arg5 = static_cast<int >(SWIG_As_int(obj4));
7660 if (SWIG_arg_fail(5)) SWIG_fail;
7661 }
7662 }
7663 if (obj5) {
7664 {
7665 arg6 = wxString_in_helper(obj5);
7666 if (arg6 == NULL) SWIG_fail;
7667 temp6 = true;
7668 }
7669 }
7670 {
7671 if (!wxPyCheckForApp()) SWIG_fail;
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7679 {
7680 if (temp6)
7681 delete arg6;
7682 }
7683 return resultobj;
7684 fail:
7685 {
7686 if (temp6)
7687 delete arg6;
7688 }
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj = NULL;
7695 wxPyHtmlWindow *result;
7696 char *kwnames[] = {
7697 NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7701 {
7702 if (!wxPyCheckForApp()) SWIG_fail;
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj = NULL;
7718 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7719 wxWindow *arg2 = (wxWindow *) 0 ;
7720 int arg3 = (int) -1 ;
7721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7723 wxSize const &arg5_defvalue = wxDefaultSize ;
7724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7725 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7726 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7727 wxString *arg7 = (wxString *) &arg7_defvalue ;
7728 bool result;
7729 wxPoint temp4 ;
7730 wxSize temp5 ;
7731 bool temp7 = false ;
7732 PyObject * obj0 = 0 ;
7733 PyObject * obj1 = 0 ;
7734 PyObject * obj2 = 0 ;
7735 PyObject * obj3 = 0 ;
7736 PyObject * obj4 = 0 ;
7737 PyObject * obj5 = 0 ;
7738 PyObject * obj6 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7741 };
7742
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail;
7746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7747 if (SWIG_arg_fail(2)) SWIG_fail;
7748 if (obj2) {
7749 {
7750 arg3 = static_cast<int >(SWIG_As_int(obj2));
7751 if (SWIG_arg_fail(3)) SWIG_fail;
7752 }
7753 }
7754 if (obj3) {
7755 {
7756 arg4 = &temp4;
7757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7758 }
7759 }
7760 if (obj4) {
7761 {
7762 arg5 = &temp5;
7763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7764 }
7765 }
7766 if (obj5) {
7767 {
7768 arg6 = static_cast<int >(SWIG_As_int(obj5));
7769 if (SWIG_arg_fail(6)) SWIG_fail;
7770 }
7771 }
7772 if (obj6) {
7773 {
7774 arg7 = wxString_in_helper(obj6);
7775 if (arg7 == NULL) SWIG_fail;
7776 temp7 = true;
7777 }
7778 }
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 {
7787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7788 }
7789 {
7790 if (temp7)
7791 delete arg7;
7792 }
7793 return resultobj;
7794 fail:
7795 {
7796 if (temp7)
7797 delete arg7;
7798 }
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj = NULL;
7805 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7806 PyObject *arg2 = (PyObject *) 0 ;
7807 PyObject *arg3 = (PyObject *) 0 ;
7808 PyObject * obj0 = 0 ;
7809 PyObject * obj1 = 0 ;
7810 PyObject * obj2 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self",(char *) "self",(char *) "_class", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail;
7818 arg2 = obj1;
7819 arg3 = obj2;
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 (arg1)->_setCallbackInfo(arg2,arg3);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 Py_INCREF(Py_None); resultobj = Py_None;
7828 return resultobj;
7829 fail:
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj = NULL;
7836 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7837 wxString *arg2 = 0 ;
7838 bool result;
7839 bool temp2 = false ;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self",(char *) "source", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
7847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail;
7849 {
7850 arg2 = wxString_in_helper(obj1);
7851 if (arg2 == NULL) SWIG_fail;
7852 temp2 = true;
7853 }
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 {
7862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7863 }
7864 {
7865 if (temp2)
7866 delete arg2;
7867 }
7868 return resultobj;
7869 fail:
7870 {
7871 if (temp2)
7872 delete arg2;
7873 }
7874 return NULL;
7875 }
7876
7877
7878 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj = NULL;
7880 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7881 wxString *arg2 = 0 ;
7882 bool result;
7883 bool temp2 = false ;
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self",(char *) "location", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
7891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7892 if (SWIG_arg_fail(1)) SWIG_fail;
7893 {
7894 arg2 = wxString_in_helper(obj1);
7895 if (arg2 == NULL) SWIG_fail;
7896 temp2 = true;
7897 }
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 {
7906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7907 }
7908 {
7909 if (temp2)
7910 delete arg2;
7911 }
7912 return resultobj;
7913 fail:
7914 {
7915 if (temp2)
7916 delete arg2;
7917 }
7918 return NULL;
7919 }
7920
7921
7922 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7923 PyObject *resultobj = NULL;
7924 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7925 wxString *arg2 = 0 ;
7926 bool result;
7927 bool temp2 = false ;
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "filename", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7936 if (SWIG_arg_fail(1)) SWIG_fail;
7937 {
7938 arg2 = wxString_in_helper(obj1);
7939 if (arg2 == NULL) SWIG_fail;
7940 temp2 = true;
7941 }
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 {
7950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7951 }
7952 {
7953 if (temp2)
7954 delete arg2;
7955 }
7956 return resultobj;
7957 fail:
7958 {
7959 if (temp2)
7960 delete arg2;
7961 }
7962 return NULL;
7963 }
7964
7965
7966 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj = NULL;
7968 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7969 wxString *arg2 = 0 ;
7970 bool result;
7971 bool temp2 = false ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "self",(char *) "source", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
7979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail;
7981 {
7982 arg2 = wxString_in_helper(obj1);
7983 if (arg2 == NULL) SWIG_fail;
7984 temp2 = true;
7985 }
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7989
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 {
7994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7995 }
7996 {
7997 if (temp2)
7998 delete arg2;
7999 }
8000 return resultobj;
8001 fail:
8002 {
8003 if (temp2)
8004 delete arg2;
8005 }
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj = NULL;
8012 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8013 wxString result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
8020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8021 if (SWIG_arg_fail(1)) SWIG_fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (arg1)->GetOpenedPage();
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 {
8030 #if wxUSE_UNICODE
8031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8032 #else
8033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8034 #endif
8035 }
8036 return resultobj;
8037 fail:
8038 return NULL;
8039 }
8040
8041
8042 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8043 PyObject *resultobj = NULL;
8044 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8045 wxString result;
8046 PyObject * obj0 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
8052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail;
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (arg1)->GetOpenedAnchor();
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 {
8062 #if wxUSE_UNICODE
8063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8064 #else
8065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8066 #endif
8067 }
8068 return resultobj;
8069 fail:
8070 return NULL;
8071 }
8072
8073
8074 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
8075 PyObject *resultobj = NULL;
8076 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8077 wxString result;
8078 PyObject * obj0 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
8084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail;
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 result = (arg1)->GetOpenedPageTitle();
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 {
8094 #if wxUSE_UNICODE
8095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8096 #else
8097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8098 #endif
8099 }
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj = NULL;
8108 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8109 wxFrame *arg2 = (wxFrame *) 0 ;
8110 wxString *arg3 = 0 ;
8111 bool temp3 = false ;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 PyObject * obj2 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "frame",(char *) "format", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail;
8122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
8123 if (SWIG_arg_fail(2)) SWIG_fail;
8124 {
8125 arg3 = wxString_in_helper(obj2);
8126 if (arg3 == NULL) SWIG_fail;
8127 temp3 = true;
8128 }
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 Py_INCREF(Py_None); resultobj = Py_None;
8137 {
8138 if (temp3)
8139 delete arg3;
8140 }
8141 return resultobj;
8142 fail:
8143 {
8144 if (temp3)
8145 delete arg3;
8146 }
8147 return NULL;
8148 }
8149
8150
8151 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8152 PyObject *resultobj = NULL;
8153 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8154 wxFrame *result;
8155 PyObject * obj0 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
8161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail;
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = (wxFrame *)(arg1)->GetRelatedFrame();
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 {
8171 resultobj = wxPyMake_wxObject(result, 0);
8172 }
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj = NULL;
8181 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8182 int arg2 ;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "self",(char *) "bar", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
8190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8191 if (SWIG_arg_fail(1)) SWIG_fail;
8192 {
8193 arg2 = static_cast<int >(SWIG_As_int(obj1));
8194 if (SWIG_arg_fail(2)) SWIG_fail;
8195 }
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 (arg1)->SetRelatedStatusBar(arg2);
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 Py_INCREF(Py_None); resultobj = Py_None;
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj = NULL;
8212 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8213 wxString arg2 ;
8214 wxString arg3 ;
8215 PyObject *arg4 = (PyObject *) NULL ;
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 PyObject * obj2 = 0 ;
8219 PyObject * obj3 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8226 if (SWIG_arg_fail(1)) SWIG_fail;
8227 {
8228 wxString* sptr = wxString_in_helper(obj1);
8229 if (sptr == NULL) SWIG_fail;
8230 arg2 = *sptr;
8231 delete sptr;
8232 }
8233 {
8234 wxString* sptr = wxString_in_helper(obj2);
8235 if (sptr == NULL) SWIG_fail;
8236 arg3 = *sptr;
8237 delete sptr;
8238 }
8239 if (obj3) {
8240 arg4 = obj3;
8241 }
8242 {
8243 PyThreadState* __tstate = wxPyBeginAllowThreads();
8244 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
8245
8246 wxPyEndAllowThreads(__tstate);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 Py_INCREF(Py_None); resultobj = Py_None;
8250 return resultobj;
8251 fail:
8252 return NULL;
8253 }
8254
8255
8256 static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
8257 PyObject *resultobj = NULL;
8258 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8259 int arg2 = (int) -1 ;
8260 wxString const &arg3_defvalue = wxPyEmptyString ;
8261 wxString *arg3 = (wxString *) &arg3_defvalue ;
8262 wxString const &arg4_defvalue = wxPyEmptyString ;
8263 wxString *arg4 = (wxString *) &arg4_defvalue ;
8264 bool temp3 = false ;
8265 bool temp4 = false ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 PyObject * obj2 = 0 ;
8269 PyObject * obj3 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail;
8277 if (obj1) {
8278 {
8279 arg2 = static_cast<int >(SWIG_As_int(obj1));
8280 if (SWIG_arg_fail(2)) SWIG_fail;
8281 }
8282 }
8283 if (obj2) {
8284 {
8285 arg3 = wxString_in_helper(obj2);
8286 if (arg3 == NULL) SWIG_fail;
8287 temp3 = true;
8288 }
8289 }
8290 if (obj3) {
8291 {
8292 arg4 = wxString_in_helper(obj3);
8293 if (arg4 == NULL) SWIG_fail;
8294 temp4 = true;
8295 }
8296 }
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 Py_INCREF(Py_None); resultobj = Py_None;
8305 {
8306 if (temp3)
8307 delete arg3;
8308 }
8309 {
8310 if (temp4)
8311 delete arg4;
8312 }
8313 return resultobj;
8314 fail:
8315 {
8316 if (temp3)
8317 delete arg3;
8318 }
8319 {
8320 if (temp4)
8321 delete arg4;
8322 }
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj = NULL;
8329 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8330 wxString *arg2 = 0 ;
8331 bool temp2 = false ;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "title", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail;
8339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8340 if (SWIG_arg_fail(1)) SWIG_fail;
8341 {
8342 arg2 = wxString_in_helper(obj1);
8343 if (arg2 == NULL) SWIG_fail;
8344 temp2 = true;
8345 }
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 (arg1)->SetLabel((wxString const &)*arg2);
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 Py_INCREF(Py_None); resultobj = Py_None;
8354 {
8355 if (temp2)
8356 delete arg2;
8357 }
8358 return resultobj;
8359 fail:
8360 {
8361 if (temp2)
8362 delete arg2;
8363 }
8364 return NULL;
8365 }
8366
8367
8368 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
8369 PyObject *resultobj = NULL;
8370 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8371 int arg2 ;
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj1 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "self",(char *) "b", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
8379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8380 if (SWIG_arg_fail(1)) SWIG_fail;
8381 {
8382 arg2 = static_cast<int >(SWIG_As_int(obj1));
8383 if (SWIG_arg_fail(2)) SWIG_fail;
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->SetBorders(arg2);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj = NULL;
8401 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8402 wxBitmap *arg2 = 0 ;
8403 PyObject * obj0 = 0 ;
8404 PyObject * obj1 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self",(char *) "bmpBg", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail;
8412 {
8413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8414 if (SWIG_arg_fail(2)) SWIG_fail;
8415 if (arg2 == NULL) {
8416 SWIG_null_ref("wxBitmap");
8417 }
8418 if (SWIG_arg_fail(2)) SWIG_fail;
8419 }
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 Py_INCREF(Py_None); resultobj = Py_None;
8428 return resultobj;
8429 fail:
8430 return NULL;
8431 }
8432
8433
8434 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj = NULL;
8436 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8437 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8438 wxString arg3 = (wxString) wxPyEmptyString ;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 PyObject * obj2 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "cfg",(char *) "path", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail;
8449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8450 if (SWIG_arg_fail(2)) SWIG_fail;
8451 if (obj2) {
8452 {
8453 wxString* sptr = wxString_in_helper(obj2);
8454 if (sptr == NULL) SWIG_fail;
8455 arg3 = *sptr;
8456 delete sptr;
8457 }
8458 }
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 (arg1)->ReadCustomization(arg2,arg3);
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 Py_INCREF(Py_None); resultobj = Py_None;
8467 return resultobj;
8468 fail:
8469 return NULL;
8470 }
8471
8472
8473 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj = NULL;
8475 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8476 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8477 wxString arg3 = (wxString) wxPyEmptyString ;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 PyObject * obj2 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "cfg",(char *) "path", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail;
8488 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(2)) SWIG_fail;
8490 if (obj2) {
8491 {
8492 wxString* sptr = wxString_in_helper(obj2);
8493 if (sptr == NULL) SWIG_fail;
8494 arg3 = *sptr;
8495 delete sptr;
8496 }
8497 }
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 (arg1)->WriteCustomization(arg2,arg3);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 Py_INCREF(Py_None); resultobj = Py_None;
8506 return resultobj;
8507 fail:
8508 return NULL;
8509 }
8510
8511
8512 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj = NULL;
8514 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8515 bool result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
8522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail;
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (bool)(arg1)->HistoryBack();
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 {
8532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8533 }
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj = NULL;
8542 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8543 bool result;
8544 PyObject * obj0 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
8550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail;
8552 {
8553 PyThreadState* __tstate = wxPyBeginAllowThreads();
8554 result = (bool)(arg1)->HistoryForward();
8555
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 {
8560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8561 }
8562 return resultobj;
8563 fail:
8564 return NULL;
8565 }
8566
8567
8568 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj = NULL;
8570 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8571 bool result;
8572 PyObject * obj0 = 0 ;
8573 char *kwnames[] = {
8574 (char *) "self", NULL
8575 };
8576
8577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
8578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8579 if (SWIG_arg_fail(1)) SWIG_fail;
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (bool)(arg1)->HistoryCanBack();
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 {
8588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8589 }
8590 return resultobj;
8591 fail:
8592 return NULL;
8593 }
8594
8595
8596 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj = NULL;
8598 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8599 bool result;
8600 PyObject * obj0 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "self", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
8606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail;
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (bool)(arg1)->HistoryCanForward();
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 {
8616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8617 }
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
8625 PyObject *resultobj = NULL;
8626 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8627 PyObject * obj0 = 0 ;
8628 char *kwnames[] = {
8629 (char *) "self", NULL
8630 };
8631
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
8633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8634 if (SWIG_arg_fail(1)) SWIG_fail;
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 (arg1)->HistoryClear();
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 Py_INCREF(Py_None); resultobj = Py_None;
8643 return resultobj;
8644 fail:
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj = NULL;
8651 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8652 wxHtmlContainerCell *result;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
8659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj = NULL;
8677 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8678 wxHtmlWinParser *result;
8679 PyObject * obj0 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
8685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8686 if (SWIG_arg_fail(1)) SWIG_fail;
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (wxHtmlWinParser *)(arg1)->GetParser();
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj = NULL;
8703 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8704 wxString *arg2 = 0 ;
8705 bool result;
8706 bool temp2 = false ;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self",(char *) "anchor", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
8716 {
8717 arg2 = wxString_in_helper(obj1);
8718 if (arg2 == NULL) SWIG_fail;
8719 temp2 = true;
8720 }
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 {
8729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8730 }
8731 {
8732 if (temp2)
8733 delete arg2;
8734 }
8735 return resultobj;
8736 fail:
8737 {
8738 if (temp2)
8739 delete arg2;
8740 }
8741 return NULL;
8742 }
8743
8744
8745 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj = NULL;
8747 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8748 wxString *arg2 = 0 ;
8749 bool result;
8750 bool temp2 = false ;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "self",(char *) "anchor", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
8758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8759 if (SWIG_arg_fail(1)) SWIG_fail;
8760 {
8761 arg2 = wxString_in_helper(obj1);
8762 if (arg2 == NULL) SWIG_fail;
8763 temp2 = true;
8764 }
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 {
8773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8774 }
8775 {
8776 if (temp2)
8777 delete arg2;
8778 }
8779 return resultobj;
8780 fail:
8781 {
8782 if (temp2)
8783 delete arg2;
8784 }
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj = NULL;
8791 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8792 PyObject * obj0 = 0 ;
8793 char *kwnames[] = {
8794 (char *) "filter", NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
8798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8799 if (SWIG_arg_fail(1)) SWIG_fail;
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 wxPyHtmlWindow::AddFilter(arg1);
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 Py_INCREF(Py_None); resultobj = Py_None;
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj = NULL;
8816 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8817 wxPoint *arg2 = 0 ;
8818 wxPoint temp2 ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 char *kwnames[] = {
8822 (char *) "self",(char *) "pos", NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
8826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8827 if (SWIG_arg_fail(1)) SWIG_fail;
8828 {
8829 arg2 = &temp2;
8830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 (arg1)->SelectWord((wxPoint const &)*arg2);
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 Py_INCREF(Py_None); resultobj = Py_None;
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj = NULL;
8848 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8849 wxPoint *arg2 = 0 ;
8850 wxPoint temp2 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self",(char *) "pos", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
8858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail;
8860 {
8861 arg2 = &temp2;
8862 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8863 }
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 (arg1)->SelectLine((wxPoint const &)*arg2);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 Py_INCREF(Py_None); resultobj = Py_None;
8872 return resultobj;
8873 fail:
8874 return NULL;
8875 }
8876
8877
8878 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj = NULL;
8880 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8881 PyObject * obj0 = 0 ;
8882 char *kwnames[] = {
8883 (char *) "self", NULL
8884 };
8885
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
8887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail;
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 (arg1)->SelectAll();
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj = NULL;
8905 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8906 wxString result;
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
8913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (arg1)->SelectionToText();
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 {
8923 #if wxUSE_UNICODE
8924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8925 #else
8926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8927 #endif
8928 }
8929 return resultobj;
8930 fail:
8931 return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj = NULL;
8937 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8938 wxString result;
8939 PyObject * obj0 = 0 ;
8940 char *kwnames[] = {
8941 (char *) "self", NULL
8942 };
8943
8944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
8945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8946 if (SWIG_arg_fail(1)) SWIG_fail;
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (arg1)->ToText();
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 #if wxUSE_UNICODE
8956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8957 #else
8958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8959 #endif
8960 }
8961 return resultobj;
8962 fail:
8963 return NULL;
8964 }
8965
8966
8967 static PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj = NULL;
8969 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8970 wxHtmlLinkInfo *arg2 = 0 ;
8971 PyObject * obj0 = 0 ;
8972 PyObject * obj1 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self",(char *) "link", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
8978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8979 if (SWIG_arg_fail(1)) SWIG_fail;
8980 {
8981 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8982 if (SWIG_arg_fail(2)) SWIG_fail;
8983 if (arg2 == NULL) {
8984 SWIG_null_ref("wxHtmlLinkInfo");
8985 }
8986 if (SWIG_arg_fail(2)) SWIG_fail;
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 Py_INCREF(Py_None); resultobj = Py_None;
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj = NULL;
9004 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9005 wxString *arg2 = 0 ;
9006 bool temp2 = false ;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self",(char *) "title", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
9014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail;
9016 {
9017 arg2 = wxString_in_helper(obj1);
9018 if (arg2 == NULL) SWIG_fail;
9019 temp2 = true;
9020 }
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 (arg1)->OnSetTitle((wxString const &)*arg2);
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 {
9030 if (temp2)
9031 delete arg2;
9032 }
9033 return resultobj;
9034 fail:
9035 {
9036 if (temp2)
9037 delete arg2;
9038 }
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj = NULL;
9045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9046 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9047 int arg3 ;
9048 int arg4 ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 PyObject * obj2 = 0 ;
9052 PyObject * obj3 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
9059 if (SWIG_arg_fail(1)) SWIG_fail;
9060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
9061 if (SWIG_arg_fail(2)) SWIG_fail;
9062 {
9063 arg3 = static_cast<int >(SWIG_As_int(obj2));
9064 if (SWIG_arg_fail(3)) SWIG_fail;
9065 }
9066 {
9067 arg4 = static_cast<int >(SWIG_As_int(obj3));
9068 if (SWIG_arg_fail(4)) SWIG_fail;
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 Py_INCREF(Py_None); resultobj = Py_None;
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
9085 PyObject *resultobj = NULL;
9086 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9087 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9088 int arg3 ;
9089 int arg4 ;
9090 wxMouseEvent *arg5 = 0 ;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 PyObject * obj2 = 0 ;
9094 PyObject * obj3 = 0 ;
9095 PyObject * obj4 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
9102 if (SWIG_arg_fail(1)) SWIG_fail;
9103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
9104 if (SWIG_arg_fail(2)) SWIG_fail;
9105 {
9106 arg3 = static_cast<int >(SWIG_As_int(obj2));
9107 if (SWIG_arg_fail(3)) SWIG_fail;
9108 }
9109 {
9110 arg4 = static_cast<int >(SWIG_As_int(obj3));
9111 if (SWIG_arg_fail(4)) SWIG_fail;
9112 }
9113 {
9114 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
9115 if (SWIG_arg_fail(5)) SWIG_fail;
9116 if (arg5 == NULL) {
9117 SWIG_null_ref("wxMouseEvent");
9118 }
9119 if (SWIG_arg_fail(5)) SWIG_fail;
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 (arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 Py_INCREF(Py_None); resultobj = Py_None;
9129 return resultobj;
9130 fail:
9131 return NULL;
9132 }
9133
9134
9135 static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj = NULL;
9137 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9138 wxVisualAttributes result;
9139 PyObject * obj0 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "variant", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9145 if (obj0) {
9146 {
9147 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
9148 if (SWIG_arg_fail(1)) SWIG_fail;
9149 }
9150 }
9151 {
9152 if (!wxPyCheckForApp()) SWIG_fail;
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 {
9160 wxVisualAttributes * resultptr;
9161 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
9162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9163 }
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
9171 PyObject *obj;
9172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9173 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
9174 Py_INCREF(obj);
9175 return Py_BuildValue((char *)"");
9176 }
9177 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
9178 PyObject *resultobj = NULL;
9179 wxHtmlDCRenderer *result;
9180 char *kwnames[] = {
9181 NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
9185 {
9186 if (!wxPyCheckForApp()) SWIG_fail;
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
9194 return resultobj;
9195 fail:
9196 return NULL;
9197 }
9198
9199
9200 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj = NULL;
9202 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9203 PyObject * obj0 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
9209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 delete arg1;
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 Py_INCREF(Py_None); resultobj = Py_None;
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj = NULL;
9227 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9228 wxDC *arg2 = (wxDC *) 0 ;
9229 int arg3 ;
9230 PyObject * obj0 = 0 ;
9231 PyObject * obj1 = 0 ;
9232 PyObject * obj2 = 0 ;
9233 char *kwnames[] = {
9234 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
9238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail;
9240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9241 if (SWIG_arg_fail(2)) SWIG_fail;
9242 {
9243 arg3 = static_cast<int >(SWIG_As_int(obj2));
9244 if (SWIG_arg_fail(3)) SWIG_fail;
9245 }
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 (arg1)->SetDC(arg2,arg3);
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 Py_INCREF(Py_None); resultobj = Py_None;
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj = NULL;
9262 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9263 int arg2 ;
9264 int arg3 ;
9265 PyObject * obj0 = 0 ;
9266 PyObject * obj1 = 0 ;
9267 PyObject * obj2 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self",(char *) "width",(char *) "height", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
9273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail;
9275 {
9276 arg2 = static_cast<int >(SWIG_As_int(obj1));
9277 if (SWIG_arg_fail(2)) SWIG_fail;
9278 }
9279 {
9280 arg3 = static_cast<int >(SWIG_As_int(obj2));
9281 if (SWIG_arg_fail(3)) SWIG_fail;
9282 }
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 (arg1)->SetSize(arg2,arg3);
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 Py_INCREF(Py_None); resultobj = Py_None;
9291 return resultobj;
9292 fail:
9293 return NULL;
9294 }
9295
9296
9297 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj = NULL;
9299 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9300 wxString *arg2 = 0 ;
9301 wxString const &arg3_defvalue = wxPyEmptyString ;
9302 wxString *arg3 = (wxString *) &arg3_defvalue ;
9303 bool arg4 = (bool) true ;
9304 bool temp2 = false ;
9305 bool temp3 = false ;
9306 PyObject * obj0 = 0 ;
9307 PyObject * obj1 = 0 ;
9308 PyObject * obj2 = 0 ;
9309 PyObject * obj3 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail;
9317 {
9318 arg2 = wxString_in_helper(obj1);
9319 if (arg2 == NULL) SWIG_fail;
9320 temp2 = true;
9321 }
9322 if (obj2) {
9323 {
9324 arg3 = wxString_in_helper(obj2);
9325 if (arg3 == NULL) SWIG_fail;
9326 temp3 = true;
9327 }
9328 }
9329 if (obj3) {
9330 {
9331 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
9332 if (SWIG_arg_fail(4)) SWIG_fail;
9333 }
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 {
9344 if (temp2)
9345 delete arg2;
9346 }
9347 {
9348 if (temp3)
9349 delete arg3;
9350 }
9351 return resultobj;
9352 fail:
9353 {
9354 if (temp2)
9355 delete arg2;
9356 }
9357 {
9358 if (temp3)
9359 delete arg3;
9360 }
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj = NULL;
9367 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9368 wxString arg2 ;
9369 wxString arg3 ;
9370 PyObject *arg4 = (PyObject *) NULL ;
9371 PyObject * obj0 = 0 ;
9372 PyObject * obj1 = 0 ;
9373 PyObject * obj2 = 0 ;
9374 PyObject * obj3 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9381 if (SWIG_arg_fail(1)) SWIG_fail;
9382 {
9383 wxString* sptr = wxString_in_helper(obj1);
9384 if (sptr == NULL) SWIG_fail;
9385 arg2 = *sptr;
9386 delete sptr;
9387 }
9388 {
9389 wxString* sptr = wxString_in_helper(obj2);
9390 if (sptr == NULL) SWIG_fail;
9391 arg3 = *sptr;
9392 delete sptr;
9393 }
9394 if (obj3) {
9395 arg4 = obj3;
9396 }
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 Py_INCREF(Py_None); resultobj = Py_None;
9405 return resultobj;
9406 fail:
9407 return NULL;
9408 }
9409
9410
9411 static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj = NULL;
9413 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9414 int arg2 = (int) -1 ;
9415 wxString const &arg3_defvalue = wxPyEmptyString ;
9416 wxString *arg3 = (wxString *) &arg3_defvalue ;
9417 wxString const &arg4_defvalue = wxPyEmptyString ;
9418 wxString *arg4 = (wxString *) &arg4_defvalue ;
9419 bool temp3 = false ;
9420 bool temp4 = false ;
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
9423 PyObject * obj2 = 0 ;
9424 PyObject * obj3 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9431 if (SWIG_arg_fail(1)) SWIG_fail;
9432 if (obj1) {
9433 {
9434 arg2 = static_cast<int >(SWIG_As_int(obj1));
9435 if (SWIG_arg_fail(2)) SWIG_fail;
9436 }
9437 }
9438 if (obj2) {
9439 {
9440 arg3 = wxString_in_helper(obj2);
9441 if (arg3 == NULL) SWIG_fail;
9442 temp3 = true;
9443 }
9444 }
9445 if (obj3) {
9446 {
9447 arg4 = wxString_in_helper(obj3);
9448 if (arg4 == NULL) SWIG_fail;
9449 temp4 = true;
9450 }
9451 }
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
9460 {
9461 if (temp3)
9462 delete arg3;
9463 }
9464 {
9465 if (temp4)
9466 delete arg4;
9467 }
9468 return resultobj;
9469 fail:
9470 {
9471 if (temp3)
9472 delete arg3;
9473 }
9474 {
9475 if (temp4)
9476 delete arg4;
9477 }
9478 return NULL;
9479 }
9480
9481
9482 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
9483 PyObject *resultobj = NULL;
9484 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9485 int arg2 ;
9486 int arg3 ;
9487 int arg4 = (int) 0 ;
9488 int arg5 = (int) false ;
9489 int arg6 = (int) INT_MAX ;
9490 int *arg7 = (int *) NULL ;
9491 int arg8 = (int) 0 ;
9492 int result;
9493 PyObject * obj0 = 0 ;
9494 PyObject * obj1 = 0 ;
9495 PyObject * obj2 = 0 ;
9496 PyObject * obj3 = 0 ;
9497 PyObject * obj4 = 0 ;
9498 PyObject * obj5 = 0 ;
9499 PyObject * obj6 = 0 ;
9500 PyObject * obj7 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
9508 {
9509 arg2 = static_cast<int >(SWIG_As_int(obj1));
9510 if (SWIG_arg_fail(2)) SWIG_fail;
9511 }
9512 {
9513 arg3 = static_cast<int >(SWIG_As_int(obj2));
9514 if (SWIG_arg_fail(3)) SWIG_fail;
9515 }
9516 if (obj3) {
9517 {
9518 arg4 = static_cast<int >(SWIG_As_int(obj3));
9519 if (SWIG_arg_fail(4)) SWIG_fail;
9520 }
9521 }
9522 if (obj4) {
9523 {
9524 arg5 = static_cast<int >(SWIG_As_int(obj4));
9525 if (SWIG_arg_fail(5)) SWIG_fail;
9526 }
9527 }
9528 if (obj5) {
9529 {
9530 arg6 = static_cast<int >(SWIG_As_int(obj5));
9531 if (SWIG_arg_fail(6)) SWIG_fail;
9532 }
9533 }
9534 if (obj6) {
9535 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9536 if (SWIG_arg_fail(7)) SWIG_fail;
9537 }
9538 if (obj7) {
9539 {
9540 arg8 = static_cast<int >(SWIG_As_int(obj7));
9541 if (SWIG_arg_fail(8)) SWIG_fail;
9542 }
9543 }
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 {
9552 resultobj = SWIG_From_int(static_cast<int >(result));
9553 }
9554 return resultobj;
9555 fail:
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj = NULL;
9562 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9563 int result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
9570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (int)(arg1)->GetTotalHeight();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 {
9580 resultobj = SWIG_From_int(static_cast<int >(result));
9581 }
9582 return resultobj;
9583 fail:
9584 return NULL;
9585 }
9586
9587
9588 static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
9589 PyObject *obj;
9590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9591 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9592 Py_INCREF(obj);
9593 return Py_BuildValue((char *)"");
9594 }
9595 static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj = NULL;
9597 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9598 wxString *arg1 = (wxString *) &arg1_defvalue ;
9599 wxHtmlPrintout *result;
9600 bool temp1 = false ;
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "title", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9607 if (obj0) {
9608 {
9609 arg1 = wxString_in_helper(obj0);
9610 if (arg1 == NULL) SWIG_fail;
9611 temp1 = true;
9612 }
9613 }
9614 {
9615 if (!wxPyCheckForApp()) SWIG_fail;
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
9623 {
9624 if (temp1)
9625 delete arg1;
9626 }
9627 return resultobj;
9628 fail:
9629 {
9630 if (temp1)
9631 delete arg1;
9632 }
9633 return NULL;
9634 }
9635
9636
9637 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj = NULL;
9639 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9640 wxString *arg2 = 0 ;
9641 wxString const &arg3_defvalue = wxPyEmptyString ;
9642 wxString *arg3 = (wxString *) &arg3_defvalue ;
9643 bool arg4 = (bool) true ;
9644 bool temp2 = false ;
9645 bool temp3 = false ;
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 PyObject * obj2 = 0 ;
9649 PyObject * obj3 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
9657 {
9658 arg2 = wxString_in_helper(obj1);
9659 if (arg2 == NULL) SWIG_fail;
9660 temp2 = true;
9661 }
9662 if (obj2) {
9663 {
9664 arg3 = wxString_in_helper(obj2);
9665 if (arg3 == NULL) SWIG_fail;
9666 temp3 = true;
9667 }
9668 }
9669 if (obj3) {
9670 {
9671 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
9672 if (SWIG_arg_fail(4)) SWIG_fail;
9673 }
9674 }
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 Py_INCREF(Py_None); resultobj = Py_None;
9683 {
9684 if (temp2)
9685 delete arg2;
9686 }
9687 {
9688 if (temp3)
9689 delete arg3;
9690 }
9691 return resultobj;
9692 fail:
9693 {
9694 if (temp2)
9695 delete arg2;
9696 }
9697 {
9698 if (temp3)
9699 delete arg3;
9700 }
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj = NULL;
9707 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9708 wxString *arg2 = 0 ;
9709 bool temp2 = false ;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "htmlfile", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
9717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail;
9719 {
9720 arg2 = wxString_in_helper(obj1);
9721 if (arg2 == NULL) SWIG_fail;
9722 temp2 = true;
9723 }
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->SetHtmlFile((wxString const &)*arg2);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 Py_INCREF(Py_None); resultobj = Py_None;
9732 {
9733 if (temp2)
9734 delete arg2;
9735 }
9736 return resultobj;
9737 fail:
9738 {
9739 if (temp2)
9740 delete arg2;
9741 }
9742 return NULL;
9743 }
9744
9745
9746 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj = NULL;
9748 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9749 wxString *arg2 = 0 ;
9750 int arg3 = (int) wxPAGE_ALL ;
9751 bool temp2 = false ;
9752 PyObject * obj0 = 0 ;
9753 PyObject * obj1 = 0 ;
9754 PyObject * obj2 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self",(char *) "header",(char *) "pg", NULL
9757 };
9758
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
9760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9761 if (SWIG_arg_fail(1)) SWIG_fail;
9762 {
9763 arg2 = wxString_in_helper(obj1);
9764 if (arg2 == NULL) SWIG_fail;
9765 temp2 = true;
9766 }
9767 if (obj2) {
9768 {
9769 arg3 = static_cast<int >(SWIG_As_int(obj2));
9770 if (SWIG_arg_fail(3)) SWIG_fail;
9771 }
9772 }
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 Py_INCREF(Py_None); resultobj = Py_None;
9781 {
9782 if (temp2)
9783 delete arg2;
9784 }
9785 return resultobj;
9786 fail:
9787 {
9788 if (temp2)
9789 delete arg2;
9790 }
9791 return NULL;
9792 }
9793
9794
9795 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj = NULL;
9797 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9798 wxString *arg2 = 0 ;
9799 int arg3 = (int) wxPAGE_ALL ;
9800 bool temp2 = false ;
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 PyObject * obj2 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self",(char *) "footer",(char *) "pg", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
9809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail;
9811 {
9812 arg2 = wxString_in_helper(obj1);
9813 if (arg2 == NULL) SWIG_fail;
9814 temp2 = true;
9815 }
9816 if (obj2) {
9817 {
9818 arg3 = static_cast<int >(SWIG_As_int(obj2));
9819 if (SWIG_arg_fail(3)) SWIG_fail;
9820 }
9821 }
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9825
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 Py_INCREF(Py_None); resultobj = Py_None;
9830 {
9831 if (temp2)
9832 delete arg2;
9833 }
9834 return resultobj;
9835 fail:
9836 {
9837 if (temp2)
9838 delete arg2;
9839 }
9840 return NULL;
9841 }
9842
9843
9844 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj = NULL;
9846 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9847 wxString arg2 ;
9848 wxString arg3 ;
9849 PyObject *arg4 = (PyObject *) NULL ;
9850 PyObject * obj0 = 0 ;
9851 PyObject * obj1 = 0 ;
9852 PyObject * obj2 = 0 ;
9853 PyObject * obj3 = 0 ;
9854 char *kwnames[] = {
9855 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9860 if (SWIG_arg_fail(1)) SWIG_fail;
9861 {
9862 wxString* sptr = wxString_in_helper(obj1);
9863 if (sptr == NULL) SWIG_fail;
9864 arg2 = *sptr;
9865 delete sptr;
9866 }
9867 {
9868 wxString* sptr = wxString_in_helper(obj2);
9869 if (sptr == NULL) SWIG_fail;
9870 arg3 = *sptr;
9871 delete sptr;
9872 }
9873 if (obj3) {
9874 arg4 = obj3;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9879
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) SWIG_fail;
9882 }
9883 Py_INCREF(Py_None); resultobj = Py_None;
9884 return resultobj;
9885 fail:
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj = NULL;
9892 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9893 int arg2 = (int) -1 ;
9894 wxString const &arg3_defvalue = wxPyEmptyString ;
9895 wxString *arg3 = (wxString *) &arg3_defvalue ;
9896 wxString const &arg4_defvalue = wxPyEmptyString ;
9897 wxString *arg4 = (wxString *) &arg4_defvalue ;
9898 bool temp3 = false ;
9899 bool temp4 = false ;
9900 PyObject * obj0 = 0 ;
9901 PyObject * obj1 = 0 ;
9902 PyObject * obj2 = 0 ;
9903 PyObject * obj3 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail;
9911 if (obj1) {
9912 {
9913 arg2 = static_cast<int >(SWIG_As_int(obj1));
9914 if (SWIG_arg_fail(2)) SWIG_fail;
9915 }
9916 }
9917 if (obj2) {
9918 {
9919 arg3 = wxString_in_helper(obj2);
9920 if (arg3 == NULL) SWIG_fail;
9921 temp3 = true;
9922 }
9923 }
9924 if (obj3) {
9925 {
9926 arg4 = wxString_in_helper(obj3);
9927 if (arg4 == NULL) SWIG_fail;
9928 temp4 = true;
9929 }
9930 }
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 {
9940 if (temp3)
9941 delete arg3;
9942 }
9943 {
9944 if (temp4)
9945 delete arg4;
9946 }
9947 return resultobj;
9948 fail:
9949 {
9950 if (temp3)
9951 delete arg3;
9952 }
9953 {
9954 if (temp4)
9955 delete arg4;
9956 }
9957 return NULL;
9958 }
9959
9960
9961 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9962 PyObject *resultobj = NULL;
9963 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9964 float arg2 = (float) 25.2 ;
9965 float arg3 = (float) 25.2 ;
9966 float arg4 = (float) 25.2 ;
9967 float arg5 = (float) 25.2 ;
9968 float arg6 = (float) 5 ;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971 PyObject * obj2 = 0 ;
9972 PyObject * obj3 = 0 ;
9973 PyObject * obj4 = 0 ;
9974 PyObject * obj5 = 0 ;
9975 char *kwnames[] = {
9976 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9977 };
9978
9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail;
9982 if (obj1) {
9983 {
9984 arg2 = static_cast<float >(SWIG_As_float(obj1));
9985 if (SWIG_arg_fail(2)) SWIG_fail;
9986 }
9987 }
9988 if (obj2) {
9989 {
9990 arg3 = static_cast<float >(SWIG_As_float(obj2));
9991 if (SWIG_arg_fail(3)) SWIG_fail;
9992 }
9993 }
9994 if (obj3) {
9995 {
9996 arg4 = static_cast<float >(SWIG_As_float(obj3));
9997 if (SWIG_arg_fail(4)) SWIG_fail;
9998 }
9999 }
10000 if (obj4) {
10001 {
10002 arg5 = static_cast<float >(SWIG_As_float(obj4));
10003 if (SWIG_arg_fail(5)) SWIG_fail;
10004 }
10005 }
10006 if (obj5) {
10007 {
10008 arg6 = static_cast<float >(SWIG_As_float(obj5));
10009 if (SWIG_arg_fail(6)) SWIG_fail;
10010 }
10011 }
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 Py_INCREF(Py_None); resultobj = Py_None;
10020 return resultobj;
10021 fail:
10022 return NULL;
10023 }
10024
10025
10026 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
10027 PyObject *resultobj = NULL;
10028 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
10029 PyObject * obj0 = 0 ;
10030 char *kwnames[] = {
10031 (char *) "filter", NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
10035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
10036 if (SWIG_arg_fail(1)) SWIG_fail;
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 wxHtmlPrintout::AddFilter(arg1);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj = NULL;
10053 char *kwnames[] = {
10054 NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 wxHtmlPrintout::CleanUpStatics();
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 Py_INCREF(Py_None); resultobj = Py_None;
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
10073 PyObject *obj;
10074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10075 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
10076 Py_INCREF(obj);
10077 return Py_BuildValue((char *)"");
10078 }
10079 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj = NULL;
10081 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
10082 wxString *arg1 = (wxString *) &arg1_defvalue ;
10083 wxWindow *arg2 = (wxWindow *) NULL ;
10084 wxHtmlEasyPrinting *result;
10085 bool temp1 = false ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "name",(char *) "parentWindow", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
10093 if (obj0) {
10094 {
10095 arg1 = wxString_in_helper(obj0);
10096 if (arg1 == NULL) SWIG_fail;
10097 temp1 = true;
10098 }
10099 }
10100 if (obj1) {
10101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10102 if (SWIG_arg_fail(2)) SWIG_fail;
10103 }
10104 {
10105 if (!wxPyCheckForApp()) SWIG_fail;
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
10113 {
10114 if (temp1)
10115 delete arg1;
10116 }
10117 return resultobj;
10118 fail:
10119 {
10120 if (temp1)
10121 delete arg1;
10122 }
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj = NULL;
10129 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
10136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail;
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 delete arg1;
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 Py_INCREF(Py_None); resultobj = Py_None;
10146 return resultobj;
10147 fail:
10148 return NULL;
10149 }
10150
10151
10152 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
10153 PyObject *resultobj = NULL;
10154 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10155 wxString *arg2 = 0 ;
10156 bool temp2 = false ;
10157 PyObject * obj0 = 0 ;
10158 PyObject * obj1 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self",(char *) "htmlfile", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
10164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail;
10166 {
10167 arg2 = wxString_in_helper(obj1);
10168 if (arg2 == NULL) SWIG_fail;
10169 temp2 = true;
10170 }
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 (arg1)->PreviewFile((wxString const &)*arg2);
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 Py_INCREF(Py_None); resultobj = Py_None;
10179 {
10180 if (temp2)
10181 delete arg2;
10182 }
10183 return resultobj;
10184 fail:
10185 {
10186 if (temp2)
10187 delete arg2;
10188 }
10189 return NULL;
10190 }
10191
10192
10193 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
10194 PyObject *resultobj = NULL;
10195 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10196 wxString *arg2 = 0 ;
10197 wxString const &arg3_defvalue = wxPyEmptyString ;
10198 wxString *arg3 = (wxString *) &arg3_defvalue ;
10199 bool temp2 = false ;
10200 bool temp3 = false ;
10201 PyObject * obj0 = 0 ;
10202 PyObject * obj1 = 0 ;
10203 PyObject * obj2 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10210 if (SWIG_arg_fail(1)) SWIG_fail;
10211 {
10212 arg2 = wxString_in_helper(obj1);
10213 if (arg2 == NULL) SWIG_fail;
10214 temp2 = true;
10215 }
10216 if (obj2) {
10217 {
10218 arg3 = wxString_in_helper(obj2);
10219 if (arg3 == NULL) SWIG_fail;
10220 temp3 = true;
10221 }
10222 }
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 Py_INCREF(Py_None); resultobj = Py_None;
10231 {
10232 if (temp2)
10233 delete arg2;
10234 }
10235 {
10236 if (temp3)
10237 delete arg3;
10238 }
10239 return resultobj;
10240 fail:
10241 {
10242 if (temp2)
10243 delete arg2;
10244 }
10245 {
10246 if (temp3)
10247 delete arg3;
10248 }
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj = NULL;
10255 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10256 wxString *arg2 = 0 ;
10257 bool temp2 = false ;
10258 PyObject * obj0 = 0 ;
10259 PyObject * obj1 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "htmlfile", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
10265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail;
10267 {
10268 arg2 = wxString_in_helper(obj1);
10269 if (arg2 == NULL) SWIG_fail;
10270 temp2 = true;
10271 }
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 (arg1)->PrintFile((wxString const &)*arg2);
10275
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 Py_INCREF(Py_None); resultobj = Py_None;
10280 {
10281 if (temp2)
10282 delete arg2;
10283 }
10284 return resultobj;
10285 fail:
10286 {
10287 if (temp2)
10288 delete arg2;
10289 }
10290 return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj = NULL;
10296 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10297 wxString *arg2 = 0 ;
10298 wxString const &arg3_defvalue = wxPyEmptyString ;
10299 wxString *arg3 = (wxString *) &arg3_defvalue ;
10300 bool temp2 = false ;
10301 bool temp3 = false ;
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 PyObject * obj2 = 0 ;
10305 char *kwnames[] = {
10306 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10307 };
10308
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10311 if (SWIG_arg_fail(1)) SWIG_fail;
10312 {
10313 arg2 = wxString_in_helper(obj1);
10314 if (arg2 == NULL) SWIG_fail;
10315 temp2 = true;
10316 }
10317 if (obj2) {
10318 {
10319 arg3 = wxString_in_helper(obj2);
10320 if (arg3 == NULL) SWIG_fail;
10321 temp3 = true;
10322 }
10323 }
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 {
10333 if (temp2)
10334 delete arg2;
10335 }
10336 {
10337 if (temp3)
10338 delete arg3;
10339 }
10340 return resultobj;
10341 fail:
10342 {
10343 if (temp2)
10344 delete arg2;
10345 }
10346 {
10347 if (temp3)
10348 delete arg3;
10349 }
10350 return NULL;
10351 }
10352
10353
10354 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj = NULL;
10356 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10357 PyObject * obj0 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
10363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->PageSetup();
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj = NULL;
10381 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10382 wxString *arg2 = 0 ;
10383 int arg3 = (int) wxPAGE_ALL ;
10384 bool temp2 = false ;
10385 PyObject * obj0 = 0 ;
10386 PyObject * obj1 = 0 ;
10387 PyObject * obj2 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self",(char *) "header",(char *) "pg", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
10393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail;
10395 {
10396 arg2 = wxString_in_helper(obj1);
10397 if (arg2 == NULL) SWIG_fail;
10398 temp2 = true;
10399 }
10400 if (obj2) {
10401 {
10402 arg3 = static_cast<int >(SWIG_As_int(obj2));
10403 if (SWIG_arg_fail(3)) SWIG_fail;
10404 }
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 Py_INCREF(Py_None); resultobj = Py_None;
10414 {
10415 if (temp2)
10416 delete arg2;
10417 }
10418 return resultobj;
10419 fail:
10420 {
10421 if (temp2)
10422 delete arg2;
10423 }
10424 return NULL;
10425 }
10426
10427
10428 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj = NULL;
10430 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10431 wxString *arg2 = 0 ;
10432 int arg3 = (int) wxPAGE_ALL ;
10433 bool temp2 = false ;
10434 PyObject * obj0 = 0 ;
10435 PyObject * obj1 = 0 ;
10436 PyObject * obj2 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self",(char *) "footer",(char *) "pg", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
10442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10443 if (SWIG_arg_fail(1)) SWIG_fail;
10444 {
10445 arg2 = wxString_in_helper(obj1);
10446 if (arg2 == NULL) SWIG_fail;
10447 temp2 = true;
10448 }
10449 if (obj2) {
10450 {
10451 arg3 = static_cast<int >(SWIG_As_int(obj2));
10452 if (SWIG_arg_fail(3)) SWIG_fail;
10453 }
10454 }
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 Py_INCREF(Py_None); resultobj = Py_None;
10463 {
10464 if (temp2)
10465 delete arg2;
10466 }
10467 return resultobj;
10468 fail:
10469 {
10470 if (temp2)
10471 delete arg2;
10472 }
10473 return NULL;
10474 }
10475
10476
10477 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj = NULL;
10479 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10480 wxString arg2 ;
10481 wxString arg3 ;
10482 PyObject *arg4 = (PyObject *) NULL ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 PyObject * obj2 = 0 ;
10486 PyObject * obj3 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail;
10494 {
10495 wxString* sptr = wxString_in_helper(obj1);
10496 if (sptr == NULL) SWIG_fail;
10497 arg2 = *sptr;
10498 delete sptr;
10499 }
10500 {
10501 wxString* sptr = wxString_in_helper(obj2);
10502 if (sptr == NULL) SWIG_fail;
10503 arg3 = *sptr;
10504 delete sptr;
10505 }
10506 if (obj3) {
10507 arg4 = obj3;
10508 }
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 Py_INCREF(Py_None); resultobj = Py_None;
10517 return resultobj;
10518 fail:
10519 return NULL;
10520 }
10521
10522
10523 static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10524 PyObject *resultobj = NULL;
10525 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10526 int arg2 = (int) -1 ;
10527 wxString const &arg3_defvalue = wxPyEmptyString ;
10528 wxString *arg3 = (wxString *) &arg3_defvalue ;
10529 wxString const &arg4_defvalue = wxPyEmptyString ;
10530 wxString *arg4 = (wxString *) &arg4_defvalue ;
10531 bool temp3 = false ;
10532 bool temp4 = false ;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 PyObject * obj2 = 0 ;
10536 PyObject * obj3 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail;
10544 if (obj1) {
10545 {
10546 arg2 = static_cast<int >(SWIG_As_int(obj1));
10547 if (SWIG_arg_fail(2)) SWIG_fail;
10548 }
10549 }
10550 if (obj2) {
10551 {
10552 arg3 = wxString_in_helper(obj2);
10553 if (arg3 == NULL) SWIG_fail;
10554 temp3 = true;
10555 }
10556 }
10557 if (obj3) {
10558 {
10559 arg4 = wxString_in_helper(obj3);
10560 if (arg4 == NULL) SWIG_fail;
10561 temp4 = true;
10562 }
10563 }
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 Py_INCREF(Py_None); resultobj = Py_None;
10572 {
10573 if (temp3)
10574 delete arg3;
10575 }
10576 {
10577 if (temp4)
10578 delete arg4;
10579 }
10580 return resultobj;
10581 fail:
10582 {
10583 if (temp3)
10584 delete arg3;
10585 }
10586 {
10587 if (temp4)
10588 delete arg4;
10589 }
10590 return NULL;
10591 }
10592
10593
10594 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
10595 PyObject *resultobj = NULL;
10596 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10597 wxPrintData *result;
10598 PyObject * obj0 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
10604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (wxPrintData *)(arg1)->GetPrintData();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj = NULL;
10622 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10623 wxPageSetupDialogData *result;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
10630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail;
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
10640 return resultobj;
10641 fail:
10642 return NULL;
10643 }
10644
10645
10646 static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
10647 PyObject *obj;
10648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10650 Py_INCREF(obj);
10651 return Py_BuildValue((char *)"");
10652 }
10653 static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj = NULL;
10655 wxString *arg1 = 0 ;
10656 wxString *arg2 = 0 ;
10657 wxString *arg3 = 0 ;
10658 wxString *arg4 = 0 ;
10659 wxHtmlBookRecord *result;
10660 bool temp1 = false ;
10661 bool temp2 = false ;
10662 bool temp3 = false ;
10663 bool temp4 = false ;
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 PyObject * obj2 = 0 ;
10667 PyObject * obj3 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10673 {
10674 arg1 = wxString_in_helper(obj0);
10675 if (arg1 == NULL) SWIG_fail;
10676 temp1 = true;
10677 }
10678 {
10679 arg2 = wxString_in_helper(obj1);
10680 if (arg2 == NULL) SWIG_fail;
10681 temp2 = true;
10682 }
10683 {
10684 arg3 = wxString_in_helper(obj2);
10685 if (arg3 == NULL) SWIG_fail;
10686 temp3 = true;
10687 }
10688 {
10689 arg4 = wxString_in_helper(obj3);
10690 if (arg4 == NULL) SWIG_fail;
10691 temp4 = true;
10692 }
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10696
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
10701 {
10702 if (temp1)
10703 delete arg1;
10704 }
10705 {
10706 if (temp2)
10707 delete arg2;
10708 }
10709 {
10710 if (temp3)
10711 delete arg3;
10712 }
10713 {
10714 if (temp4)
10715 delete arg4;
10716 }
10717 return resultobj;
10718 fail:
10719 {
10720 if (temp1)
10721 delete arg1;
10722 }
10723 {
10724 if (temp2)
10725 delete arg2;
10726 }
10727 {
10728 if (temp3)
10729 delete arg3;
10730 }
10731 {
10732 if (temp4)
10733 delete arg4;
10734 }
10735 return NULL;
10736 }
10737
10738
10739 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj = NULL;
10741 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10742 wxString result;
10743 PyObject * obj0 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
10749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(1)) SWIG_fail;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (arg1)->GetBookFile();
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 {
10759 #if wxUSE_UNICODE
10760 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10761 #else
10762 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10763 #endif
10764 }
10765 return resultobj;
10766 fail:
10767 return NULL;
10768 }
10769
10770
10771 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj = NULL;
10773 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10774 wxString result;
10775 PyObject * obj0 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "self", NULL
10778 };
10779
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
10781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail;
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 result = (arg1)->GetTitle();
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 {
10791 #if wxUSE_UNICODE
10792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10793 #else
10794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10795 #endif
10796 }
10797 return resultobj;
10798 fail:
10799 return NULL;
10800 }
10801
10802
10803 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
10804 PyObject *resultobj = NULL;
10805 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10806 wxString result;
10807 PyObject * obj0 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
10813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 result = (arg1)->GetStart();
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 {
10823 #if wxUSE_UNICODE
10824 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10825 #else
10826 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10827 #endif
10828 }
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj = NULL;
10837 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10838 wxString result;
10839 PyObject * obj0 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
10845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail;
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 result = (arg1)->GetBasePath();
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 {
10855 #if wxUSE_UNICODE
10856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10857 #else
10858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10859 #endif
10860 }
10861 return resultobj;
10862 fail:
10863 return NULL;
10864 }
10865
10866
10867 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj = NULL;
10869 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10870 int arg2 ;
10871 int arg3 ;
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 PyObject * obj2 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self",(char *) "start",(char *) "end", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail;
10882 {
10883 arg2 = static_cast<int >(SWIG_As_int(obj1));
10884 if (SWIG_arg_fail(2)) SWIG_fail;
10885 }
10886 {
10887 arg3 = static_cast<int >(SWIG_As_int(obj2));
10888 if (SWIG_arg_fail(3)) SWIG_fail;
10889 }
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 (arg1)->SetContentsRange(arg2,arg3);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 Py_INCREF(Py_None); resultobj = Py_None;
10898 return resultobj;
10899 fail:
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj = NULL;
10906 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10907 int result;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
10914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10915 if (SWIG_arg_fail(1)) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (int)(arg1)->GetContentsStart();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 {
10924 resultobj = SWIG_From_int(static_cast<int >(result));
10925 }
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj = NULL;
10934 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10935 int result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
10942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail;
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (int)(arg1)->GetContentsEnd();
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 {
10952 resultobj = SWIG_From_int(static_cast<int >(result));
10953 }
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj = NULL;
10962 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10963 wxString *arg2 = 0 ;
10964 bool temp2 = false ;
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self",(char *) "title", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
10972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10973 if (SWIG_arg_fail(1)) SWIG_fail;
10974 {
10975 arg2 = wxString_in_helper(obj1);
10976 if (arg2 == NULL) SWIG_fail;
10977 temp2 = true;
10978 }
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 (arg1)->SetTitle((wxString const &)*arg2);
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 Py_INCREF(Py_None); resultobj = Py_None;
10987 {
10988 if (temp2)
10989 delete arg2;
10990 }
10991 return resultobj;
10992 fail:
10993 {
10994 if (temp2)
10995 delete arg2;
10996 }
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj = NULL;
11003 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
11004 wxString *arg2 = 0 ;
11005 bool temp2 = false ;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "path", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
11013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail;
11015 {
11016 arg2 = wxString_in_helper(obj1);
11017 if (arg2 == NULL) SWIG_fail;
11018 temp2 = true;
11019 }
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 (arg1)->SetBasePath((wxString const &)*arg2);
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 Py_INCREF(Py_None); resultobj = Py_None;
11028 {
11029 if (temp2)
11030 delete arg2;
11031 }
11032 return resultobj;
11033 fail:
11034 {
11035 if (temp2)
11036 delete arg2;
11037 }
11038 return NULL;
11039 }
11040
11041
11042 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj = NULL;
11044 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
11045 wxString *arg2 = 0 ;
11046 bool temp2 = false ;
11047 PyObject * obj0 = 0 ;
11048 PyObject * obj1 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self",(char *) "start", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
11054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail;
11056 {
11057 arg2 = wxString_in_helper(obj1);
11058 if (arg2 == NULL) SWIG_fail;
11059 temp2 = true;
11060 }
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 (arg1)->SetStart((wxString const &)*arg2);
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 {
11070 if (temp2)
11071 delete arg2;
11072 }
11073 return resultobj;
11074 fail:
11075 {
11076 if (temp2)
11077 delete arg2;
11078 }
11079 return NULL;
11080 }
11081
11082
11083 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj = NULL;
11085 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
11086 wxString *arg2 = 0 ;
11087 wxString result;
11088 bool temp2 = false ;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self",(char *) "page", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
11096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
11097 if (SWIG_arg_fail(1)) SWIG_fail;
11098 {
11099 arg2 = wxString_in_helper(obj1);
11100 if (arg2 == NULL) SWIG_fail;
11101 temp2 = true;
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 {
11111 #if wxUSE_UNICODE
11112 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11113 #else
11114 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11115 #endif
11116 }
11117 {
11118 if (temp2)
11119 delete arg2;
11120 }
11121 return resultobj;
11122 fail:
11123 {
11124 if (temp2)
11125 delete arg2;
11126 }
11127 return NULL;
11128 }
11129
11130
11131 static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
11132 PyObject *obj;
11133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11134 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
11135 Py_INCREF(obj);
11136 return Py_BuildValue((char *)"");
11137 }
11138 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj = NULL;
11140 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11141 bool result;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
11148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (bool)(arg1)->Search();
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 {
11158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11159 }
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
11167 PyObject *resultobj = NULL;
11168 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11169 bool result;
11170 PyObject * obj0 = 0 ;
11171 char *kwnames[] = {
11172 (char *) "self", NULL
11173 };
11174
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
11176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11177 if (SWIG_arg_fail(1)) SWIG_fail;
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 result = (bool)(arg1)->IsActive();
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 {
11186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11187 }
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj = NULL;
11196 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11197 int result;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
11204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail;
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 result = (int)(arg1)->GetCurIndex();
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 {
11214 resultobj = SWIG_From_int(static_cast<int >(result));
11215 }
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj = NULL;
11224 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11225 int result;
11226 PyObject * obj0 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
11232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail;
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (int)(arg1)->GetMaxIndex();
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 {
11242 resultobj = SWIG_From_int(static_cast<int >(result));
11243 }
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj = NULL;
11252 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11253 wxString *result;
11254 PyObject * obj0 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
11260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail;
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 {
11265 wxString const &_result_ref = (arg1)->GetName();
11266 result = (wxString *) &_result_ref;
11267 }
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 {
11273 #if wxUSE_UNICODE
11274 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11275 #else
11276 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11277 #endif
11278 }
11279 return resultobj;
11280 fail:
11281 return NULL;
11282 }
11283
11284
11285 static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
11286 PyObject *obj;
11287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11289 Py_INCREF(obj);
11290 return Py_BuildValue((char *)"");
11291 }
11292 static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj = NULL;
11294 wxHtmlHelpData *result;
11295 char *kwnames[] = {
11296 NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11303
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
11308 return resultobj;
11309 fail:
11310 return NULL;
11311 }
11312
11313
11314 static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11315 PyObject *resultobj = NULL;
11316 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11317 PyObject * obj0 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
11323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail;
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 delete arg1;
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 Py_INCREF(Py_None); resultobj = Py_None;
11333 return resultobj;
11334 fail:
11335 return NULL;
11336 }
11337
11338
11339 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj = NULL;
11341 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11342 wxString *arg2 = 0 ;
11343 bool temp2 = false ;
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self",(char *) "path", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
11351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11352 if (SWIG_arg_fail(1)) SWIG_fail;
11353 {
11354 arg2 = wxString_in_helper(obj1);
11355 if (arg2 == NULL) SWIG_fail;
11356 temp2 = true;
11357 }
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 (arg1)->SetTempDir((wxString const &)*arg2);
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 Py_INCREF(Py_None); resultobj = Py_None;
11366 {
11367 if (temp2)
11368 delete arg2;
11369 }
11370 return resultobj;
11371 fail:
11372 {
11373 if (temp2)
11374 delete arg2;
11375 }
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj = NULL;
11382 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11383 wxString *arg2 = 0 ;
11384 bool result;
11385 bool temp2 = false ;
11386 PyObject * obj0 = 0 ;
11387 PyObject * obj1 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self",(char *) "book", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
11393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail;
11395 {
11396 arg2 = wxString_in_helper(obj1);
11397 if (arg2 == NULL) SWIG_fail;
11398 temp2 = true;
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 {
11408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11409 }
11410 {
11411 if (temp2)
11412 delete arg2;
11413 }
11414 return resultobj;
11415 fail:
11416 {
11417 if (temp2)
11418 delete arg2;
11419 }
11420 return NULL;
11421 }
11422
11423
11424 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj = NULL;
11426 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11427 wxString *arg2 = 0 ;
11428 wxString result;
11429 bool temp2 = false ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "page", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
11437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail;
11439 {
11440 arg2 = wxString_in_helper(obj1);
11441 if (arg2 == NULL) SWIG_fail;
11442 temp2 = true;
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (arg1)->FindPageByName((wxString const &)*arg2);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 #if wxUSE_UNICODE
11453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11454 #else
11455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11456 #endif
11457 }
11458 {
11459 if (temp2)
11460 delete arg2;
11461 }
11462 return resultobj;
11463 fail:
11464 {
11465 if (temp2)
11466 delete arg2;
11467 }
11468 return NULL;
11469 }
11470
11471
11472 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj = NULL;
11474 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11475 int arg2 ;
11476 wxString result;
11477 PyObject * obj0 = 0 ;
11478 PyObject * obj1 = 0 ;
11479 char *kwnames[] = {
11480 (char *) "self",(char *) "id", NULL
11481 };
11482
11483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
11484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11485 if (SWIG_arg_fail(1)) SWIG_fail;
11486 {
11487 arg2 = static_cast<int >(SWIG_As_int(obj1));
11488 if (SWIG_arg_fail(2)) SWIG_fail;
11489 }
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = (arg1)->FindPageById(arg2);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 {
11498 #if wxUSE_UNICODE
11499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11500 #else
11501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11502 #endif
11503 }
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj = NULL;
11512 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11513 wxHtmlBookRecArray *result;
11514 PyObject * obj0 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
11520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail;
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 {
11525 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11526 result = (wxHtmlBookRecArray *) &_result_ref;
11527 }
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
11540 PyObject *obj;
11541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11542 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11543 Py_INCREF(obj);
11544 return Py_BuildValue((char *)"");
11545 }
11546 static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj = NULL;
11548 wxWindow *arg1 = (wxWindow *) 0 ;
11549 int arg2 ;
11550 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11551 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11552 wxSize const &arg4_defvalue = wxDefaultSize ;
11553 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11554 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11555 int arg6 = (int) wxHF_DEFAULT_STYLE ;
11556 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
11557 wxHtmlHelpWindow *result;
11558 wxPoint temp3 ;
11559 wxSize temp4 ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 PyObject * obj2 = 0 ;
11563 PyObject * obj3 = 0 ;
11564 PyObject * obj4 = 0 ;
11565 PyObject * obj5 = 0 ;
11566 PyObject * obj6 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11573 if (SWIG_arg_fail(1)) SWIG_fail;
11574 {
11575 arg2 = static_cast<int >(SWIG_As_int(obj1));
11576 if (SWIG_arg_fail(2)) SWIG_fail;
11577 }
11578 if (obj2) {
11579 {
11580 arg3 = &temp3;
11581 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11582 }
11583 }
11584 if (obj3) {
11585 {
11586 arg4 = &temp4;
11587 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11588 }
11589 }
11590 if (obj4) {
11591 {
11592 arg5 = static_cast<int >(SWIG_As_int(obj4));
11593 if (SWIG_arg_fail(5)) SWIG_fail;
11594 }
11595 }
11596 if (obj5) {
11597 {
11598 arg6 = static_cast<int >(SWIG_As_int(obj5));
11599 if (SWIG_arg_fail(6)) SWIG_fail;
11600 }
11601 }
11602 if (obj6) {
11603 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11604 if (SWIG_arg_fail(7)) SWIG_fail;
11605 }
11606 {
11607 if (!wxPyCheckForApp()) SWIG_fail;
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj = NULL;
11623 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
11624 wxHtmlHelpWindow *result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "data", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) goto fail;
11631 if (obj0) {
11632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail;
11634 }
11635 {
11636 if (!wxPyCheckForApp()) SWIG_fail;
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1);
11644 return resultobj;
11645 fail:
11646 return NULL;
11647 }
11648
11649
11650 static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj = NULL;
11652 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11653 wxWindow *arg2 = (wxWindow *) 0 ;
11654 int arg3 ;
11655 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11656 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11657 wxSize const &arg5_defvalue = wxDefaultSize ;
11658 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11659 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
11660 int arg7 = (int) wxHF_DEFAULT_STYLE ;
11661 bool result;
11662 wxPoint temp4 ;
11663 wxSize temp5 ;
11664 PyObject * obj0 = 0 ;
11665 PyObject * obj1 = 0 ;
11666 PyObject * obj2 = 0 ;
11667 PyObject * obj3 = 0 ;
11668 PyObject * obj4 = 0 ;
11669 PyObject * obj5 = 0 ;
11670 PyObject * obj6 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail;
11678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11679 if (SWIG_arg_fail(2)) SWIG_fail;
11680 {
11681 arg3 = static_cast<int >(SWIG_As_int(obj2));
11682 if (SWIG_arg_fail(3)) SWIG_fail;
11683 }
11684 if (obj3) {
11685 {
11686 arg4 = &temp4;
11687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11688 }
11689 }
11690 if (obj4) {
11691 {
11692 arg5 = &temp5;
11693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11694 }
11695 }
11696 if (obj5) {
11697 {
11698 arg6 = static_cast<int >(SWIG_As_int(obj5));
11699 if (SWIG_arg_fail(6)) SWIG_fail;
11700 }
11701 }
11702 if (obj6) {
11703 {
11704 arg7 = static_cast<int >(SWIG_As_int(obj6));
11705 if (SWIG_arg_fail(7)) SWIG_fail;
11706 }
11707 }
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 {
11716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11717 }
11718 return resultobj;
11719 fail:
11720 return NULL;
11721 }
11722
11723
11724 static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj = NULL;
11726 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11727 wxHtmlHelpData *result;
11728 PyObject * obj0 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetData",kwnames,&obj0)) goto fail;
11734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11735 if (SWIG_arg_fail(1)) SWIG_fail;
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 result = (wxHtmlHelpData *)(arg1)->GetData();
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
11744 return resultobj;
11745 fail:
11746 return NULL;
11747 }
11748
11749
11750 static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj = NULL;
11752 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11753 wxHtmlHelpController *result;
11754 PyObject * obj0 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetController",kwnames,&obj0)) goto fail;
11760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail;
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
11770 return resultobj;
11771 fail:
11772 return NULL;
11773 }
11774
11775
11776 static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj = NULL;
11778 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11779 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
11780 PyObject * obj0 = 0 ;
11781 PyObject * obj1 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "self",(char *) "controller", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) goto fail;
11787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11788 if (SWIG_arg_fail(1)) SWIG_fail;
11789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
11790 if (SWIG_arg_fail(2)) SWIG_fail;
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 (arg1)->SetController(arg2);
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 Py_INCREF(Py_None); resultobj = Py_None;
11799 return resultobj;
11800 fail:
11801 return NULL;
11802 }
11803
11804
11805 static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj = NULL;
11807 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11808 wxString *arg2 = 0 ;
11809 bool result;
11810 bool temp2 = false ;
11811 PyObject * obj0 = 0 ;
11812 PyObject * obj1 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self",(char *) "x", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) goto fail;
11818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail;
11820 {
11821 arg2 = wxString_in_helper(obj1);
11822 if (arg2 == NULL) SWIG_fail;
11823 temp2 = true;
11824 }
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 result = (bool)(arg1)->Display((wxString const &)*arg2);
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 {
11833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11834 }
11835 {
11836 if (temp2)
11837 delete arg2;
11838 }
11839 return resultobj;
11840 fail:
11841 {
11842 if (temp2)
11843 delete arg2;
11844 }
11845 return NULL;
11846 }
11847
11848
11849 static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj = NULL;
11851 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11852 int arg2 ;
11853 bool result;
11854 PyObject * obj0 = 0 ;
11855 PyObject * obj1 = 0 ;
11856 char *kwnames[] = {
11857 (char *) "self",(char *) "id", NULL
11858 };
11859
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) goto fail;
11861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11862 if (SWIG_arg_fail(1)) SWIG_fail;
11863 {
11864 arg2 = static_cast<int >(SWIG_As_int(obj1));
11865 if (SWIG_arg_fail(2)) SWIG_fail;
11866 }
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 result = (bool)(arg1)->Display(arg2);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
11874 {
11875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11876 }
11877 return resultobj;
11878 fail:
11879 return NULL;
11880 }
11881
11882
11883 static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj = NULL;
11885 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11886 bool result;
11887 PyObject * obj0 = 0 ;
11888 char *kwnames[] = {
11889 (char *) "self", NULL
11890 };
11891
11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames,&obj0)) goto fail;
11893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11894 if (SWIG_arg_fail(1)) SWIG_fail;
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 result = (bool)(arg1)->DisplayContents();
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 {
11903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11904 }
11905 return resultobj;
11906 fail:
11907 return NULL;
11908 }
11909
11910
11911 static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj = NULL;
11913 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11914 bool result;
11915 PyObject * obj0 = 0 ;
11916 char *kwnames[] = {
11917 (char *) "self", NULL
11918 };
11919
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames,&obj0)) goto fail;
11921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11922 if (SWIG_arg_fail(1)) SWIG_fail;
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 result = (bool)(arg1)->DisplayIndex();
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 {
11931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11932 }
11933 return resultobj;
11934 fail:
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = NULL;
11941 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
11942 wxString *arg2 = 0 ;
11943 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
11944 bool result;
11945 bool temp2 = false ;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 PyObject * obj2 = 0 ;
11949 char *kwnames[] = {
11950 (char *) "self",(char *) "keyword",(char *) "mode", NULL
11951 };
11952
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
11954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
11955 if (SWIG_arg_fail(1)) SWIG_fail;
11956 {
11957 arg2 = wxString_in_helper(obj1);
11958 if (arg2 == NULL) SWIG_fail;
11959 temp2 = true;
11960 }
11961 if (obj2) {
11962 {
11963 wxHelpSearchMode * argp;
11964 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
11965 if (SWIG_arg_fail(3)) SWIG_fail;
11966 if (argp == NULL) {
11967 SWIG_null_ref("wxHelpSearchMode");
11968 }
11969 if (SWIG_arg_fail(3)) SWIG_fail;
11970 arg3 = *argp;
11971 }
11972 }
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 {
11981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11982 }
11983 {
11984 if (temp2)
11985 delete arg2;
11986 }
11987 return resultobj;
11988 fail:
11989 {
11990 if (temp2)
11991 delete arg2;
11992 }
11993 return NULL;
11994 }
11995
11996
11997 static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj = NULL;
11999 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12000 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12001 wxString const &arg3_defvalue = wxEmptyString ;
12002 wxString *arg3 = (wxString *) &arg3_defvalue ;
12003 bool temp3 = false ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 PyObject * obj2 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
12012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12013 if (SWIG_arg_fail(1)) SWIG_fail;
12014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12015 if (SWIG_arg_fail(2)) SWIG_fail;
12016 if (obj2) {
12017 {
12018 arg3 = wxString_in_helper(obj2);
12019 if (arg3 == NULL) SWIG_fail;
12020 temp3 = true;
12021 }
12022 }
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 Py_INCREF(Py_None); resultobj = Py_None;
12031 {
12032 if (temp3)
12033 delete arg3;
12034 }
12035 return resultobj;
12036 fail:
12037 {
12038 if (temp3)
12039 delete arg3;
12040 }
12041 return NULL;
12042 }
12043
12044
12045 static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
12046 PyObject *resultobj = NULL;
12047 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12048 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12049 wxString const &arg3_defvalue = wxEmptyString ;
12050 wxString *arg3 = (wxString *) &arg3_defvalue ;
12051 bool temp3 = false ;
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 PyObject * obj2 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self",(char *) "cfg",(char *) "path", NULL
12057 };
12058
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail;
12062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12063 if (SWIG_arg_fail(2)) SWIG_fail;
12064 if (obj2) {
12065 {
12066 arg3 = wxString_in_helper(obj2);
12067 if (arg3 == NULL) SWIG_fail;
12068 temp3 = true;
12069 }
12070 }
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 {
12080 if (temp3)
12081 delete arg3;
12082 }
12083 return resultobj;
12084 fail:
12085 {
12086 if (temp3)
12087 delete arg3;
12088 }
12089 return NULL;
12090 }
12091
12092
12093 static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
12094 PyObject *resultobj = NULL;
12095 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12096 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12097 wxString const &arg3_defvalue = wxEmptyString ;
12098 wxString *arg3 = (wxString *) &arg3_defvalue ;
12099 bool temp3 = false ;
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 PyObject * obj2 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "self",(char *) "cfg",(char *) "path", NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12109 if (SWIG_arg_fail(1)) SWIG_fail;
12110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12111 if (SWIG_arg_fail(2)) SWIG_fail;
12112 if (obj2) {
12113 {
12114 arg3 = wxString_in_helper(obj2);
12115 if (arg3 == NULL) SWIG_fail;
12116 temp3 = true;
12117 }
12118 }
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
12127 {
12128 if (temp3)
12129 delete arg3;
12130 }
12131 return resultobj;
12132 fail:
12133 {
12134 if (temp3)
12135 delete arg3;
12136 }
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj = NULL;
12143 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames,&obj0)) goto fail;
12150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail;
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 (arg1)->NotifyPageChanged();
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 Py_INCREF(Py_None); resultobj = Py_None;
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj = NULL;
12168 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames,&obj0)) goto fail;
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 (arg1)->RefreshLists();
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 Py_INCREF(Py_None); resultobj = Py_None;
12185 return resultobj;
12186 fail:
12187 return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj = NULL;
12193 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12194 wxHtmlWindow *result;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames,&obj0)) goto fail;
12201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail;
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
12206
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
12210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindow, 0);
12211 return resultobj;
12212 fail:
12213 return NULL;
12214 }
12215
12216
12217 static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj = NULL;
12219 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12220 wxSplitterWindow *result;
12221 PyObject * obj0 = 0 ;
12222 char *kwnames[] = {
12223 (char *) "self", NULL
12224 };
12225
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames,&obj0)) goto fail;
12227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12228 if (SWIG_arg_fail(1)) SWIG_fail;
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
12236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 0);
12237 return resultobj;
12238 fail:
12239 return NULL;
12240 }
12241
12242
12243 static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
12244 PyObject *resultobj = NULL;
12245 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12246 wxToolBar *result;
12247 PyObject * obj0 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames,&obj0)) goto fail;
12253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12254 if (SWIG_arg_fail(1)) SWIG_fail;
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 {
12263 resultobj = wxPyMake_wxObject(result, (bool)0);
12264 }
12265 return resultobj;
12266 fail:
12267 return NULL;
12268 }
12269
12270
12271 static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) {
12272 PyObject *resultobj = NULL;
12273 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12274 wxHtmlHelpFrameCfg *result;
12275 PyObject * obj0 = 0 ;
12276 char *kwnames[] = {
12277 (char *) "self", NULL
12278 };
12279
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames,&obj0)) goto fail;
12281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail;
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 {
12286 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
12287 result = (wxHtmlHelpFrameCfg *) &_result_ref;
12288 }
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0);
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj = NULL;
12302 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
12303 wxTreeCtrl *result;
12304 PyObject * obj0 = 0 ;
12305 char *kwnames[] = {
12306 (char *) "self", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
12310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail;
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0);
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) {
12327 PyObject *obj;
12328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12329 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow, obj);
12330 Py_INCREF(obj);
12331 return Py_BuildValue((char *)"");
12332 }
12333 static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj = NULL;
12335 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12336 int arg2 = (int) 0 ;
12337 wxHtmlWindowEvent *result;
12338 PyObject * obj0 = 0 ;
12339 PyObject * obj1 = 0 ;
12340 char *kwnames[] = {
12341 (char *) "commandType",(char *) "id", NULL
12342 };
12343
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) goto fail;
12345 if (obj0) {
12346 {
12347 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
12348 if (SWIG_arg_fail(1)) SWIG_fail;
12349 }
12350 }
12351 if (obj1) {
12352 {
12353 arg2 = static_cast<int >(SWIG_As_int(obj1));
12354 if (SWIG_arg_fail(2)) SWIG_fail;
12355 }
12356 }
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindowEvent, 1);
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj = NULL;
12373 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12374 wxString *arg2 = 0 ;
12375 bool temp2 = false ;
12376 PyObject * obj0 = 0 ;
12377 PyObject * obj1 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self",(char *) "url", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) goto fail;
12383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail;
12385 {
12386 arg2 = wxString_in_helper(obj1);
12387 if (arg2 == NULL) SWIG_fail;
12388 temp2 = true;
12389 }
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 (arg1)->SetURL((wxString const &)*arg2);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 Py_INCREF(Py_None); resultobj = Py_None;
12398 {
12399 if (temp2)
12400 delete arg2;
12401 }
12402 return resultobj;
12403 fail:
12404 {
12405 if (temp2)
12406 delete arg2;
12407 }
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj = NULL;
12414 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
12415 wxString *result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindowEvent_GetURL",kwnames,&obj0)) goto fail;
12422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail;
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 {
12427 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
12428 result = (wxString *) &_result_ref;
12429 }
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 {
12435 #if wxUSE_UNICODE
12436 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12437 #else
12438 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12439 #endif
12440 }
12441 return resultobj;
12442 fail:
12443 return NULL;
12444 }
12445
12446
12447 static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) {
12448 PyObject *obj;
12449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12450 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent, obj);
12451 Py_INCREF(obj);
12452 return Py_BuildValue((char *)"");
12453 }
12454 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12455 PyObject *resultobj = NULL;
12456 wxWindow *arg1 = (wxWindow *) 0 ;
12457 int arg2 ;
12458 wxString const &arg3_defvalue = wxPyEmptyString ;
12459 wxString *arg3 = (wxString *) &arg3_defvalue ;
12460 int arg4 = (int) wxHF_DEFAULTSTYLE ;
12461 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12462 wxHtmlHelpFrame *result;
12463 bool temp3 = false ;
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 PyObject * obj2 = 0 ;
12467 PyObject * obj3 = 0 ;
12468 PyObject * obj4 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12475 if (SWIG_arg_fail(1)) SWIG_fail;
12476 {
12477 arg2 = static_cast<int >(SWIG_As_int(obj1));
12478 if (SWIG_arg_fail(2)) SWIG_fail;
12479 }
12480 if (obj2) {
12481 {
12482 arg3 = wxString_in_helper(obj2);
12483 if (arg3 == NULL) SWIG_fail;
12484 temp3 = true;
12485 }
12486 }
12487 if (obj3) {
12488 {
12489 arg4 = static_cast<int >(SWIG_As_int(obj3));
12490 if (SWIG_arg_fail(4)) SWIG_fail;
12491 }
12492 }
12493 if (obj4) {
12494 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12495 if (SWIG_arg_fail(5)) SWIG_fail;
12496 }
12497 {
12498 if (!wxPyCheckForApp()) SWIG_fail;
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
12506 {
12507 if (temp3)
12508 delete arg3;
12509 }
12510 return resultobj;
12511 fail:
12512 {
12513 if (temp3)
12514 delete arg3;
12515 }
12516 return NULL;
12517 }
12518
12519
12520 static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj = NULL;
12522 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12523 wxHtmlHelpFrame *result;
12524 PyObject * obj0 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "data", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) goto fail;
12530 if (obj0) {
12531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail;
12533 }
12534 {
12535 if (!wxPyCheckForApp()) SWIG_fail;
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
12543 return resultobj;
12544 fail:
12545 return NULL;
12546 }
12547
12548
12549 static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj = NULL;
12551 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12552 wxWindow *arg2 = (wxWindow *) 0 ;
12553 int arg3 ;
12554 wxString const &arg4_defvalue = wxPyEmptyString ;
12555 wxString *arg4 = (wxString *) &arg4_defvalue ;
12556 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12557 bool result;
12558 bool temp4 = false ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj1 = 0 ;
12561 PyObject * obj2 = 0 ;
12562 PyObject * obj3 = 0 ;
12563 PyObject * obj4 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12570 if (SWIG_arg_fail(1)) SWIG_fail;
12571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12572 if (SWIG_arg_fail(2)) SWIG_fail;
12573 {
12574 arg3 = static_cast<int >(SWIG_As_int(obj2));
12575 if (SWIG_arg_fail(3)) SWIG_fail;
12576 }
12577 if (obj3) {
12578 {
12579 arg4 = wxString_in_helper(obj3);
12580 if (arg4 == NULL) SWIG_fail;
12581 temp4 = true;
12582 }
12583 }
12584 if (obj4) {
12585 {
12586 arg5 = static_cast<int >(SWIG_As_int(obj4));
12587 if (SWIG_arg_fail(5)) SWIG_fail;
12588 }
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 {
12598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12599 }
12600 {
12601 if (temp4)
12602 delete arg4;
12603 }
12604 return resultobj;
12605 fail:
12606 {
12607 if (temp4)
12608 delete arg4;
12609 }
12610 return NULL;
12611 }
12612
12613
12614 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj = NULL;
12616 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12617 wxHtmlHelpData *result;
12618 PyObject * obj0 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
12624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12625 if (SWIG_arg_fail(1)) SWIG_fail;
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 result = (wxHtmlHelpData *)(arg1)->GetData();
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12634 return resultobj;
12635 fail:
12636 return NULL;
12637 }
12638
12639
12640 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj = NULL;
12642 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12643 wxString *arg2 = 0 ;
12644 bool temp2 = false ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self",(char *) "format", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
12652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail;
12654 {
12655 arg2 = wxString_in_helper(obj1);
12656 if (arg2 == NULL) SWIG_fail;
12657 temp2 = true;
12658 }
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 (arg1)->SetTitleFormat((wxString const &)*arg2);
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 Py_INCREF(Py_None); resultobj = Py_None;
12667 {
12668 if (temp2)
12669 delete arg2;
12670 }
12671 return resultobj;
12672 fail:
12673 {
12674 if (temp2)
12675 delete arg2;
12676 }
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj = NULL;
12683 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames,&obj0)) goto fail;
12690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->AddGrabIfNeeded();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj = NULL;
12708 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12709 wxHtmlHelpController *result;
12710 PyObject * obj0 = 0 ;
12711 char *kwnames[] = {
12712 (char *) "self", NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetController",kwnames,&obj0)) goto fail;
12716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12717 if (SWIG_arg_fail(1)) SWIG_fail;
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
12726 return resultobj;
12727 fail:
12728 return NULL;
12729 }
12730
12731
12732 static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj = NULL;
12734 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12735 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
12736 PyObject * obj0 = 0 ;
12737 PyObject * obj1 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "controller", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) goto fail;
12743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail;
12745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
12746 if (SWIG_arg_fail(2)) SWIG_fail;
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->SetController(arg2);
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj = NULL;
12763 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
12764 wxHtmlHelpWindow *result;
12765 PyObject * obj0 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames,&obj0)) goto fail;
12771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
12776
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 {
12781 resultobj = wxPyMake_wxObject(result, 0);
12782 }
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
12790 PyObject *obj;
12791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12792 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
12793 Py_INCREF(obj);
12794 return Py_BuildValue((char *)"");
12795 }
12796 static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj = NULL;
12798 wxWindow *arg1 = (wxWindow *) 0 ;
12799 int arg2 ;
12800 wxString const &arg3_defvalue = wxPyEmptyString ;
12801 wxString *arg3 = (wxString *) &arg3_defvalue ;
12802 int arg4 = (int) wxHF_DEFAULT_STYLE ;
12803 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
12804 wxHtmlHelpDialog *result;
12805 bool temp3 = false ;
12806 PyObject * obj0 = 0 ;
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
12809 PyObject * obj3 = 0 ;
12810 PyObject * obj4 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12817 if (SWIG_arg_fail(1)) SWIG_fail;
12818 {
12819 arg2 = static_cast<int >(SWIG_As_int(obj1));
12820 if (SWIG_arg_fail(2)) SWIG_fail;
12821 }
12822 if (obj2) {
12823 {
12824 arg3 = wxString_in_helper(obj2);
12825 if (arg3 == NULL) SWIG_fail;
12826 temp3 = true;
12827 }
12828 }
12829 if (obj3) {
12830 {
12831 arg4 = static_cast<int >(SWIG_As_int(obj3));
12832 if (SWIG_arg_fail(4)) SWIG_fail;
12833 }
12834 }
12835 if (obj4) {
12836 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12837 if (SWIG_arg_fail(5)) SWIG_fail;
12838 }
12839 {
12840 if (!wxPyCheckForApp()) SWIG_fail;
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12848 {
12849 if (temp3)
12850 delete arg3;
12851 }
12852 return resultobj;
12853 fail:
12854 {
12855 if (temp3)
12856 delete arg3;
12857 }
12858 return NULL;
12859 }
12860
12861
12862 static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj = NULL;
12864 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
12865 wxHtmlHelpDialog *result;
12866 PyObject * obj0 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "data", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) goto fail;
12872 if (obj0) {
12873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail;
12875 }
12876 {
12877 if (!wxPyCheckForApp()) SWIG_fail;
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj = NULL;
12893 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12894 wxWindow *arg2 = (wxWindow *) 0 ;
12895 int arg3 ;
12896 wxString const &arg4_defvalue = wxPyEmptyString ;
12897 wxString *arg4 = (wxString *) &arg4_defvalue ;
12898 int arg5 = (int) wxHF_DEFAULT_STYLE ;
12899 bool result;
12900 bool temp4 = false ;
12901 PyObject * obj0 = 0 ;
12902 PyObject * obj1 = 0 ;
12903 PyObject * obj2 = 0 ;
12904 PyObject * obj3 = 0 ;
12905 PyObject * obj4 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail;
12913 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12914 if (SWIG_arg_fail(2)) SWIG_fail;
12915 {
12916 arg3 = static_cast<int >(SWIG_As_int(obj2));
12917 if (SWIG_arg_fail(3)) SWIG_fail;
12918 }
12919 if (obj3) {
12920 {
12921 arg4 = wxString_in_helper(obj3);
12922 if (arg4 == NULL) SWIG_fail;
12923 temp4 = true;
12924 }
12925 }
12926 if (obj4) {
12927 {
12928 arg5 = static_cast<int >(SWIG_As_int(obj4));
12929 if (SWIG_arg_fail(5)) SWIG_fail;
12930 }
12931 }
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 {
12940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12941 }
12942 {
12943 if (temp4)
12944 delete arg4;
12945 }
12946 return resultobj;
12947 fail:
12948 {
12949 if (temp4)
12950 delete arg4;
12951 }
12952 return NULL;
12953 }
12954
12955
12956 static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj = NULL;
12958 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12959 wxHtmlHelpData *result;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetData",kwnames,&obj0)) goto fail;
12966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (wxHtmlHelpData *)(arg1)->GetData();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
12976 return resultobj;
12977 fail:
12978 return NULL;
12979 }
12980
12981
12982 static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj = NULL;
12984 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
12985 wxHtmlHelpController *result;
12986 PyObject * obj0 = 0 ;
12987 char *kwnames[] = {
12988 (char *) "self", NULL
12989 };
12990
12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetController",kwnames,&obj0)) goto fail;
12992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail;
12994 {
12995 PyThreadState* __tstate = wxPyBeginAllowThreads();
12996 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
12997
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0);
13002 return resultobj;
13003 fail:
13004 return NULL;
13005 }
13006
13007
13008 static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) {
13009 PyObject *resultobj = NULL;
13010 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
13011 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
13012 PyObject * obj0 = 0 ;
13013 PyObject * obj1 = 0 ;
13014 char *kwnames[] = {
13015 (char *) "self",(char *) "controller", NULL
13016 };
13017
13018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) goto fail;
13019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
13020 if (SWIG_arg_fail(1)) SWIG_fail;
13021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
13022 if (SWIG_arg_fail(2)) SWIG_fail;
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 (arg1)->SetController(arg2);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj = NULL;
13039 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
13040 wxHtmlHelpWindow *result;
13041 PyObject * obj0 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames,&obj0)) goto fail;
13047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
13048 if (SWIG_arg_fail(1)) SWIG_fail;
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 {
13057 resultobj = wxPyMake_wxObject(result, 0);
13058 }
13059 return resultobj;
13060 fail:
13061 return NULL;
13062 }
13063
13064
13065 static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj = NULL;
13067 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
13068 wxString *arg2 = 0 ;
13069 bool temp2 = false ;
13070 PyObject * obj0 = 0 ;
13071 PyObject * obj1 = 0 ;
13072 char *kwnames[] = {
13073 (char *) "self",(char *) "format", NULL
13074 };
13075
13076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
13077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0);
13078 if (SWIG_arg_fail(1)) SWIG_fail;
13079 {
13080 arg2 = wxString_in_helper(obj1);
13081 if (arg2 == NULL) SWIG_fail;
13082 temp2 = true;
13083 }
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 (arg1)->SetTitleFormat((wxString const &)*arg2);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 Py_INCREF(Py_None); resultobj = Py_None;
13092 {
13093 if (temp2)
13094 delete arg2;
13095 }
13096 return resultobj;
13097 fail:
13098 {
13099 if (temp2)
13100 delete arg2;
13101 }
13102 return NULL;
13103 }
13104
13105
13106 static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) {
13107 PyObject *obj;
13108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog, obj);
13110 Py_INCREF(obj);
13111 return Py_BuildValue((char *)"");
13112 }
13113 static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) {
13114 PyObject *resultobj = NULL;
13115 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13116 wxString *arg2 = 0 ;
13117 int arg3 ;
13118 bool result;
13119 bool temp2 = false ;
13120 PyObject * obj0 = 0 ;
13121 PyObject * obj1 = 0 ;
13122 PyObject * obj2 = 0 ;
13123
13124 if(!PyArg_ParseTuple(args,(char *)"OOO:HelpControllerBase_Initialize",&obj0,&obj1,&obj2)) goto fail;
13125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail;
13127 {
13128 arg2 = wxString_in_helper(obj1);
13129 if (arg2 == NULL) SWIG_fail;
13130 temp2 = true;
13131 }
13132 {
13133 arg3 = static_cast<int >(SWIG_As_int(obj2));
13134 if (SWIG_arg_fail(3)) SWIG_fail;
13135 }
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 {
13144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13145 }
13146 {
13147 if (temp2)
13148 delete arg2;
13149 }
13150 return resultobj;
13151 fail:
13152 {
13153 if (temp2)
13154 delete arg2;
13155 }
13156 return NULL;
13157 }
13158
13159
13160 static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) {
13161 PyObject *resultobj = NULL;
13162 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13163 wxString *arg2 = 0 ;
13164 bool result;
13165 bool temp2 = false ;
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
13168
13169 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_Initialize",&obj0,&obj1)) goto fail;
13170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail;
13172 {
13173 arg2 = wxString_in_helper(obj1);
13174 if (arg2 == NULL) SWIG_fail;
13175 temp2 = true;
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 {
13185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13186 }
13187 {
13188 if (temp2)
13189 delete arg2;
13190 }
13191 return resultobj;
13192 fail:
13193 {
13194 if (temp2)
13195 delete arg2;
13196 }
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
13202 int argc;
13203 PyObject *argv[4];
13204 int ii;
13205
13206 argc = PyObject_Length(args);
13207 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
13208 argv[ii] = PyTuple_GetItem(args,ii);
13209 }
13210 if (argc == 2) {
13211 int _v;
13212 {
13213 void *ptr;
13214 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13215 _v = 0;
13216 PyErr_Clear();
13217 } else {
13218 _v = 1;
13219 }
13220 }
13221 if (_v) {
13222 {
13223 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13224 }
13225 if (_v) {
13226 return _wrap_HelpControllerBase_Initialize__SWIG_1(self,args);
13227 }
13228 }
13229 }
13230 if (argc == 3) {
13231 int _v;
13232 {
13233 void *ptr;
13234 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13235 _v = 0;
13236 PyErr_Clear();
13237 } else {
13238 _v = 1;
13239 }
13240 }
13241 if (_v) {
13242 {
13243 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13244 }
13245 if (_v) {
13246 _v = SWIG_Check_int(argv[2]);
13247 if (_v) {
13248 return _wrap_HelpControllerBase_Initialize__SWIG_0(self,args);
13249 }
13250 }
13251 }
13252 }
13253
13254 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
13255 return NULL;
13256 }
13257
13258
13259 static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj = NULL;
13261 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13262 wxString *arg2 = 0 ;
13263 long arg3 = (long) 0 ;
13264 bool temp2 = false ;
13265 PyObject * obj0 = 0 ;
13266 PyObject * obj1 = 0 ;
13267 PyObject * obj2 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "viewer",(char *) "flags", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) goto fail;
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
13275 {
13276 arg2 = wxString_in_helper(obj1);
13277 if (arg2 == NULL) SWIG_fail;
13278 temp2 = true;
13279 }
13280 if (obj2) {
13281 {
13282 arg3 = static_cast<long >(SWIG_As_long(obj2));
13283 if (SWIG_arg_fail(3)) SWIG_fail;
13284 }
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 (arg1)->SetViewer((wxString const &)*arg2,arg3);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 {
13295 if (temp2)
13296 delete arg2;
13297 }
13298 return resultobj;
13299 fail:
13300 {
13301 if (temp2)
13302 delete arg2;
13303 }
13304 return NULL;
13305 }
13306
13307
13308 static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj = NULL;
13310 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13311 wxString const &arg2_defvalue = wxEmptyString ;
13312 wxString *arg2 = (wxString *) &arg2_defvalue ;
13313 bool result;
13314 bool temp2 = false ;
13315 PyObject * obj0 = 0 ;
13316 PyObject * obj1 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "self",(char *) "file", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) goto fail;
13322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail;
13324 if (obj1) {
13325 {
13326 arg2 = wxString_in_helper(obj1);
13327 if (arg2 == NULL) SWIG_fail;
13328 temp2 = true;
13329 }
13330 }
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 {
13339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13340 }
13341 {
13342 if (temp2)
13343 delete arg2;
13344 }
13345 return resultobj;
13346 fail:
13347 {
13348 if (temp2)
13349 delete arg2;
13350 }
13351 return NULL;
13352 }
13353
13354
13355 static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
13356 PyObject *resultobj = NULL;
13357 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13358 bool result;
13359 PyObject * obj0 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_DisplayContents",kwnames,&obj0)) goto fail;
13365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail;
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 result = (bool)(arg1)->DisplayContents();
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 {
13375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13376 }
13377 return resultobj;
13378 fail:
13379 return NULL;
13380 }
13381
13382
13383 static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) {
13384 PyObject *resultobj = NULL;
13385 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13386 int arg2 ;
13387 bool result;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390
13391 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13393 if (SWIG_arg_fail(1)) SWIG_fail;
13394 {
13395 arg2 = static_cast<int >(SWIG_As_int(obj1));
13396 if (SWIG_arg_fail(2)) SWIG_fail;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (bool)(arg1)->DisplaySection(arg2);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 {
13406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13407 }
13408 return resultobj;
13409 fail:
13410 return NULL;
13411 }
13412
13413
13414 static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj = NULL;
13416 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13417 int arg2 ;
13418 bool result;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "contextId", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) goto fail;
13426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13427 if (SWIG_arg_fail(1)) SWIG_fail;
13428 {
13429 arg2 = static_cast<int >(SWIG_As_int(obj1));
13430 if (SWIG_arg_fail(2)) SWIG_fail;
13431 }
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 result = (bool)(arg1)->DisplayContextPopup(arg2);
13435
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 {
13440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13441 }
13442 return resultobj;
13443 fail:
13444 return NULL;
13445 }
13446
13447
13448 static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj = NULL;
13450 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13451 wxString *arg2 = 0 ;
13452 wxPoint *arg3 = 0 ;
13453 bool result;
13454 bool temp2 = false ;
13455 wxPoint temp3 ;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 PyObject * obj2 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "text",(char *) "pos", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) goto fail;
13464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail;
13466 {
13467 arg2 = wxString_in_helper(obj1);
13468 if (arg2 == NULL) SWIG_fail;
13469 temp2 = true;
13470 }
13471 {
13472 arg3 = &temp3;
13473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13474 }
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13484 }
13485 {
13486 if (temp2)
13487 delete arg2;
13488 }
13489 return resultobj;
13490 fail:
13491 {
13492 if (temp2)
13493 delete arg2;
13494 }
13495 return NULL;
13496 }
13497
13498
13499 static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) {
13500 PyObject *resultobj = NULL;
13501 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13502 wxString *arg2 = 0 ;
13503 bool result;
13504 bool temp2 = false ;
13505 PyObject * obj0 = 0 ;
13506 PyObject * obj1 = 0 ;
13507
13508 if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail;
13509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail;
13511 {
13512 arg2 = wxString_in_helper(obj1);
13513 if (arg2 == NULL) SWIG_fail;
13514 temp2 = true;
13515 }
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13525 }
13526 {
13527 if (temp2)
13528 delete arg2;
13529 }
13530 return resultobj;
13531 fail:
13532 {
13533 if (temp2)
13534 delete arg2;
13535 }
13536 return NULL;
13537 }
13538
13539
13540 static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
13541 int argc;
13542 PyObject *argv[3];
13543 int ii;
13544
13545 argc = PyObject_Length(args);
13546 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
13547 argv[ii] = PyTuple_GetItem(args,ii);
13548 }
13549 if (argc == 2) {
13550 int _v;
13551 {
13552 void *ptr;
13553 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13554 _v = 0;
13555 PyErr_Clear();
13556 } else {
13557 _v = 1;
13558 }
13559 }
13560 if (_v) {
13561 {
13562 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
13563 }
13564 if (_v) {
13565 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self,args);
13566 }
13567 }
13568 }
13569 if (argc == 2) {
13570 int _v;
13571 {
13572 void *ptr;
13573 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) {
13574 _v = 0;
13575 PyErr_Clear();
13576 } else {
13577 _v = 1;
13578 }
13579 }
13580 if (_v) {
13581 _v = SWIG_Check_int(argv[1]);
13582 if (_v) {
13583 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self,args);
13584 }
13585 }
13586 }
13587
13588 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
13589 return NULL;
13590 }
13591
13592
13593 static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj = NULL;
13595 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13596 long arg2 ;
13597 bool result;
13598 PyObject * obj0 = 0 ;
13599 PyObject * obj1 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self",(char *) "blockNo", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) goto fail;
13605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13606 if (SWIG_arg_fail(1)) SWIG_fail;
13607 {
13608 arg2 = static_cast<long >(SWIG_As_long(obj1));
13609 if (SWIG_arg_fail(2)) SWIG_fail;
13610 }
13611 {
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = (bool)(arg1)->DisplayBlock(arg2);
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 {
13619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13620 }
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj = NULL;
13629 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13630 wxString *arg2 = 0 ;
13631 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
13632 bool result;
13633 bool temp2 = false ;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 PyObject * obj2 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self",(char *) "k",(char *) "mode", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail;
13642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13643 if (SWIG_arg_fail(1)) SWIG_fail;
13644 {
13645 arg2 = wxString_in_helper(obj1);
13646 if (arg2 == NULL) SWIG_fail;
13647 temp2 = true;
13648 }
13649 if (obj2) {
13650 {
13651 wxHelpSearchMode * argp;
13652 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION);
13653 if (SWIG_arg_fail(3)) SWIG_fail;
13654 if (argp == NULL) {
13655 SWIG_null_ref("wxHelpSearchMode");
13656 }
13657 if (SWIG_arg_fail(3)) SWIG_fail;
13658 arg3 = *argp;
13659 }
13660 }
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 {
13669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13670 }
13671 {
13672 if (temp2)
13673 delete arg2;
13674 }
13675 return resultobj;
13676 fail:
13677 {
13678 if (temp2)
13679 delete arg2;
13680 }
13681 return NULL;
13682 }
13683
13684
13685 static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj = NULL;
13687 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13688 wxString *arg2 = 0 ;
13689 wxSize *arg3 = 0 ;
13690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13692 bool arg5 = (bool) false ;
13693 bool temp2 = false ;
13694 wxSize temp3 ;
13695 wxPoint temp4 ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 PyObject * obj2 = 0 ;
13699 PyObject * obj3 = 0 ;
13700 PyObject * obj4 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13707 if (SWIG_arg_fail(1)) SWIG_fail;
13708 {
13709 arg2 = wxString_in_helper(obj1);
13710 if (arg2 == NULL) SWIG_fail;
13711 temp2 = true;
13712 }
13713 {
13714 arg3 = &temp3;
13715 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13716 }
13717 if (obj3) {
13718 {
13719 arg4 = &temp4;
13720 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13721 }
13722 }
13723 if (obj4) {
13724 {
13725 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
13726 if (SWIG_arg_fail(5)) SWIG_fail;
13727 }
13728 }
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 {
13738 if (temp2)
13739 delete arg2;
13740 }
13741 return resultobj;
13742 fail:
13743 {
13744 if (temp2)
13745 delete arg2;
13746 }
13747 return NULL;
13748 }
13749
13750
13751 static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj = NULL;
13753 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13754 wxSize *arg2 = (wxSize *) NULL ;
13755 wxPoint *arg3 = (wxPoint *) NULL ;
13756 bool *arg4 = (bool *) NULL ;
13757 wxFrame *result;
13758 PyObject * obj0 = 0 ;
13759 PyObject * obj1 = 0 ;
13760 PyObject * obj2 = 0 ;
13761 PyObject * obj3 = 0 ;
13762 char *kwnames[] = {
13763 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13764 };
13765
13766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13768 if (SWIG_arg_fail(1)) SWIG_fail;
13769 if (obj1) {
13770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
13771 if (SWIG_arg_fail(2)) SWIG_fail;
13772 }
13773 if (obj2) {
13774 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13775 if (SWIG_arg_fail(3)) SWIG_fail;
13776 }
13777 if (obj3) {
13778 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_bool, SWIG_POINTER_EXCEPTION | 0);
13779 if (SWIG_arg_fail(4)) SWIG_fail;
13780 }
13781 {
13782 PyThreadState* __tstate = wxPyBeginAllowThreads();
13783 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
13784
13785 wxPyEndAllowThreads(__tstate);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 }
13788 {
13789 resultobj = wxPyMake_wxObject(result, 0);
13790 }
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj = NULL;
13799 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13800 bool result;
13801 PyObject * obj0 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "self", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_Quit",kwnames,&obj0)) goto fail;
13807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13808 if (SWIG_arg_fail(1)) SWIG_fail;
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (bool)(arg1)->Quit();
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 {
13817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13818 }
13819 return resultobj;
13820 fail:
13821 return NULL;
13822 }
13823
13824
13825 static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj = NULL;
13827 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13828 PyObject * obj0 = 0 ;
13829 char *kwnames[] = {
13830 (char *) "self", NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_OnQuit",kwnames,&obj0)) goto fail;
13834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13835 if (SWIG_arg_fail(1)) SWIG_fail;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 (arg1)->OnQuit();
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 Py_INCREF(Py_None); resultobj = Py_None;
13844 return resultobj;
13845 fail:
13846 return NULL;
13847 }
13848
13849
13850 static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj = NULL;
13852 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13853 wxWindow *arg2 = (wxWindow *) 0 ;
13854 PyObject * obj0 = 0 ;
13855 PyObject * obj1 = 0 ;
13856 char *kwnames[] = {
13857 (char *) "self",(char *) "win", NULL
13858 };
13859
13860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) goto fail;
13861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13862 if (SWIG_arg_fail(1)) SWIG_fail;
13863 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13864 if (SWIG_arg_fail(2)) SWIG_fail;
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 (arg1)->SetParentWindow(arg2);
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 Py_INCREF(Py_None); resultobj = Py_None;
13873 return resultobj;
13874 fail:
13875 return NULL;
13876 }
13877
13878
13879 static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13880 PyObject *resultobj = NULL;
13881 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
13882 wxWindow *result;
13883 PyObject * obj0 = 0 ;
13884 char *kwnames[] = {
13885 (char *) "self", NULL
13886 };
13887
13888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_GetParentWindow",kwnames,&obj0)) goto fail;
13889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail;
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
13894
13895 wxPyEndAllowThreads(__tstate);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 }
13898 {
13899 resultobj = wxPyMake_wxObject(result, 0);
13900 }
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) {
13908 PyObject *obj;
13909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13910 SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase, obj);
13911 Py_INCREF(obj);
13912 return Py_BuildValue((char *)"");
13913 }
13914 static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj = NULL;
13916 int arg1 = (int) wxHF_DEFAULT_STYLE ;
13917 wxWindow *arg2 = (wxWindow *) NULL ;
13918 wxHtmlHelpController *result;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "style",(char *) "parentWindow", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) goto fail;
13926 if (obj0) {
13927 {
13928 arg1 = static_cast<int >(SWIG_As_int(obj0));
13929 if (SWIG_arg_fail(1)) SWIG_fail;
13930 }
13931 }
13932 if (obj1) {
13933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13934 if (SWIG_arg_fail(2)) SWIG_fail;
13935 }
13936 {
13937 if (!wxPyCheckForApp()) SWIG_fail;
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj = NULL;
13953 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13954 PyObject * obj0 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
13960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13961 if (SWIG_arg_fail(1)) SWIG_fail;
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 delete arg1;
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 Py_INCREF(Py_None); resultobj = Py_None;
13970 return resultobj;
13971 fail:
13972 return NULL;
13973 }
13974
13975
13976 static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
13977 PyObject *resultobj = NULL;
13978 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
13979 wxHtmlHelpWindow *result;
13980 PyObject * obj0 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames,&obj0)) goto fail;
13986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
13987 if (SWIG_arg_fail(1)) SWIG_fail;
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 {
13996 resultobj = wxPyMake_wxObject(result, 0);
13997 }
13998 return resultobj;
13999 fail:
14000 return NULL;
14001 }
14002
14003
14004 static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj = NULL;
14006 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14007 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "helpWindow", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) goto fail;
14015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail;
14017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0);
14018 if (SWIG_arg_fail(2)) SWIG_fail;
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 (arg1)->SetHelpWindow(arg2);
14022
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 Py_INCREF(Py_None); resultobj = Py_None;
14027 return resultobj;
14028 fail:
14029 return NULL;
14030 }
14031
14032
14033 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj = NULL;
14035 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14036 wxHtmlHelpFrame *result;
14037 PyObject * obj0 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "self", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
14043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14044 if (SWIG_arg_fail(1)) SWIG_fail;
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 resultobj = wxPyMake_wxObject(result, 0);
14054 }
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = NULL;
14063 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14064 wxHtmlHelpDialog *result;
14065 PyObject * obj0 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetDialog",kwnames,&obj0)) goto fail;
14071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14072 if (SWIG_arg_fail(1)) SWIG_fail;
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 {
14081 resultobj = wxPyMake_wxObject(result, 0);
14082 }
14083 return resultobj;
14084 fail:
14085 return NULL;
14086 }
14087
14088
14089 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj = NULL;
14091 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14092 wxString *arg2 = 0 ;
14093 bool temp2 = false ;
14094 PyObject * obj0 = 0 ;
14095 PyObject * obj1 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "format", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
14101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14102 if (SWIG_arg_fail(1)) SWIG_fail;
14103 {
14104 arg2 = wxString_in_helper(obj1);
14105 if (arg2 == NULL) SWIG_fail;
14106 temp2 = true;
14107 }
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 (arg1)->SetTitleFormat((wxString const &)*arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 Py_INCREF(Py_None); resultobj = Py_None;
14116 {
14117 if (temp2)
14118 delete arg2;
14119 }
14120 return resultobj;
14121 fail:
14122 {
14123 if (temp2)
14124 delete arg2;
14125 }
14126 return NULL;
14127 }
14128
14129
14130 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj = NULL;
14132 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14133 wxString *arg2 = 0 ;
14134 bool temp2 = false ;
14135 PyObject * obj0 = 0 ;
14136 PyObject * obj1 = 0 ;
14137 char *kwnames[] = {
14138 (char *) "self",(char *) "path", NULL
14139 };
14140
14141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
14142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail;
14144 {
14145 arg2 = wxString_in_helper(obj1);
14146 if (arg2 == NULL) SWIG_fail;
14147 temp2 = true;
14148 }
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 (arg1)->SetTempDir((wxString const &)*arg2);
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 Py_INCREF(Py_None); resultobj = Py_None;
14157 {
14158 if (temp2)
14159 delete arg2;
14160 }
14161 return resultobj;
14162 fail:
14163 {
14164 if (temp2)
14165 delete arg2;
14166 }
14167 return NULL;
14168 }
14169
14170
14171 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj = NULL;
14173 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14174 wxString *arg2 = 0 ;
14175 int arg3 = (int) false ;
14176 bool result;
14177 bool temp2 = false ;
14178 PyObject * obj0 = 0 ;
14179 PyObject * obj1 = 0 ;
14180 PyObject * obj2 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
14186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail;
14188 {
14189 arg2 = wxString_in_helper(obj1);
14190 if (arg2 == NULL) SWIG_fail;
14191 temp2 = true;
14192 }
14193 if (obj2) {
14194 {
14195 arg3 = static_cast<int >(SWIG_As_int(obj2));
14196 if (SWIG_arg_fail(3)) SWIG_fail;
14197 }
14198 }
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
14202
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 {
14207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14208 }
14209 {
14210 if (temp2)
14211 delete arg2;
14212 }
14213 return resultobj;
14214 fail:
14215 {
14216 if (temp2)
14217 delete arg2;
14218 }
14219 return NULL;
14220 }
14221
14222
14223 static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj = NULL;
14225 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14226 wxString *arg2 = 0 ;
14227 bool temp2 = false ;
14228 PyObject * obj0 = 0 ;
14229 PyObject * obj1 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self",(char *) "x", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
14235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14236 if (SWIG_arg_fail(1)) SWIG_fail;
14237 {
14238 arg2 = wxString_in_helper(obj1);
14239 if (arg2 == NULL) SWIG_fail;
14240 temp2 = true;
14241 }
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 (arg1)->Display((wxString const &)*arg2);
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 Py_INCREF(Py_None); resultobj = Py_None;
14250 {
14251 if (temp2)
14252 delete arg2;
14253 }
14254 return resultobj;
14255 fail:
14256 {
14257 if (temp2)
14258 delete arg2;
14259 }
14260 return NULL;
14261 }
14262
14263
14264 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj = NULL;
14266 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14267 int arg2 ;
14268 PyObject * obj0 = 0 ;
14269 PyObject * obj1 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "self",(char *) "id", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
14275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14276 if (SWIG_arg_fail(1)) SWIG_fail;
14277 {
14278 arg2 = static_cast<int >(SWIG_As_int(obj1));
14279 if (SWIG_arg_fail(2)) SWIG_fail;
14280 }
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 (arg1)->Display(arg2);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 Py_INCREF(Py_None); resultobj = Py_None;
14289 return resultobj;
14290 fail:
14291 return NULL;
14292 }
14293
14294
14295 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj = NULL;
14297 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14298 PyObject * obj0 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
14304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail;
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 (arg1)->DisplayContents();
14309
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 Py_INCREF(Py_None); resultobj = Py_None;
14314 return resultobj;
14315 fail:
14316 return NULL;
14317 }
14318
14319
14320 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14321 PyObject *resultobj = NULL;
14322 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
14329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail;
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 (arg1)->DisplayIndex();
14334
14335 wxPyEndAllowThreads(__tstate);
14336 if (PyErr_Occurred()) SWIG_fail;
14337 }
14338 Py_INCREF(Py_None); resultobj = Py_None;
14339 return resultobj;
14340 fail:
14341 return NULL;
14342 }
14343
14344
14345 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
14346 PyObject *resultobj = NULL;
14347 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14348 wxString *arg2 = 0 ;
14349 bool result;
14350 bool temp2 = false ;
14351 PyObject * obj0 = 0 ;
14352 PyObject * obj1 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "self",(char *) "keyword", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
14358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail;
14360 {
14361 arg2 = wxString_in_helper(obj1);
14362 if (arg2 == NULL) SWIG_fail;
14363 temp2 = true;
14364 }
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 {
14373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14374 }
14375 {
14376 if (temp2)
14377 delete arg2;
14378 }
14379 return resultobj;
14380 fail:
14381 {
14382 if (temp2)
14383 delete arg2;
14384 }
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj = NULL;
14391 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14392 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14393 wxString const &arg3_defvalue = wxPyEmptyString ;
14394 wxString *arg3 = (wxString *) &arg3_defvalue ;
14395 bool temp3 = false ;
14396 PyObject * obj0 = 0 ;
14397 PyObject * obj1 = 0 ;
14398 PyObject * obj2 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
14404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail;
14406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14407 if (SWIG_arg_fail(2)) SWIG_fail;
14408 if (obj2) {
14409 {
14410 arg3 = wxString_in_helper(obj2);
14411 if (arg3 == NULL) SWIG_fail;
14412 temp3 = true;
14413 }
14414 }
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 Py_INCREF(Py_None); resultobj = Py_None;
14423 {
14424 if (temp3)
14425 delete arg3;
14426 }
14427 return resultobj;
14428 fail:
14429 {
14430 if (temp3)
14431 delete arg3;
14432 }
14433 return NULL;
14434 }
14435
14436
14437 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj = NULL;
14439 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14440 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14441 wxString arg3 = (wxString) wxPyEmptyString ;
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 PyObject * obj2 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self",(char *) "cfg",(char *) "path", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail;
14452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14453 if (SWIG_arg_fail(2)) SWIG_fail;
14454 if (obj2) {
14455 {
14456 wxString* sptr = wxString_in_helper(obj2);
14457 if (sptr == NULL) SWIG_fail;
14458 arg3 = *sptr;
14459 delete sptr;
14460 }
14461 }
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 (arg1)->ReadCustomization(arg2,arg3);
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 Py_INCREF(Py_None); resultobj = Py_None;
14470 return resultobj;
14471 fail:
14472 return NULL;
14473 }
14474
14475
14476 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj = NULL;
14478 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14479 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14480 wxString arg3 = (wxString) wxPyEmptyString ;
14481 PyObject * obj0 = 0 ;
14482 PyObject * obj1 = 0 ;
14483 PyObject * obj2 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "self",(char *) "cfg",(char *) "path", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
14489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14490 if (SWIG_arg_fail(1)) SWIG_fail;
14491 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
14492 if (SWIG_arg_fail(2)) SWIG_fail;
14493 if (obj2) {
14494 {
14495 wxString* sptr = wxString_in_helper(obj2);
14496 if (sptr == NULL) SWIG_fail;
14497 arg3 = *sptr;
14498 delete sptr;
14499 }
14500 }
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 (arg1)->WriteCustomization(arg2,arg3);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 Py_INCREF(Py_None); resultobj = Py_None;
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj = NULL;
14517 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14518 PyObject * obj0 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self", NULL
14521 };
14522
14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames,&obj0)) goto fail;
14524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail;
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 (arg1)->MakeModalIfNeeded();
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 Py_INCREF(Py_None); resultobj = Py_None;
14534 return resultobj;
14535 fail:
14536 return NULL;
14537 }
14538
14539
14540 static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj = NULL;
14542 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
14543 wxWindow *result;
14544 PyObject * obj0 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames,&obj0)) goto fail;
14550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
14551 if (SWIG_arg_fail(1)) SWIG_fail;
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (wxWindow *)(arg1)->FindTopLevelWindow();
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 {
14560 resultobj = wxPyMake_wxObject(result, 0);
14561 }
14562 return resultobj;
14563 fail:
14564 return NULL;
14565 }
14566
14567
14568 static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
14569 PyObject *obj;
14570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
14572 Py_INCREF(obj);
14573 return Py_BuildValue((char *)"");
14574 }
14575 static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj = NULL;
14577 wxWindow *arg1 = (wxWindow *) 0 ;
14578 wxString *arg2 = 0 ;
14579 wxString const &arg3_defvalue = wxEmptyString ;
14580 wxString *arg3 = (wxString *) &arg3_defvalue ;
14581 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
14582 wxHtmlModalHelp *result;
14583 bool temp2 = false ;
14584 bool temp3 = false ;
14585 PyObject * obj0 = 0 ;
14586 PyObject * obj1 = 0 ;
14587 PyObject * obj2 = 0 ;
14588 PyObject * obj3 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail;
14596 {
14597 arg2 = wxString_in_helper(obj1);
14598 if (arg2 == NULL) SWIG_fail;
14599 temp2 = true;
14600 }
14601 if (obj2) {
14602 {
14603 arg3 = wxString_in_helper(obj2);
14604 if (arg3 == NULL) SWIG_fail;
14605 temp3 = true;
14606 }
14607 }
14608 if (obj3) {
14609 {
14610 arg4 = static_cast<int >(SWIG_As_int(obj3));
14611 if (SWIG_arg_fail(4)) SWIG_fail;
14612 }
14613 }
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlModalHelp, 1);
14622 {
14623 if (temp2)
14624 delete arg2;
14625 }
14626 {
14627 if (temp3)
14628 delete arg3;
14629 }
14630 return resultobj;
14631 fail:
14632 {
14633 if (temp2)
14634 delete arg2;
14635 }
14636 {
14637 if (temp3)
14638 delete arg3;
14639 }
14640 return NULL;
14641 }
14642
14643
14644 static PyObject * HtmlModalHelp_swigregister(PyObject *, PyObject *args) {
14645 PyObject *obj;
14646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14647 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp, obj);
14648 Py_INCREF(obj);
14649 return Py_BuildValue((char *)"");
14650 }
14651 static PyMethodDef SwigMethods[] = {
14652 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14653 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
14654 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
14655 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14656 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14657 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14658 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14659 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
14660 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14661 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
14662 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
14663 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
14664 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
14665 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
14666 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
14667 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
14668 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
14669 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14670 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
14671 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
14672 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
14673 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
14674 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14675 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
14676 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14677 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
14678 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14679 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14680 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
14681 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
14682 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14683 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14684 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14685 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14686 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14687 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14688 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14689 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14690 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14691 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14692 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
14693 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14694 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
14695 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14696 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
14697 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14698 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
14699 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14700 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
14701 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14702 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
14703 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14704 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14705 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14706 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
14707 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14708 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
14709 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14710 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
14711 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14712 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
14713 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14714 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14715 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14716 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14717 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14718 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
14719 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14720 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14721 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14722 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14723 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
14724 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
14725 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
14726 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14727 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14728 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
14729 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
14730 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
14731 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
14732 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
14733 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
14734 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14735 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14736 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14737 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14738 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
14739 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
14740 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
14741 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14742 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
14743 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14744 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
14745 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14746 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14747 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14748 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14749 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
14750 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14751 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14752 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14753 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
14754 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
14755 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
14756 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14757 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14758 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14759 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14760 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14761 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
14762 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
14763 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
14764 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
14765 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
14766 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
14767 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14768 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14769 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
14770 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
14771 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
14772 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
14773 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14774 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14775 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14776 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14777 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
14778 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
14779 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
14780 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
14781 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
14782 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
14783 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
14784 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
14785 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
14786 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
14787 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14788 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
14789 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
14790 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
14791 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
14792 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
14793 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14794 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
14795 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
14796 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
14797 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
14798 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
14799 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
14800 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
14801 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlWordCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
14802 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
14803 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
14804 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
14805 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
14806 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14807 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
14808 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14809 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
14810 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14811 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
14812 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
14813 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
14814 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
14815 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
14816 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14817 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14818 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
14819 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
14820 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
14821 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
14822 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
14823 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
14824 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
14825 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
14826 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
14827 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
14828 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14829 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14830 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
14831 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14832 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14833 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14834 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14835 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
14836 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
14837 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14838 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
14839 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
14840 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14841 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14842 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14843 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14844 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
14845 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14846 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14847 { (char *)"HtmlWindow_SetLabel", (PyCFunction) _wrap_HtmlWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
14848 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
14849 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
14850 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14851 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14852 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
14853 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
14854 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
14855 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
14856 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
14857 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
14858 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
14859 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14860 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
14861 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14862 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
14863 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
14864 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
14865 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
14866 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
14867 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14868 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14869 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
14870 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
14871 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
14872 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
14873 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14874 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
14875 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14876 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
14877 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14878 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14879 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14880 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
14881 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
14882 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
14883 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
14884 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
14885 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
14886 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14887 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14888 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14889 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14890 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
14891 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
14892 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
14893 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
14894 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14895 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
14896 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
14897 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
14898 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
14899 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
14900 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
14901 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
14902 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
14903 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14904 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
14905 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
14906 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
14907 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
14908 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
14909 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
14910 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14911 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14912 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14913 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
14914 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
14915 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
14916 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
14917 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
14918 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
14919 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
14920 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
14921 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
14922 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
14923 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14924 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14925 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
14926 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
14927 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14928 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
14929 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
14930 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
14931 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
14932 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
14933 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
14934 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
14935 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14936 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14937 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14938 { (char *)"HtmlHelpWindow_GetData", (PyCFunction) _wrap_HtmlHelpWindow_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14939 { (char *)"HtmlHelpWindow_GetController", (PyCFunction) _wrap_HtmlHelpWindow_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14940 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14941 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
14942 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
14943 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction) _wrap_HtmlHelpWindow_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14944 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction) _wrap_HtmlHelpWindow_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
14945 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14946 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
14947 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14948 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
14949 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction) _wrap_HtmlHelpWindow_NotifyPageChanged, METH_VARARGS | METH_KEYWORDS, NULL},
14950 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction) _wrap_HtmlHelpWindow_RefreshLists, METH_VARARGS | METH_KEYWORDS, NULL},
14951 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14952 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14953 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction) _wrap_HtmlHelpWindow_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
14954 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction) _wrap_HtmlHelpWindow_GetCfgData, METH_VARARGS | METH_KEYWORDS, NULL},
14955 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction) _wrap_HtmlHelpWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
14956 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
14957 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14958 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14959 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction) _wrap_HtmlWindowEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
14960 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
14961 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14962 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14963 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14964 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14965 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14966 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction) _wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
14967 { (char *)"HtmlHelpFrame_GetController", (PyCFunction) _wrap_HtmlHelpFrame_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14968 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14969 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpFrame_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14970 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
14971 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14972 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
14973 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14974 { (char *)"HtmlHelpDialog_GetData", (PyCFunction) _wrap_HtmlHelpDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
14975 { (char *)"HtmlHelpDialog_GetController", (PyCFunction) _wrap_HtmlHelpDialog_GetController, METH_VARARGS | METH_KEYWORDS, NULL},
14976 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
14977 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpDialog_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14978 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
14979 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
14980 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
14981 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
14982 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
14983 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction) _wrap_HelpControllerBase_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
14984 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14985 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
14986 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
14987 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
14988 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
14989 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14990 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
14991 { (char *)"HelpControllerBase_Quit", (PyCFunction) _wrap_HelpControllerBase_Quit, METH_VARARGS | METH_KEYWORDS, NULL},
14992 { (char *)"HelpControllerBase_OnQuit", (PyCFunction) _wrap_HelpControllerBase_OnQuit, METH_VARARGS | METH_KEYWORDS, NULL},
14993 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14994 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction) _wrap_HelpControllerBase_GetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14995 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
14996 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14997 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
14998 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14999 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
15000 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
15001 { (char *)"HtmlHelpController_GetDialog", (PyCFunction) _wrap_HtmlHelpController_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
15002 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
15003 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
15004 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
15005 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
15006 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
15007 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
15008 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
15009 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
15010 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
15011 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
15012 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
15013 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction) _wrap_HtmlHelpController_MakeModalIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
15014 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction) _wrap_HtmlHelpController_FindTopLevelWindow, METH_VARARGS | METH_KEYWORDS, NULL},
15015 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
15016 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
15017 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
15018 { NULL, NULL, 0, NULL }
15019 };
15020
15021
15022 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15023
15024 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
15025 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
15026 }
15027 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15028 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15029 }
15030 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15031 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15032 }
15033 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15034 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15035 }
15036 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15037 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15038 }
15039 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15040 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15041 }
15042 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15043 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15044 }
15045 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
15046 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
15047 }
15048 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15049 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15050 }
15051 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15052 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15053 }
15054 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
15055 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
15056 }
15057 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15058 return (void *)((wxEvent *) ((wxPyEvent *) x));
15059 }
15060 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15062 }
15063 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
15064 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
15065 }
15066 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15067 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15068 }
15069 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15071 }
15072 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15073 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15074 }
15075 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15076 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15077 }
15078 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15079 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15080 }
15081 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15082 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15083 }
15084 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15085 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15086 }
15087 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15088 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15089 }
15090 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
15091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
15092 }
15093 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15094 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15095 }
15096 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15097 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15098 }
15099 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15101 }
15102 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15103 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15104 }
15105 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15106 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15107 }
15108 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15109 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15110 }
15111 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15112 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15113 }
15114 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15115 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15116 }
15117 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15118 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15119 }
15120 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15122 }
15123 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
15124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
15125 }
15126 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
15127 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15128 }
15129 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15130 return (void *)((wxEvent *) ((wxShowEvent *) x));
15131 }
15132 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
15133 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15134 }
15135 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15136 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15137 }
15138 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15140 }
15141 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15143 }
15144 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15145 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15146 }
15147 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15148 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15149 }
15150 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15151 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15152 }
15153 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
15154 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
15155 }
15156 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
15157 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
15158 }
15159 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
15160 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15161 }
15162 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
15163 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
15164 }
15165 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
15166 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
15167 }
15168 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
15169 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
15170 }
15171 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
15172 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15173 }
15174 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15175 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15176 }
15177 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
15178 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15179 }
15180 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
15181 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15182 }
15183 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
15184 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15185 }
15186 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15187 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15188 }
15189 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15190 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15191 }
15192 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15193 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15194 }
15195 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15196 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15197 }
15198 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
15199 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15200 }
15201 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
15202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15203 }
15204 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
15205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15206 }
15207 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
15208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15209 }
15210 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
15211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15212 }
15213 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
15214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15215 }
15216 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
15217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15218 }
15219 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
15220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15221 }
15222 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
15223 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
15224 }
15225 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
15226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
15227 }
15228 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
15229 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15230 }
15231 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
15232 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15233 }
15234 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
15235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15236 }
15237 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
15238 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
15239 }
15240 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
15241 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15242 }
15243 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
15244 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
15245 }
15246 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
15247 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
15248 }
15249 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
15250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
15251 }
15252 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15253 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15254 }
15255 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
15256 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15257 }
15258 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
15259 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
15260 }
15261 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
15262 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
15263 }
15264 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
15265 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15266 }
15267 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
15268 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15269 }
15270 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
15271 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
15272 }
15273 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15274 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15275 }
15276 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15277 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15278 }
15279 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15281 }
15282 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15283 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15284 }
15285 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15286 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15287 }
15288 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15289 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15290 }
15291 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
15293 }
15294 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15295 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15296 }
15297 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15299 }
15300 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15301 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15302 }
15303 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15304 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15305 }
15306 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15307 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15308 }
15309 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
15310 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15311 }
15312 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
15313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15314 }
15315 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15317 }
15318 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15320 }
15321 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15322 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15323 }
15324 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15326 }
15327 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15328 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15329 }
15330 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
15331 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15332 }
15333 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15334 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15335 }
15336 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
15337 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
15338 }
15339 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
15340 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
15341 }
15342 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
15343 return (void *)((wxFrame *) ((wxProgressDialog *) x));
15344 }
15345 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
15346 return (void *)((wxFrame *) ((wxTipWindow *) x));
15347 }
15348 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
15349 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
15350 }
15351 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
15352 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15353 }
15354 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
15355 return (void *)((wxFrame *) ((wxMiniFrame *) x));
15356 }
15357 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
15358 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
15359 }
15360 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
15361 return (void *)((wxFrame *) ((wxSplashScreen *) x));
15362 }
15363 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
15364 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
15365 }
15366 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
15367 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
15368 }
15369 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15370 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
15371 }
15372 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
15373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15374 }
15375 static void *_p_wxEventTo_p_wxObject(void *x) {
15376 return (void *)((wxObject *) ((wxEvent *) x));
15377 }
15378 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
15379 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
15380 }
15381 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15382 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15383 }
15384 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
15385 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
15386 }
15387 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
15388 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
15389 }
15390 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
15391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15392 }
15393 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
15394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15395 }
15396 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
15397 return (void *)((wxObject *) ((wxHtmlTag *) x));
15398 }
15399 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15400 return (void *)((wxObject *) ((wxMenuItem *) x));
15401 }
15402 static void *_p_wxImageTo_p_wxObject(void *x) {
15403 return (void *)((wxObject *) ((wxImage *) x));
15404 }
15405 static void *_p_wxPySizerTo_p_wxObject(void *x) {
15406 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15407 }
15408 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
15409 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
15410 }
15411 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
15412 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15413 }
15414 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
15415 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
15416 }
15417 static void *_p_wxPyAppTo_p_wxObject(void *x) {
15418 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15419 }
15420 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
15421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15422 }
15423 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
15424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15425 }
15426 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
15427 return (void *)((wxObject *) ((wxFindReplaceData *) x));
15428 }
15429 static void *_p_wxValidatorTo_p_wxObject(void *x) {
15430 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15431 }
15432 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15433 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15434 }
15435 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15436 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15437 }
15438 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15439 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15440 }
15441 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15442 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15443 }
15444 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
15445 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
15446 }
15447 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
15448 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
15449 }
15450 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
15451 return (void *)((wxObject *) ((wxPrintDialogData *) x));
15452 }
15453 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
15454 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
15455 }
15456 static void *_p_wxPrinterTo_p_wxObject(void *x) {
15457 return (void *)((wxObject *) ((wxPrinter *) x));
15458 }
15459 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15461 }
15462 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
15463 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
15464 }
15465 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
15466 return (void *)((wxObject *) ((wxHtmlParser *) x));
15467 }
15468 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15469 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15470 }
15471 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15472 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15473 }
15474 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15475 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15476 }
15477 static void *_p_wxControlTo_p_wxObject(void *x) {
15478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15479 }
15480 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
15481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15482 }
15483 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
15484 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
15485 }
15486 static void *_p_wxColourDataTo_p_wxObject(void *x) {
15487 return (void *)((wxObject *) ((wxColourData *) x));
15488 }
15489 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15490 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15491 }
15492 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15493 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15494 }
15495 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15496 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15497 }
15498 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15499 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15500 }
15501 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15502 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15503 }
15504 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15505 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15506 }
15507 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15509 }
15510 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15511 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15512 }
15513 static void *_p_wxDateEventTo_p_wxObject(void *x) {
15514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
15515 }
15516 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
15517 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
15518 }
15519 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
15520 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
15521 }
15522 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
15523 return (void *)((wxObject *) ((wxPyPrintout *) x));
15524 }
15525 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
15526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15527 }
15528 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
15529 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
15530 }
15531 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15532 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15533 }
15534 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15535 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15536 }
15537 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15538 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15539 }
15540 static void *_p_wxSashEventTo_p_wxObject(void *x) {
15541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
15542 }
15543 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
15544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15545 }
15546 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
15547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15548 }
15549 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
15550 return (void *)((wxObject *) ((wxPrintData *) x));
15551 }
15552 static void *_p_wxFontDataTo_p_wxObject(void *x) {
15553 return (void *)((wxObject *) ((wxFontData *) x));
15554 }
15555 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
15556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15557 }
15558 static void *_p_wxFrameTo_p_wxObject(void *x) {
15559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15560 }
15561 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
15562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15563 }
15564 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
15565 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15566 }
15567 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
15568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15569 }
15570 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15571 return (void *)((wxObject *) ((wxFileSystem *) x));
15572 }
15573 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
15574 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
15575 }
15576 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
15577 return (void *)((wxObject *) ((wxPrintPreview *) x));
15578 }
15579 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
15580 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
15581 }
15582 static void *_p_wxSizerTo_p_wxObject(void *x) {
15583 return (void *)((wxObject *) ((wxSizer *) x));
15584 }
15585 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
15586 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
15587 }
15588 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
15589 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
15590 }
15591 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
15592 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
15593 }
15594 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
15595 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
15596 }
15597 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15598 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15599 }
15600 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15601 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15602 }
15603 static void *_p_wxFSFileTo_p_wxObject(void *x) {
15604 return (void *)((wxObject *) ((wxFSFile *) x));
15605 }
15606 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
15607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
15608 }
15609 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15610 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15611 }
15612 static void *_p_wxMenuTo_p_wxObject(void *x) {
15613 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15614 }
15615 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
15616 return (void *)((wxObject *) ((wxSizerItem *) x));
15617 }
15618 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
15619 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
15620 }
15621 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
15622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15623 }
15624 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
15625 return (void *)((wxObject *) ((wxPrintDialog *) x));
15626 }
15627 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
15628 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
15629 }
15630 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
15631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15632 }
15633 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
15634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15635 }
15636 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
15637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15638 }
15639 static void *_p_wxDialogTo_p_wxObject(void *x) {
15640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15641 }
15642 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15643 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15644 }
15645 static void *_p_wxPyEventTo_p_wxObject(void *x) {
15646 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15647 }
15648 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
15649 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
15650 }
15651 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
15652 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
15653 }
15654 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15655 return (void *)((wxObject *) ((wxEvtHandler *) x));
15656 }
15657 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15658 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15659 }
15660 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15661 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15662 }
15663 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15664 return (void *)((wxObject *) ((wxImageHandler *) x));
15665 }
15666 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
15667 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
15668 }
15669 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15670 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15671 }
15672 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15673 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15674 }
15675 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15676 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15677 }
15678 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15679 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15680 }
15681 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15682 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15683 }
15684 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15685 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15686 }
15687 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15688 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15689 }
15690 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15691 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15692 }
15693 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15694 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15695 }
15696 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
15697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
15698 }
15699 static void *_p_wxShowEventTo_p_wxObject(void *x) {
15700 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15701 }
15702 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
15703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
15704 }
15705 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
15706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15707 }
15708 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
15709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15710 }
15711 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
15712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
15713 }
15714 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
15715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15716 }
15717 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
15718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15719 }
15720 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
15721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15722 }
15723 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
15724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
15725 }
15726 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
15727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15728 }
15729 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
15730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
15731 }
15732 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
15733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
15734 }
15735 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
15736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
15737 }
15738 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
15739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
15740 }
15741 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
15742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15743 }
15744 static void *_p_wxWindowTo_p_wxObject(void *x) {
15745 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15746 }
15747 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
15748 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
15749 }
15750 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
15751 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
15752 }
15753 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
15754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15755 }
15756 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
15757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15758 }
15759 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
15760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15761 }
15762 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
15763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15764 }
15765 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
15766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15767 }
15768 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
15769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15770 }
15771 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
15772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15773 }
15774 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
15775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15776 }
15777 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
15778 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
15779 }
15780 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
15781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
15782 }
15783 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15784 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15785 }
15786 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15787 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15788 }
15789 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15790 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15791 }
15792 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15793 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15794 }
15795 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
15796 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
15797 }
15798 static void *_p_wxPanelTo_p_wxObject(void *x) {
15799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
15800 }
15801 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
15802 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
15803 }
15804 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15805 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15806 }
15807 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
15808 return (void *)((wxObject *) ((wxHtmlCell *) x));
15809 }
15810 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15811 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15812 }
15813 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15815 }
15816 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15817 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15818 }
15819 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15821 }
15822 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
15823 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
15824 }
15825 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
15826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
15827 }
15828 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15830 }
15831 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15832 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15833 }
15834 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15835 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15836 }
15837 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
15838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15839 }
15840 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
15841 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
15842 }
15843 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15845 }
15846 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
15847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15848 }
15849 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
15850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15851 }
15852 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
15853 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
15854 }
15855 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15856 return (void *)((wxWindow *) ((wxMenuBar *) x));
15857 }
15858 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
15859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15860 }
15861 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
15862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15863 }
15864 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
15865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15866 }
15867 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
15868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15869 }
15870 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
15871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15872 }
15873 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
15874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15875 }
15876 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
15877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15878 }
15879 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
15880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15881 }
15882 static void *_p_wxPanelTo_p_wxWindow(void *x) {
15883 return (void *)((wxWindow *) ((wxPanel *) x));
15884 }
15885 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
15886 return (void *)((wxWindow *) ((wxStatusBar *) x));
15887 }
15888 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
15889 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
15890 }
15891 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
15892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
15893 }
15894 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
15895 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15896 }
15897 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
15898 return (void *)((wxWindow *) ((wxPopupWindow *) x));
15899 }
15900 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
15901 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
15902 }
15903 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
15904 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
15905 }
15906 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
15907 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
15908 }
15909 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
15910 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
15911 }
15912 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
15913 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
15914 }
15915 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
15916 return (void *)((wxWindow *) ((wxSashWindow *) x));
15917 }
15918 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
15919 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
15920 }
15921 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
15922 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15923 }
15924 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
15925 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15926 }
15927 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
15928 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
15929 }
15930 static void *_p_wxControlTo_p_wxWindow(void *x) {
15931 return (void *)((wxWindow *) ((wxControl *) x));
15932 }
15933 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
15934 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15935 }
15936 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
15937 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15938 }
15939 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
15940 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15941 }
15942 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15943 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15944 }
15945 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
15946 return (void *)((wxWindow *) ((wxPyWindow *) x));
15947 }
15948 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
15949 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15950 }
15951 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
15952 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15953 }
15954 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
15955 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15956 }
15957 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
15958 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
15959 }
15960 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
15961 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15962 }
15963 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
15964 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
15965 }
15966 static void *_p_wxFrameTo_p_wxWindow(void *x) {
15967 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
15968 }
15969 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
15970 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15971 }
15972 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
15973 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15974 }
15975 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
15976 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15977 }
15978 static void *_p_wxDialogTo_p_wxWindow(void *x) {
15979 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
15980 }
15981 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
15982 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
15983 }
15984 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
15985 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15986 }
15987 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
15988 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15989 }
15990 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
15991 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
15992 }
15993 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
15994 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
15995 }
15996 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
15997 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
15998 }
15999 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
16000 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
16001 }
16002 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
16003 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
16004 }
16005 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
16006 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
16007 }
16008 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
16009 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
16010 }
16011 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
16012 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
16013 }
16014 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
16015 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
16016 }
16017 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
16018 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
16019 }
16020 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
16021 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
16022 }
16023 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
16024 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
16025 }
16026 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
16027 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
16028 }
16029 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
16030 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
16031 }
16032 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
16033 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16034 }
16035 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
16036 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
16037 }
16038 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16039 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
16040 }
16041 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16042 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
16043 }
16044 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
16045 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
16046 }
16047 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
16048 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
16049 }
16050 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
16051 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
16052 }
16053 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
16054 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
16055 }
16056 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16057 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
16058 }
16059 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16060 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16061 }
16062 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
16063 return (void *)((wxDialog *) ((wxColourDialog *) x));
16064 }
16065 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
16066 return (void *)((wxDialog *) ((wxDirDialog *) x));
16067 }
16068 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
16069 return (void *)((wxDialog *) ((wxFontDialog *) x));
16070 }
16071 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
16072 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
16073 }
16074 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
16075 return (void *)((wxDialog *) ((wxFileDialog *) x));
16076 }
16077 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
16078 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
16079 }
16080 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
16081 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
16082 }
16083 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
16084 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
16085 }
16086 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
16087 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16088 }
16089 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
16090 return (void *)((wxDialog *) ((wxMessageDialog *) x));
16091 }
16092 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
16093 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
16094 }
16095 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
16096 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
16097 }
16098 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
16099 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
16100 }
16101 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
16102 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16103 }
16104 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
16105 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
16106 }
16107 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
16108 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16109 }
16110 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
16111 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16112 }
16113 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
16114 return (void *)((wxPanel *) ((wxPyPanel *) x));
16115 }
16116 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
16117 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
16118 }
16119 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
16120 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
16121 }
16122 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
16123 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16124 }
16125 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
16126 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
16127 }
16128 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
16129 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
16130 }
16131 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
16132 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
16133 }
16134 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
16135 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
16136 }
16137 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
16138 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
16139 }
16140 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
16141 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
16142 }
16143 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
16144 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
16145 }
16146 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
16147 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
16148 }
16149 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
16150 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
16151 }
16152 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
16153 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16154 }
16155 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
16156 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
16157 }
16158 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
16159 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
16160 }
16161 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
16162 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
16163 }
16164 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
16165 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
16166 }
16167 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
16168 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
16169 }
16170 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0};
16171 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
16172 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
16173 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
16174 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
16175 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
16176 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
16177 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
16178 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
16179 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
16180 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0};
16181 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
16182 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0};
16183 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
16184 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
16185 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
16186 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
16187 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
16188 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
16189 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0};
16190 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
16191 static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
16192 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
16193 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
16194 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0};
16195 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
16196 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0};
16197 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0};
16198 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0};
16199 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0};
16200 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
16201 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
16202 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0};
16203 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
16204 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0};
16205 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
16206 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
16207 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
16208 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
16209 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
16210 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
16211 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
16212 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
16213 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
16214 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
16215 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
16216 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
16217 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
16218 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
16219 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
16220 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
16221 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
16222 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
16223 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
16224 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
16225 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
16226 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
16227 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
16228 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
16229 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
16230 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
16231 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
16232 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
16233 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
16234 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
16235 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
16236 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
16237 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0};
16238 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0};
16239 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0};
16240 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
16241 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
16242 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
16243 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0};
16244 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0};
16245 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0};
16246 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0};
16247 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
16248 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
16249 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0};
16250 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
16251 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
16252 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0};
16253 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
16254 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
16255 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0};
16256 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
16257 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0};
16258 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
16259 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
16260 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0};
16261 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0};
16262 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
16263 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0};
16264 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
16265 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0};
16266 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
16267 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
16268 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0};
16269 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
16270 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
16271 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
16272 static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0};
16273 static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0};
16274 static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0};
16275 static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0};
16276 static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0};
16277 static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0};
16278 static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0};
16279 static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0};
16280 static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0};
16281 static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0};
16282 static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0};
16283 static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0};
16284 static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0};
16285 static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0};
16286 static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0};
16287 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0};
16288 static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0};
16289 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0};
16290 static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0};
16291 static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0};
16292 static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0};
16293 static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0};
16294 static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0};
16295 static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0};
16296 static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0};
16297 static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0};
16298 static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0};
16299 static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0};
16300 static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0};
16301 static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0};
16302 static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0};
16303 static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0};
16304 static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0};
16305 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
16306 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
16307 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
16308 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
16309 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
16310 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
16311 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
16312 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
16313 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0};
16314 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0};
16315 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0};
16316 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
16317 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
16318 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
16319 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0};
16320 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
16321 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0};
16322 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0};
16323 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0};
16324 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
16325 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
16326 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
16327 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
16328 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
16329 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
16330 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
16331 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
16332 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0};
16333 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0};
16334 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
16335 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
16336 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
16337 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
16338 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
16339 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
16340 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
16341 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
16342 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
16343 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
16344 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
16345 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
16346 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
16347 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
16348 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
16349 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
16350 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
16351 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
16352 static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0};
16353 static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0};
16354 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0};
16355 static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0};
16356 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
16357 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
16358 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
16359 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
16360 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
16361 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
16362 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
16363 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
16364 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
16365 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
16366 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
16367 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
16368
16369 static swig_type_info *swig_type_initial[] = {
16370 &_swigt__p_bool,
16371 &_swigt__p_char,
16372 &_swigt__p_form_ops_t,
16373 &_swigt__p_int,
16374 &_swigt__p_unsigned_char,
16375 &_swigt__p_unsigned_int,
16376 &_swigt__p_unsigned_long,
16377 &_swigt__p_wxANIHandler,
16378 &_swigt__p_wxAcceleratorTable,
16379 &_swigt__p_wxActivateEvent,
16380 &_swigt__p_wxBMPHandler,
16381 &_swigt__p_wxBitmap,
16382 &_swigt__p_wxBoxSizer,
16383 &_swigt__p_wxCURHandler,
16384 &_swigt__p_wxCalculateLayoutEvent,
16385 &_swigt__p_wxChildFocusEvent,
16386 &_swigt__p_wxCloseEvent,
16387 &_swigt__p_wxColour,
16388 &_swigt__p_wxColourData,
16389 &_swigt__p_wxColourDialog,
16390 &_swigt__p_wxCommandEvent,
16391 &_swigt__p_wxConfigBase,
16392 &_swigt__p_wxContextMenuEvent,
16393 &_swigt__p_wxControl,
16394 &_swigt__p_wxControlWithItems,
16395 &_swigt__p_wxCursor,
16396 &_swigt__p_wxDC,
16397 &_swigt__p_wxDateEvent,
16398 &_swigt__p_wxDefaultHtmlRenderingStyle,
16399 &_swigt__p_wxDialog,
16400 &_swigt__p_wxDirDialog,
16401 &_swigt__p_wxDisplayChangedEvent,
16402 &_swigt__p_wxDropFilesEvent,
16403 &_swigt__p_wxDuplexMode,
16404 &_swigt__p_wxEraseEvent,
16405 &_swigt__p_wxEvent,
16406 &_swigt__p_wxEvtHandler,
16407 &_swigt__p_wxFSFile,
16408 &_swigt__p_wxFileDialog,
16409 &_swigt__p_wxFileSystem,
16410 &_swigt__p_wxFindDialogEvent,
16411 &_swigt__p_wxFindReplaceData,
16412 &_swigt__p_wxFindReplaceDialog,
16413 &_swigt__p_wxFlexGridSizer,
16414 &_swigt__p_wxFocusEvent,
16415 &_swigt__p_wxFont,
16416 &_swigt__p_wxFontData,
16417 &_swigt__p_wxFontDialog,
16418 &_swigt__p_wxFrame,
16419 &_swigt__p_wxGBSizerItem,
16420 &_swigt__p_wxGIFHandler,
16421 &_swigt__p_wxGridBagSizer,
16422 &_swigt__p_wxGridSizer,
16423 &_swigt__p_wxHelpControllerBase,
16424 &_swigt__p_wxHelpSearchMode,
16425 &_swigt__p_wxHtmlBookRecArray,
16426 &_swigt__p_wxHtmlBookRecord,
16427 &_swigt__p_wxHtmlCell,
16428 &_swigt__p_wxHtmlColourCell,
16429 &_swigt__p_wxHtmlContainerCell,
16430 &_swigt__p_wxHtmlDCRenderer,
16431 &_swigt__p_wxHtmlEasyPrinting,
16432 &_swigt__p_wxHtmlFilter,
16433 &_swigt__p_wxHtmlFontCell,
16434 &_swigt__p_wxHtmlHelpController,
16435 &_swigt__p_wxHtmlHelpData,
16436 &_swigt__p_wxHtmlHelpDialog,
16437 &_swigt__p_wxHtmlHelpFrame,
16438 &_swigt__p_wxHtmlHelpFrameCfg,
16439 &_swigt__p_wxHtmlHelpWindow,
16440 &_swigt__p_wxHtmlLinkInfo,
16441 &_swigt__p_wxHtmlModalHelp,
16442 &_swigt__p_wxHtmlParser,
16443 &_swigt__p_wxHtmlPrintout,
16444 &_swigt__p_wxHtmlRenderingInfo,
16445 &_swigt__p_wxHtmlRenderingState,
16446 &_swigt__p_wxHtmlRenderingStyle,
16447 &_swigt__p_wxHtmlSearchStatus,
16448 &_swigt__p_wxHtmlSelection,
16449 &_swigt__p_wxHtmlTag,
16450 &_swigt__p_wxHtmlTagHandler,
16451 &_swigt__p_wxHtmlWidgetCell,
16452 &_swigt__p_wxHtmlWinParser,
16453 &_swigt__p_wxHtmlWindow,
16454 &_swigt__p_wxHtmlWindowEvent,
16455 &_swigt__p_wxHtmlWordCell,
16456 &_swigt__p_wxICOHandler,
16457 &_swigt__p_wxIconizeEvent,
16458 &_swigt__p_wxIdleEvent,
16459 &_swigt__p_wxImage,
16460 &_swigt__p_wxImageHandler,
16461 &_swigt__p_wxIndividualLayoutConstraint,
16462 &_swigt__p_wxInitDialogEvent,
16463 &_swigt__p_wxJPEGHandler,
16464 &_swigt__p_wxKeyEvent,
16465 &_swigt__p_wxLayoutAlgorithm,
16466 &_swigt__p_wxLayoutConstraints,
16467 &_swigt__p_wxMDIChildFrame,
16468 &_swigt__p_wxMDIClientWindow,
16469 &_swigt__p_wxMDIParentFrame,
16470 &_swigt__p_wxMaximizeEvent,
16471 &_swigt__p_wxMenu,
16472 &_swigt__p_wxMenuBar,
16473 &_swigt__p_wxMenuEvent,
16474 &_swigt__p_wxMenuItem,
16475 &_swigt__p_wxMessageDialog,
16476 &_swigt__p_wxMiniFrame,
16477 &_swigt__p_wxMouseCaptureChangedEvent,
16478 &_swigt__p_wxMouseEvent,
16479 &_swigt__p_wxMoveEvent,
16480 &_swigt__p_wxMultiChoiceDialog,
16481 &_swigt__p_wxNavigationKeyEvent,
16482 &_swigt__p_wxNcPaintEvent,
16483 &_swigt__p_wxNotifyEvent,
16484 &_swigt__p_wxObject,
16485 &_swigt__p_wxPCXHandler,
16486 &_swigt__p_wxPNGHandler,
16487 &_swigt__p_wxPNMHandler,
16488 &_swigt__p_wxPageSetupDialog,
16489 &_swigt__p_wxPageSetupDialogData,
16490 &_swigt__p_wxPaintEvent,
16491 &_swigt__p_wxPaletteChangedEvent,
16492 &_swigt__p_wxPanel,
16493 &_swigt__p_wxPaperSize,
16494 &_swigt__p_wxPasswordEntryDialog,
16495 &_swigt__p_wxPoint,
16496 &_swigt__p_wxPopupWindow,
16497 &_swigt__p_wxPreviewCanvas,
16498 &_swigt__p_wxPreviewControlBar,
16499 &_swigt__p_wxPreviewFrame,
16500 &_swigt__p_wxPrintData,
16501 &_swigt__p_wxPrintDialog,
16502 &_swigt__p_wxPrintDialogData,
16503 &_swigt__p_wxPrintPreview,
16504 &_swigt__p_wxPrinter,
16505 &_swigt__p_wxProgressDialog,
16506 &_swigt__p_wxPyApp,
16507 &_swigt__p_wxPyCommandEvent,
16508 &_swigt__p_wxPyEvent,
16509 &_swigt__p_wxPyHtmlFilter,
16510 &_swigt__p_wxPyHtmlListBox,
16511 &_swigt__p_wxPyHtmlTagHandler,
16512 &_swigt__p_wxPyHtmlWinTagHandler,
16513 &_swigt__p_wxPyHtmlWindow,
16514 &_swigt__p_wxPyImageHandler,
16515 &_swigt__p_wxPyPanel,
16516 &_swigt__p_wxPyPopupTransientWindow,
16517 &_swigt__p_wxPyPreviewControlBar,
16518 &_swigt__p_wxPyPreviewFrame,
16519 &_swigt__p_wxPyPrintPreview,
16520 &_swigt__p_wxPyPrintout,
16521 &_swigt__p_wxPyScrolledWindow,
16522 &_swigt__p_wxPySizer,
16523 &_swigt__p_wxPyTaskBarIcon,
16524 &_swigt__p_wxPyVListBox,
16525 &_swigt__p_wxPyVScrolledWindow,
16526 &_swigt__p_wxPyValidator,
16527 &_swigt__p_wxPyWindow,
16528 &_swigt__p_wxQueryLayoutInfoEvent,
16529 &_swigt__p_wxQueryNewPaletteEvent,
16530 &_swigt__p_wxSashEvent,
16531 &_swigt__p_wxSashLayoutWindow,
16532 &_swigt__p_wxSashWindow,
16533 &_swigt__p_wxScrollEvent,
16534 &_swigt__p_wxScrollWinEvent,
16535 &_swigt__p_wxScrolledWindow,
16536 &_swigt__p_wxSetCursorEvent,
16537 &_swigt__p_wxShowEvent,
16538 &_swigt__p_wxSingleChoiceDialog,
16539 &_swigt__p_wxSize,
16540 &_swigt__p_wxSizeEvent,
16541 &_swigt__p_wxSizer,
16542 &_swigt__p_wxSizerItem,
16543 &_swigt__p_wxSplashScreen,
16544 &_swigt__p_wxSplashScreenWindow,
16545 &_swigt__p_wxSplitterEvent,
16546 &_swigt__p_wxSplitterWindow,
16547 &_swigt__p_wxStaticBoxSizer,
16548 &_swigt__p_wxStatusBar,
16549 &_swigt__p_wxStdDialogButtonSizer,
16550 &_swigt__p_wxString,
16551 &_swigt__p_wxSysColourChangedEvent,
16552 &_swigt__p_wxTIFFHandler,
16553 &_swigt__p_wxTaskBarIconEvent,
16554 &_swigt__p_wxTextEntryDialog,
16555 &_swigt__p_wxTipWindow,
16556 &_swigt__p_wxTopLevelWindow,
16557 &_swigt__p_wxTreeCtrl,
16558 &_swigt__p_wxUpdateUIEvent,
16559 &_swigt__p_wxValidator,
16560 &_swigt__p_wxVisualAttributes,
16561 &_swigt__p_wxWindow,
16562 &_swigt__p_wxWindowCreateEvent,
16563 &_swigt__p_wxWindowDestroyEvent,
16564 &_swigt__p_wxXPMHandler,
16565 &_swigt__ptrdiff_t,
16566 &_swigt__std__ptrdiff_t,
16567 &_swigt__unsigned_int,
16568 };
16569
16570 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
16571 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16572 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
16573 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16574 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
16575 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16576 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16577 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
16578 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
16579 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
16580 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
16581 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
16582 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
16583 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
16584 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16585 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16586 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
16587 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
16588 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16589 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
16590 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}};
16591 static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
16592 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
16593 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
16594 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
16595 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
16596 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
16597 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
16598 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
16599 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16600 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16601 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16602 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16603 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
16604 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
16605 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}};
16606 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
16607 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16608 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
16609 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
16610 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
16611 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16612 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
16613 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
16614 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
16615 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
16616 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16617 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16618 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
16619 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16620 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
16621 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16622 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16623 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16624 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16625 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16626 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16627 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
16628 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16629 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
16630 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
16631 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16632 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16633 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
16634 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
16635 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}};
16636 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
16637 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
16638 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
16639 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
16640 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
16641 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
16642 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
16643 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
16644 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
16645 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
16646 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16647 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16648 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
16649 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
16650 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
16651 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
16652 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
16653 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16654 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16655 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
16656 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
16657 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
16658 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
16659 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
16660 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
16661 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
16662 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
16663 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16664 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16665 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
16666 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
16667 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
16668 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_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
16669 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
16670 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
16671 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_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
16672 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}};
16673 static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
16674 static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
16675 static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
16676 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}};
16677 static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
16678 static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
16679 static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
16680 static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
16681 static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16682 static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
16683 static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
16684 static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
16685 static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
16686 static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
16687 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
16688 static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
16689 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
16690 static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
16691 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}};
16692 static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
16693 static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
16694 static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
16695 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}};
16696 static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
16697 static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
16698 static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
16699 static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16700 static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
16701 static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
16702 static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16703 static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
16704 static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
16705 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
16706 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}};
16707 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
16708 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
16709 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
16710 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
16711 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
16712 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
16713 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
16714 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
16715 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16716 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16717 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
16718 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
16719 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
16720 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
16721 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16722 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16723 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
16724 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16725 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
16726 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16727 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
16728 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
16729 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16730 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16731 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
16732 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
16733 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
16734 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
16735 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16736 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16737 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
16738 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
16739 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
16740 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
16741 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
16742 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
16743 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
16744 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
16745 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
16746 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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
16747 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
16748 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}};
16749 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
16750 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
16751 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
16752 static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
16753 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}};
16754 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
16755 static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
16756 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}};
16757 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}};
16758 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
16759 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
16760 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
16761 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_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
16762 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
16763 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
16764 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_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
16765 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16766 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16767 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16768
16769 static swig_cast_info *swig_cast_initial[] = {
16770 _swigc__p_bool,
16771 _swigc__p_char,
16772 _swigc__p_form_ops_t,
16773 _swigc__p_int,
16774 _swigc__p_unsigned_char,
16775 _swigc__p_unsigned_int,
16776 _swigc__p_unsigned_long,
16777 _swigc__p_wxANIHandler,
16778 _swigc__p_wxAcceleratorTable,
16779 _swigc__p_wxActivateEvent,
16780 _swigc__p_wxBMPHandler,
16781 _swigc__p_wxBitmap,
16782 _swigc__p_wxBoxSizer,
16783 _swigc__p_wxCURHandler,
16784 _swigc__p_wxCalculateLayoutEvent,
16785 _swigc__p_wxChildFocusEvent,
16786 _swigc__p_wxCloseEvent,
16787 _swigc__p_wxColour,
16788 _swigc__p_wxColourData,
16789 _swigc__p_wxColourDialog,
16790 _swigc__p_wxCommandEvent,
16791 _swigc__p_wxConfigBase,
16792 _swigc__p_wxContextMenuEvent,
16793 _swigc__p_wxControl,
16794 _swigc__p_wxControlWithItems,
16795 _swigc__p_wxCursor,
16796 _swigc__p_wxDC,
16797 _swigc__p_wxDateEvent,
16798 _swigc__p_wxDefaultHtmlRenderingStyle,
16799 _swigc__p_wxDialog,
16800 _swigc__p_wxDirDialog,
16801 _swigc__p_wxDisplayChangedEvent,
16802 _swigc__p_wxDropFilesEvent,
16803 _swigc__p_wxDuplexMode,
16804 _swigc__p_wxEraseEvent,
16805 _swigc__p_wxEvent,
16806 _swigc__p_wxEvtHandler,
16807 _swigc__p_wxFSFile,
16808 _swigc__p_wxFileDialog,
16809 _swigc__p_wxFileSystem,
16810 _swigc__p_wxFindDialogEvent,
16811 _swigc__p_wxFindReplaceData,
16812 _swigc__p_wxFindReplaceDialog,
16813 _swigc__p_wxFlexGridSizer,
16814 _swigc__p_wxFocusEvent,
16815 _swigc__p_wxFont,
16816 _swigc__p_wxFontData,
16817 _swigc__p_wxFontDialog,
16818 _swigc__p_wxFrame,
16819 _swigc__p_wxGBSizerItem,
16820 _swigc__p_wxGIFHandler,
16821 _swigc__p_wxGridBagSizer,
16822 _swigc__p_wxGridSizer,
16823 _swigc__p_wxHelpControllerBase,
16824 _swigc__p_wxHelpSearchMode,
16825 _swigc__p_wxHtmlBookRecArray,
16826 _swigc__p_wxHtmlBookRecord,
16827 _swigc__p_wxHtmlCell,
16828 _swigc__p_wxHtmlColourCell,
16829 _swigc__p_wxHtmlContainerCell,
16830 _swigc__p_wxHtmlDCRenderer,
16831 _swigc__p_wxHtmlEasyPrinting,
16832 _swigc__p_wxHtmlFilter,
16833 _swigc__p_wxHtmlFontCell,
16834 _swigc__p_wxHtmlHelpController,
16835 _swigc__p_wxHtmlHelpData,
16836 _swigc__p_wxHtmlHelpDialog,
16837 _swigc__p_wxHtmlHelpFrame,
16838 _swigc__p_wxHtmlHelpFrameCfg,
16839 _swigc__p_wxHtmlHelpWindow,
16840 _swigc__p_wxHtmlLinkInfo,
16841 _swigc__p_wxHtmlModalHelp,
16842 _swigc__p_wxHtmlParser,
16843 _swigc__p_wxHtmlPrintout,
16844 _swigc__p_wxHtmlRenderingInfo,
16845 _swigc__p_wxHtmlRenderingState,
16846 _swigc__p_wxHtmlRenderingStyle,
16847 _swigc__p_wxHtmlSearchStatus,
16848 _swigc__p_wxHtmlSelection,
16849 _swigc__p_wxHtmlTag,
16850 _swigc__p_wxHtmlTagHandler,
16851 _swigc__p_wxHtmlWidgetCell,
16852 _swigc__p_wxHtmlWinParser,
16853 _swigc__p_wxHtmlWindow,
16854 _swigc__p_wxHtmlWindowEvent,
16855 _swigc__p_wxHtmlWordCell,
16856 _swigc__p_wxICOHandler,
16857 _swigc__p_wxIconizeEvent,
16858 _swigc__p_wxIdleEvent,
16859 _swigc__p_wxImage,
16860 _swigc__p_wxImageHandler,
16861 _swigc__p_wxIndividualLayoutConstraint,
16862 _swigc__p_wxInitDialogEvent,
16863 _swigc__p_wxJPEGHandler,
16864 _swigc__p_wxKeyEvent,
16865 _swigc__p_wxLayoutAlgorithm,
16866 _swigc__p_wxLayoutConstraints,
16867 _swigc__p_wxMDIChildFrame,
16868 _swigc__p_wxMDIClientWindow,
16869 _swigc__p_wxMDIParentFrame,
16870 _swigc__p_wxMaximizeEvent,
16871 _swigc__p_wxMenu,
16872 _swigc__p_wxMenuBar,
16873 _swigc__p_wxMenuEvent,
16874 _swigc__p_wxMenuItem,
16875 _swigc__p_wxMessageDialog,
16876 _swigc__p_wxMiniFrame,
16877 _swigc__p_wxMouseCaptureChangedEvent,
16878 _swigc__p_wxMouseEvent,
16879 _swigc__p_wxMoveEvent,
16880 _swigc__p_wxMultiChoiceDialog,
16881 _swigc__p_wxNavigationKeyEvent,
16882 _swigc__p_wxNcPaintEvent,
16883 _swigc__p_wxNotifyEvent,
16884 _swigc__p_wxObject,
16885 _swigc__p_wxPCXHandler,
16886 _swigc__p_wxPNGHandler,
16887 _swigc__p_wxPNMHandler,
16888 _swigc__p_wxPageSetupDialog,
16889 _swigc__p_wxPageSetupDialogData,
16890 _swigc__p_wxPaintEvent,
16891 _swigc__p_wxPaletteChangedEvent,
16892 _swigc__p_wxPanel,
16893 _swigc__p_wxPaperSize,
16894 _swigc__p_wxPasswordEntryDialog,
16895 _swigc__p_wxPoint,
16896 _swigc__p_wxPopupWindow,
16897 _swigc__p_wxPreviewCanvas,
16898 _swigc__p_wxPreviewControlBar,
16899 _swigc__p_wxPreviewFrame,
16900 _swigc__p_wxPrintData,
16901 _swigc__p_wxPrintDialog,
16902 _swigc__p_wxPrintDialogData,
16903 _swigc__p_wxPrintPreview,
16904 _swigc__p_wxPrinter,
16905 _swigc__p_wxProgressDialog,
16906 _swigc__p_wxPyApp,
16907 _swigc__p_wxPyCommandEvent,
16908 _swigc__p_wxPyEvent,
16909 _swigc__p_wxPyHtmlFilter,
16910 _swigc__p_wxPyHtmlListBox,
16911 _swigc__p_wxPyHtmlTagHandler,
16912 _swigc__p_wxPyHtmlWinTagHandler,
16913 _swigc__p_wxPyHtmlWindow,
16914 _swigc__p_wxPyImageHandler,
16915 _swigc__p_wxPyPanel,
16916 _swigc__p_wxPyPopupTransientWindow,
16917 _swigc__p_wxPyPreviewControlBar,
16918 _swigc__p_wxPyPreviewFrame,
16919 _swigc__p_wxPyPrintPreview,
16920 _swigc__p_wxPyPrintout,
16921 _swigc__p_wxPyScrolledWindow,
16922 _swigc__p_wxPySizer,
16923 _swigc__p_wxPyTaskBarIcon,
16924 _swigc__p_wxPyVListBox,
16925 _swigc__p_wxPyVScrolledWindow,
16926 _swigc__p_wxPyValidator,
16927 _swigc__p_wxPyWindow,
16928 _swigc__p_wxQueryLayoutInfoEvent,
16929 _swigc__p_wxQueryNewPaletteEvent,
16930 _swigc__p_wxSashEvent,
16931 _swigc__p_wxSashLayoutWindow,
16932 _swigc__p_wxSashWindow,
16933 _swigc__p_wxScrollEvent,
16934 _swigc__p_wxScrollWinEvent,
16935 _swigc__p_wxScrolledWindow,
16936 _swigc__p_wxSetCursorEvent,
16937 _swigc__p_wxShowEvent,
16938 _swigc__p_wxSingleChoiceDialog,
16939 _swigc__p_wxSize,
16940 _swigc__p_wxSizeEvent,
16941 _swigc__p_wxSizer,
16942 _swigc__p_wxSizerItem,
16943 _swigc__p_wxSplashScreen,
16944 _swigc__p_wxSplashScreenWindow,
16945 _swigc__p_wxSplitterEvent,
16946 _swigc__p_wxSplitterWindow,
16947 _swigc__p_wxStaticBoxSizer,
16948 _swigc__p_wxStatusBar,
16949 _swigc__p_wxStdDialogButtonSizer,
16950 _swigc__p_wxString,
16951 _swigc__p_wxSysColourChangedEvent,
16952 _swigc__p_wxTIFFHandler,
16953 _swigc__p_wxTaskBarIconEvent,
16954 _swigc__p_wxTextEntryDialog,
16955 _swigc__p_wxTipWindow,
16956 _swigc__p_wxTopLevelWindow,
16957 _swigc__p_wxTreeCtrl,
16958 _swigc__p_wxUpdateUIEvent,
16959 _swigc__p_wxValidator,
16960 _swigc__p_wxVisualAttributes,
16961 _swigc__p_wxWindow,
16962 _swigc__p_wxWindowCreateEvent,
16963 _swigc__p_wxWindowDestroyEvent,
16964 _swigc__p_wxXPMHandler,
16965 _swigc__ptrdiff_t,
16966 _swigc__std__ptrdiff_t,
16967 _swigc__unsigned_int,
16968 };
16969
16970
16971 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16972
16973 static swig_const_info swig_const_table[] = {
16974 {0, 0, 0, 0.0, 0, 0}};
16975
16976 #ifdef __cplusplus
16977 }
16978 #endif
16979 /*************************************************************************
16980 * Type initialization:
16981 * This problem is tough by the requirement that no dynamic
16982 * memory is used. Also, since swig_type_info structures store pointers to
16983 * swig_cast_info structures and swig_cast_info structures store pointers back
16984 * to swig_type_info structures, we need some lookup code at initialization.
16985 * The idea is that swig generates all the structures that are needed.
16986 * The runtime then collects these partially filled structures.
16987 * The SWIG_InitializeModule function takes these initial arrays out of
16988 * swig_module, and does all the lookup, filling in the swig_module.types
16989 * array with the correct data and linking the correct swig_cast_info
16990 * structures together.
16991
16992 * The generated swig_type_info structures are assigned staticly to an initial
16993 * array. We just loop though that array, and handle each type individually.
16994 * First we lookup if this type has been already loaded, and if so, use the
16995 * loaded structure instead of the generated one. Then we have to fill in the
16996 * cast linked list. The cast data is initially stored in something like a
16997 * two-dimensional array. Each row corresponds to a type (there are the same
16998 * number of rows as there are in the swig_type_initial array). Each entry in
16999 * a column is one of the swig_cast_info structures for that type.
17000 * The cast_initial array is actually an array of arrays, because each row has
17001 * a variable number of columns. So to actually build the cast linked list,
17002 * we find the array of casts associated with the type, and loop through it
17003 * adding the casts to the list. The one last trick we need to do is making
17004 * sure the type pointer in the swig_cast_info struct is correct.
17005
17006 * First off, we lookup the cast->type name to see if it is already loaded.
17007 * There are three cases to handle:
17008 * 1) If the cast->type has already been loaded AND the type we are adding
17009 * casting info to has not been loaded (it is in this module), THEN we
17010 * replace the cast->type pointer with the type pointer that has already
17011 * been loaded.
17012 * 2) If BOTH types (the one we are adding casting info to, and the
17013 * cast->type) are loaded, THEN the cast info has already been loaded by
17014 * the previous module so we just ignore it.
17015 * 3) Finally, if cast->type has not already been loaded, then we add that
17016 * swig_cast_info to the linked list (because the cast->type) pointer will
17017 * be correct.
17018 **/
17019
17020 #ifdef __cplusplus
17021 extern "C" {
17022 #if 0
17023 } /* c-mode */
17024 #endif
17025 #endif
17026
17027 #if 0
17028 #define SWIGRUNTIME_DEBUG
17029 #endif
17030
17031 SWIGRUNTIME void
17032 SWIG_InitializeModule(void *clientdata) {
17033 size_t i;
17034 swig_module_info *module_head;
17035 static int init_run = 0;
17036
17037 clientdata = clientdata;
17038
17039 if (init_run) return;
17040 init_run = 1;
17041
17042 /* Initialize the swig_module */
17043 swig_module.type_initial = swig_type_initial;
17044 swig_module.cast_initial = swig_cast_initial;
17045
17046 /* Try and load any already created modules */
17047 module_head = SWIG_GetModule(clientdata);
17048 if (module_head) {
17049 swig_module.next = module_head->next;
17050 module_head->next = &swig_module;
17051 } else {
17052 /* This is the first module loaded */
17053 swig_module.next = &swig_module;
17054 SWIG_SetModule(clientdata, &swig_module);
17055 }
17056
17057 /* Now work on filling in swig_module.types */
17058 #ifdef SWIGRUNTIME_DEBUG
17059 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
17060 #endif
17061 for (i = 0; i < swig_module.size; ++i) {
17062 swig_type_info *type = 0;
17063 swig_type_info *ret;
17064 swig_cast_info *cast;
17065
17066 #ifdef SWIGRUNTIME_DEBUG
17067 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17068 #endif
17069
17070 /* if there is another module already loaded */
17071 if (swig_module.next != &swig_module) {
17072 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
17073 }
17074 if (type) {
17075 /* Overwrite clientdata field */
17076 #ifdef SWIGRUNTIME_DEBUG
17077 printf("SWIG_InitializeModule: found type %s\n", type->name);
17078 #endif
17079 if (swig_module.type_initial[i]->clientdata) {
17080 type->clientdata = swig_module.type_initial[i]->clientdata;
17081 #ifdef SWIGRUNTIME_DEBUG
17082 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
17083 #endif
17084 }
17085 } else {
17086 type = swig_module.type_initial[i];
17087 }
17088
17089 /* Insert casting types */
17090 cast = swig_module.cast_initial[i];
17091 while (cast->type) {
17092 /* Don't need to add information already in the list */
17093 ret = 0;
17094 #ifdef SWIGRUNTIME_DEBUG
17095 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
17096 #endif
17097 if (swig_module.next != &swig_module) {
17098 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
17099 #ifdef SWIGRUNTIME_DEBUG
17100 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
17101 #endif
17102 }
17103 if (ret) {
17104 if (type == swig_module.type_initial[i]) {
17105 #ifdef SWIGRUNTIME_DEBUG
17106 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
17107 #endif
17108 cast->type = ret;
17109 ret = 0;
17110 } else {
17111 /* Check for casting already in the list */
17112 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
17113 #ifdef SWIGRUNTIME_DEBUG
17114 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
17115 #endif
17116 if (!ocast) ret = 0;
17117 }
17118 }
17119
17120 if (!ret) {
17121 #ifdef SWIGRUNTIME_DEBUG
17122 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
17123 #endif
17124 if (type->cast) {
17125 type->cast->prev = cast;
17126 cast->next = type->cast;
17127 }
17128 type->cast = cast;
17129 }
17130 cast++;
17131 }
17132 /* Set entry in modules->types array equal to the type */
17133 swig_module.types[i] = type;
17134 }
17135 swig_module.types[i] = 0;
17136
17137 #ifdef SWIGRUNTIME_DEBUG
17138 printf("**** SWIG_InitializeModule: Cast List ******\n");
17139 for (i = 0; i < swig_module.size; ++i) {
17140 int j = 0;
17141 swig_cast_info *cast = swig_module.cast_initial[i];
17142 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17143 while (cast->type) {
17144 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
17145 cast++;
17146 ++j;
17147 }
17148 printf("---- Total casts: %d\n",j);
17149 }
17150 printf("**** SWIG_InitializeModule: Cast List ******\n");
17151 #endif
17152 }
17153
17154 /* This function will propagate the clientdata field of type to
17155 * any new swig_type_info structures that have been added into the list
17156 * of equivalent types. It is like calling
17157 * SWIG_TypeClientData(type, clientdata) a second time.
17158 */
17159 SWIGRUNTIME void
17160 SWIG_PropagateClientData(void) {
17161 size_t i;
17162 swig_cast_info *equiv;
17163 static int init_run = 0;
17164
17165 if (init_run) return;
17166 init_run = 1;
17167
17168 for (i = 0; i < swig_module.size; i++) {
17169 if (swig_module.types[i]->clientdata) {
17170 equiv = swig_module.types[i]->cast;
17171 while (equiv) {
17172 if (!equiv->converter) {
17173 if (equiv->type && !equiv->type->clientdata)
17174 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
17175 }
17176 equiv = equiv->next;
17177 }
17178 }
17179 }
17180 }
17181
17182 #ifdef __cplusplus
17183 #if 0
17184 {
17185 /* c-mode */
17186 #endif
17187 }
17188 #endif
17189
17190
17191
17192 #ifdef __cplusplus
17193 extern "C" {
17194 #endif
17195
17196 /* Python-specific SWIG API */
17197 #define SWIG_newvarlink() SWIG_Python_newvarlink()
17198 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17199 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17200
17201 /* -----------------------------------------------------------------------------
17202 * global variable support code.
17203 * ----------------------------------------------------------------------------- */
17204
17205 typedef struct swig_globalvar {
17206 char *name; /* Name of global variable */
17207 PyObject *(*get_attr)(void); /* Return the current value */
17208 int (*set_attr)(PyObject *); /* Set the value */
17209 struct swig_globalvar *next;
17210 } swig_globalvar;
17211
17212 typedef struct swig_varlinkobject {
17213 PyObject_HEAD
17214 swig_globalvar *vars;
17215 } swig_varlinkobject;
17216
17217 SWIGINTERN PyObject *
17218 swig_varlink_repr(swig_varlinkobject *v) {
17219 v = v;
17220 return PyString_FromString("<Swig global variables>");
17221 }
17222
17223 SWIGINTERN int
17224 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
17225 swig_globalvar *var;
17226 flags = flags;
17227 fprintf(fp,"Swig global variables { ");
17228 for (var = v->vars; var; var=var->next) {
17229 fprintf(fp,"%s", var->name);
17230 if (var->next) fprintf(fp,", ");
17231 }
17232 fprintf(fp," }\n");
17233 return 0;
17234 }
17235
17236 SWIGINTERN PyObject *
17237 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17238 swig_globalvar *var = v->vars;
17239 while (var) {
17240 if (strcmp(var->name,n) == 0) {
17241 return (*var->get_attr)();
17242 }
17243 var = var->next;
17244 }
17245 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17246 return NULL;
17247 }
17248
17249 SWIGINTERN int
17250 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17251 swig_globalvar *var = v->vars;
17252 while (var) {
17253 if (strcmp(var->name,n) == 0) {
17254 return (*var->set_attr)(p);
17255 }
17256 var = var->next;
17257 }
17258 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17259 return 1;
17260 }
17261
17262 SWIGINTERN PyTypeObject*
17263 swig_varlink_type(void) {
17264 static char varlink__doc__[] = "Swig var link object";
17265 static PyTypeObject varlink_type
17266 #if !defined(__cplusplus)
17267 ;
17268 static int type_init = 0;
17269 if (!type_init) {
17270 PyTypeObject tmp
17271 #endif
17272 = {
17273 PyObject_HEAD_INIT(&PyType_Type)
17274 0, /* Number of items in variable part (ob_size) */
17275 (char *)"swigvarlink", /* Type name (tp_name) */
17276 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17277 0, /* Itemsize (tp_itemsize) */
17278 0, /* Deallocator (tp_dealloc) */
17279 (printfunc) swig_varlink_print, /* Print (tp_print) */
17280 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17281 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17282 0, /* tp_compare */
17283 (reprfunc) swig_varlink_repr, /* tp_repr */
17284 0, /* tp_as_number */
17285 0, /* tp_as_sequence */
17286 0, /* tp_as_mapping */
17287 0, /* tp_hash */
17288 0, /* tp_call */
17289 0, /* tp_str */
17290 0, /* tp_getattro */
17291 0, /* tp_setattro */
17292 0, /* tp_as_buffer */
17293 0, /* tp_flags */
17294 varlink__doc__, /* tp_doc */
17295 #if PY_VERSION_HEX >= 0x02000000
17296 0, /* tp_traverse */
17297 0, /* tp_clear */
17298 #endif
17299 #if PY_VERSION_HEX >= 0x02010000
17300 0, /* tp_richcompare */
17301 0, /* tp_weaklistoffset */
17302 #endif
17303 #if PY_VERSION_HEX >= 0x02020000
17304 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
17305 #endif
17306 #if PY_VERSION_HEX >= 0x02030000
17307 0, /* tp_del */
17308 #endif
17309 #ifdef COUNT_ALLOCS
17310 0,0,0,0 /* tp_alloc -> tp_next */
17311 #endif
17312 };
17313 #if !defined(__cplusplus)
17314 varlink_type = tmp;
17315 type_init = 1;
17316 }
17317 #endif
17318 return &varlink_type;
17319 }
17320
17321 /* Create a variable linking object for use later */
17322 SWIGINTERN PyObject *
17323 SWIG_Python_newvarlink(void) {
17324 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
17325 if (result) {
17326 result->vars = 0;
17327 }
17328 return ((PyObject*) result);
17329 }
17330
17331 SWIGINTERN void
17332 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
17333 swig_varlinkobject *v = (swig_varlinkobject *) p;
17334 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17335 if (gv) {
17336 size_t size = strlen(name)+1;
17337 gv->name = (char *)malloc(size);
17338 if (gv->name) {
17339 strncpy(gv->name,name,size);
17340 gv->get_attr = get_attr;
17341 gv->set_attr = set_attr;
17342 gv->next = v->vars;
17343 }
17344 }
17345 v->vars = gv;
17346 }
17347
17348 /* -----------------------------------------------------------------------------
17349 * constants/methods manipulation
17350 * ----------------------------------------------------------------------------- */
17351
17352 /* Install Constants */
17353 SWIGINTERN void
17354 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17355 PyObject *obj = 0;
17356 size_t i;
17357 for (i = 0; constants[i].type; ++i) {
17358 switch(constants[i].type) {
17359 case SWIG_PY_INT:
17360 obj = PyInt_FromLong(constants[i].lvalue);
17361 break;
17362 case SWIG_PY_FLOAT:
17363 obj = PyFloat_FromDouble(constants[i].dvalue);
17364 break;
17365 case SWIG_PY_STRING:
17366 if (constants[i].pvalue) {
17367 obj = PyString_FromString((char *) constants[i].pvalue);
17368 } else {
17369 Py_INCREF(Py_None);
17370 obj = Py_None;
17371 }
17372 break;
17373 case SWIG_PY_POINTER:
17374 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17375 break;
17376 case SWIG_PY_BINARY:
17377 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17378 break;
17379 default:
17380 obj = 0;
17381 break;
17382 }
17383 if (obj) {
17384 PyDict_SetItemString(d,constants[i].name,obj);
17385 Py_DECREF(obj);
17386 }
17387 }
17388 }
17389
17390 /* -----------------------------------------------------------------------------*/
17391 /* Fix SwigMethods to carry the callback ptrs when needed */
17392 /* -----------------------------------------------------------------------------*/
17393
17394 SWIGINTERN void
17395 SWIG_Python_FixMethods(PyMethodDef *methods,
17396 swig_const_info *const_table,
17397 swig_type_info **types,
17398 swig_type_info **types_initial) {
17399 size_t i;
17400 for (i = 0; methods[i].ml_name; ++i) {
17401 char *c = methods[i].ml_doc;
17402 if (c && (c = strstr(c, "swig_ptr: "))) {
17403 int j;
17404 swig_const_info *ci = 0;
17405 char *name = c + 10;
17406 for (j = 0; const_table[j].type; ++j) {
17407 if (strncmp(const_table[j].name, name,
17408 strlen(const_table[j].name)) == 0) {
17409 ci = &(const_table[j]);
17410 break;
17411 }
17412 }
17413 if (ci) {
17414 size_t shift = (ci->ptype) - types;
17415 swig_type_info *ty = types_initial[shift];
17416 size_t ldoc = (c - methods[i].ml_doc);
17417 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17418 char *ndoc = (char*)malloc(ldoc + lptr + 10);
17419 if (ndoc) {
17420 char *buff = ndoc;
17421 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
17422 if (ptr) {
17423 strncpy(buff, methods[i].ml_doc, ldoc);
17424 buff += ldoc;
17425 strncpy(buff, "swig_ptr: ", 10);
17426 buff += 10;
17427 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17428 methods[i].ml_doc = ndoc;
17429 }
17430 }
17431 }
17432 }
17433 }
17434 }
17435
17436 /* -----------------------------------------------------------------------------*
17437 * Initialize type list
17438 * -----------------------------------------------------------------------------*/
17439
17440 #ifdef __cplusplus
17441 }
17442 #endif
17443
17444 /* -----------------------------------------------------------------------------*
17445 * Partial Init method
17446 * -----------------------------------------------------------------------------*/
17447
17448 #ifdef __cplusplus
17449 extern "C"
17450 #endif
17451 SWIGEXPORT void SWIG_init(void) {
17452 static PyObject *SWIG_globals = 0;
17453 PyObject *m, *d;
17454 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17455
17456 /* Fix SwigMethods to carry the callback ptrs when needed */
17457 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
17458
17459 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17460 d = PyModule_GetDict(m);
17461
17462 SWIG_InitializeModule(0);
17463 SWIG_InstallConstants(d,swig_const_table);
17464
17465 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17466 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
17467 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
17468 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
17469 {
17470 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_LEFT)));
17471 }
17472 {
17473 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_CENTER)));
17474 }
17475 {
17476 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_RIGHT)));
17477 }
17478 {
17479 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_BOTTOM)));
17480 }
17481 {
17482 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_TOP)));
17483 }
17484 {
17485 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_FOREGROUND)));
17486 }
17487 {
17488 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_BACKGROUND)));
17489 }
17490 {
17491 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PIXELS)));
17492 }
17493 {
17494 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PERCENT)));
17495 }
17496 {
17497 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_LEFT)));
17498 }
17499 {
17500 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_RIGHT)));
17501 }
17502 {
17503 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int(static_cast<int >(wxHTML_INDENT_TOP)));
17504 }
17505 {
17506 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_INDENT_BOTTOM)));
17507 }
17508 {
17509 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_HORIZONTAL)));
17510 }
17511 {
17512 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_VERTICAL)));
17513 }
17514 {
17515 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_ALL)));
17516 }
17517 {
17518 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast<int >(wxHTML_COND_ISANCHOR)));
17519 }
17520 {
17521 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast<int >(wxHTML_COND_ISIMAGEMAP)));
17522 }
17523 {
17524 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int(static_cast<int >(wxHTML_COND_USER)));
17525 }
17526 {
17527 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_1)));
17528 }
17529 {
17530 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_2)));
17531 }
17532 {
17533 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_3)));
17534 }
17535 {
17536 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_4)));
17537 }
17538 {
17539 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_5)));
17540 }
17541 {
17542 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_6)));
17543 }
17544 {
17545 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_7)));
17546 }
17547 {
17548 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_NEVER)));
17549 }
17550 {
17551 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_AUTO)));
17552 }
17553 {
17554 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int(static_cast<int >(wxHW_NO_SELECTION)));
17555 }
17556 {
17557 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHW_DEFAULT_STYLE)));
17558 }
17559 {
17560 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int(static_cast<int >(wxHTML_OPEN)));
17561 }
17562 {
17563 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int(static_cast<int >(wxHTML_BLOCK)));
17564 }
17565 {
17566 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int(static_cast<int >(wxHTML_REDIRECT)));
17567 }
17568 {
17569 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_PAGE)));
17570 }
17571 {
17572 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_IMAGE)));
17573 }
17574 {
17575 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int(static_cast<int >(wxHTML_URL_OTHER)));
17576 }
17577 {
17578 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int(static_cast<int >(wxHTML_SEL_OUT)));
17579 }
17580 {
17581 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int(static_cast<int >(wxHTML_SEL_IN)));
17582 }
17583 {
17584 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int(static_cast<int >(wxHTML_SEL_CHANGING)));
17585 }
17586 {
17587 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int(static_cast<int >(wxHTML_FIND_EXACT)));
17588 }
17589 {
17590 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_BEFORE)));
17591 }
17592 {
17593 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_AFTER)));
17594 }
17595 {
17596 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int(static_cast<int >(wxPAGE_ODD)));
17597 }
17598 {
17599 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int(static_cast<int >(wxPAGE_EVEN)));
17600 }
17601 {
17602 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int(static_cast<int >(wxPAGE_ALL)));
17603 }
17604 {
17605 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_TOOLBAR)));
17606 }
17607 {
17608 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int(static_cast<int >(wxHF_CONTENTS)));
17609 }
17610 {
17611 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int(static_cast<int >(wxHF_INDEX)));
17612 }
17613 {
17614 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int(static_cast<int >(wxHF_SEARCH)));
17615 }
17616 {
17617 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int(static_cast<int >(wxHF_BOOKMARKS)));
17618 }
17619 {
17620 PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int(static_cast<int >(wxHF_OPEN_FILES)));
17621 }
17622 {
17623 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int(static_cast<int >(wxHF_PRINT)));
17624 }
17625 {
17626 PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_FLAT_TOOLBAR)));
17627 }
17628 {
17629 PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int(static_cast<int >(wxHF_MERGE_BOOKS)));
17630 }
17631 {
17632 PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK)));
17633 }
17634 {
17635 PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK_CHAPTER)));
17636 }
17637 {
17638 PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int(static_cast<int >(wxHF_ICONS_FOLDER)));
17639 }
17640 {
17641 PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHF_DEFAULT_STYLE)));
17642 }
17643 {
17644 PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int(static_cast<int >(wxHF_EMBEDDED)));
17645 }
17646 {
17647 PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int(static_cast<int >(wxHF_DIALOG)));
17648 }
17649 {
17650 PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int(static_cast<int >(wxHF_FRAME)));
17651 }
17652 {
17653 PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int(static_cast<int >(wxHF_MODAL)));
17654 }
17655 {
17656 PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int(static_cast<int >(wxID_HTML_PANEL)));
17657 }
17658 {
17659 PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int(static_cast<int >(wxID_HTML_BACK)));
17660 }
17661 {
17662 PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int(static_cast<int >(wxID_HTML_FORWARD)));
17663 }
17664 {
17665 PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int(static_cast<int >(wxID_HTML_UPNODE)));
17666 }
17667 {
17668 PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int(static_cast<int >(wxID_HTML_UP)));
17669 }
17670 {
17671 PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int(static_cast<int >(wxID_HTML_DOWN)));
17672 }
17673 {
17674 PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int(static_cast<int >(wxID_HTML_PRINT)));
17675 }
17676 {
17677 PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int(static_cast<int >(wxID_HTML_OPENFILE)));
17678 }
17679 {
17680 PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int(static_cast<int >(wxID_HTML_OPTIONS)));
17681 }
17682 {
17683 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSLIST)));
17684 }
17685 {
17686 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSADD)));
17687 }
17688 {
17689 PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSREMOVE)));
17690 }
17691 {
17692 PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int(static_cast<int >(wxID_HTML_TREECTRL)));
17693 }
17694 {
17695 PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXPAGE)));
17696 }
17697 {
17698 PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXLIST)));
17699 }
17700 {
17701 PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXTEXT)));
17702 }
17703 {
17704 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTON)));
17705 }
17706 {
17707 PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTONALL)));
17708 }
17709 {
17710 PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast<int >(wxID_HTML_NOTEBOOK)));
17711 }
17712 {
17713 PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHPAGE)));
17714 }
17715 {
17716 PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHTEXT)));
17717 }
17718 {
17719 PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHLIST)));
17720 }
17721 {
17722 PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHBUTTON)));
17723 }
17724 {
17725 PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHCHOICE)));
17726 }
17727 {
17728 PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast<int >(wxID_HTML_COUNTINFO)));
17729 }
17730
17731 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
17732 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
17733 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
17734 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
17735
17736 }
17737