]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/html_wrap.cpp
default value tweak
[wxWidgets.git] / wxPython / src / msw / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
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 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
1342 #define SWIGTYPE_p_wxColour swig_types[1]
1343 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
1344 #define SWIGTYPE_p_wxDC swig_types[3]
1345 #define SWIGTYPE_p_form_ops_t swig_types[4]
1346 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
1347 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1349 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8]
1350 #define SWIGTYPE_p_wxHtmlWordCell swig_types[9]
1351 #define SWIGTYPE_p_wxVisualAttributes swig_types[10]
1352 #define SWIGTYPE_p_wxHtmlHelpData swig_types[11]
1353 #define SWIGTYPE_p_char swig_types[12]
1354 #define SWIGTYPE_p_wxHtmlWinParser swig_types[13]
1355 #define SWIGTYPE_p_wxHtmlParser swig_types[14]
1356 #define SWIGTYPE_p_wxPanel swig_types[15]
1357 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
1358 #define SWIGTYPE_p_wxScrolledWindow swig_types[17]
1359 #define SWIGTYPE_p_wxWindow swig_types[18]
1360 #define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
1361 #define SWIGTYPE_p_wxFont swig_types[20]
1362 #define SWIGTYPE_p_wxHtmlColourCell swig_types[21]
1363 #define SWIGTYPE_p_wxHtmlFontCell swig_types[22]
1364 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23]
1365 #define SWIGTYPE_p_wxHtmlSelection swig_types[24]
1366 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25]
1367 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26]
1368 #define SWIGTYPE_p_wxObject swig_types[27]
1369 #define SWIGTYPE_p_wxBitmap swig_types[28]
1370 #define SWIGTYPE_p_wxPaperSize swig_types[29]
1371 #define SWIGTYPE_p_wxString swig_types[30]
1372 #define SWIGTYPE_p_unsigned_int swig_types[31]
1373 #define SWIGTYPE_unsigned_int swig_types[32]
1374 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[33]
1375 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[34]
1376 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
1377 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[36]
1378 #define SWIGTYPE_p_wxPoint swig_types[37]
1379 #define SWIGTYPE_p_wxHtmlHelpController swig_types[38]
1380 #define SWIGTYPE_p_wxCursor swig_types[39]
1381 #define SWIGTYPE_p_wxFileSystem swig_types[40]
1382 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[41]
1383 #define SWIGTYPE_p_unsigned_char swig_types[42]
1384 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
1385 #define SWIGTYPE_p_wxHtmlPrintout swig_types[44]
1386 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[45]
1387 #define SWIGTYPE_std__ptrdiff_t swig_types[46]
1388 #define SWIGTYPE_ptrdiff_t swig_types[47]
1389 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[48]
1390 #define SWIGTYPE_p_wxConfigBase swig_types[49]
1391 #define SWIGTYPE_p_wxPrintData swig_types[50]
1392 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[51]
1393 #define SWIGTYPE_p_wxFrame swig_types[52]
1394 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[53]
1395 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[54]
1396 #define SWIGTYPE_p_wxHtmlFilter swig_types[55]
1397 #define SWIGTYPE_p_wxHtmlCell swig_types[56]
1398 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[57]
1399 #define SWIGTYPE_p_wxHtmlTag swig_types[58]
1400 #define SWIGTYPE_p_int swig_types[59]
1401 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[60]
1402 #define SWIGTYPE_p_unsigned_long swig_types[61]
1403 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[62]
1404 static swig_type_info *swig_types[64];
1405
1406 /* -------- TYPES TABLE (END) -------- */
1407
1408
1409 /*-----------------------------------------------
1410 @(target):= _html.so
1411 ------------------------------------------------*/
1412 #define SWIG_init init_html
1413
1414 #define SWIG_name "_html"
1415
1416 #include "wx/wxPython/wxPython.h"
1417 #include "wx/wxPython/pyclasses.h"
1418 #include "wx/wxPython/pyistream.h"
1419 #include "wx/wxPython/printfw.h"
1420
1421 #include <wx/html/htmlwin.h>
1422 #include <wx/html/htmprint.h>
1423 #include <wx/html/helpctrl.h>
1424
1425
1426 static const wxString wxPyEmptyString(wxEmptyString);
1427 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1428 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1429 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
1430
1431 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1432 #define SWIG_From_int PyInt_FromLong
1433 /*@@*/
1434
1435
1436 #include <limits.h>
1437
1438
1439 SWIGINTERN int
1440 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1441 const char *errmsg)
1442 {
1443 if (value < min_value) {
1444 if (errmsg) {
1445 PyErr_Format(PyExc_OverflowError,
1446 "value %ld is less than '%s' minimum %ld",
1447 value, errmsg, min_value);
1448 }
1449 return 0;
1450 } else if (value > max_value) {
1451 if (errmsg) {
1452 PyErr_Format(PyExc_OverflowError,
1453 "value %ld is greater than '%s' maximum %ld",
1454 value, errmsg, max_value);
1455 }
1456 return 0;
1457 }
1458 return 1;
1459 }
1460
1461
1462 SWIGINTERN int
1463 SWIG_AsVal_long(PyObject* obj, long* val)
1464 {
1465 if (PyNumber_Check(obj)) {
1466 if (val) *val = PyInt_AsLong(obj);
1467 return 1;
1468 }
1469 else {
1470 SWIG_type_error("number", obj);
1471 }
1472 return 0;
1473 }
1474
1475
1476 #if INT_MAX != LONG_MAX
1477 SWIGINTERN int
1478 SWIG_AsVal_int(PyObject *obj, int *val)
1479 {
1480 const char* errmsg = val ? "int" : (char*)0;
1481 long v;
1482 if (SWIG_AsVal_long(obj, &v)) {
1483 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1484 if (val) *val = (int)(v);
1485 return 1;
1486 } else {
1487 return 0;
1488 }
1489 } else {
1490 PyErr_Clear();
1491 }
1492 if (val) {
1493 SWIG_type_error(errmsg, obj);
1494 }
1495 return 0;
1496 }
1497 #else
1498 SWIGINTERNSHORT int
1499 SWIG_AsVal_int(PyObject *obj, int *val)
1500 {
1501 return SWIG_AsVal_long(obj,(long*)val);
1502 }
1503 #endif
1504
1505
1506 SWIGINTERNSHORT int
1507 SWIG_As_int(PyObject* obj)
1508 {
1509 int v;
1510 if (!SWIG_AsVal_int(obj, &v)) {
1511 /*
1512 this is needed to make valgrind/purify happier.
1513 */
1514 memset((void*)&v, 0, sizeof(int));
1515 }
1516 return v;
1517 }
1518
1519
1520 SWIGINTERNSHORT int
1521 SWIG_Check_int(PyObject* obj)
1522 {
1523 return SWIG_AsVal_int(obj, (int*)0);
1524 }
1525
1526 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
1527 int* temp = NULL;
1528 if (sizes) temp = int_LIST_helper(sizes);
1529 self->SetFonts(normal_face, fixed_face, temp);
1530 if (temp)
1531 delete [] temp;
1532 }
1533
1534 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
1535 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
1536 public:
1537 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1538
1539 wxHtmlParser* GetParser() { return m_Parser; }
1540 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
1541
1542 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1543 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1544
1545 PYPRIVATE;
1546 };
1547
1548 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
1549
1550 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
1551 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
1552
1553
1554 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
1555 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
1556 public:
1557 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1558
1559 wxHtmlWinParser* GetParser() { return m_WParser; }
1560 void ParseInner(const wxHtmlTag& tag)
1561 { wxHtmlWinTagHandler::ParseInner(tag); }
1562
1563 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
1564 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
1565
1566 PYPRIVATE;
1567 };
1568
1569 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
1570
1571 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
1572 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
1573
1574
1575
1576 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
1577 public:
1578 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
1579 m_tagHandlerClass = thc;
1580 Py_INCREF(m_tagHandlerClass);
1581 RegisterModule(this);
1582 wxHtmlWinParser::AddModule(this);
1583 }
1584
1585 void OnExit() {
1586 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1587 Py_DECREF(m_tagHandlerClass);
1588 m_tagHandlerClass = NULL;
1589 for (size_t x=0; x < m_objArray.GetCount(); x++) {
1590 PyObject* obj = (PyObject*)m_objArray.Item(x);
1591 Py_DECREF(obj);
1592 }
1593 wxPyEndBlockThreads(blocked);
1594 };
1595
1596 void FillHandlersTable(wxHtmlWinParser *parser) {
1597 // Wave our magic wand... (if it works it's a miracle! ;-)
1598
1599 // First, make a new instance of the tag handler
1600 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1601 PyObject* arg = PyTuple_New(0);
1602 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
1603 Py_DECREF(arg);
1604
1605 // now figure out where it's C++ object is...
1606 wxPyHtmlWinTagHandler* thPtr;
1607 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
1608 wxPyEndBlockThreads(blocked);
1609 return;
1610 }
1611 wxPyEndBlockThreads(blocked);
1612
1613 // add it,
1614 parser->AddTagHandler(thPtr);
1615
1616 // and track it.
1617 m_objArray.Add(obj);
1618 }
1619
1620 private:
1621 PyObject* m_tagHandlerClass;
1622 wxArrayPtrVoid m_objArray;
1623
1624 };
1625
1626
1627 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
1628 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1629 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1630 new wxPyHtmlTagsModule(tagHandlerClass);
1631 }
1632
1633
1634 SWIGINTERNSHORT PyObject*
1635 SWIG_From_bool(bool value)
1636 {
1637 PyObject *obj = value ? Py_True : Py_False;
1638 Py_INCREF(obj);
1639 return obj;
1640 }
1641
1642
1643 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1644 PyObject* o2;
1645 PyObject* o3;
1646
1647 if (!target) {
1648 target = o;
1649 } else if (target == Py_None) {
1650 Py_DECREF(Py_None);
1651 target = o;
1652 } else {
1653 if (!PyTuple_Check(target)) {
1654 o2 = target;
1655 target = PyTuple_New(1);
1656 PyTuple_SetItem(target, 0, o2);
1657 }
1658 o3 = PyTuple_New(1);
1659 PyTuple_SetItem(o3, 0, o);
1660
1661 o2 = target;
1662 target = PySequence_Concat(o2, o3);
1663 Py_DECREF(o2);
1664 Py_DECREF(o3);
1665 }
1666 return target;
1667 }
1668
1669
1670
1671 SWIGINTERN int
1672 SWIG_AsVal_bool(PyObject *obj, bool *val)
1673 {
1674 if (obj == Py_True) {
1675 if (val) *val = true;
1676 return 1;
1677 }
1678 if (obj == Py_False) {
1679 if (val) *val = false;
1680 return 1;
1681 }
1682 int res = 0;
1683 if (SWIG_AsVal_int(obj, &res)) {
1684 if (val) *val = res ? true : false;
1685 return 1;
1686 } else {
1687 PyErr_Clear();
1688 }
1689 if (val) {
1690 SWIG_type_error("bool", obj);
1691 }
1692 return 0;
1693 }
1694
1695
1696 SWIGINTERNSHORT bool
1697 SWIG_As_bool(PyObject* obj)
1698 {
1699 bool v;
1700 if (!SWIG_AsVal_bool(obj, &v)) {
1701 /*
1702 this is needed to make valgrind/purify happier.
1703 */
1704 memset((void*)&v, 0, sizeof(bool));
1705 }
1706 return v;
1707 }
1708
1709
1710 SWIGINTERNSHORT int
1711 SWIG_Check_bool(PyObject* obj)
1712 {
1713 return SWIG_AsVal_bool(obj, (bool*)0);
1714 }
1715
1716
1717 SWIGINTERNSHORT int
1718 SWIG_CheckUnsignedLongInRange(unsigned long value,
1719 unsigned long max_value,
1720 const char *errmsg)
1721 {
1722 if (value > max_value) {
1723 if (errmsg) {
1724 PyErr_Format(PyExc_OverflowError,
1725 "value %lu is greater than '%s' minimum %lu",
1726 value, errmsg, max_value);
1727 }
1728 return 0;
1729 }
1730 return 1;
1731 }
1732
1733
1734 SWIGINTERN int
1735 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1736 {
1737 long v = 0;
1738 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1739 SWIG_type_error("unsigned number", obj);
1740 }
1741 else if (val)
1742 *val = (unsigned long)v;
1743 return 1;
1744 }
1745
1746
1747 #if UINT_MAX != ULONG_MAX
1748 SWIGINTERN int
1749 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1750 {
1751 const char* errmsg = val ? "unsigned int" : (char*)0;
1752 unsigned long v;
1753 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1754 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1755 if (val) *val = (unsigned int)(v);
1756 return 1;
1757 }
1758 } else {
1759 PyErr_Clear();
1760 }
1761 if (val) {
1762 SWIG_type_error(errmsg, obj);
1763 }
1764 return 0;
1765 }
1766 #else
1767 SWIGINTERNSHORT unsigned int
1768 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1769 {
1770 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1771 }
1772 #endif
1773
1774
1775 SWIGINTERNSHORT unsigned int
1776 SWIG_As_unsigned_SS_int(PyObject* obj)
1777 {
1778 unsigned int v;
1779 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1780 /*
1781 this is needed to make valgrind/purify happier.
1782 */
1783 memset((void*)&v, 0, sizeof(unsigned int));
1784 }
1785 return v;
1786 }
1787
1788
1789 SWIGINTERNSHORT int
1790 SWIG_Check_unsigned_SS_int(PyObject* obj)
1791 {
1792 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
1793 }
1794
1795
1796 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1797 #define SWIG_From_long PyInt_FromLong
1798 /*@@*/
1799
1800
1801 SWIGINTERNSHORT PyObject*
1802 SWIG_From_unsigned_SS_long(unsigned long value)
1803 {
1804 return (value > LONG_MAX) ?
1805 PyLong_FromUnsignedLong(value)
1806 : PyInt_FromLong((long)(value));
1807 }
1808
1809
1810 #if UINT_MAX < LONG_MAX
1811 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1812 #define SWIG_From_unsigned_SS_int SWIG_From_long
1813 /*@@*/
1814 #else
1815 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1816 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1817 /*@@*/
1818 #endif
1819
1820 // here's the C++ version
1821 class wxPyHtmlFilter : public wxHtmlFilter {
1822 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
1823 public:
1824 wxPyHtmlFilter() : wxHtmlFilter() {}
1825
1826 // returns True if this filter is able to open&read given file
1827 virtual bool CanRead(const wxFSFile& file) const {
1828 bool rval = false;
1829 bool found;
1830 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1831 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
1832 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
1833 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1834 Py_DECREF(obj);
1835 }
1836 wxPyEndBlockThreads(blocked);
1837 return rval;
1838 }
1839
1840
1841 // Reads given file and returns HTML document.
1842 // Returns empty string if opening failed
1843 virtual wxString ReadFile(const wxFSFile& file) const {
1844 wxString rval;
1845 bool found;
1846 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1847 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
1848 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
1849 PyObject* ro;
1850 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
1851 Py_DECREF(obj);
1852 if (ro) {
1853 rval = Py2wxString(ro);
1854 Py_DECREF(ro);
1855 }
1856 }
1857 wxPyEndBlockThreads(blocked);
1858 return rval;
1859 }
1860
1861 PYPRIVATE;
1862 };
1863
1864 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
1865
1866
1867 class wxPyHtmlWindow : public wxHtmlWindow {
1868 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
1869 public:
1870 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
1871 const wxPoint& pos = wxDefaultPosition,
1872 const wxSize& size = wxDefaultSize,
1873 long style = wxHW_DEFAULT_STYLE,
1874 const wxString& name = wxPyHtmlWindowNameStr)
1875 : wxHtmlWindow(parent, id, pos, size, style, name) {};
1876 wxPyHtmlWindow() : wxHtmlWindow() {};
1877
1878 bool ScrollToAnchor(const wxString& anchor) {
1879 return wxHtmlWindow::ScrollToAnchor(anchor);
1880 }
1881
1882 bool HasAnchor(const wxString& anchor) {
1883 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
1884 return c!=NULL;
1885 }
1886
1887 void OnLinkClicked(const wxHtmlLinkInfo& link);
1888 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
1889
1890 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
1891 const wxString& url,
1892 wxString *redirect) const;
1893
1894 DEC_PYCALLBACK__STRING(OnSetTitle);
1895 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
1896 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
1897 PYPRIVATE;
1898 };
1899
1900 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
1901 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
1902 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
1903 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
1904
1905
1906 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
1907 bool found;
1908 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1909 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
1910 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
1911 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
1912 Py_DECREF(obj);
1913 }
1914 wxPyEndBlockThreads(blocked);
1915 if (! found)
1916 wxHtmlWindow::OnLinkClicked(link);
1917 }
1918 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
1919 wxHtmlWindow::OnLinkClicked(link);
1920 }
1921
1922
1923 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
1924 const wxString& url,
1925 wxString *redirect) const {
1926 bool found;
1927 wxHtmlOpeningStatus rval;
1928 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1929 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
1930 PyObject* ro;
1931 PyObject* s = wx2PyString(url);
1932 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
1933 Py_DECREF(s);
1934 if (PyString_Check(ro)
1935 #if PYTHON_API_VERSION >= 1009
1936 || PyUnicode_Check(ro)
1937 #endif
1938 ) {
1939 *redirect = Py2wxString(ro);
1940 rval = wxHTML_REDIRECT;
1941 }
1942 else {
1943 PyObject* num = PyNumber_Int(ro);
1944 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
1945 Py_DECREF(num);
1946 }
1947 Py_DECREF(ro);
1948 }
1949 wxPyEndBlockThreads(blocked);
1950 if (! found)
1951 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
1952 return rval;
1953 }
1954
1955
1956
1957 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
1958 int* temp = NULL;
1959 if (sizes) temp = int_LIST_helper(sizes);
1960 self->SetFonts(normal_face, fixed_face, temp);
1961 if (temp)
1962 delete [] temp;
1963 }
1964 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
1965 int* temp = NULL;
1966 if (sizes) temp = int_LIST_helper(sizes);
1967 self->SetFonts(normal_face, fixed_face, temp);
1968 if (temp)
1969 delete [] temp;
1970 }
1971 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
1972 int* temp = NULL;
1973 if (sizes) temp = int_LIST_helper(sizes);
1974 self->SetFonts(normal_face, fixed_face, temp);
1975 if (temp)
1976 delete [] temp;
1977 }
1978
1979 #include <float.h>
1980 SWIGINTERN int
1981 SWIG_CheckDoubleInRange(double value, double min_value,
1982 double max_value, const char* errmsg)
1983 {
1984 if (value < min_value) {
1985 if (errmsg) {
1986 PyErr_Format(PyExc_OverflowError,
1987 "value %g is less than %s minimum %g",
1988 value, errmsg, min_value);
1989 }
1990 return 0;
1991 } else if (value > max_value) {
1992 if (errmsg) {
1993 PyErr_Format(PyExc_OverflowError,
1994 "value %g is greater than %s maximum %g",
1995 value, errmsg, max_value);
1996 }
1997 return 0;
1998 }
1999 return 1;
2000 }
2001
2002
2003 SWIGINTERN int
2004 SWIG_AsVal_double(PyObject *obj, double* val)
2005 {
2006 if (PyNumber_Check(obj)) {
2007 if (val) *val = PyFloat_AsDouble(obj);
2008 return 1;
2009 }
2010 else {
2011 SWIG_type_error("number", obj);
2012 }
2013 return 0;
2014 }
2015
2016
2017 SWIGINTERN int
2018 SWIG_AsVal_float(PyObject *obj, float *val)
2019 {
2020 const char* errmsg = val ? "float" : (char*)0;
2021 double v;
2022 if (SWIG_AsVal_double(obj, &v)) {
2023 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
2024 if (val) *val = (float)(v);
2025 return 1;
2026 } else {
2027 return 0;
2028 }
2029 } else {
2030 PyErr_Clear();
2031 }
2032 if (val) {
2033 SWIG_type_error(errmsg, obj);
2034 }
2035 return 0;
2036 }
2037
2038
2039 SWIGINTERNSHORT float
2040 SWIG_As_float(PyObject* obj)
2041 {
2042 float v;
2043 if (!SWIG_AsVal_float(obj, &v)) {
2044 /*
2045 this is needed to make valgrind/purify happier.
2046 */
2047 memset((void*)&v, 0, sizeof(float));
2048 }
2049 return v;
2050 }
2051
2052
2053 SWIGINTERNSHORT int
2054 SWIG_Check_float(PyObject* obj)
2055 {
2056 return SWIG_AsVal_float(obj, (float*)0);
2057 }
2058
2059 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2060 int* temp = NULL;
2061 if (sizes) temp = int_LIST_helper(sizes);
2062 self->SetFonts(normal_face, fixed_face, temp);
2063 if (temp)
2064 delete [] temp;
2065 }
2066 static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
2067 static int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
2068 static wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
2069 static wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
2070 static wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
2071 #ifdef __cplusplus
2072 extern "C" {
2073 #endif
2074 static int _wrap_HtmlWindowNameStr_set(PyObject *) {
2075 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
2076 return 1;
2077 }
2078
2079
2080 static PyObject *_wrap_HtmlWindowNameStr_get(void) {
2081 PyObject *pyobj;
2082
2083 {
2084 #if wxUSE_UNICODE
2085 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2086 #else
2087 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
2088 #endif
2089 }
2090 return pyobj;
2091 }
2092
2093
2094 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
2095 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
2096 return 1;
2097 }
2098
2099
2100 static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) {
2101 PyObject *pyobj;
2102
2103 {
2104 #if wxUSE_UNICODE
2105 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2106 #else
2107 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
2108 #endif
2109 }
2110 return pyobj;
2111 }
2112
2113
2114 static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
2115 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
2116 return 1;
2117 }
2118
2119
2120 static PyObject *_wrap_HtmlPrintingTitleStr_get(void) {
2121 PyObject *pyobj;
2122
2123 {
2124 #if wxUSE_UNICODE
2125 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2126 #else
2127 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
2128 #endif
2129 }
2130 return pyobj;
2131 }
2132
2133
2134 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxString *arg1 = 0 ;
2137 wxString const &arg2_defvalue = wxPyEmptyString ;
2138 wxString *arg2 = (wxString *) &arg2_defvalue ;
2139 wxHtmlLinkInfo *result;
2140 bool temp1 = false ;
2141 bool temp2 = false ;
2142 PyObject * obj0 = 0 ;
2143 PyObject * obj1 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "href",(char *) "target", NULL
2146 };
2147
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
2149 {
2150 arg1 = wxString_in_helper(obj0);
2151 if (arg1 == NULL) SWIG_fail;
2152 temp1 = true;
2153 }
2154 if (obj1) {
2155 {
2156 arg2 = wxString_in_helper(obj1);
2157 if (arg2 == NULL) SWIG_fail;
2158 temp2 = true;
2159 }
2160 }
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2169 {
2170 if (temp1)
2171 delete arg1;
2172 }
2173 {
2174 if (temp2)
2175 delete arg2;
2176 }
2177 return resultobj;
2178 fail:
2179 {
2180 if (temp1)
2181 delete arg1;
2182 }
2183 {
2184 if (temp2)
2185 delete arg2;
2186 }
2187 return NULL;
2188 }
2189
2190
2191 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
2192 PyObject *resultobj;
2193 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2194 wxString result;
2195 PyObject * obj0 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "self", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
2201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2202 if (SWIG_arg_fail(1)) SWIG_fail;
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 result = (arg1)->GetHref();
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 {
2211 #if wxUSE_UNICODE
2212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2213 #else
2214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2215 #endif
2216 }
2217 return resultobj;
2218 fail:
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2226 wxString result;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
2233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2234 if (SWIG_arg_fail(1)) SWIG_fail;
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (arg1)->GetTarget();
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 {
2243 #if wxUSE_UNICODE
2244 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2245 #else
2246 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2247 #endif
2248 }
2249 return resultobj;
2250 fail:
2251 return NULL;
2252 }
2253
2254
2255 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2256 PyObject *resultobj;
2257 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2258 wxMouseEvent *result;
2259 PyObject * obj0 = 0 ;
2260 char *kwnames[] = {
2261 (char *) "self", NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
2265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2266 if (SWIG_arg_fail(1)) SWIG_fail;
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 result = (wxMouseEvent *)(arg1)->GetEvent();
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 {
2275 resultobj = wxPyMake_wxObject(result, 0);
2276 }
2277 return resultobj;
2278 fail:
2279 return NULL;
2280 }
2281
2282
2283 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2284 PyObject *resultobj;
2285 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2286 wxHtmlCell *result;
2287 PyObject * obj0 = 0 ;
2288 char *kwnames[] = {
2289 (char *) "self", NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
2293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2294 if (SWIG_arg_fail(1)) SWIG_fail;
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
2302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
2303 return resultobj;
2304 fail:
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
2310 PyObject *resultobj;
2311 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2312 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
2313 PyObject * obj0 = 0 ;
2314 PyObject * obj1 = 0 ;
2315 char *kwnames[] = {
2316 (char *) "self",(char *) "e", NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
2320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2321 if (SWIG_arg_fail(1)) SWIG_fail;
2322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
2323 if (SWIG_arg_fail(2)) SWIG_fail;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 (arg1)->SetEvent((wxMouseEvent const *)arg2);
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 Py_INCREF(Py_None); resultobj = Py_None;
2332 return resultobj;
2333 fail:
2334 return NULL;
2335 }
2336
2337
2338 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
2339 PyObject *resultobj;
2340 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
2341 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2342 PyObject * obj0 = 0 ;
2343 PyObject * obj1 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self",(char *) "e", NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
2349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
2350 if (SWIG_arg_fail(1)) SWIG_fail;
2351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
2352 if (SWIG_arg_fail(2)) SWIG_fail;
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 Py_INCREF(Py_None); resultobj = Py_None;
2361 return resultobj;
2362 fail:
2363 return NULL;
2364 }
2365
2366
2367 static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
2368 PyObject *obj;
2369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2370 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
2371 Py_INCREF(obj);
2372 return Py_BuildValue((char *)"");
2373 }
2374 static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2377 wxString result;
2378 PyObject * obj0 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
2384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2385 if (SWIG_arg_fail(1)) SWIG_fail;
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 result = (arg1)->GetName();
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
2393 {
2394 #if wxUSE_UNICODE
2395 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2396 #else
2397 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2398 #endif
2399 }
2400 return resultobj;
2401 fail:
2402 return NULL;
2403 }
2404
2405
2406 static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
2407 PyObject *resultobj;
2408 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2409 wxString *arg2 = 0 ;
2410 bool result;
2411 bool temp2 = false ;
2412 PyObject * obj0 = 0 ;
2413 PyObject * obj1 = 0 ;
2414 char *kwnames[] = {
2415 (char *) "self",(char *) "par", NULL
2416 };
2417
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
2419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2420 if (SWIG_arg_fail(1)) SWIG_fail;
2421 {
2422 arg2 = wxString_in_helper(obj1);
2423 if (arg2 == NULL) SWIG_fail;
2424 temp2 = true;
2425 }
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 {
2434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2435 }
2436 {
2437 if (temp2)
2438 delete arg2;
2439 }
2440 return resultobj;
2441 fail:
2442 {
2443 if (temp2)
2444 delete arg2;
2445 }
2446 return NULL;
2447 }
2448
2449
2450 static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
2451 PyObject *resultobj;
2452 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2453 wxString *arg2 = 0 ;
2454 int arg3 = (int) false ;
2455 wxString result;
2456 bool temp2 = false ;
2457 PyObject * obj0 = 0 ;
2458 PyObject * obj1 = 0 ;
2459 PyObject * obj2 = 0 ;
2460 char *kwnames[] = {
2461 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
2465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2466 if (SWIG_arg_fail(1)) SWIG_fail;
2467 {
2468 arg2 = wxString_in_helper(obj1);
2469 if (arg2 == NULL) SWIG_fail;
2470 temp2 = true;
2471 }
2472 if (obj2) {
2473 {
2474 arg3 = (int)(SWIG_As_int(obj2));
2475 if (SWIG_arg_fail(3)) SWIG_fail;
2476 }
2477 }
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 {
2486 #if wxUSE_UNICODE
2487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2488 #else
2489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2490 #endif
2491 }
2492 {
2493 if (temp2)
2494 delete arg2;
2495 }
2496 return resultobj;
2497 fail:
2498 {
2499 if (temp2)
2500 delete arg2;
2501 }
2502 return NULL;
2503 }
2504
2505
2506 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
2507 PyObject *resultobj;
2508 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2509 wxString result;
2510 PyObject * obj0 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "self", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
2516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2517 if (SWIG_arg_fail(1)) SWIG_fail;
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 result = (arg1)->GetAllParams();
2521
2522 wxPyEndAllowThreads(__tstate);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 {
2526 #if wxUSE_UNICODE
2527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2528 #else
2529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2530 #endif
2531 }
2532 return resultobj;
2533 fail:
2534 return NULL;
2535 }
2536
2537
2538 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2541 bool result;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
2548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2549 if (SWIG_arg_fail(1)) SWIG_fail;
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 result = (bool)(arg1)->HasEnding();
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 {
2558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2559 }
2560 return resultobj;
2561 fail:
2562 return NULL;
2563 }
2564
2565
2566 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
2567 PyObject *resultobj;
2568 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2569 int result;
2570 PyObject * obj0 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
2576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2577 if (SWIG_arg_fail(1)) SWIG_fail;
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = (int)(arg1)->GetBeginPos();
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
2585 {
2586 resultobj = SWIG_From_int((int)(result));
2587 }
2588 return resultobj;
2589 fail:
2590 return NULL;
2591 }
2592
2593
2594 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
2595 PyObject *resultobj;
2596 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2597 int result;
2598 PyObject * obj0 = 0 ;
2599 char *kwnames[] = {
2600 (char *) "self", NULL
2601 };
2602
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
2604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2605 if (SWIG_arg_fail(1)) SWIG_fail;
2606 {
2607 PyThreadState* __tstate = wxPyBeginAllowThreads();
2608 result = (int)(arg1)->GetEndPos1();
2609
2610 wxPyEndAllowThreads(__tstate);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 }
2613 {
2614 resultobj = SWIG_From_int((int)(result));
2615 }
2616 return resultobj;
2617 fail:
2618 return NULL;
2619 }
2620
2621
2622 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
2623 PyObject *resultobj;
2624 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
2625 int result;
2626 PyObject * obj0 = 0 ;
2627 char *kwnames[] = {
2628 (char *) "self", NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
2632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
2633 if (SWIG_arg_fail(1)) SWIG_fail;
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 result = (int)(arg1)->GetEndPos2();
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 {
2642 resultobj = SWIG_From_int((int)(result));
2643 }
2644 return resultobj;
2645 fail:
2646 return NULL;
2647 }
2648
2649
2650 static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
2651 PyObject *obj;
2652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2653 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
2654 Py_INCREF(obj);
2655 return Py_BuildValue((char *)"");
2656 }
2657 static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2660 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
2661 PyObject * obj0 = 0 ;
2662 PyObject * obj1 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "fs", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
2668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2669 if (SWIG_arg_fail(1)) SWIG_fail;
2670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
2671 if (SWIG_arg_fail(2)) SWIG_fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->SetFS(arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2689 wxFileSystem *result;
2690 PyObject * obj0 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
2696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2697 if (SWIG_arg_fail(1)) SWIG_fail;
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 result = (wxFileSystem *)(arg1)->GetFS();
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) SWIG_fail;
2704 }
2705 {
2706 resultobj = wxPyMake_wxObject(result, 0);
2707 }
2708 return resultobj;
2709 fail:
2710 return NULL;
2711 }
2712
2713
2714 static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
2715 PyObject *resultobj;
2716 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2717 wxString *arg2 = 0 ;
2718 wxObject *result;
2719 bool temp2 = false ;
2720 PyObject * obj0 = 0 ;
2721 PyObject * obj1 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self",(char *) "source", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
2727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2728 if (SWIG_arg_fail(1)) SWIG_fail;
2729 {
2730 arg2 = wxString_in_helper(obj1);
2731 if (arg2 == NULL) SWIG_fail;
2732 temp2 = true;
2733 }
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 {
2742 resultobj = wxPyMake_wxObject(result, 0);
2743 }
2744 {
2745 if (temp2)
2746 delete arg2;
2747 }
2748 return resultobj;
2749 fail:
2750 {
2751 if (temp2)
2752 delete arg2;
2753 }
2754 return NULL;
2755 }
2756
2757
2758 static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2761 wxString *arg2 = 0 ;
2762 bool temp2 = false ;
2763 PyObject * obj0 = 0 ;
2764 PyObject * obj1 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self",(char *) "source", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
2770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2771 if (SWIG_arg_fail(1)) SWIG_fail;
2772 {
2773 arg2 = wxString_in_helper(obj1);
2774 if (arg2 == NULL) SWIG_fail;
2775 temp2 = true;
2776 }
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 (arg1)->InitParser((wxString const &)*arg2);
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 Py_INCREF(Py_None); resultobj = Py_None;
2785 {
2786 if (temp2)
2787 delete arg2;
2788 }
2789 return resultobj;
2790 fail:
2791 {
2792 if (temp2)
2793 delete arg2;
2794 }
2795 return NULL;
2796 }
2797
2798
2799 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2802 PyObject * obj0 = 0 ;
2803 char *kwnames[] = {
2804 (char *) "self", NULL
2805 };
2806
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
2808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2809 if (SWIG_arg_fail(1)) SWIG_fail;
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 (arg1)->DoneParser();
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 Py_INCREF(Py_None); resultobj = Py_None;
2818 return resultobj;
2819 fail:
2820 return NULL;
2821 }
2822
2823
2824 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2827 int arg2 ;
2828 int arg3 ;
2829 PyObject * obj0 = 0 ;
2830 PyObject * obj1 = 0 ;
2831 PyObject * obj2 = 0 ;
2832 char *kwnames[] = {
2833 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2834 };
2835
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
2837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2838 if (SWIG_arg_fail(1)) SWIG_fail;
2839 {
2840 arg2 = (int)(SWIG_As_int(obj1));
2841 if (SWIG_arg_fail(2)) SWIG_fail;
2842 }
2843 {
2844 arg3 = (int)(SWIG_As_int(obj2));
2845 if (SWIG_arg_fail(3)) SWIG_fail;
2846 }
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
2849 (arg1)->DoParsing(arg2,arg3);
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 Py_INCREF(Py_None); resultobj = Py_None;
2855 return resultobj;
2856 fail:
2857 return NULL;
2858 }
2859
2860
2861 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
2862 PyObject *resultobj;
2863 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2864 PyObject * obj0 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
2870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2871 if (SWIG_arg_fail(1)) SWIG_fail;
2872 {
2873 PyThreadState* __tstate = wxPyBeginAllowThreads();
2874 (arg1)->StopParsing();
2875
2876 wxPyEndAllowThreads(__tstate);
2877 if (PyErr_Occurred()) SWIG_fail;
2878 }
2879 Py_INCREF(Py_None); resultobj = Py_None;
2880 return resultobj;
2881 fail:
2882 return NULL;
2883 }
2884
2885
2886 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
2887 PyObject *resultobj;
2888 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2889 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2890 PyObject * obj0 = 0 ;
2891 PyObject * obj1 = 0 ;
2892 char *kwnames[] = {
2893 (char *) "self",(char *) "handler", NULL
2894 };
2895
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
2897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2898 if (SWIG_arg_fail(1)) SWIG_fail;
2899 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2900 if (SWIG_arg_fail(2)) SWIG_fail;
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 (arg1)->AddTagHandler(arg2);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 Py_INCREF(Py_None); resultobj = Py_None;
2909 return resultobj;
2910 fail:
2911 return NULL;
2912 }
2913
2914
2915 static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
2916 PyObject *resultobj;
2917 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2918 wxString *result;
2919 PyObject * obj0 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
2925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2926 if (SWIG_arg_fail(1)) SWIG_fail;
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 result = (wxString *)(arg1)->GetSource();
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 {
2935 #if wxUSE_UNICODE
2936 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
2937 #else
2938 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
2939 #endif
2940 }
2941 return resultobj;
2942 fail:
2943 return NULL;
2944 }
2945
2946
2947 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2950 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
2951 wxString arg3 ;
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
2954 PyObject * obj2 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "handler",(char *) "tags", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
2960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2961 if (SWIG_arg_fail(1)) SWIG_fail;
2962 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
2963 if (SWIG_arg_fail(2)) SWIG_fail;
2964 {
2965 wxString* sptr = wxString_in_helper(obj2);
2966 if (sptr == NULL) SWIG_fail;
2967 arg3 = *sptr;
2968 delete sptr;
2969 }
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 (arg1)->PushTagHandler(arg2,arg3);
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 Py_INCREF(Py_None); resultobj = Py_None;
2978 return resultobj;
2979 fail:
2980 return NULL;
2981 }
2982
2983
2984 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
2985 PyObject *resultobj;
2986 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
2987 PyObject * obj0 = 0 ;
2988 char *kwnames[] = {
2989 (char *) "self", NULL
2990 };
2991
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
2993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
2994 if (SWIG_arg_fail(1)) SWIG_fail;
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->PopTagHandler();
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 return resultobj;
3004 fail:
3005 return NULL;
3006 }
3007
3008
3009 static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
3010 PyObject *obj;
3011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3012 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
3013 Py_INCREF(obj);
3014 return Py_BuildValue((char *)"");
3015 }
3016 static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
3017 PyObject *resultobj;
3018 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
3019 wxHtmlWinParser *result;
3020 PyObject * obj0 = 0 ;
3021 char *kwnames[] = {
3022 (char *) "wnd", NULL
3023 };
3024
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
3026 if (obj0) {
3027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
3028 if (SWIG_arg_fail(1)) SWIG_fail;
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
3038 return resultobj;
3039 fail:
3040 return NULL;
3041 }
3042
3043
3044 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3045 PyObject *resultobj;
3046 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3047 wxDC *arg2 = (wxDC *) 0 ;
3048 PyObject * obj0 = 0 ;
3049 PyObject * obj1 = 0 ;
3050 char *kwnames[] = {
3051 (char *) "self",(char *) "dc", NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
3055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3056 if (SWIG_arg_fail(1)) SWIG_fail;
3057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3058 if (SWIG_arg_fail(2)) SWIG_fail;
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 (arg1)->SetDC(arg2);
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
3066 Py_INCREF(Py_None); resultobj = Py_None;
3067 return resultobj;
3068 fail:
3069 return NULL;
3070 }
3071
3072
3073 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3076 wxDC *result;
3077 PyObject * obj0 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "self", NULL
3080 };
3081
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
3083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail;
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 result = (wxDC *)(arg1)->GetDC();
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 {
3093 resultobj = wxPyMake_wxObject(result, 0);
3094 }
3095 return resultobj;
3096 fail:
3097 return NULL;
3098 }
3099
3100
3101 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
3102 PyObject *resultobj;
3103 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3104 int result;
3105 PyObject * obj0 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
3111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3112 if (SWIG_arg_fail(1)) SWIG_fail;
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 result = (int)(arg1)->GetCharHeight();
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 {
3121 resultobj = SWIG_From_int((int)(result));
3122 }
3123 return resultobj;
3124 fail:
3125 return NULL;
3126 }
3127
3128
3129 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3132 int result;
3133 PyObject * obj0 = 0 ;
3134 char *kwnames[] = {
3135 (char *) "self", NULL
3136 };
3137
3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
3139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3140 if (SWIG_arg_fail(1)) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 result = (int)(arg1)->GetCharWidth();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 {
3149 resultobj = SWIG_From_int((int)(result));
3150 }
3151 return resultobj;
3152 fail:
3153 return NULL;
3154 }
3155
3156
3157 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3160 wxPyHtmlWindow *result;
3161 PyObject * obj0 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
3167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 {
3177 resultobj = wxPyMake_wxObject(result, 0);
3178 }
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3188 wxString arg2 ;
3189 wxString arg3 ;
3190 PyObject *arg4 = (PyObject *) NULL ;
3191 PyObject * obj0 = 0 ;
3192 PyObject * obj1 = 0 ;
3193 PyObject * obj2 = 0 ;
3194 PyObject * obj3 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
3202 {
3203 wxString* sptr = wxString_in_helper(obj1);
3204 if (sptr == NULL) SWIG_fail;
3205 arg2 = *sptr;
3206 delete sptr;
3207 }
3208 {
3209 wxString* sptr = wxString_in_helper(obj2);
3210 if (sptr == NULL) SWIG_fail;
3211 arg3 = *sptr;
3212 delete sptr;
3213 }
3214 if (obj3) {
3215 arg4 = obj3;
3216 }
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
3220
3221 wxPyEndAllowThreads(__tstate);
3222 if (PyErr_Occurred()) SWIG_fail;
3223 }
3224 Py_INCREF(Py_None); resultobj = Py_None;
3225 return resultobj;
3226 fail:
3227 return NULL;
3228 }
3229
3230
3231 static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3234 int arg2 = (int) -1 ;
3235 wxString const &arg3_defvalue = wxPyEmptyString ;
3236 wxString *arg3 = (wxString *) &arg3_defvalue ;
3237 wxString const &arg4_defvalue = wxPyEmptyString ;
3238 wxString *arg4 = (wxString *) &arg4_defvalue ;
3239 bool temp3 = false ;
3240 bool temp4 = false ;
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 PyObject * obj2 = 0 ;
3244 PyObject * obj3 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3251 if (SWIG_arg_fail(1)) SWIG_fail;
3252 if (obj1) {
3253 {
3254 arg2 = (int)(SWIG_As_int(obj1));
3255 if (SWIG_arg_fail(2)) SWIG_fail;
3256 }
3257 }
3258 if (obj2) {
3259 {
3260 arg3 = wxString_in_helper(obj2);
3261 if (arg3 == NULL) SWIG_fail;
3262 temp3 = true;
3263 }
3264 }
3265 if (obj3) {
3266 {
3267 arg4 = wxString_in_helper(obj3);
3268 if (arg4 == NULL) SWIG_fail;
3269 temp4 = true;
3270 }
3271 }
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 {
3281 if (temp3)
3282 delete arg3;
3283 }
3284 {
3285 if (temp4)
3286 delete arg4;
3287 }
3288 return resultobj;
3289 fail:
3290 {
3291 if (temp3)
3292 delete arg3;
3293 }
3294 {
3295 if (temp4)
3296 delete arg4;
3297 }
3298 return NULL;
3299 }
3300
3301
3302 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3305 wxHtmlContainerCell *result;
3306 PyObject * obj0 = 0 ;
3307 char *kwnames[] = {
3308 (char *) "self", NULL
3309 };
3310
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
3312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail;
3314 {
3315 PyThreadState* __tstate = wxPyBeginAllowThreads();
3316 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
3317
3318 wxPyEndAllowThreads(__tstate);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 }
3321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj;
3330 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3331 wxHtmlContainerCell *result;
3332 PyObject * obj0 = 0 ;
3333 char *kwnames[] = {
3334 (char *) "self", NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
3338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3339 if (SWIG_arg_fail(1)) SWIG_fail;
3340 {
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj;
3356 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3357 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3358 wxHtmlContainerCell *result;
3359 PyObject * obj0 = 0 ;
3360 PyObject * obj1 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self",(char *) "c", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
3366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail;
3368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
3369 if (SWIG_arg_fail(2)) SWIG_fail;
3370 {
3371 PyThreadState* __tstate = wxPyBeginAllowThreads();
3372 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
3373
3374 wxPyEndAllowThreads(__tstate);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 }
3377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3378 return resultobj;
3379 fail:
3380 return NULL;
3381 }
3382
3383
3384 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
3385 PyObject *resultobj;
3386 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3387 wxHtmlContainerCell *result;
3388 PyObject * obj0 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "self", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
3394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
3404 return resultobj;
3405 fail:
3406 return NULL;
3407 }
3408
3409
3410 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3413 int result;
3414 PyObject * obj0 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
3420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail;
3422 {
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 result = (int)(arg1)->GetFontSize();
3425
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 {
3430 resultobj = SWIG_From_int((int)(result));
3431 }
3432 return resultobj;
3433 fail:
3434 return NULL;
3435 }
3436
3437
3438 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
3439 PyObject *resultobj;
3440 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3441 int arg2 ;
3442 PyObject * obj0 = 0 ;
3443 PyObject * obj1 = 0 ;
3444 char *kwnames[] = {
3445 (char *) "self",(char *) "s", NULL
3446 };
3447
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
3449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3450 if (SWIG_arg_fail(1)) SWIG_fail;
3451 {
3452 arg2 = (int)(SWIG_As_int(obj1));
3453 if (SWIG_arg_fail(2)) SWIG_fail;
3454 }
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 (arg1)->SetFontSize(arg2);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) SWIG_fail;
3461 }
3462 Py_INCREF(Py_None); resultobj = Py_None;
3463 return resultobj;
3464 fail:
3465 return NULL;
3466 }
3467
3468
3469 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3470 PyObject *resultobj;
3471 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3472 int result;
3473 PyObject * obj0 = 0 ;
3474 char *kwnames[] = {
3475 (char *) "self", NULL
3476 };
3477
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
3479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3480 if (SWIG_arg_fail(1)) SWIG_fail;
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = (int)(arg1)->GetFontBold();
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 {
3489 resultobj = SWIG_From_int((int)(result));
3490 }
3491 return resultobj;
3492 fail:
3493 return NULL;
3494 }
3495
3496
3497 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
3498 PyObject *resultobj;
3499 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3500 int arg2 ;
3501 PyObject * obj0 = 0 ;
3502 PyObject * obj1 = 0 ;
3503 char *kwnames[] = {
3504 (char *) "self",(char *) "x", NULL
3505 };
3506
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
3508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail;
3510 {
3511 arg2 = (int)(SWIG_As_int(obj1));
3512 if (SWIG_arg_fail(2)) SWIG_fail;
3513 }
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->SetFontBold(arg2);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3531 int result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
3538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (int)(arg1)->GetFontItalic();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = SWIG_From_int((int)(result));
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3559 int arg2 ;
3560 PyObject * obj0 = 0 ;
3561 PyObject * obj1 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "x", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
3570 arg2 = (int)(SWIG_As_int(obj1));
3571 if (SWIG_arg_fail(2)) SWIG_fail;
3572 }
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 (arg1)->SetFontItalic(arg2);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3590 int result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
3597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (int)(arg1)->GetFontUnderlined();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 {
3607 resultobj = SWIG_From_int((int)(result));
3608 }
3609 return resultobj;
3610 fail:
3611 return NULL;
3612 }
3613
3614
3615 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
3616 PyObject *resultobj;
3617 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3618 int arg2 ;
3619 PyObject * obj0 = 0 ;
3620 PyObject * obj1 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "self",(char *) "x", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
3626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail;
3628 {
3629 arg2 = (int)(SWIG_As_int(obj1));
3630 if (SWIG_arg_fail(2)) SWIG_fail;
3631 }
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 (arg1)->SetFontUnderlined(arg2);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 return resultobj;
3641 fail:
3642 return NULL;
3643 }
3644
3645
3646 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3647 PyObject *resultobj;
3648 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3649 int result;
3650 PyObject * obj0 = 0 ;
3651 char *kwnames[] = {
3652 (char *) "self", NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
3656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3657 if (SWIG_arg_fail(1)) SWIG_fail;
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (int)(arg1)->GetFontFixed();
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 {
3666 resultobj = SWIG_From_int((int)(result));
3667 }
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3677 int arg2 ;
3678 PyObject * obj0 = 0 ;
3679 PyObject * obj1 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "x", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
3685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail;
3687 {
3688 arg2 = (int)(SWIG_As_int(obj1));
3689 if (SWIG_arg_fail(2)) SWIG_fail;
3690 }
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 (arg1)->SetFontFixed(arg2);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 Py_INCREF(Py_None); resultobj = Py_None;
3699 return resultobj;
3700 fail:
3701 return NULL;
3702 }
3703
3704
3705 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj;
3707 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3708 int result;
3709 PyObject * obj0 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
3715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3716 if (SWIG_arg_fail(1)) SWIG_fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (int)(arg1)->GetAlign();
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 resultobj = SWIG_From_int((int)(result));
3726 }
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3736 int arg2 ;
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj1 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self",(char *) "a", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
3744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3745 if (SWIG_arg_fail(1)) SWIG_fail;
3746 {
3747 arg2 = (int)(SWIG_As_int(obj1));
3748 if (SWIG_arg_fail(2)) SWIG_fail;
3749 }
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 (arg1)->SetAlign(arg2);
3753
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 Py_INCREF(Py_None); resultobj = Py_None;
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj;
3766 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3767 wxColour result;
3768 PyObject * obj0 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
3774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail;
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 result = (arg1)->GetLinkColor();
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 {
3784 wxColour * resultptr;
3785 resultptr = new wxColour((wxColour &)(result));
3786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3787 }
3788 return resultobj;
3789 fail:
3790 return NULL;
3791 }
3792
3793
3794 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
3795 PyObject *resultobj;
3796 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3797 wxColour *arg2 = 0 ;
3798 wxColour temp2 ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self",(char *) "clr", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
3806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail;
3808 {
3809 arg2 = &temp2;
3810 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3811 }
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 (arg1)->SetLinkColor((wxColour const &)*arg2);
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 Py_INCREF(Py_None); resultobj = Py_None;
3820 return resultobj;
3821 fail:
3822 return NULL;
3823 }
3824
3825
3826 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3829 wxColour result;
3830 PyObject * obj0 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
3836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail;
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (arg1)->GetActualColor();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 wxColour * resultptr;
3847 resultptr = new wxColour((wxColour &)(result));
3848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3849 }
3850 return resultobj;
3851 fail:
3852 return NULL;
3853 }
3854
3855
3856 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3859 wxColour *arg2 = 0 ;
3860 wxColour temp2 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "clr", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
3868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail;
3870 {
3871 arg2 = &temp2;
3872 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3873 }
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 (arg1)->SetActualColor((wxColour const &)*arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 Py_INCREF(Py_None); resultobj = Py_None;
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3891 wxString *arg2 = 0 ;
3892 bool temp2 = false ;
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self",(char *) "link", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
3900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3901 if (SWIG_arg_fail(1)) SWIG_fail;
3902 {
3903 arg2 = wxString_in_helper(obj1);
3904 if (arg2 == NULL) SWIG_fail;
3905 temp2 = true;
3906 }
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 (arg1)->SetLink((wxString const &)*arg2);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 Py_INCREF(Py_None); resultobj = Py_None;
3915 {
3916 if (temp2)
3917 delete arg2;
3918 }
3919 return resultobj;
3920 fail:
3921 {
3922 if (temp2)
3923 delete arg2;
3924 }
3925 return NULL;
3926 }
3927
3928
3929 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
3930 PyObject *resultobj;
3931 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3932 wxFont *result;
3933 PyObject * obj0 = 0 ;
3934 char *kwnames[] = {
3935 (char *) "self", NULL
3936 };
3937
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
3939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3940 if (SWIG_arg_fail(1)) SWIG_fail;
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (wxFont *)(arg1)->CreateCurrentFont();
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
3958 SwigValueWrapper<wxHtmlLinkInfo > result;
3959 PyObject * obj0 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
3965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail;
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (arg1)->GetLink();
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 {
3975 wxHtmlLinkInfo * resultptr;
3976 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result));
3977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
3978 }
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
3986 PyObject *obj;
3987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3988 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
3989 Py_INCREF(obj);
3990 return Py_BuildValue((char *)"");
3991 }
3992 static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxPyHtmlTagHandler *result;
3995 char *kwnames[] = {
3996 NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4017 PyObject *arg2 = (PyObject *) 0 ;
4018 PyObject *arg3 = (PyObject *) 0 ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj1 = 0 ;
4021 PyObject * obj2 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "self",(char *) "self",(char *) "_class", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4028 if (SWIG_arg_fail(1)) SWIG_fail;
4029 arg2 = obj1;
4030 arg3 = obj2;
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 (arg1)->_setCallbackInfo(arg2,arg3);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4048 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "parser", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail;
4058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4059 if (SWIG_arg_fail(2)) SWIG_fail;
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 (arg1)->SetParser(arg2);
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 Py_INCREF(Py_None); resultobj = Py_None;
4068 return resultobj;
4069 fail:
4070 return NULL;
4071 }
4072
4073
4074 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4075 PyObject *resultobj;
4076 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4077 wxHtmlParser *result;
4078 PyObject * obj0 = 0 ;
4079 char *kwnames[] = {
4080 (char *) "self", NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
4084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4085 if (SWIG_arg_fail(1)) SWIG_fail;
4086 {
4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
4088 result = (wxHtmlParser *)(arg1)->GetParser();
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj;
4102 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
4103 wxHtmlTag *arg2 = 0 ;
4104 PyObject * obj0 = 0 ;
4105 PyObject * obj1 = 0 ;
4106 char *kwnames[] = {
4107 (char *) "self",(char *) "tag", NULL
4108 };
4109
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_EXCEPTION | 0);
4112 if (SWIG_arg_fail(1)) SWIG_fail;
4113 {
4114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4115 if (SWIG_arg_fail(2)) SWIG_fail;
4116 if (arg2 == NULL) {
4117 SWIG_null_ref("wxHtmlTag");
4118 }
4119 if (SWIG_arg_fail(2)) SWIG_fail;
4120 }
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
4136 PyObject *obj;
4137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4138 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
4139 Py_INCREF(obj);
4140 return Py_BuildValue((char *)"");
4141 }
4142 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj;
4144 wxPyHtmlWinTagHandler *result;
4145 char *kwnames[] = {
4146 NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
4158 return resultobj;
4159 fail:
4160 return NULL;
4161 }
4162
4163
4164 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4167 PyObject *arg2 = (PyObject *) 0 ;
4168 PyObject *arg3 = (PyObject *) 0 ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self",(char *) "self",(char *) "_class", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
4177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4178 if (SWIG_arg_fail(1)) SWIG_fail;
4179 arg2 = obj1;
4180 arg3 = obj2;
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 (arg1)->_setCallbackInfo(arg2,arg3);
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 Py_INCREF(Py_None); resultobj = Py_None;
4189 return resultobj;
4190 fail:
4191 return NULL;
4192 }
4193
4194
4195 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4196 PyObject *resultobj;
4197 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4198 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "self",(char *) "parser", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
4206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4207 if (SWIG_arg_fail(1)) SWIG_fail;
4208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0);
4209 if (SWIG_arg_fail(2)) SWIG_fail;
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 (arg1)->SetParser(arg2);
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 Py_INCREF(Py_None); resultobj = Py_None;
4218 return resultobj;
4219 fail:
4220 return NULL;
4221 }
4222
4223
4224 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
4225 PyObject *resultobj;
4226 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4227 wxHtmlWinParser *result;
4228 PyObject * obj0 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
4234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4235 if (SWIG_arg_fail(1)) SWIG_fail;
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 result = (wxHtmlWinParser *)(arg1)->GetParser();
4239
4240 wxPyEndAllowThreads(__tstate);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
4244 return resultobj;
4245 fail:
4246 return NULL;
4247 }
4248
4249
4250 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
4251 PyObject *resultobj;
4252 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
4253 wxHtmlTag *arg2 = 0 ;
4254 PyObject * obj0 = 0 ;
4255 PyObject * obj1 = 0 ;
4256 char *kwnames[] = {
4257 (char *) "self",(char *) "tag", NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
4261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_EXCEPTION | 0);
4262 if (SWIG_arg_fail(1)) SWIG_fail;
4263 {
4264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
4265 if (SWIG_arg_fail(2)) SWIG_fail;
4266 if (arg2 == NULL) {
4267 SWIG_null_ref("wxHtmlTag");
4268 }
4269 if (SWIG_arg_fail(2)) SWIG_fail;
4270 }
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 Py_INCREF(Py_None); resultobj = Py_None;
4279 return resultobj;
4280 fail:
4281 return NULL;
4282 }
4283
4284
4285 static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
4286 PyObject *obj;
4287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4288 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
4289 Py_INCREF(obj);
4290 return Py_BuildValue((char *)"");
4291 }
4292 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 PyObject *arg1 = (PyObject *) 0 ;
4295 PyObject * obj0 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "tagHandlerClass", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
4301 arg1 = obj0;
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 wxHtmlWinParser_AddTagHandler(arg1);
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 Py_INCREF(Py_None); resultobj = Py_None;
4310 return resultobj;
4311 fail:
4312 return NULL;
4313 }
4314
4315
4316 static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj;
4318 wxHtmlSelection *result;
4319 char *kwnames[] = {
4320 NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
4324 {
4325 PyThreadState* __tstate = wxPyBeginAllowThreads();
4326 result = (wxHtmlSelection *)new wxHtmlSelection();
4327
4328 wxPyEndAllowThreads(__tstate);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
4332 return resultobj;
4333 fail:
4334 return NULL;
4335 }
4336
4337
4338 static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj;
4340 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4341 PyObject * obj0 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "self", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
4347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4348 if (SWIG_arg_fail(1)) SWIG_fail;
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 delete arg1;
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 Py_INCREF(Py_None); resultobj = Py_None;
4357 return resultobj;
4358 fail:
4359 return NULL;
4360 }
4361
4362
4363 static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj;
4365 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4366 wxPoint *arg2 = 0 ;
4367 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4368 wxPoint *arg4 = 0 ;
4369 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
4370 wxPoint temp2 ;
4371 wxPoint temp4 ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 PyObject * obj3 = 0 ;
4376 PyObject * obj4 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail;
4384 {
4385 arg2 = &temp2;
4386 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4387 }
4388 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4389 if (SWIG_arg_fail(3)) SWIG_fail;
4390 {
4391 arg4 = &temp4;
4392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4393 }
4394 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4395 if (SWIG_arg_fail(5)) SWIG_fail;
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 Py_INCREF(Py_None); resultobj = Py_None;
4404 return resultobj;
4405 fail:
4406 return NULL;
4407 }
4408
4409
4410 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
4411 PyObject *resultobj;
4412 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4413 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4414 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
4415 PyObject * obj0 = 0 ;
4416 PyObject * obj1 = 0 ;
4417 PyObject * obj2 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
4423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4424 if (SWIG_arg_fail(1)) SWIG_fail;
4425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4426 if (SWIG_arg_fail(2)) SWIG_fail;
4427 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
4428 if (SWIG_arg_fail(3)) SWIG_fail;
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 Py_INCREF(Py_None); resultobj = Py_None;
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj;
4445 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4446 wxHtmlCell *result;
4447 PyObject * obj0 = 0 ;
4448 char *kwnames[] = {
4449 (char *) "self", NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
4453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail;
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj;
4471 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4472 wxHtmlCell *result;
4473 PyObject * obj0 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
4479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail;
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj;
4497 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4498 wxPoint *result;
4499 PyObject * obj0 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
4505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail;
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 {
4510 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
4511 result = (wxPoint *) &_result_ref;
4512 }
4513
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
4517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4518 return resultobj;
4519 fail:
4520 return NULL;
4521 }
4522
4523
4524 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
4525 PyObject *resultobj;
4526 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4527 wxPoint *result;
4528 PyObject * obj0 = 0 ;
4529 char *kwnames[] = {
4530 (char *) "self", NULL
4531 };
4532
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
4534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4535 if (SWIG_arg_fail(1)) SWIG_fail;
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 {
4539 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
4540 result = (wxPoint *) &_result_ref;
4541 }
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4547 return resultobj;
4548 fail:
4549 return NULL;
4550 }
4551
4552
4553 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4556 wxPoint *result;
4557 PyObject * obj0 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
4563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail;
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 {
4568 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
4569 result = (wxPoint *) &_result_ref;
4570 }
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj;
4584 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4585 wxPoint *result;
4586 PyObject * obj0 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",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 {
4597 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
4598 result = (wxPoint *) &_result_ref;
4599 }
4600
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
4605 return resultobj;
4606 fail:
4607 return NULL;
4608 }
4609
4610
4611 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4614 wxPoint *arg2 = 0 ;
4615 wxPoint temp2 ;
4616 PyObject * obj0 = 0 ;
4617 PyObject * obj1 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self",(char *) "pos", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
4623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail;
4625 {
4626 arg2 = &temp2;
4627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4628 }
4629 {
4630 PyThreadState* __tstate = wxPyBeginAllowThreads();
4631 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
4632
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 Py_INCREF(Py_None); resultobj = Py_None;
4637 return resultobj;
4638 fail:
4639 return NULL;
4640 }
4641
4642
4643 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4646 wxPoint *arg2 = 0 ;
4647 wxPoint temp2 ;
4648 PyObject * obj0 = 0 ;
4649 PyObject * obj1 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self",(char *) "pos", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
4655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4656 if (SWIG_arg_fail(1)) SWIG_fail;
4657 {
4658 arg2 = &temp2;
4659 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4660 }
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 Py_INCREF(Py_None); resultobj = Py_None;
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4678 PyObject * obj0 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
4684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4685 if (SWIG_arg_fail(1)) SWIG_fail;
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 (arg1)->ClearPrivPos();
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 Py_INCREF(Py_None); resultobj = Py_None;
4694 return resultobj;
4695 fail:
4696 return NULL;
4697 }
4698
4699
4700 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
4701 PyObject *resultobj;
4702 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
4703 bool result;
4704 PyObject * obj0 = 0 ;
4705 char *kwnames[] = {
4706 (char *) "self", NULL
4707 };
4708
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
4710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail;
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 {
4720 resultobj = SWIG_From_bool((bool)(result));
4721 }
4722 return resultobj;
4723 fail:
4724 return NULL;
4725 }
4726
4727
4728 static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
4729 PyObject *obj;
4730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4731 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
4732 Py_INCREF(obj);
4733 return Py_BuildValue((char *)"");
4734 }
4735 static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxHtmlRenderingState *result;
4738 char *kwnames[] = {
4739 NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4760 PyObject * obj0 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
4766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail;
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 delete arg1;
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 Py_INCREF(Py_None); resultobj = Py_None;
4776 return resultobj;
4777 fail:
4778 return NULL;
4779 }
4780
4781
4782 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
4783 PyObject *resultobj;
4784 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4785 wxHtmlSelectionState arg2 ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self",(char *) "s", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
4793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail;
4795 {
4796 arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1));
4797 if (SWIG_arg_fail(2)) SWIG_fail;
4798 }
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 Py_INCREF(Py_None); resultobj = Py_None;
4807 return resultobj;
4808 fail:
4809 return NULL;
4810 }
4811
4812
4813 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4816 wxHtmlSelectionState result;
4817 PyObject * obj0 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "self", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
4823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4824 if (SWIG_arg_fail(1)) SWIG_fail;
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 resultobj = SWIG_From_int((result));
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4842 wxColour *arg2 = 0 ;
4843 wxColour temp2 ;
4844 PyObject * obj0 = 0 ;
4845 PyObject * obj1 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self",(char *) "c", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
4851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4852 if (SWIG_arg_fail(1)) SWIG_fail;
4853 {
4854 arg2 = &temp2;
4855 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4856 }
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 (arg1)->SetFgColour((wxColour const &)*arg2);
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 Py_INCREF(Py_None); resultobj = Py_None;
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4874 wxColour *result;
4875 PyObject * obj0 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "self", NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
4881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4882 if (SWIG_arg_fail(1)) SWIG_fail;
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 {
4886 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
4887 result = (wxColour *) &_result_ref;
4888 }
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
4894 return resultobj;
4895 fail:
4896 return NULL;
4897 }
4898
4899
4900 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4903 wxColour *arg2 = 0 ;
4904 wxColour temp2 ;
4905 PyObject * obj0 = 0 ;
4906 PyObject * obj1 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "c", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
4912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail;
4914 {
4915 arg2 = &temp2;
4916 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4917 }
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 (arg1)->SetBgColour((wxColour const &)*arg2);
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 Py_INCREF(Py_None); resultobj = Py_None;
4926 return resultobj;
4927 fail:
4928 return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
4935 wxColour *result;
4936 PyObject * obj0 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
4942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail;
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 {
4947 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
4948 result = (wxColour *) &_result_ref;
4949 }
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
4962 PyObject *obj;
4963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4964 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
4965 Py_INCREF(obj);
4966 return Py_BuildValue((char *)"");
4967 }
4968 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
4971 wxColour *arg2 = 0 ;
4972 wxColour result;
4973 wxColour temp2 ;
4974 PyObject * obj0 = 0 ;
4975 PyObject * obj1 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self",(char *) "clr", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
4981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail;
4983 {
4984 arg2 = &temp2;
4985 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 {
4995 wxColour * resultptr;
4996 resultptr = new wxColour((wxColour &)(result));
4997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4998 }
4999 return resultobj;
5000 fail:
5001 return NULL;
5002 }
5003
5004
5005 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5006 PyObject *resultobj;
5007 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
5008 wxColour *arg2 = 0 ;
5009 wxColour result;
5010 wxColour temp2 ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self",(char *) "clr", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail;
5020 {
5021 arg2 = &temp2;
5022 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 {
5032 wxColour * resultptr;
5033 resultptr = new wxColour((wxColour &)(result));
5034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5035 }
5036 return resultobj;
5037 fail:
5038 return NULL;
5039 }
5040
5041
5042 static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5043 PyObject *obj;
5044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5045 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
5046 Py_INCREF(obj);
5047 return Py_BuildValue((char *)"");
5048 }
5049 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5052 wxColour *arg2 = 0 ;
5053 wxColour result;
5054 wxColour temp2 ;
5055 PyObject * obj0 = 0 ;
5056 PyObject * obj1 = 0 ;
5057 char *kwnames[] = {
5058 (char *) "self",(char *) "clr", NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
5062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5063 if (SWIG_arg_fail(1)) SWIG_fail;
5064 {
5065 arg2 = &temp2;
5066 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5067 }
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 {
5076 wxColour * resultptr;
5077 resultptr = new wxColour((wxColour &)(result));
5078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5079 }
5080 return resultobj;
5081 fail:
5082 return NULL;
5083 }
5084
5085
5086 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
5089 wxColour *arg2 = 0 ;
5090 wxColour result;
5091 wxColour temp2 ;
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 char *kwnames[] = {
5095 (char *) "self",(char *) "clr", NULL
5096 };
5097
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
5099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5100 if (SWIG_arg_fail(1)) SWIG_fail;
5101 {
5102 arg2 = &temp2;
5103 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 {
5113 wxColour * resultptr;
5114 resultptr = new wxColour((wxColour &)(result));
5115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5116 }
5117 return resultobj;
5118 fail:
5119 return NULL;
5120 }
5121
5122
5123 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
5124 PyObject *obj;
5125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5126 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
5127 Py_INCREF(obj);
5128 return Py_BuildValue((char *)"");
5129 }
5130 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj;
5132 wxHtmlRenderingInfo *result;
5133 char *kwnames[] = {
5134 NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5155 PyObject * obj0 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
5161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail;
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 delete arg1;
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 Py_INCREF(Py_None); resultobj = Py_None;
5171 return resultobj;
5172 fail:
5173 return NULL;
5174 }
5175
5176
5177 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5178 PyObject *resultobj;
5179 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5180 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self",(char *) "s", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
5188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail;
5190 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
5191 if (SWIG_arg_fail(2)) SWIG_fail;
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 (arg1)->SetSelection(arg2);
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 Py_INCREF(Py_None); resultobj = Py_None;
5200 return resultobj;
5201 fail:
5202 return NULL;
5203 }
5204
5205
5206 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5209 wxHtmlSelection *result;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
5216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
5226 return resultobj;
5227 fail:
5228 return NULL;
5229 }
5230
5231
5232 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5233 PyObject *resultobj;
5234 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5235 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
5236 PyObject * obj0 = 0 ;
5237 PyObject * obj1 = 0 ;
5238 char *kwnames[] = {
5239 (char *) "self",(char *) "style", NULL
5240 };
5241
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
5243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5244 if (SWIG_arg_fail(1)) SWIG_fail;
5245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_POINTER_EXCEPTION | 0);
5246 if (SWIG_arg_fail(2)) SWIG_fail;
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->SetStyle(arg2);
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5264 wxHtmlRenderingStyle *result;
5265 PyObject * obj0 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
5271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5272 if (SWIG_arg_fail(1)) SWIG_fail;
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 {
5276 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
5277 result = (wxHtmlRenderingStyle *) &_result_ref;
5278 }
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
5293 wxHtmlRenderingState *result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
5300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 {
5305 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
5306 result = (wxHtmlRenderingState *) &_result_ref;
5307 }
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
5320 PyObject *obj;
5321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5322 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
5323 Py_INCREF(obj);
5324 return Py_BuildValue((char *)"");
5325 }
5326 static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxHtmlCell *result;
5329 char *kwnames[] = {
5330 NULL
5331 };
5332
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (wxHtmlCell *)new wxHtmlCell();
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5351 int result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
5358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (int)(arg1)->GetPosX();
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = SWIG_From_int((int)(result));
5369 }
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5379 int result;
5380 PyObject * obj0 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
5386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5387 if (SWIG_arg_fail(1)) SWIG_fail;
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (int)(arg1)->GetPosY();
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 {
5396 resultobj = SWIG_From_int((int)(result));
5397 }
5398 return resultobj;
5399 fail:
5400 return NULL;
5401 }
5402
5403
5404 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5407 int result;
5408 PyObject * obj0 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
5414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail;
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (int)(arg1)->GetWidth();
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 {
5424 resultobj = SWIG_From_int((int)(result));
5425 }
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5435 int result;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
5442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5443 if (SWIG_arg_fail(1)) SWIG_fail;
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 result = (int)(arg1)->GetHeight();
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 {
5452 resultobj = SWIG_From_int((int)(result));
5453 }
5454 return resultobj;
5455 fail:
5456 return NULL;
5457 }
5458
5459
5460 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5463 int result;
5464 PyObject * obj0 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
5470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail;
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 result = (int)(arg1)->GetDescent();
5475
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 {
5480 resultobj = SWIG_From_int((int)(result));
5481 }
5482 return resultobj;
5483 fail:
5484 return NULL;
5485 }
5486
5487
5488 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj;
5490 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5491 int result;
5492 PyObject * obj0 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
5498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail;
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 {
5508 resultobj = SWIG_From_int((int)(result));
5509 }
5510 return resultobj;
5511 fail:
5512 return NULL;
5513 }
5514
5515
5516 static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5519 wxString *result;
5520 PyObject * obj0 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
5526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5527 if (SWIG_arg_fail(1)) SWIG_fail;
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 {
5531 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
5532 result = (wxString *) &_result_ref;
5533 }
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 {
5539 #if wxUSE_UNICODE
5540 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5541 #else
5542 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5543 #endif
5544 }
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5554 wxString *arg2 = 0 ;
5555 bool temp2 = false ;
5556 PyObject * obj0 = 0 ;
5557 PyObject * obj1 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "self",(char *) "id", NULL
5560 };
5561
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
5563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail;
5565 {
5566 arg2 = wxString_in_helper(obj1);
5567 if (arg2 == NULL) SWIG_fail;
5568 temp2 = true;
5569 }
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 (arg1)->SetId((wxString const &)*arg2);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 Py_INCREF(Py_None); resultobj = Py_None;
5578 {
5579 if (temp2)
5580 delete arg2;
5581 }
5582 return resultobj;
5583 fail:
5584 {
5585 if (temp2)
5586 delete arg2;
5587 }
5588 return NULL;
5589 }
5590
5591
5592 static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj;
5594 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5595 int arg2 = (int) 0 ;
5596 int arg3 = (int) 0 ;
5597 wxHtmlLinkInfo *result;
5598 PyObject * obj0 = 0 ;
5599 PyObject * obj1 = 0 ;
5600 PyObject * obj2 = 0 ;
5601 char *kwnames[] = {
5602 (char *) "self",(char *) "x",(char *) "y", NULL
5603 };
5604
5605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
5606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail;
5608 if (obj1) {
5609 {
5610 arg2 = (int)(SWIG_As_int(obj1));
5611 if (SWIG_arg_fail(2)) SWIG_fail;
5612 }
5613 }
5614 if (obj2) {
5615 {
5616 arg3 = (int)(SWIG_As_int(obj2));
5617 if (SWIG_arg_fail(3)) SWIG_fail;
5618 }
5619 }
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
5628 return resultobj;
5629 fail:
5630 return NULL;
5631 }
5632
5633
5634 static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj;
5636 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5637 wxHtmlCell *result;
5638 PyObject * obj0 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
5644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail;
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (wxHtmlCell *)(arg1)->GetNext();
5649
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5654 return resultobj;
5655 fail:
5656 return NULL;
5657 }
5658
5659
5660 static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj;
5662 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5663 wxHtmlContainerCell *result;
5664 PyObject * obj0 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
5670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail;
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 result = (wxHtmlContainerCell *)(arg1)->GetParent();
5675
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
5680 return resultobj;
5681 fail:
5682 return NULL;
5683 }
5684
5685
5686 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5689 wxHtmlCell *result;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
5696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail;
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5706 return resultobj;
5707 fail:
5708 return NULL;
5709 }
5710
5711
5712 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5715 wxCursor result;
5716 PyObject * obj0 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
5722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail;
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = ((wxHtmlCell const *)arg1)->GetCursor();
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 {
5732 wxCursor * resultptr;
5733 resultptr = new wxCursor((wxCursor &)(result));
5734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
5735 }
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5745 bool result;
5746 PyObject * obj0 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
5752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail;
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5773 wxHtmlLinkInfo *arg2 = 0 ;
5774 PyObject * obj0 = 0 ;
5775 PyObject * obj1 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "link", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
5781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail;
5783 {
5784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
5785 if (SWIG_arg_fail(2)) SWIG_fail;
5786 if (arg2 == NULL) {
5787 SWIG_null_ref("wxHtmlLinkInfo");
5788 }
5789 if (SWIG_arg_fail(2)) SWIG_fail;
5790 }
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
5794
5795 wxPyEndAllowThreads(__tstate);
5796 if (PyErr_Occurred()) SWIG_fail;
5797 }
5798 Py_INCREF(Py_None); resultobj = Py_None;
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj;
5807 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5808 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5809 PyObject * obj0 = 0 ;
5810 PyObject * obj1 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "cell", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
5816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5817 if (SWIG_arg_fail(1)) SWIG_fail;
5818 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5819 if (SWIG_arg_fail(2)) SWIG_fail;
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 (arg1)->SetNext(arg2);
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 Py_INCREF(Py_None); resultobj = Py_None;
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5837 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self",(char *) "p", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
5845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5846 if (SWIG_arg_fail(1)) SWIG_fail;
5847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
5848 if (SWIG_arg_fail(2)) SWIG_fail;
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 (arg1)->SetParent(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 Py_INCREF(Py_None); resultobj = Py_None;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860 }
5861
5862
5863 static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5866 int arg2 ;
5867 int arg3 ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 PyObject * obj2 = 0 ;
5871 char *kwnames[] = {
5872 (char *) "self",(char *) "x",(char *) "y", NULL
5873 };
5874
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
5876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5877 if (SWIG_arg_fail(1)) SWIG_fail;
5878 {
5879 arg2 = (int)(SWIG_As_int(obj1));
5880 if (SWIG_arg_fail(2)) SWIG_fail;
5881 }
5882 {
5883 arg3 = (int)(SWIG_As_int(obj2));
5884 if (SWIG_arg_fail(3)) SWIG_fail;
5885 }
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 (arg1)->SetPos(arg2,arg3);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 Py_INCREF(Py_None); resultobj = Py_None;
5894 return resultobj;
5895 fail:
5896 return NULL;
5897 }
5898
5899
5900 static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
5901 PyObject *resultobj;
5902 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5903 int arg2 ;
5904 PyObject * obj0 = 0 ;
5905 PyObject * obj1 = 0 ;
5906 char *kwnames[] = {
5907 (char *) "self",(char *) "w", NULL
5908 };
5909
5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
5911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5912 if (SWIG_arg_fail(1)) SWIG_fail;
5913 {
5914 arg2 = (int)(SWIG_As_int(obj1));
5915 if (SWIG_arg_fail(2)) SWIG_fail;
5916 }
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 (arg1)->Layout(arg2);
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 Py_INCREF(Py_None); resultobj = Py_None;
5925 return resultobj;
5926 fail:
5927 return NULL;
5928 }
5929
5930
5931 static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
5932 PyObject *resultobj;
5933 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5934 wxDC *arg2 = 0 ;
5935 int arg3 ;
5936 int arg4 ;
5937 int arg5 ;
5938 int arg6 ;
5939 wxHtmlRenderingInfo *arg7 = 0 ;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
5942 PyObject * obj2 = 0 ;
5943 PyObject * obj3 = 0 ;
5944 PyObject * obj4 = 0 ;
5945 PyObject * obj5 = 0 ;
5946 PyObject * obj6 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail;
5954 {
5955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5956 if (SWIG_arg_fail(2)) SWIG_fail;
5957 if (arg2 == NULL) {
5958 SWIG_null_ref("wxDC");
5959 }
5960 if (SWIG_arg_fail(2)) SWIG_fail;
5961 }
5962 {
5963 arg3 = (int)(SWIG_As_int(obj2));
5964 if (SWIG_arg_fail(3)) SWIG_fail;
5965 }
5966 {
5967 arg4 = (int)(SWIG_As_int(obj3));
5968 if (SWIG_arg_fail(4)) SWIG_fail;
5969 }
5970 {
5971 arg5 = (int)(SWIG_As_int(obj4));
5972 if (SWIG_arg_fail(5)) SWIG_fail;
5973 }
5974 {
5975 arg6 = (int)(SWIG_As_int(obj5));
5976 if (SWIG_arg_fail(6)) SWIG_fail;
5977 }
5978 {
5979 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
5980 if (SWIG_arg_fail(7)) SWIG_fail;
5981 if (arg7 == NULL) {
5982 SWIG_null_ref("wxHtmlRenderingInfo");
5983 }
5984 if (SWIG_arg_fail(7)) SWIG_fail;
5985 }
5986 {
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
5989
5990 wxPyEndAllowThreads(__tstate);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 Py_INCREF(Py_None); resultobj = Py_None;
5994 return resultobj;
5995 fail:
5996 return NULL;
5997 }
5998
5999
6000 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6003 wxDC *arg2 = 0 ;
6004 int arg3 ;
6005 int arg4 ;
6006 wxHtmlRenderingInfo *arg5 = 0 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 PyObject * obj2 = 0 ;
6010 PyObject * obj3 = 0 ;
6011 PyObject * obj4 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6018 if (SWIG_arg_fail(1)) SWIG_fail;
6019 {
6020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6021 if (SWIG_arg_fail(2)) SWIG_fail;
6022 if (arg2 == NULL) {
6023 SWIG_null_ref("wxDC");
6024 }
6025 if (SWIG_arg_fail(2)) SWIG_fail;
6026 }
6027 {
6028 arg3 = (int)(SWIG_As_int(obj2));
6029 if (SWIG_arg_fail(3)) SWIG_fail;
6030 }
6031 {
6032 arg4 = (int)(SWIG_As_int(obj3));
6033 if (SWIG_arg_fail(4)) SWIG_fail;
6034 }
6035 {
6036 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_EXCEPTION | 0);
6037 if (SWIG_arg_fail(5)) SWIG_fail;
6038 if (arg5 == NULL) {
6039 SWIG_null_ref("wxHtmlRenderingInfo");
6040 }
6041 if (SWIG_arg_fail(5)) SWIG_fail;
6042 }
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 Py_INCREF(Py_None); resultobj = Py_None;
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6060 int arg2 ;
6061 void *arg3 = (void *) 0 ;
6062 wxHtmlCell *result;
6063 PyObject * obj0 = 0 ;
6064 PyObject * obj1 = 0 ;
6065 PyObject * obj2 = 0 ;
6066 char *kwnames[] = {
6067 (char *) "self",(char *) "condition",(char *) "param", NULL
6068 };
6069
6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
6071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6072 if (SWIG_arg_fail(1)) SWIG_fail;
6073 {
6074 arg2 = (int)(SWIG_As_int(obj1));
6075 if (SWIG_arg_fail(2)) SWIG_fail;
6076 }
6077 {
6078 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6079 SWIG_arg_fail(3);SWIG_fail;
6080 }
6081 }
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6090 return resultobj;
6091 fail:
6092 return NULL;
6093 }
6094
6095
6096 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj;
6098 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6099 int *arg2 = (int *) 0 ;
6100 bool result;
6101 int temp2 ;
6102 int res2 = 0 ;
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj1 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self",(char *) "INOUT", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
6110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail;
6112 {
6113 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
6114 temp2 = SWIG_As_int(obj1);
6115 if (SWIG_arg_fail(2)) SWIG_fail;
6116 arg2 = &temp2;
6117 res2 = SWIG_NEWOBJ;
6118 }
6119 }
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (bool)(arg1)->AdjustPagebreak(arg2);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 {
6128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6129 }
6130 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6131 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6141 bool arg2 ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 char *kwnames[] = {
6145 (char *) "self",(char *) "can", NULL
6146 };
6147
6148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
6149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6150 if (SWIG_arg_fail(1)) SWIG_fail;
6151 {
6152 arg2 = (bool)(SWIG_As_bool(obj1));
6153 if (SWIG_arg_fail(2)) SWIG_fail;
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetCanLiveOnPagebreak(arg2);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6172 bool result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
6179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail;
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 {
6189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6190 }
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6200 bool result;
6201 PyObject * obj0 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
6207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail;
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 {
6217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6218 }
6219 return resultobj;
6220 fail:
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6228 int arg2 ;
6229 int arg3 ;
6230 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
6231 wxHtmlCell *result;
6232 PyObject * obj0 = 0 ;
6233 PyObject * obj1 = 0 ;
6234 PyObject * obj2 = 0 ;
6235 PyObject * obj3 = 0 ;
6236 char *kwnames[] = {
6237 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6242 if (SWIG_arg_fail(1)) SWIG_fail;
6243 {
6244 arg2 = (int)(SWIG_As_int(obj1));
6245 if (SWIG_arg_fail(2)) SWIG_fail;
6246 }
6247 {
6248 arg3 = (int)(SWIG_As_int(obj2));
6249 if (SWIG_arg_fail(3)) SWIG_fail;
6250 }
6251 if (obj3) {
6252 {
6253 arg4 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3));
6254 if (SWIG_arg_fail(4)) SWIG_fail;
6255 }
6256 }
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6265 return resultobj;
6266 fail:
6267 return NULL;
6268 }
6269
6270
6271 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
6272 PyObject *resultobj;
6273 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6274 wxPoint result;
6275 PyObject * obj0 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
6281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail;
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291 wxPoint * resultptr;
6292 resultptr = new wxPoint((wxPoint &)(result));
6293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6294 }
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6304 wxHtmlCell *result;
6305 PyObject * obj0 = 0 ;
6306 char *kwnames[] = {
6307 (char *) "self", NULL
6308 };
6309
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
6311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail;
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj;
6329 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6330 wxHtmlCell *result;
6331 PyObject * obj0 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
6337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6338 if (SWIG_arg_fail(1)) SWIG_fail;
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
6347 return resultobj;
6348 fail:
6349 return NULL;
6350 }
6351
6352
6353 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
6354 PyObject *resultobj;
6355 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6356 unsigned int result;
6357 PyObject * obj0 = 0 ;
6358 char *kwnames[] = {
6359 (char *) "self", NULL
6360 };
6361
6362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
6363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail;
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
6368
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
6372 {
6373 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
6374 }
6375 return resultobj;
6376 fail:
6377 return NULL;
6378 }
6379
6380
6381 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6384 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6385 bool result;
6386 PyObject * obj0 = 0 ;
6387 PyObject * obj1 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self",(char *) "cell", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
6393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail;
6395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6396 if (SWIG_arg_fail(2)) SWIG_fail;
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 {
6405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6406 }
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6416 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6417 wxString result;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "sel", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
6425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6426 if (SWIG_arg_fail(1)) SWIG_fail;
6427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_EXCEPTION | 0);
6428 if (SWIG_arg_fail(2)) SWIG_fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 #if wxUSE_UNICODE
6438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6439 #else
6440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6441 #endif
6442 }
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
6450 PyObject *obj;
6451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
6453 Py_INCREF(obj);
6454 return Py_BuildValue((char *)"");
6455 }
6456 static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxString *arg1 = 0 ;
6459 wxDC *arg2 = 0 ;
6460 wxHtmlWordCell *result;
6461 bool temp1 = false ;
6462 PyObject * obj0 = 0 ;
6463 PyObject * obj1 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "word",(char *) "dc", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
6469 {
6470 arg1 = wxString_in_helper(obj0);
6471 if (arg1 == NULL) SWIG_fail;
6472 temp1 = true;
6473 }
6474 {
6475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6476 if (SWIG_arg_fail(2)) SWIG_fail;
6477 if (arg2 == NULL) {
6478 SWIG_null_ref("wxDC");
6479 }
6480 if (SWIG_arg_fail(2)) SWIG_fail;
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
6490 {
6491 if (temp1)
6492 delete arg1;
6493 }
6494 return resultobj;
6495 fail:
6496 {
6497 if (temp1)
6498 delete arg1;
6499 }
6500 return NULL;
6501 }
6502
6503
6504 static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
6505 PyObject *obj;
6506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6507 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
6508 Py_INCREF(obj);
6509 return Py_BuildValue((char *)"");
6510 }
6511 static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6514 wxHtmlContainerCell *result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "parent", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
6521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6522 if (SWIG_arg_fail(1)) SWIG_fail;
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6540 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self",(char *) "cell", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
6548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6549 if (SWIG_arg_fail(1)) SWIG_fail;
6550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
6551 if (SWIG_arg_fail(2)) SWIG_fail;
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 (arg1)->InsertCell(arg2);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 Py_INCREF(Py_None); resultobj = Py_None;
6560 return resultobj;
6561 fail:
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6569 int arg2 ;
6570 PyObject * obj0 = 0 ;
6571 PyObject * obj1 = 0 ;
6572 char *kwnames[] = {
6573 (char *) "self",(char *) "al", NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
6577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6578 if (SWIG_arg_fail(1)) SWIG_fail;
6579 {
6580 arg2 = (int)(SWIG_As_int(obj1));
6581 if (SWIG_arg_fail(2)) SWIG_fail;
6582 }
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 (arg1)->SetAlignHor(arg2);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 Py_INCREF(Py_None); resultobj = Py_None;
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6600 int result;
6601 PyObject * obj0 = 0 ;
6602 char *kwnames[] = {
6603 (char *) "self", NULL
6604 };
6605
6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
6607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail;
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (int)(arg1)->GetAlignHor();
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 {
6617 resultobj = SWIG_From_int((int)(result));
6618 }
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6628 int arg2 ;
6629 PyObject * obj0 = 0 ;
6630 PyObject * obj1 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self",(char *) "al", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
6636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6637 if (SWIG_arg_fail(1)) SWIG_fail;
6638 {
6639 arg2 = (int)(SWIG_As_int(obj1));
6640 if (SWIG_arg_fail(2)) SWIG_fail;
6641 }
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 (arg1)->SetAlignVer(arg2);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 Py_INCREF(Py_None); resultobj = Py_None;
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6659 int result;
6660 PyObject * obj0 = 0 ;
6661 char *kwnames[] = {
6662 (char *) "self", NULL
6663 };
6664
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
6666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6667 if (SWIG_arg_fail(1)) SWIG_fail;
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 result = (int)(arg1)->GetAlignVer();
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 {
6676 resultobj = SWIG_From_int((int)(result));
6677 }
6678 return resultobj;
6679 fail:
6680 return NULL;
6681 }
6682
6683
6684 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj;
6686 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6687 int arg2 ;
6688 int arg3 ;
6689 int arg4 = (int) wxHTML_UNITS_PIXELS ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 PyObject * obj2 = 0 ;
6693 PyObject * obj3 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail;
6701 {
6702 arg2 = (int)(SWIG_As_int(obj1));
6703 if (SWIG_arg_fail(2)) SWIG_fail;
6704 }
6705 {
6706 arg3 = (int)(SWIG_As_int(obj2));
6707 if (SWIG_arg_fail(3)) SWIG_fail;
6708 }
6709 if (obj3) {
6710 {
6711 arg4 = (int)(SWIG_As_int(obj3));
6712 if (SWIG_arg_fail(4)) SWIG_fail;
6713 }
6714 }
6715 {
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 (arg1)->SetIndent(arg2,arg3,arg4);
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 Py_INCREF(Py_None); resultobj = Py_None;
6723 return resultobj;
6724 fail:
6725 return NULL;
6726 }
6727
6728
6729 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6730 PyObject *resultobj;
6731 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6732 int arg2 ;
6733 int result;
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "self",(char *) "ind", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
6741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6742 if (SWIG_arg_fail(1)) SWIG_fail;
6743 {
6744 arg2 = (int)(SWIG_As_int(obj1));
6745 if (SWIG_arg_fail(2)) SWIG_fail;
6746 }
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (int)(arg1)->GetIndent(arg2);
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 {
6755 resultobj = SWIG_From_int((int)(result));
6756 }
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6766 int arg2 ;
6767 int result;
6768 PyObject * obj0 = 0 ;
6769 PyObject * obj1 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self",(char *) "ind", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
6775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail;
6777 {
6778 arg2 = (int)(SWIG_As_int(obj1));
6779 if (SWIG_arg_fail(2)) SWIG_fail;
6780 }
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 result = (int)(arg1)->GetIndentUnits(arg2);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 {
6789 resultobj = SWIG_From_int((int)(result));
6790 }
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6800 wxHtmlTag *arg2 = 0 ;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "tag", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
6808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail;
6810 {
6811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6812 if (SWIG_arg_fail(2)) SWIG_fail;
6813 if (arg2 == NULL) {
6814 SWIG_null_ref("wxHtmlTag");
6815 }
6816 if (SWIG_arg_fail(2)) SWIG_fail;
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 Py_INCREF(Py_None); resultobj = Py_None;
6826 return resultobj;
6827 fail:
6828 return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6835 int arg2 ;
6836 int arg3 ;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 PyObject * obj2 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "self",(char *) "w",(char *) "units", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
6845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail;
6847 {
6848 arg2 = (int)(SWIG_As_int(obj1));
6849 if (SWIG_arg_fail(2)) SWIG_fail;
6850 }
6851 {
6852 arg3 = (int)(SWIG_As_int(obj2));
6853 if (SWIG_arg_fail(3)) SWIG_fail;
6854 }
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 (arg1)->SetWidthFloat(arg2,arg3);
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 Py_INCREF(Py_None); resultobj = Py_None;
6863 return resultobj;
6864 fail:
6865 return NULL;
6866 }
6867
6868
6869 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj;
6871 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6872 wxHtmlTag *arg2 = 0 ;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self",(char *) "tag", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
6880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6881 if (SWIG_arg_fail(1)) SWIG_fail;
6882 {
6883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlTag, SWIG_POINTER_EXCEPTION | 0);
6884 if (SWIG_arg_fail(2)) SWIG_fail;
6885 if (arg2 == NULL) {
6886 SWIG_null_ref("wxHtmlTag");
6887 }
6888 if (SWIG_arg_fail(2)) SWIG_fail;
6889 }
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 Py_INCREF(Py_None); resultobj = Py_None;
6898 return resultobj;
6899 fail:
6900 return NULL;
6901 }
6902
6903
6904 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
6905 PyObject *resultobj;
6906 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6907 int arg2 ;
6908 int arg3 = (int) wxHTML_ALIGN_TOP ;
6909 PyObject * obj0 = 0 ;
6910 PyObject * obj1 = 0 ;
6911 PyObject * obj2 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "h",(char *) "align", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
6919 {
6920 arg2 = (int)(SWIG_As_int(obj1));
6921 if (SWIG_arg_fail(2)) SWIG_fail;
6922 }
6923 if (obj2) {
6924 {
6925 arg3 = (int)(SWIG_As_int(obj2));
6926 if (SWIG_arg_fail(3)) SWIG_fail;
6927 }
6928 }
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->SetMinHeight(arg2,arg3);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6946 wxColour *arg2 = 0 ;
6947 wxColour temp2 ;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self",(char *) "clr", NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail;
6957 {
6958 arg2 = &temp2;
6959 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 Py_INCREF(Py_None); resultobj = Py_None;
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj;
6977 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
6978 wxColour result;
6979 PyObject * obj0 = 0 ;
6980 char *kwnames[] = {
6981 (char *) "self", NULL
6982 };
6983
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
6985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
6986 if (SWIG_arg_fail(1)) SWIG_fail;
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 result = (arg1)->GetBackgroundColour();
6990
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 {
6995 wxColour * resultptr;
6996 resultptr = new wxColour((wxColour &)(result));
6997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6998 }
6999 return resultobj;
7000 fail:
7001 return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7008 wxColour *arg2 = 0 ;
7009 wxColour *arg3 = 0 ;
7010 wxColour temp2 ;
7011 wxColour temp3 ;
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 PyObject * obj2 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = &temp2;
7024 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7025 }
7026 {
7027 arg3 = &temp3;
7028 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7029 }
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 Py_INCREF(Py_None); resultobj = Py_None;
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
7047 wxHtmlCell *result;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
7054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0);
7055 if (SWIG_arg_fail(1)) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 result = (wxHtmlCell *)(arg1)->GetFirstChild();
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
7071 PyObject *obj;
7072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7073 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
7074 Py_INCREF(obj);
7075 return Py_BuildValue((char *)"");
7076 }
7077 static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxColour *arg1 = 0 ;
7080 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
7081 wxHtmlColourCell *result;
7082 wxColour temp1 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char *kwnames[] = {
7086 (char *) "clr",(char *) "flags", NULL
7087 };
7088
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
7090 {
7091 arg1 = &temp1;
7092 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7093 }
7094 if (obj1) {
7095 {
7096 arg2 = (int)(SWIG_As_int(obj1));
7097 if (SWIG_arg_fail(2)) SWIG_fail;
7098 }
7099 }
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
7115 PyObject *obj;
7116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7117 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
7118 Py_INCREF(obj);
7119 return Py_BuildValue((char *)"");
7120 }
7121 static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
7122 PyObject *resultobj;
7123 wxFont *arg1 = (wxFont *) 0 ;
7124 wxHtmlFontCell *result;
7125 PyObject * obj0 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "font", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
7131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail;
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
7148 PyObject *obj;
7149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7150 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
7151 Py_INCREF(obj);
7152 return Py_BuildValue((char *)"");
7153 }
7154 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxWindow *arg1 = (wxWindow *) 0 ;
7157 int arg2 = (int) 0 ;
7158 wxHtmlWidgetCell *result;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 char *kwnames[] = {
7162 (char *) "wnd",(char *) "w", NULL
7163 };
7164
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
7166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7167 if (SWIG_arg_fail(1)) SWIG_fail;
7168 if (obj1) {
7169 {
7170 arg2 = (int)(SWIG_As_int(obj1));
7171 if (SWIG_arg_fail(2)) SWIG_fail;
7172 }
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
7189 PyObject *obj;
7190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7191 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
7192 Py_INCREF(obj);
7193 return Py_BuildValue((char *)"");
7194 }
7195 static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxPyHtmlFilter *result;
7198 char *kwnames[] = {
7199 NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
7220 PyObject *arg2 = (PyObject *) 0 ;
7221 PyObject *arg3 = (PyObject *) 0 ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 PyObject * obj2 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self",(char *) "self",(char *) "_class", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail;
7232 arg2 = obj1;
7233 arg3 = obj2;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 (arg1)->_setCallbackInfo(arg2,arg3);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 Py_INCREF(Py_None); resultobj = Py_None;
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
7249 PyObject *obj;
7250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7251 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
7252 Py_INCREF(obj);
7253 return Py_BuildValue((char *)"");
7254 }
7255 static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxWindow *arg1 = (wxWindow *) 0 ;
7258 int arg2 = (int) -1 ;
7259 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7260 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7261 wxSize const &arg4_defvalue = wxDefaultSize ;
7262 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7263 int arg5 = (int) wxHW_DEFAULT_STYLE ;
7264 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
7265 wxString *arg6 = (wxString *) &arg6_defvalue ;
7266 wxPyHtmlWindow *result;
7267 wxPoint temp3 ;
7268 wxSize temp4 ;
7269 bool temp6 = false ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 PyObject * obj2 = 0 ;
7273 PyObject * obj3 = 0 ;
7274 PyObject * obj4 = 0 ;
7275 PyObject * obj5 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail;
7283 if (obj1) {
7284 {
7285 arg2 = (int)(SWIG_As_int(obj1));
7286 if (SWIG_arg_fail(2)) SWIG_fail;
7287 }
7288 }
7289 if (obj2) {
7290 {
7291 arg3 = &temp3;
7292 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7293 }
7294 }
7295 if (obj3) {
7296 {
7297 arg4 = &temp4;
7298 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7299 }
7300 }
7301 if (obj4) {
7302 {
7303 arg5 = (int)(SWIG_As_int(obj4));
7304 if (SWIG_arg_fail(5)) SWIG_fail;
7305 }
7306 }
7307 if (obj5) {
7308 {
7309 arg6 = wxString_in_helper(obj5);
7310 if (arg6 == NULL) SWIG_fail;
7311 temp6 = true;
7312 }
7313 }
7314 {
7315 if (!wxPyCheckForApp()) SWIG_fail;
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7323 {
7324 if (temp6)
7325 delete arg6;
7326 }
7327 return resultobj;
7328 fail:
7329 {
7330 if (temp6)
7331 delete arg6;
7332 }
7333 return NULL;
7334 }
7335
7336
7337 static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 wxPyHtmlWindow *result;
7340 char *kwnames[] = {
7341 NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
7345 {
7346 if (!wxPyCheckForApp()) SWIG_fail;
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1);
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7363 wxWindow *arg2 = (wxWindow *) 0 ;
7364 int arg3 = (int) -1 ;
7365 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7366 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7367 wxSize const &arg5_defvalue = wxDefaultSize ;
7368 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7369 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
7370 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
7371 wxString *arg7 = (wxString *) &arg7_defvalue ;
7372 bool result;
7373 wxPoint temp4 ;
7374 wxSize temp5 ;
7375 bool temp7 = false ;
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 PyObject * obj2 = 0 ;
7379 PyObject * obj3 = 0 ;
7380 PyObject * obj4 = 0 ;
7381 PyObject * obj5 = 0 ;
7382 PyObject * obj6 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7385 };
7386
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7389 if (SWIG_arg_fail(1)) SWIG_fail;
7390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7391 if (SWIG_arg_fail(2)) SWIG_fail;
7392 if (obj2) {
7393 {
7394 arg3 = (int)(SWIG_As_int(obj2));
7395 if (SWIG_arg_fail(3)) SWIG_fail;
7396 }
7397 }
7398 if (obj3) {
7399 {
7400 arg4 = &temp4;
7401 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7402 }
7403 }
7404 if (obj4) {
7405 {
7406 arg5 = &temp5;
7407 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7408 }
7409 }
7410 if (obj5) {
7411 {
7412 arg6 = (int)(SWIG_As_int(obj5));
7413 if (SWIG_arg_fail(6)) SWIG_fail;
7414 }
7415 }
7416 if (obj6) {
7417 {
7418 arg7 = wxString_in_helper(obj6);
7419 if (arg7 == NULL) SWIG_fail;
7420 temp7 = true;
7421 }
7422 }
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 {
7431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7432 }
7433 {
7434 if (temp7)
7435 delete arg7;
7436 }
7437 return resultobj;
7438 fail:
7439 {
7440 if (temp7)
7441 delete arg7;
7442 }
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7450 PyObject *arg2 = (PyObject *) 0 ;
7451 PyObject *arg3 = (PyObject *) 0 ;
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 PyObject * obj2 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "self",(char *) "_class", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7461 if (SWIG_arg_fail(1)) SWIG_fail;
7462 arg2 = obj1;
7463 arg3 = obj2;
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 (arg1)->_setCallbackInfo(arg2,arg3);
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 return resultobj;
7473 fail:
7474 return NULL;
7475 }
7476
7477
7478 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
7479 PyObject *resultobj;
7480 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7481 wxString *arg2 = 0 ;
7482 bool result;
7483 bool temp2 = false ;
7484 PyObject * obj0 = 0 ;
7485 PyObject * obj1 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "self",(char *) "source", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
7491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail;
7493 {
7494 arg2 = wxString_in_helper(obj1);
7495 if (arg2 == NULL) SWIG_fail;
7496 temp2 = true;
7497 }
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 {
7506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7507 }
7508 {
7509 if (temp2)
7510 delete arg2;
7511 }
7512 return resultobj;
7513 fail:
7514 {
7515 if (temp2)
7516 delete arg2;
7517 }
7518 return NULL;
7519 }
7520
7521
7522 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7525 wxString *arg2 = 0 ;
7526 bool result;
7527 bool temp2 = false ;
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self",(char *) "location", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
7535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail;
7537 {
7538 arg2 = wxString_in_helper(obj1);
7539 if (arg2 == NULL) SWIG_fail;
7540 temp2 = true;
7541 }
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7551 }
7552 {
7553 if (temp2)
7554 delete arg2;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp2)
7560 delete arg2;
7561 }
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7569 wxString *arg2 = 0 ;
7570 bool result;
7571 bool temp2 = false ;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self",(char *) "filename", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7580 if (SWIG_arg_fail(1)) SWIG_fail;
7581 {
7582 arg2 = wxString_in_helper(obj1);
7583 if (arg2 == NULL) SWIG_fail;
7584 temp2 = true;
7585 }
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7589
7590 wxPyEndAllowThreads(__tstate);
7591 if (PyErr_Occurred()) SWIG_fail;
7592 }
7593 {
7594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7595 }
7596 {
7597 if (temp2)
7598 delete arg2;
7599 }
7600 return resultobj;
7601 fail:
7602 {
7603 if (temp2)
7604 delete arg2;
7605 }
7606 return NULL;
7607 }
7608
7609
7610 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj;
7612 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7613 wxString *arg2 = 0 ;
7614 bool result;
7615 bool temp2 = false ;
7616 PyObject * obj0 = 0 ;
7617 PyObject * obj1 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self",(char *) "source", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
7623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail;
7625 {
7626 arg2 = wxString_in_helper(obj1);
7627 if (arg2 == NULL) SWIG_fail;
7628 temp2 = true;
7629 }
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 {
7638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7639 }
7640 {
7641 if (temp2)
7642 delete arg2;
7643 }
7644 return resultobj;
7645 fail:
7646 {
7647 if (temp2)
7648 delete arg2;
7649 }
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7657 wxString result;
7658 PyObject * obj0 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
7664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail;
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 result = (arg1)->GetOpenedPage();
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 {
7674 #if wxUSE_UNICODE
7675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7676 #else
7677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7678 #endif
7679 }
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7689 wxString result;
7690 PyObject * obj0 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
7696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7697 if (SWIG_arg_fail(1)) SWIG_fail;
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 result = (arg1)->GetOpenedAnchor();
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 {
7706 #if wxUSE_UNICODE
7707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7708 #else
7709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7710 #endif
7711 }
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7721 wxString result;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
7728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail;
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 result = (arg1)->GetOpenedPageTitle();
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 {
7738 #if wxUSE_UNICODE
7739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7740 #else
7741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7742 #endif
7743 }
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj;
7752 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7753 wxFrame *arg2 = (wxFrame *) 0 ;
7754 wxString *arg3 = 0 ;
7755 bool temp3 = false ;
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 PyObject * obj2 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "self",(char *) "frame",(char *) "format", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail;
7766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
7767 if (SWIG_arg_fail(2)) SWIG_fail;
7768 {
7769 arg3 = wxString_in_helper(obj2);
7770 if (arg3 == NULL) SWIG_fail;
7771 temp3 = true;
7772 }
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 Py_INCREF(Py_None); resultobj = Py_None;
7781 {
7782 if (temp3)
7783 delete arg3;
7784 }
7785 return resultobj;
7786 fail:
7787 {
7788 if (temp3)
7789 delete arg3;
7790 }
7791 return NULL;
7792 }
7793
7794
7795 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7798 wxFrame *result;
7799 PyObject * obj0 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
7805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail;
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 result = (wxFrame *)(arg1)->GetRelatedFrame();
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 {
7815 resultobj = wxPyMake_wxObject(result, 0);
7816 }
7817 return resultobj;
7818 fail:
7819 return NULL;
7820 }
7821
7822
7823 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7826 int arg2 ;
7827 PyObject * obj0 = 0 ;
7828 PyObject * obj1 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "bar", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
7834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail;
7836 {
7837 arg2 = (int)(SWIG_As_int(obj1));
7838 if (SWIG_arg_fail(2)) SWIG_fail;
7839 }
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 (arg1)->SetRelatedStatusBar(arg2);
7843
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 Py_INCREF(Py_None); resultobj = Py_None;
7848 return resultobj;
7849 fail:
7850 return NULL;
7851 }
7852
7853
7854 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj;
7856 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7857 wxString arg2 ;
7858 wxString arg3 ;
7859 PyObject *arg4 = (PyObject *) NULL ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 PyObject * obj2 = 0 ;
7863 PyObject * obj3 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7870 if (SWIG_arg_fail(1)) SWIG_fail;
7871 {
7872 wxString* sptr = wxString_in_helper(obj1);
7873 if (sptr == NULL) SWIG_fail;
7874 arg2 = *sptr;
7875 delete sptr;
7876 }
7877 {
7878 wxString* sptr = wxString_in_helper(obj2);
7879 if (sptr == NULL) SWIG_fail;
7880 arg3 = *sptr;
7881 delete sptr;
7882 }
7883 if (obj3) {
7884 arg4 = obj3;
7885 }
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
7889
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 Py_INCREF(Py_None); resultobj = Py_None;
7894 return resultobj;
7895 fail:
7896 return NULL;
7897 }
7898
7899
7900 static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
7901 PyObject *resultobj;
7902 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7903 int arg2 = (int) -1 ;
7904 wxString const &arg3_defvalue = wxPyEmptyString ;
7905 wxString *arg3 = (wxString *) &arg3_defvalue ;
7906 wxString const &arg4_defvalue = wxPyEmptyString ;
7907 wxString *arg4 = (wxString *) &arg4_defvalue ;
7908 bool temp3 = false ;
7909 bool temp4 = false ;
7910 PyObject * obj0 = 0 ;
7911 PyObject * obj1 = 0 ;
7912 PyObject * obj2 = 0 ;
7913 PyObject * obj3 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail;
7921 if (obj1) {
7922 {
7923 arg2 = (int)(SWIG_As_int(obj1));
7924 if (SWIG_arg_fail(2)) SWIG_fail;
7925 }
7926 }
7927 if (obj2) {
7928 {
7929 arg3 = wxString_in_helper(obj2);
7930 if (arg3 == NULL) SWIG_fail;
7931 temp3 = true;
7932 }
7933 }
7934 if (obj3) {
7935 {
7936 arg4 = wxString_in_helper(obj3);
7937 if (arg4 == NULL) SWIG_fail;
7938 temp4 = true;
7939 }
7940 }
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 Py_INCREF(Py_None); resultobj = Py_None;
7949 {
7950 if (temp3)
7951 delete arg3;
7952 }
7953 {
7954 if (temp4)
7955 delete arg4;
7956 }
7957 return resultobj;
7958 fail:
7959 {
7960 if (temp3)
7961 delete arg3;
7962 }
7963 {
7964 if (temp4)
7965 delete arg4;
7966 }
7967 return NULL;
7968 }
7969
7970
7971 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7972 PyObject *resultobj;
7973 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7974 wxString *arg2 = 0 ;
7975 bool temp2 = false ;
7976 PyObject * obj0 = 0 ;
7977 PyObject * obj1 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self",(char *) "title", NULL
7980 };
7981
7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
7983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
7984 if (SWIG_arg_fail(1)) SWIG_fail;
7985 {
7986 arg2 = wxString_in_helper(obj1);
7987 if (arg2 == NULL) SWIG_fail;
7988 temp2 = true;
7989 }
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 (arg1)->SetTitle((wxString const &)*arg2);
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 Py_INCREF(Py_None); resultobj = Py_None;
7998 {
7999 if (temp2)
8000 delete arg2;
8001 }
8002 return resultobj;
8003 fail:
8004 {
8005 if (temp2)
8006 delete arg2;
8007 }
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8015 int arg2 ;
8016 PyObject * obj0 = 0 ;
8017 PyObject * obj1 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "b", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
8023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail;
8025 {
8026 arg2 = (int)(SWIG_As_int(obj1));
8027 if (SWIG_arg_fail(2)) SWIG_fail;
8028 }
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 (arg1)->SetBorders(arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 Py_INCREF(Py_None); resultobj = Py_None;
8037 return resultobj;
8038 fail:
8039 return NULL;
8040 }
8041
8042
8043 static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8046 wxBitmap *arg2 = 0 ;
8047 PyObject * obj0 = 0 ;
8048 PyObject * obj1 = 0 ;
8049 char *kwnames[] = {
8050 (char *) "self",(char *) "bmpBg", NULL
8051 };
8052
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) goto fail;
8054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail;
8056 {
8057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8058 if (SWIG_arg_fail(2)) SWIG_fail;
8059 if (arg2 == NULL) {
8060 SWIG_null_ref("wxBitmap");
8061 }
8062 if (SWIG_arg_fail(2)) SWIG_fail;
8063 }
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8081 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8082 wxString arg3 = (wxString) wxPyEmptyString ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 PyObject * obj2 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "cfg",(char *) "path", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail;
8093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8094 if (SWIG_arg_fail(2)) SWIG_fail;
8095 if (obj2) {
8096 {
8097 wxString* sptr = wxString_in_helper(obj2);
8098 if (sptr == NULL) SWIG_fail;
8099 arg3 = *sptr;
8100 delete sptr;
8101 }
8102 }
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->ReadCustomization(arg2,arg3);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8120 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8121 wxString arg3 = (wxString) wxPyEmptyString ;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 PyObject * obj2 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "cfg",(char *) "path", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail;
8132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8133 if (SWIG_arg_fail(2)) SWIG_fail;
8134 if (obj2) {
8135 {
8136 wxString* sptr = wxString_in_helper(obj2);
8137 if (sptr == NULL) SWIG_fail;
8138 arg3 = *sptr;
8139 delete sptr;
8140 }
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 (arg1)->WriteCustomization(arg2,arg3);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 Py_INCREF(Py_None); resultobj = Py_None;
8150 return resultobj;
8151 fail:
8152 return NULL;
8153 }
8154
8155
8156 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
8157 PyObject *resultobj;
8158 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8159 bool result;
8160 PyObject * obj0 = 0 ;
8161 char *kwnames[] = {
8162 (char *) "self", NULL
8163 };
8164
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
8166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail;
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 result = (bool)(arg1)->HistoryBack();
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 {
8176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8177 }
8178 return resultobj;
8179 fail:
8180 return NULL;
8181 }
8182
8183
8184 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
8185 PyObject *resultobj;
8186 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8187 bool result;
8188 PyObject * obj0 = 0 ;
8189 char *kwnames[] = {
8190 (char *) "self", NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
8194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8195 if (SWIG_arg_fail(1)) SWIG_fail;
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (bool)(arg1)->HistoryForward();
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 {
8204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8205 }
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8215 bool result;
8216 PyObject * obj0 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
8222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8223 if (SWIG_arg_fail(1)) SWIG_fail;
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 result = (bool)(arg1)->HistoryCanBack();
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 {
8232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8233 }
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8243 bool result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
8250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8251 if (SWIG_arg_fail(1)) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->HistoryCanForward();
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 {
8260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8261 }
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
8277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail;
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->HistoryClear();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8296 wxHtmlContainerCell *result;
8297 PyObject * obj0 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "self", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
8303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail;
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
8313 return resultobj;
8314 fail:
8315 return NULL;
8316 }
8317
8318
8319 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
8320 PyObject *resultobj;
8321 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8322 wxHtmlWinParser *result;
8323 PyObject * obj0 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
8329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail;
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (wxHtmlWinParser *)(arg1)->GetParser();
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8348 wxString *arg2 = 0 ;
8349 bool result;
8350 bool temp2 = false ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self",(char *) "anchor", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
8358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8359 if (SWIG_arg_fail(1)) SWIG_fail;
8360 {
8361 arg2 = wxString_in_helper(obj1);
8362 if (arg2 == NULL) SWIG_fail;
8363 temp2 = true;
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 {
8373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8374 }
8375 {
8376 if (temp2)
8377 delete arg2;
8378 }
8379 return resultobj;
8380 fail:
8381 {
8382 if (temp2)
8383 delete arg2;
8384 }
8385 return NULL;
8386 }
8387
8388
8389 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj;
8391 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8392 wxString *arg2 = 0 ;
8393 bool result;
8394 bool temp2 = false ;
8395 PyObject * obj0 = 0 ;
8396 PyObject * obj1 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "anchor", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
8402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail;
8404 {
8405 arg2 = wxString_in_helper(obj1);
8406 if (arg2 == NULL) SWIG_fail;
8407 temp2 = true;
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 {
8417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8418 }
8419 {
8420 if (temp2)
8421 delete arg2;
8422 }
8423 return resultobj;
8424 fail:
8425 {
8426 if (temp2)
8427 delete arg2;
8428 }
8429 return NULL;
8430 }
8431
8432
8433 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj;
8435 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "filter", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
8442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail;
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 wxPyHtmlWindow::AddFilter(arg1);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 Py_INCREF(Py_None); resultobj = Py_None;
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8461 wxPoint *arg2 = 0 ;
8462 wxPoint temp2 ;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self",(char *) "pos", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
8470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail;
8472 {
8473 arg2 = &temp2;
8474 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8475 }
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 (arg1)->SelectWord((wxPoint const &)*arg2);
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 Py_INCREF(Py_None); resultobj = Py_None;
8484 return resultobj;
8485 fail:
8486 return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8493 wxPoint *arg2 = 0 ;
8494 wxPoint temp2 ;
8495 PyObject * obj0 = 0 ;
8496 PyObject * obj1 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self",(char *) "pos", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
8502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail;
8504 {
8505 arg2 = &temp2;
8506 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8507 }
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 (arg1)->SelectLine((wxPoint const &)*arg2);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 Py_INCREF(Py_None); resultobj = Py_None;
8516 return resultobj;
8517 fail:
8518 return NULL;
8519 }
8520
8521
8522 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
8523 PyObject *resultobj;
8524 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8525 PyObject * obj0 = 0 ;
8526 char *kwnames[] = {
8527 (char *) "self", NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
8531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8532 if (SWIG_arg_fail(1)) SWIG_fail;
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 (arg1)->SelectAll();
8536
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 Py_INCREF(Py_None); resultobj = Py_None;
8541 return resultobj;
8542 fail:
8543 return NULL;
8544 }
8545
8546
8547 static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8550 wxString result;
8551 PyObject * obj0 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail;
8557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail;
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (arg1)->SelectionToText();
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567 #if wxUSE_UNICODE
8568 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8569 #else
8570 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8571 #endif
8572 }
8573 return resultobj;
8574 fail:
8575 return NULL;
8576 }
8577
8578
8579 static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) {
8580 PyObject *resultobj;
8581 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8582 wxString result;
8583 PyObject * obj0 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail;
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = (arg1)->ToText();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 {
8599 #if wxUSE_UNICODE
8600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8601 #else
8602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8603 #endif
8604 }
8605 return resultobj;
8606 fail:
8607 return NULL;
8608 }
8609
8610
8611 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8614 wxHtmlLinkInfo *arg2 = 0 ;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self",(char *) "link", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
8622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8623 if (SWIG_arg_fail(1)) SWIG_fail;
8624 {
8625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_EXCEPTION | 0);
8626 if (SWIG_arg_fail(2)) SWIG_fail;
8627 if (arg2 == NULL) {
8628 SWIG_null_ref("wxHtmlLinkInfo");
8629 }
8630 if (SWIG_arg_fail(2)) SWIG_fail;
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 Py_INCREF(Py_None); resultobj = Py_None;
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8649 wxString *arg2 = 0 ;
8650 bool temp2 = false ;
8651 PyObject * obj0 = 0 ;
8652 PyObject * obj1 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self",(char *) "title", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
8658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail;
8660 {
8661 arg2 = wxString_in_helper(obj1);
8662 if (arg2 == NULL) SWIG_fail;
8663 temp2 = true;
8664 }
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 (arg1)->base_OnSetTitle((wxString const &)*arg2);
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 Py_INCREF(Py_None); resultobj = Py_None;
8673 {
8674 if (temp2)
8675 delete arg2;
8676 }
8677 return resultobj;
8678 fail:
8679 {
8680 if (temp2)
8681 delete arg2;
8682 }
8683 return NULL;
8684 }
8685
8686
8687 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8690 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8691 int arg3 ;
8692 int arg4 ;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 PyObject * obj2 = 0 ;
8696 PyObject * obj3 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail;
8704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8705 if (SWIG_arg_fail(2)) SWIG_fail;
8706 {
8707 arg3 = (int)(SWIG_As_int(obj2));
8708 if (SWIG_arg_fail(3)) SWIG_fail;
8709 }
8710 {
8711 arg4 = (int)(SWIG_As_int(obj3));
8712 if (SWIG_arg_fail(4)) SWIG_fail;
8713 }
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 Py_INCREF(Py_None); resultobj = Py_None;
8722 return resultobj;
8723 fail:
8724 return NULL;
8725 }
8726
8727
8728 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
8729 PyObject *resultobj;
8730 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
8731 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8732 int arg3 ;
8733 int arg4 ;
8734 wxMouseEvent *arg5 = 0 ;
8735 PyObject * obj0 = 0 ;
8736 PyObject * obj1 = 0 ;
8737 PyObject * obj2 = 0 ;
8738 PyObject * obj3 = 0 ;
8739 PyObject * obj4 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail;
8747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0);
8748 if (SWIG_arg_fail(2)) SWIG_fail;
8749 {
8750 arg3 = (int)(SWIG_As_int(obj2));
8751 if (SWIG_arg_fail(3)) SWIG_fail;
8752 }
8753 {
8754 arg4 = (int)(SWIG_As_int(obj3));
8755 if (SWIG_arg_fail(4)) SWIG_fail;
8756 }
8757 {
8758 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
8759 if (SWIG_arg_fail(5)) SWIG_fail;
8760 if (arg5 == NULL) {
8761 SWIG_null_ref("wxMouseEvent");
8762 }
8763 if (SWIG_arg_fail(5)) SWIG_fail;
8764 }
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 Py_INCREF(Py_None); resultobj = Py_None;
8773 return resultobj;
8774 fail:
8775 return NULL;
8776 }
8777
8778
8779 static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8782 wxVisualAttributes result;
8783 PyObject * obj0 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "variant", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8789 if (obj0) {
8790 {
8791 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8792 if (SWIG_arg_fail(1)) SWIG_fail;
8793 }
8794 }
8795 {
8796 if (!wxPyCheckForApp()) SWIG_fail;
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 {
8804 wxVisualAttributes * resultptr;
8805 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8807 }
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
8815 PyObject *obj;
8816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8817 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
8818 Py_INCREF(obj);
8819 return Py_BuildValue((char *)"");
8820 }
8821 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
8822 PyObject *resultobj;
8823 wxHtmlDCRenderer *result;
8824 char *kwnames[] = {
8825 NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
8829 {
8830 if (!wxPyCheckForApp()) SWIG_fail;
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
8838 return resultobj;
8839 fail:
8840 return NULL;
8841 }
8842
8843
8844 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
8845 PyObject *resultobj;
8846 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8847 PyObject * obj0 = 0 ;
8848 char *kwnames[] = {
8849 (char *) "self", NULL
8850 };
8851
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
8853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail;
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 delete arg1;
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 Py_INCREF(Py_None); resultobj = Py_None;
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8872 wxDC *arg2 = (wxDC *) 0 ;
8873 int arg3 ;
8874 PyObject * obj0 = 0 ;
8875 PyObject * obj1 = 0 ;
8876 PyObject * obj2 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
8882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8883 if (SWIG_arg_fail(1)) SWIG_fail;
8884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8885 if (SWIG_arg_fail(2)) SWIG_fail;
8886 {
8887 arg3 = (int)(SWIG_As_int(obj2));
8888 if (SWIG_arg_fail(3)) SWIG_fail;
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 (arg1)->SetDC(arg2,arg3);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 Py_INCREF(Py_None); resultobj = Py_None;
8898 return resultobj;
8899 fail:
8900 return NULL;
8901 }
8902
8903
8904 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8905 PyObject *resultobj;
8906 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8907 int arg2 ;
8908 int arg3 ;
8909 PyObject * obj0 = 0 ;
8910 PyObject * obj1 = 0 ;
8911 PyObject * obj2 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "self",(char *) "width",(char *) "height", NULL
8914 };
8915
8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
8917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8918 if (SWIG_arg_fail(1)) SWIG_fail;
8919 {
8920 arg2 = (int)(SWIG_As_int(obj1));
8921 if (SWIG_arg_fail(2)) SWIG_fail;
8922 }
8923 {
8924 arg3 = (int)(SWIG_As_int(obj2));
8925 if (SWIG_arg_fail(3)) SWIG_fail;
8926 }
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 (arg1)->SetSize(arg2,arg3);
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 Py_INCREF(Py_None); resultobj = Py_None;
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj;
8943 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
8944 wxString *arg2 = 0 ;
8945 wxString const &arg3_defvalue = wxPyEmptyString ;
8946 wxString *arg3 = (wxString *) &arg3_defvalue ;
8947 bool arg4 = (bool) true ;
8948 bool temp2 = false ;
8949 bool temp3 = false ;
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
8952 PyObject * obj2 = 0 ;
8953 PyObject * obj3 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail;
8961 {
8962 arg2 = wxString_in_helper(obj1);
8963 if (arg2 == NULL) SWIG_fail;
8964 temp2 = true;
8965 }
8966 if (obj2) {
8967 {
8968 arg3 = wxString_in_helper(obj2);
8969 if (arg3 == NULL) SWIG_fail;
8970 temp3 = true;
8971 }
8972 }
8973 if (obj3) {
8974 {
8975 arg4 = (bool)(SWIG_As_bool(obj3));
8976 if (SWIG_arg_fail(4)) SWIG_fail;
8977 }
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 Py_INCREF(Py_None); resultobj = Py_None;
8987 {
8988 if (temp2)
8989 delete arg2;
8990 }
8991 {
8992 if (temp3)
8993 delete arg3;
8994 }
8995 return resultobj;
8996 fail:
8997 {
8998 if (temp2)
8999 delete arg2;
9000 }
9001 {
9002 if (temp3)
9003 delete arg3;
9004 }
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9012 wxString arg2 ;
9013 wxString arg3 ;
9014 PyObject *arg4 = (PyObject *) NULL ;
9015 PyObject * obj0 = 0 ;
9016 PyObject * obj1 = 0 ;
9017 PyObject * obj2 = 0 ;
9018 PyObject * obj3 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail;
9026 {
9027 wxString* sptr = wxString_in_helper(obj1);
9028 if (sptr == NULL) SWIG_fail;
9029 arg2 = *sptr;
9030 delete sptr;
9031 }
9032 {
9033 wxString* sptr = wxString_in_helper(obj2);
9034 if (sptr == NULL) SWIG_fail;
9035 arg3 = *sptr;
9036 delete sptr;
9037 }
9038 if (obj3) {
9039 arg4 = obj3;
9040 }
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 Py_INCREF(Py_None); resultobj = Py_None;
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9058 int arg2 = (int) -1 ;
9059 wxString const &arg3_defvalue = wxPyEmptyString ;
9060 wxString *arg3 = (wxString *) &arg3_defvalue ;
9061 wxString const &arg4_defvalue = wxPyEmptyString ;
9062 wxString *arg4 = (wxString *) &arg4_defvalue ;
9063 bool temp3 = false ;
9064 bool temp4 = false ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 PyObject * obj2 = 0 ;
9068 PyObject * obj3 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9075 if (SWIG_arg_fail(1)) SWIG_fail;
9076 if (obj1) {
9077 {
9078 arg2 = (int)(SWIG_As_int(obj1));
9079 if (SWIG_arg_fail(2)) SWIG_fail;
9080 }
9081 }
9082 if (obj2) {
9083 {
9084 arg3 = wxString_in_helper(obj2);
9085 if (arg3 == NULL) SWIG_fail;
9086 temp3 = true;
9087 }
9088 }
9089 if (obj3) {
9090 {
9091 arg4 = wxString_in_helper(obj3);
9092 if (arg4 == NULL) SWIG_fail;
9093 temp4 = true;
9094 }
9095 }
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 Py_INCREF(Py_None); resultobj = Py_None;
9104 {
9105 if (temp3)
9106 delete arg3;
9107 }
9108 {
9109 if (temp4)
9110 delete arg4;
9111 }
9112 return resultobj;
9113 fail:
9114 {
9115 if (temp3)
9116 delete arg3;
9117 }
9118 {
9119 if (temp4)
9120 delete arg4;
9121 }
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9129 int arg2 ;
9130 int arg3 ;
9131 int arg4 = (int) 0 ;
9132 int arg5 = (int) false ;
9133 int arg6 = (int) INT_MAX ;
9134 int *arg7 = (int *) NULL ;
9135 int arg8 = (int) 0 ;
9136 int result;
9137 PyObject * obj0 = 0 ;
9138 PyObject * obj1 = 0 ;
9139 PyObject * obj2 = 0 ;
9140 PyObject * obj3 = 0 ;
9141 PyObject * obj4 = 0 ;
9142 PyObject * obj5 = 0 ;
9143 PyObject * obj6 = 0 ;
9144 PyObject * obj7 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
9152 {
9153 arg2 = (int)(SWIG_As_int(obj1));
9154 if (SWIG_arg_fail(2)) SWIG_fail;
9155 }
9156 {
9157 arg3 = (int)(SWIG_As_int(obj2));
9158 if (SWIG_arg_fail(3)) SWIG_fail;
9159 }
9160 if (obj3) {
9161 {
9162 arg4 = (int)(SWIG_As_int(obj3));
9163 if (SWIG_arg_fail(4)) SWIG_fail;
9164 }
9165 }
9166 if (obj4) {
9167 {
9168 arg5 = (int)(SWIG_As_int(obj4));
9169 if (SWIG_arg_fail(5)) SWIG_fail;
9170 }
9171 }
9172 if (obj5) {
9173 {
9174 arg6 = (int)(SWIG_As_int(obj5));
9175 if (SWIG_arg_fail(6)) SWIG_fail;
9176 }
9177 }
9178 if (obj6) {
9179 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_int, SWIG_POINTER_EXCEPTION | 0);
9180 if (SWIG_arg_fail(7)) SWIG_fail;
9181 }
9182 if (obj7) {
9183 {
9184 arg8 = (int)(SWIG_As_int(obj7));
9185 if (SWIG_arg_fail(8)) SWIG_fail;
9186 }
9187 }
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 {
9196 resultobj = SWIG_From_int((int)(result));
9197 }
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
9207 int result;
9208 PyObject * obj0 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "self", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
9214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail;
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (int)(arg1)->GetTotalHeight();
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 {
9224 resultobj = SWIG_From_int((int)(result));
9225 }
9226 return resultobj;
9227 fail:
9228 return NULL;
9229 }
9230
9231
9232 static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
9233 PyObject *obj;
9234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9235 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
9236 Py_INCREF(obj);
9237 return Py_BuildValue((char *)"");
9238 }
9239 static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj;
9241 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
9242 wxString *arg1 = (wxString *) &arg1_defvalue ;
9243 wxHtmlPrintout *result;
9244 bool temp1 = false ;
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "title", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
9251 if (obj0) {
9252 {
9253 arg1 = wxString_in_helper(obj0);
9254 if (arg1 == NULL) SWIG_fail;
9255 temp1 = true;
9256 }
9257 }
9258 {
9259 if (!wxPyCheckForApp()) SWIG_fail;
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
9262
9263 wxPyEndAllowThreads(__tstate);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
9267 {
9268 if (temp1)
9269 delete arg1;
9270 }
9271 return resultobj;
9272 fail:
9273 {
9274 if (temp1)
9275 delete arg1;
9276 }
9277 return NULL;
9278 }
9279
9280
9281 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9284 wxString *arg2 = 0 ;
9285 wxString const &arg3_defvalue = wxPyEmptyString ;
9286 wxString *arg3 = (wxString *) &arg3_defvalue ;
9287 bool arg4 = (bool) true ;
9288 bool temp2 = false ;
9289 bool temp3 = false ;
9290 PyObject * obj0 = 0 ;
9291 PyObject * obj1 = 0 ;
9292 PyObject * obj2 = 0 ;
9293 PyObject * obj3 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail;
9301 {
9302 arg2 = wxString_in_helper(obj1);
9303 if (arg2 == NULL) SWIG_fail;
9304 temp2 = true;
9305 }
9306 if (obj2) {
9307 {
9308 arg3 = wxString_in_helper(obj2);
9309 if (arg3 == NULL) SWIG_fail;
9310 temp3 = true;
9311 }
9312 }
9313 if (obj3) {
9314 {
9315 arg4 = (bool)(SWIG_As_bool(obj3));
9316 if (SWIG_arg_fail(4)) SWIG_fail;
9317 }
9318 }
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 {
9328 if (temp2)
9329 delete arg2;
9330 }
9331 {
9332 if (temp3)
9333 delete arg3;
9334 }
9335 return resultobj;
9336 fail:
9337 {
9338 if (temp2)
9339 delete arg2;
9340 }
9341 {
9342 if (temp3)
9343 delete arg3;
9344 }
9345 return NULL;
9346 }
9347
9348
9349 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
9350 PyObject *resultobj;
9351 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9352 wxString *arg2 = 0 ;
9353 bool temp2 = false ;
9354 PyObject * obj0 = 0 ;
9355 PyObject * obj1 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self",(char *) "htmlfile", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
9361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail;
9363 {
9364 arg2 = wxString_in_helper(obj1);
9365 if (arg2 == NULL) SWIG_fail;
9366 temp2 = true;
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->SetHtmlFile((wxString const &)*arg2);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 {
9377 if (temp2)
9378 delete arg2;
9379 }
9380 return resultobj;
9381 fail:
9382 {
9383 if (temp2)
9384 delete arg2;
9385 }
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9393 wxString *arg2 = 0 ;
9394 int arg3 = (int) wxPAGE_ALL ;
9395 bool temp2 = false ;
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
9398 PyObject * obj2 = 0 ;
9399 char *kwnames[] = {
9400 (char *) "self",(char *) "header",(char *) "pg", NULL
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
9404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9405 if (SWIG_arg_fail(1)) SWIG_fail;
9406 {
9407 arg2 = wxString_in_helper(obj1);
9408 if (arg2 == NULL) SWIG_fail;
9409 temp2 = true;
9410 }
9411 if (obj2) {
9412 {
9413 arg3 = (int)(SWIG_As_int(obj2));
9414 if (SWIG_arg_fail(3)) SWIG_fail;
9415 }
9416 }
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 (arg1)->SetHeader((wxString const &)*arg2,arg3);
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 Py_INCREF(Py_None); resultobj = Py_None;
9425 {
9426 if (temp2)
9427 delete arg2;
9428 }
9429 return resultobj;
9430 fail:
9431 {
9432 if (temp2)
9433 delete arg2;
9434 }
9435 return NULL;
9436 }
9437
9438
9439 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
9440 PyObject *resultobj;
9441 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9442 wxString *arg2 = 0 ;
9443 int arg3 = (int) wxPAGE_ALL ;
9444 bool temp2 = false ;
9445 PyObject * obj0 = 0 ;
9446 PyObject * obj1 = 0 ;
9447 PyObject * obj2 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "footer",(char *) "pg", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
9455 {
9456 arg2 = wxString_in_helper(obj1);
9457 if (arg2 == NULL) SWIG_fail;
9458 temp2 = true;
9459 }
9460 if (obj2) {
9461 {
9462 arg3 = (int)(SWIG_As_int(obj2));
9463 if (SWIG_arg_fail(3)) SWIG_fail;
9464 }
9465 }
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 (arg1)->SetFooter((wxString const &)*arg2,arg3);
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 Py_INCREF(Py_None); resultobj = Py_None;
9474 {
9475 if (temp2)
9476 delete arg2;
9477 }
9478 return resultobj;
9479 fail:
9480 {
9481 if (temp2)
9482 delete arg2;
9483 }
9484 return NULL;
9485 }
9486
9487
9488 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj;
9490 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9491 wxString arg2 ;
9492 wxString arg3 ;
9493 PyObject *arg4 = (PyObject *) NULL ;
9494 PyObject * obj0 = 0 ;
9495 PyObject * obj1 = 0 ;
9496 PyObject * obj2 = 0 ;
9497 PyObject * obj3 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail;
9505 {
9506 wxString* sptr = wxString_in_helper(obj1);
9507 if (sptr == NULL) SWIG_fail;
9508 arg2 = *sptr;
9509 delete sptr;
9510 }
9511 {
9512 wxString* sptr = wxString_in_helper(obj2);
9513 if (sptr == NULL) SWIG_fail;
9514 arg3 = *sptr;
9515 delete sptr;
9516 }
9517 if (obj3) {
9518 arg4 = obj3;
9519 }
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 Py_INCREF(Py_None); resultobj = Py_None;
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9537 int arg2 = (int) -1 ;
9538 wxString const &arg3_defvalue = wxPyEmptyString ;
9539 wxString *arg3 = (wxString *) &arg3_defvalue ;
9540 wxString const &arg4_defvalue = wxPyEmptyString ;
9541 wxString *arg4 = (wxString *) &arg4_defvalue ;
9542 bool temp3 = false ;
9543 bool temp4 = false ;
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
9546 PyObject * obj2 = 0 ;
9547 PyObject * obj3 = 0 ;
9548 char *kwnames[] = {
9549 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9550 };
9551
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9554 if (SWIG_arg_fail(1)) SWIG_fail;
9555 if (obj1) {
9556 {
9557 arg2 = (int)(SWIG_As_int(obj1));
9558 if (SWIG_arg_fail(2)) SWIG_fail;
9559 }
9560 }
9561 if (obj2) {
9562 {
9563 arg3 = wxString_in_helper(obj2);
9564 if (arg3 == NULL) SWIG_fail;
9565 temp3 = true;
9566 }
9567 }
9568 if (obj3) {
9569 {
9570 arg4 = wxString_in_helper(obj3);
9571 if (arg4 == NULL) SWIG_fail;
9572 temp4 = true;
9573 }
9574 }
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 Py_INCREF(Py_None); resultobj = Py_None;
9583 {
9584 if (temp3)
9585 delete arg3;
9586 }
9587 {
9588 if (temp4)
9589 delete arg4;
9590 }
9591 return resultobj;
9592 fail:
9593 {
9594 if (temp3)
9595 delete arg3;
9596 }
9597 {
9598 if (temp4)
9599 delete arg4;
9600 }
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
9608 float arg2 = (float) 25.2 ;
9609 float arg3 = (float) 25.2 ;
9610 float arg4 = (float) 25.2 ;
9611 float arg5 = (float) 25.2 ;
9612 float arg6 = (float) 5 ;
9613 PyObject * obj0 = 0 ;
9614 PyObject * obj1 = 0 ;
9615 PyObject * obj2 = 0 ;
9616 PyObject * obj3 = 0 ;
9617 PyObject * obj4 = 0 ;
9618 PyObject * obj5 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_EXCEPTION | 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail;
9626 if (obj1) {
9627 {
9628 arg2 = (float)(SWIG_As_float(obj1));
9629 if (SWIG_arg_fail(2)) SWIG_fail;
9630 }
9631 }
9632 if (obj2) {
9633 {
9634 arg3 = (float)(SWIG_As_float(obj2));
9635 if (SWIG_arg_fail(3)) SWIG_fail;
9636 }
9637 }
9638 if (obj3) {
9639 {
9640 arg4 = (float)(SWIG_As_float(obj3));
9641 if (SWIG_arg_fail(4)) SWIG_fail;
9642 }
9643 }
9644 if (obj4) {
9645 {
9646 arg5 = (float)(SWIG_As_float(obj4));
9647 if (SWIG_arg_fail(5)) SWIG_fail;
9648 }
9649 }
9650 if (obj5) {
9651 {
9652 arg6 = (float)(SWIG_As_float(obj5));
9653 if (SWIG_arg_fail(6)) SWIG_fail;
9654 }
9655 }
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 Py_INCREF(Py_None); resultobj = Py_None;
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj;
9672 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "filter", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
9679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlFilter, SWIG_POINTER_EXCEPTION | 0);
9680 if (SWIG_arg_fail(1)) SWIG_fail;
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 wxHtmlPrintout::AddFilter(arg1);
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 Py_INCREF(Py_None); resultobj = Py_None;
9689 return resultobj;
9690 fail:
9691 return NULL;
9692 }
9693
9694
9695 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 char *kwnames[] = {
9698 NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 wxHtmlPrintout::CleanUpStatics();
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 Py_INCREF(Py_None); resultobj = Py_None;
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
9717 PyObject *obj;
9718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9719 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
9720 Py_INCREF(obj);
9721 return Py_BuildValue((char *)"");
9722 }
9723 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj;
9725 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
9726 wxString *arg1 = (wxString *) &arg1_defvalue ;
9727 wxWindow *arg2 = (wxWindow *) NULL ;
9728 wxHtmlEasyPrinting *result;
9729 bool temp1 = false ;
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
9732 char *kwnames[] = {
9733 (char *) "name",(char *) "parentWindow", NULL
9734 };
9735
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
9737 if (obj0) {
9738 {
9739 arg1 = wxString_in_helper(obj0);
9740 if (arg1 == NULL) SWIG_fail;
9741 temp1 = true;
9742 }
9743 }
9744 if (obj1) {
9745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9746 if (SWIG_arg_fail(2)) SWIG_fail;
9747 }
9748 {
9749 if (!wxPyCheckForApp()) SWIG_fail;
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
9757 {
9758 if (temp1)
9759 delete arg1;
9760 }
9761 return resultobj;
9762 fail:
9763 {
9764 if (temp1)
9765 delete arg1;
9766 }
9767 return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9774 PyObject * obj0 = 0 ;
9775 char *kwnames[] = {
9776 (char *) "self", NULL
9777 };
9778
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
9780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9781 if (SWIG_arg_fail(1)) SWIG_fail;
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 delete arg1;
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 Py_INCREF(Py_None); resultobj = Py_None;
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9799 wxString *arg2 = 0 ;
9800 bool temp2 = false ;
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self",(char *) "htmlfile", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
9808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9809 if (SWIG_arg_fail(1)) SWIG_fail;
9810 {
9811 arg2 = wxString_in_helper(obj1);
9812 if (arg2 == NULL) SWIG_fail;
9813 temp2 = true;
9814 }
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 (arg1)->PreviewFile((wxString const &)*arg2);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 Py_INCREF(Py_None); resultobj = Py_None;
9823 {
9824 if (temp2)
9825 delete arg2;
9826 }
9827 return resultobj;
9828 fail:
9829 {
9830 if (temp2)
9831 delete arg2;
9832 }
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9840 wxString *arg2 = 0 ;
9841 wxString const &arg3_defvalue = wxPyEmptyString ;
9842 wxString *arg3 = (wxString *) &arg3_defvalue ;
9843 bool temp2 = false ;
9844 bool temp3 = false ;
9845 PyObject * obj0 = 0 ;
9846 PyObject * obj1 = 0 ;
9847 PyObject * obj2 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
9853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail;
9855 {
9856 arg2 = wxString_in_helper(obj1);
9857 if (arg2 == NULL) SWIG_fail;
9858 temp2 = true;
9859 }
9860 if (obj2) {
9861 {
9862 arg3 = wxString_in_helper(obj2);
9863 if (arg3 == NULL) SWIG_fail;
9864 temp3 = true;
9865 }
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 Py_INCREF(Py_None); resultobj = Py_None;
9875 {
9876 if (temp2)
9877 delete arg2;
9878 }
9879 {
9880 if (temp3)
9881 delete arg3;
9882 }
9883 return resultobj;
9884 fail:
9885 {
9886 if (temp2)
9887 delete arg2;
9888 }
9889 {
9890 if (temp3)
9891 delete arg3;
9892 }
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9900 wxString *arg2 = 0 ;
9901 bool temp2 = false ;
9902 PyObject * obj0 = 0 ;
9903 PyObject * obj1 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "htmlfile", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
9909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail;
9911 {
9912 arg2 = wxString_in_helper(obj1);
9913 if (arg2 == NULL) SWIG_fail;
9914 temp2 = true;
9915 }
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 (arg1)->PrintFile((wxString const &)*arg2);
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 Py_INCREF(Py_None); resultobj = Py_None;
9924 {
9925 if (temp2)
9926 delete arg2;
9927 }
9928 return resultobj;
9929 fail:
9930 {
9931 if (temp2)
9932 delete arg2;
9933 }
9934 return NULL;
9935 }
9936
9937
9938 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
9939 PyObject *resultobj;
9940 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
9941 wxString *arg2 = 0 ;
9942 wxString const &arg3_defvalue = wxPyEmptyString ;
9943 wxString *arg3 = (wxString *) &arg3_defvalue ;
9944 bool temp2 = false ;
9945 bool temp3 = false ;
9946 PyObject * obj0 = 0 ;
9947 PyObject * obj1 = 0 ;
9948 PyObject * obj2 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
9954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail;
9956 {
9957 arg2 = wxString_in_helper(obj1);
9958 if (arg2 == NULL) SWIG_fail;
9959 temp2 = true;
9960 }
9961 if (obj2) {
9962 {
9963 arg3 = wxString_in_helper(obj2);
9964 if (arg3 == NULL) SWIG_fail;
9965 temp3 = true;
9966 }
9967 }
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 {
9977 if (temp2)
9978 delete arg2;
9979 }
9980 {
9981 if (temp3)
9982 delete arg3;
9983 }
9984 return resultobj;
9985 fail:
9986 {
9987 if (temp2)
9988 delete arg2;
9989 }
9990 {
9991 if (temp3)
9992 delete arg3;
9993 }
9994 return NULL;
9995 }
9996
9997
9998 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10001 PyObject * obj0 = 0 ;
10002 char *kwnames[] = {
10003 (char *) "self", NULL
10004 };
10005
10006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
10007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10008 if (SWIG_arg_fail(1)) SWIG_fail;
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 (arg1)->PageSetup();
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 Py_INCREF(Py_None); resultobj = Py_None;
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10026 wxString *arg2 = 0 ;
10027 int arg3 = (int) wxPAGE_ALL ;
10028 bool temp2 = false ;
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 PyObject * obj2 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self",(char *) "header",(char *) "pg", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
10037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10038 if (SWIG_arg_fail(1)) SWIG_fail;
10039 {
10040 arg2 = wxString_in_helper(obj1);
10041 if (arg2 == NULL) SWIG_fail;
10042 temp2 = true;
10043 }
10044 if (obj2) {
10045 {
10046 arg3 = (int)(SWIG_As_int(obj2));
10047 if (SWIG_arg_fail(3)) SWIG_fail;
10048 }
10049 }
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 (arg1)->SetHeader((wxString const &)*arg2,arg3);
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 Py_INCREF(Py_None); resultobj = Py_None;
10058 {
10059 if (temp2)
10060 delete arg2;
10061 }
10062 return resultobj;
10063 fail:
10064 {
10065 if (temp2)
10066 delete arg2;
10067 }
10068 return NULL;
10069 }
10070
10071
10072 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10075 wxString *arg2 = 0 ;
10076 int arg3 = (int) wxPAGE_ALL ;
10077 bool temp2 = false ;
10078 PyObject * obj0 = 0 ;
10079 PyObject * obj1 = 0 ;
10080 PyObject * obj2 = 0 ;
10081 char *kwnames[] = {
10082 (char *) "self",(char *) "footer",(char *) "pg", NULL
10083 };
10084
10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
10086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10087 if (SWIG_arg_fail(1)) SWIG_fail;
10088 {
10089 arg2 = wxString_in_helper(obj1);
10090 if (arg2 == NULL) SWIG_fail;
10091 temp2 = true;
10092 }
10093 if (obj2) {
10094 {
10095 arg3 = (int)(SWIG_As_int(obj2));
10096 if (SWIG_arg_fail(3)) SWIG_fail;
10097 }
10098 }
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetFooter((wxString const &)*arg2,arg3);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 Py_INCREF(Py_None); resultobj = Py_None;
10107 {
10108 if (temp2)
10109 delete arg2;
10110 }
10111 return resultobj;
10112 fail:
10113 {
10114 if (temp2)
10115 delete arg2;
10116 }
10117 return NULL;
10118 }
10119
10120
10121 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10124 wxString arg2 ;
10125 wxString arg3 ;
10126 PyObject *arg4 = (PyObject *) NULL ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 PyObject * obj2 = 0 ;
10130 PyObject * obj3 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 wxString* sptr = wxString_in_helper(obj1);
10140 if (sptr == NULL) SWIG_fail;
10141 arg2 = *sptr;
10142 delete sptr;
10143 }
10144 {
10145 wxString* sptr = wxString_in_helper(obj2);
10146 if (sptr == NULL) SWIG_fail;
10147 arg3 = *sptr;
10148 delete sptr;
10149 }
10150 if (obj3) {
10151 arg4 = obj3;
10152 }
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 Py_INCREF(Py_None); resultobj = Py_None;
10161 return resultobj;
10162 fail:
10163 return NULL;
10164 }
10165
10166
10167 static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10170 int arg2 = (int) -1 ;
10171 wxString const &arg3_defvalue = wxPyEmptyString ;
10172 wxString *arg3 = (wxString *) &arg3_defvalue ;
10173 wxString const &arg4_defvalue = wxPyEmptyString ;
10174 wxString *arg4 = (wxString *) &arg4_defvalue ;
10175 bool temp3 = false ;
10176 bool temp4 = false ;
10177 PyObject * obj0 = 0 ;
10178 PyObject * obj1 = 0 ;
10179 PyObject * obj2 = 0 ;
10180 PyObject * obj3 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10187 if (SWIG_arg_fail(1)) SWIG_fail;
10188 if (obj1) {
10189 {
10190 arg2 = (int)(SWIG_As_int(obj1));
10191 if (SWIG_arg_fail(2)) SWIG_fail;
10192 }
10193 }
10194 if (obj2) {
10195 {
10196 arg3 = wxString_in_helper(obj2);
10197 if (arg3 == NULL) SWIG_fail;
10198 temp3 = true;
10199 }
10200 }
10201 if (obj3) {
10202 {
10203 arg4 = wxString_in_helper(obj3);
10204 if (arg4 == NULL) SWIG_fail;
10205 temp4 = true;
10206 }
10207 }
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 {
10217 if (temp3)
10218 delete arg3;
10219 }
10220 {
10221 if (temp4)
10222 delete arg4;
10223 }
10224 return resultobj;
10225 fail:
10226 {
10227 if (temp3)
10228 delete arg3;
10229 }
10230 {
10231 if (temp4)
10232 delete arg4;
10233 }
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10241 wxPrintData *result;
10242 PyObject * obj0 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
10248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10249 if (SWIG_arg_fail(1)) SWIG_fail;
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (wxPrintData *)(arg1)->GetPrintData();
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
10267 wxPageSetupDialogData *result;
10268 PyObject * obj0 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
10274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_EXCEPTION | 0);
10275 if (SWIG_arg_fail(1)) SWIG_fail;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
10284 return resultobj;
10285 fail:
10286 return NULL;
10287 }
10288
10289
10290 static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
10291 PyObject *obj;
10292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10293 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
10294 Py_INCREF(obj);
10295 return Py_BuildValue((char *)"");
10296 }
10297 static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxString *arg1 = 0 ;
10300 wxString *arg2 = 0 ;
10301 wxString *arg3 = 0 ;
10302 wxString *arg4 = 0 ;
10303 wxHtmlBookRecord *result;
10304 bool temp1 = false ;
10305 bool temp2 = false ;
10306 bool temp3 = false ;
10307 bool temp4 = false ;
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10310 PyObject * obj2 = 0 ;
10311 PyObject * obj3 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10317 {
10318 arg1 = wxString_in_helper(obj0);
10319 if (arg1 == NULL) SWIG_fail;
10320 temp1 = true;
10321 }
10322 {
10323 arg2 = wxString_in_helper(obj1);
10324 if (arg2 == NULL) SWIG_fail;
10325 temp2 = true;
10326 }
10327 {
10328 arg3 = wxString_in_helper(obj2);
10329 if (arg3 == NULL) SWIG_fail;
10330 temp3 = true;
10331 }
10332 {
10333 arg4 = wxString_in_helper(obj3);
10334 if (arg4 == NULL) SWIG_fail;
10335 temp4 = true;
10336 }
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
10345 {
10346 if (temp1)
10347 delete arg1;
10348 }
10349 {
10350 if (temp2)
10351 delete arg2;
10352 }
10353 {
10354 if (temp3)
10355 delete arg3;
10356 }
10357 {
10358 if (temp4)
10359 delete arg4;
10360 }
10361 return resultobj;
10362 fail:
10363 {
10364 if (temp1)
10365 delete arg1;
10366 }
10367 {
10368 if (temp2)
10369 delete arg2;
10370 }
10371 {
10372 if (temp3)
10373 delete arg3;
10374 }
10375 {
10376 if (temp4)
10377 delete arg4;
10378 }
10379 return NULL;
10380 }
10381
10382
10383 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10386 wxString result;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
10393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail;
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (arg1)->GetBookFile();
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 {
10403 #if wxUSE_UNICODE
10404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10405 #else
10406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10407 #endif
10408 }
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj;
10417 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10418 wxString result;
10419 PyObject * obj0 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
10425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail;
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 result = (arg1)->GetTitle();
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
10434 {
10435 #if wxUSE_UNICODE
10436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10437 #else
10438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10439 #endif
10440 }
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10450 wxString result;
10451 PyObject * obj0 = 0 ;
10452 char *kwnames[] = {
10453 (char *) "self", NULL
10454 };
10455
10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
10457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail;
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (arg1)->GetStart();
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 {
10467 #if wxUSE_UNICODE
10468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10469 #else
10470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10471 #endif
10472 }
10473 return resultobj;
10474 fail:
10475 return NULL;
10476 }
10477
10478
10479 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj;
10481 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10482 wxString result;
10483 PyObject * obj0 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
10489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10490 if (SWIG_arg_fail(1)) SWIG_fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 result = (arg1)->GetBasePath();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 {
10499 #if wxUSE_UNICODE
10500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10501 #else
10502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10503 #endif
10504 }
10505 return resultobj;
10506 fail:
10507 return NULL;
10508 }
10509
10510
10511 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj;
10513 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10514 int arg2 ;
10515 int arg3 ;
10516 PyObject * obj0 = 0 ;
10517 PyObject * obj1 = 0 ;
10518 PyObject * obj2 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self",(char *) "start",(char *) "end", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10525 if (SWIG_arg_fail(1)) SWIG_fail;
10526 {
10527 arg2 = (int)(SWIG_As_int(obj1));
10528 if (SWIG_arg_fail(2)) SWIG_fail;
10529 }
10530 {
10531 arg3 = (int)(SWIG_As_int(obj2));
10532 if (SWIG_arg_fail(3)) SWIG_fail;
10533 }
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 (arg1)->SetContentsRange(arg2,arg3);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10551 int result;
10552 PyObject * obj0 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
10558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10559 if (SWIG_arg_fail(1)) SWIG_fail;
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = (int)(arg1)->GetContentsStart();
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 {
10568 resultobj = SWIG_From_int((int)(result));
10569 }
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj;
10578 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10579 int result;
10580 PyObject * obj0 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
10586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail;
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (int)(arg1)->GetContentsEnd();
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 {
10596 resultobj = SWIG_From_int((int)(result));
10597 }
10598 return resultobj;
10599 fail:
10600 return NULL;
10601 }
10602
10603
10604 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10607 wxString *arg2 = 0 ;
10608 bool temp2 = false ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self",(char *) "title", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
10616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail;
10618 {
10619 arg2 = wxString_in_helper(obj1);
10620 if (arg2 == NULL) SWIG_fail;
10621 temp2 = true;
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->SetTitle((wxString const &)*arg2);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 {
10632 if (temp2)
10633 delete arg2;
10634 }
10635 return resultobj;
10636 fail:
10637 {
10638 if (temp2)
10639 delete arg2;
10640 }
10641 return NULL;
10642 }
10643
10644
10645 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj;
10647 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10648 wxString *arg2 = 0 ;
10649 bool temp2 = false ;
10650 PyObject * obj0 = 0 ;
10651 PyObject * obj1 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "path", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
10657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail;
10659 {
10660 arg2 = wxString_in_helper(obj1);
10661 if (arg2 == NULL) SWIG_fail;
10662 temp2 = true;
10663 }
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 (arg1)->SetBasePath((wxString const &)*arg2);
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 Py_INCREF(Py_None); resultobj = Py_None;
10672 {
10673 if (temp2)
10674 delete arg2;
10675 }
10676 return resultobj;
10677 fail:
10678 {
10679 if (temp2)
10680 delete arg2;
10681 }
10682 return NULL;
10683 }
10684
10685
10686 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj;
10688 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10689 wxString *arg2 = 0 ;
10690 bool temp2 = false ;
10691 PyObject * obj0 = 0 ;
10692 PyObject * obj1 = 0 ;
10693 char *kwnames[] = {
10694 (char *) "self",(char *) "start", NULL
10695 };
10696
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
10698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10699 if (SWIG_arg_fail(1)) SWIG_fail;
10700 {
10701 arg2 = wxString_in_helper(obj1);
10702 if (arg2 == NULL) SWIG_fail;
10703 temp2 = true;
10704 }
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 (arg1)->SetStart((wxString const &)*arg2);
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 Py_INCREF(Py_None); resultobj = Py_None;
10713 {
10714 if (temp2)
10715 delete arg2;
10716 }
10717 return resultobj;
10718 fail:
10719 {
10720 if (temp2)
10721 delete arg2;
10722 }
10723 return NULL;
10724 }
10725
10726
10727 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj;
10729 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
10730 wxString *arg2 = 0 ;
10731 wxString result;
10732 bool temp2 = false ;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self",(char *) "page", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
10740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail;
10742 {
10743 arg2 = wxString_in_helper(obj1);
10744 if (arg2 == NULL) SWIG_fail;
10745 temp2 = true;
10746 }
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 {
10755 #if wxUSE_UNICODE
10756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10757 #else
10758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10759 #endif
10760 }
10761 {
10762 if (temp2)
10763 delete arg2;
10764 }
10765 return resultobj;
10766 fail:
10767 {
10768 if (temp2)
10769 delete arg2;
10770 }
10771 return NULL;
10772 }
10773
10774
10775 static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
10776 PyObject *obj;
10777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10778 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
10779 Py_INCREF(obj);
10780 return Py_BuildValue((char *)"");
10781 }
10782 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10785 int result;
10786 PyObject * obj0 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
10792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (int)wxHtmlContentsItem_GetLevel(arg1);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 {
10802 resultobj = SWIG_From_int((int)(result));
10803 }
10804 return resultobj;
10805 fail:
10806 return NULL;
10807 }
10808
10809
10810 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
10811 PyObject *resultobj;
10812 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10813 int result;
10814 PyObject * obj0 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
10820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10821 if (SWIG_arg_fail(1)) SWIG_fail;
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 result = (int)wxHtmlContentsItem_GetID(arg1);
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 {
10830 resultobj = SWIG_From_int((int)(result));
10831 }
10832 return resultobj;
10833 fail:
10834 return NULL;
10835 }
10836
10837
10838 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10841 wxString result;
10842 PyObject * obj0 = 0 ;
10843 char *kwnames[] = {
10844 (char *) "self", NULL
10845 };
10846
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
10848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail;
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = wxHtmlContentsItem_GetName(arg1);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 {
10858 #if wxUSE_UNICODE
10859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10860 #else
10861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10862 #endif
10863 }
10864 return resultobj;
10865 fail:
10866 return NULL;
10867 }
10868
10869
10870 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj;
10872 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10873 wxString result;
10874 PyObject * obj0 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
10880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = wxHtmlContentsItem_GetPage(arg1);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 {
10890 #if wxUSE_UNICODE
10891 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10892 #else
10893 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10894 #endif
10895 }
10896 return resultobj;
10897 fail:
10898 return NULL;
10899 }
10900
10901
10902 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
10905 wxHtmlBookRecord *result;
10906 PyObject * obj0 = 0 ;
10907 char *kwnames[] = {
10908 (char *) "self", NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
10912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContentsItem, SWIG_POINTER_EXCEPTION | 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail;
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
10922 return resultobj;
10923 fail:
10924 return NULL;
10925 }
10926
10927
10928 static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
10929 PyObject *obj;
10930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10931 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
10932 Py_INCREF(obj);
10933 return Py_BuildValue((char *)"");
10934 }
10935 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj;
10937 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10938 bool result;
10939 PyObject * obj0 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
10945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail;
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 result = (bool)(arg1)->Search();
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 {
10955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10956 }
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10966 bool result;
10967 PyObject * obj0 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "self", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 result = (bool)(arg1)->IsActive();
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 {
10983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10984 }
10985 return resultobj;
10986 fail:
10987 return NULL;
10988 }
10989
10990
10991 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj;
10993 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
10994 int result;
10995 PyObject * obj0 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
11001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail;
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (int)(arg1)->GetCurIndex();
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 {
11011 resultobj = SWIG_From_int((int)(result));
11012 }
11013 return resultobj;
11014 fail:
11015 return NULL;
11016 }
11017
11018
11019 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj;
11021 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11022 int result;
11023 PyObject * obj0 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
11029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail;
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 result = (int)(arg1)->GetMaxIndex();
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 {
11039 resultobj = SWIG_From_int((int)(result));
11040 }
11041 return resultobj;
11042 fail:
11043 return NULL;
11044 }
11045
11046
11047 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
11048 PyObject *resultobj;
11049 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11050 wxString *result;
11051 PyObject * obj0 = 0 ;
11052 char *kwnames[] = {
11053 (char *) "self", NULL
11054 };
11055
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
11057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11058 if (SWIG_arg_fail(1)) SWIG_fail;
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 {
11062 wxString const &_result_ref = (arg1)->GetName();
11063 result = (wxString *) &_result_ref;
11064 }
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 {
11070 #if wxUSE_UNICODE
11071 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11072 #else
11073 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11074 #endif
11075 }
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
11085 wxHtmlContentsItem *result;
11086 PyObject * obj0 = 0 ;
11087 char *kwnames[] = {
11088 (char *) "self", NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
11092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlSearchStatus, SWIG_POINTER_EXCEPTION | 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail;
11094 {
11095 PyThreadState* __tstate = wxPyBeginAllowThreads();
11096 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
11097
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
11101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
11102 return resultobj;
11103 fail:
11104 return NULL;
11105 }
11106
11107
11108 static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
11109 PyObject *obj;
11110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11111 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
11112 Py_INCREF(obj);
11113 return Py_BuildValue((char *)"");
11114 }
11115 static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxHtmlHelpData *result;
11118 char *kwnames[] = {
11119 NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 result = (wxHtmlHelpData *)new wxHtmlHelpData();
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
11131 return resultobj;
11132 fail:
11133 return NULL;
11134 }
11135
11136
11137 static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
11138 PyObject *resultobj;
11139 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11140 PyObject * obj0 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
11146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail;
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 delete arg1;
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 Py_INCREF(Py_None); resultobj = Py_None;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11165 wxString *arg2 = 0 ;
11166 bool temp2 = false ;
11167 PyObject * obj0 = 0 ;
11168 PyObject * obj1 = 0 ;
11169 char *kwnames[] = {
11170 (char *) "self",(char *) "path", NULL
11171 };
11172
11173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
11174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11175 if (SWIG_arg_fail(1)) SWIG_fail;
11176 {
11177 arg2 = wxString_in_helper(obj1);
11178 if (arg2 == NULL) SWIG_fail;
11179 temp2 = true;
11180 }
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetTempDir((wxString const &)*arg2);
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 Py_INCREF(Py_None); resultobj = Py_None;
11189 {
11190 if (temp2)
11191 delete arg2;
11192 }
11193 return resultobj;
11194 fail:
11195 {
11196 if (temp2)
11197 delete arg2;
11198 }
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11206 wxString *arg2 = 0 ;
11207 bool result;
11208 bool temp2 = false ;
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 char *kwnames[] = {
11212 (char *) "self",(char *) "book", NULL
11213 };
11214
11215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
11216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11217 if (SWIG_arg_fail(1)) SWIG_fail;
11218 {
11219 arg2 = wxString_in_helper(obj1);
11220 if (arg2 == NULL) SWIG_fail;
11221 temp2 = true;
11222 }
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
11226
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
11230 {
11231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11232 }
11233 {
11234 if (temp2)
11235 delete arg2;
11236 }
11237 return resultobj;
11238 fail:
11239 {
11240 if (temp2)
11241 delete arg2;
11242 }
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11250 wxString *arg2 = 0 ;
11251 wxString result;
11252 bool temp2 = false ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self",(char *) "page", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
11260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail;
11262 {
11263 arg2 = wxString_in_helper(obj1);
11264 if (arg2 == NULL) SWIG_fail;
11265 temp2 = true;
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 result = (arg1)->FindPageByName((wxString const &)*arg2);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 {
11275 #if wxUSE_UNICODE
11276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11277 #else
11278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11279 #endif
11280 }
11281 {
11282 if (temp2)
11283 delete arg2;
11284 }
11285 return resultobj;
11286 fail:
11287 {
11288 if (temp2)
11289 delete arg2;
11290 }
11291 return NULL;
11292 }
11293
11294
11295 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
11296 PyObject *resultobj;
11297 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11298 int arg2 ;
11299 wxString result;
11300 PyObject * obj0 = 0 ;
11301 PyObject * obj1 = 0 ;
11302 char *kwnames[] = {
11303 (char *) "self",(char *) "id", NULL
11304 };
11305
11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
11307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail;
11309 {
11310 arg2 = (int)(SWIG_As_int(obj1));
11311 if (SWIG_arg_fail(2)) SWIG_fail;
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (arg1)->FindPageById(arg2);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321 #if wxUSE_UNICODE
11322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11323 #else
11324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11325 #endif
11326 }
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11336 wxHtmlBookRecArray *result;
11337 PyObject * obj0 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 {
11348 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
11349 result = (wxHtmlBookRecArray *) &_result_ref;
11350 }
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
11356 return resultobj;
11357 fail:
11358 return NULL;
11359 }
11360
11361
11362 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj;
11364 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11365 wxHtmlContentsItem *result;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = (wxHtmlContentsItem *)(arg1)->GetContents();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11391 int result;
11392 PyObject * obj0 = 0 ;
11393 char *kwnames[] = {
11394 (char *) "self", NULL
11395 };
11396
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
11398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11399 if (SWIG_arg_fail(1)) SWIG_fail;
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (int)(arg1)->GetContentsCnt();
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 {
11408 resultobj = SWIG_From_int((int)(result));
11409 }
11410 return resultobj;
11411 fail:
11412 return NULL;
11413 }
11414
11415
11416 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11417 PyObject *resultobj;
11418 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11419 wxHtmlContentsItem *result;
11420 PyObject * obj0 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
11426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail;
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
11431
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
11435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
11436 return resultobj;
11437 fail:
11438 return NULL;
11439 }
11440
11441
11442 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
11443 PyObject *resultobj;
11444 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
11445 int result;
11446 PyObject * obj0 = 0 ;
11447 char *kwnames[] = {
11448 (char *) "self", NULL
11449 };
11450
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
11452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail;
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 result = (int)(arg1)->GetIndexCnt();
11457
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
11461 {
11462 resultobj = SWIG_From_int((int)(result));
11463 }
11464 return resultobj;
11465 fail:
11466 return NULL;
11467 }
11468
11469
11470 static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
11471 PyObject *obj;
11472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11473 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
11474 Py_INCREF(obj);
11475 return Py_BuildValue((char *)"");
11476 }
11477 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxWindow *arg1 = (wxWindow *) 0 ;
11480 int arg2 ;
11481 wxString const &arg3_defvalue = wxPyEmptyString ;
11482 wxString *arg3 = (wxString *) &arg3_defvalue ;
11483 int arg4 = (int) wxHF_DEFAULTSTYLE ;
11484 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
11485 wxHtmlHelpFrame *result;
11486 bool temp3 = false ;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 PyObject * obj2 = 0 ;
11490 PyObject * obj3 = 0 ;
11491 PyObject * obj4 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11498 if (SWIG_arg_fail(1)) SWIG_fail;
11499 {
11500 arg2 = (int)(SWIG_As_int(obj1));
11501 if (SWIG_arg_fail(2)) SWIG_fail;
11502 }
11503 if (obj2) {
11504 {
11505 arg3 = wxString_in_helper(obj2);
11506 if (arg3 == NULL) SWIG_fail;
11507 temp3 = true;
11508 }
11509 }
11510 if (obj3) {
11511 {
11512 arg4 = (int)(SWIG_As_int(obj3));
11513 if (SWIG_arg_fail(4)) SWIG_fail;
11514 }
11515 }
11516 if (obj4) {
11517 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0);
11518 if (SWIG_arg_fail(5)) SWIG_fail;
11519 }
11520 {
11521 if (!wxPyCheckForApp()) SWIG_fail;
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
11529 {
11530 if (temp3)
11531 delete arg3;
11532 }
11533 return resultobj;
11534 fail:
11535 {
11536 if (temp3)
11537 delete arg3;
11538 }
11539 return NULL;
11540 }
11541
11542
11543 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj;
11545 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11546 wxHtmlHelpData *result;
11547 PyObject * obj0 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
11553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail;
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = (wxHtmlHelpData *)(arg1)->GetData();
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
11563 return resultobj;
11564 fail:
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11572 wxString *arg2 = 0 ;
11573 bool temp2 = false ;
11574 PyObject * obj0 = 0 ;
11575 PyObject * obj1 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "format", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
11581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail;
11583 {
11584 arg2 = wxString_in_helper(obj1);
11585 if (arg2 == NULL) SWIG_fail;
11586 temp2 = true;
11587 }
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 (arg1)->SetTitleFormat((wxString const &)*arg2);
11591
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 Py_INCREF(Py_None); resultobj = Py_None;
11596 {
11597 if (temp2)
11598 delete arg2;
11599 }
11600 return resultobj;
11601 fail:
11602 {
11603 if (temp2)
11604 delete arg2;
11605 }
11606 return NULL;
11607 }
11608
11609
11610 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
11611 PyObject *resultobj;
11612 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11613 wxString *arg2 = 0 ;
11614 bool temp2 = false ;
11615 PyObject * obj0 = 0 ;
11616 PyObject * obj1 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self",(char *) "x", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
11622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11623 if (SWIG_arg_fail(1)) SWIG_fail;
11624 {
11625 arg2 = wxString_in_helper(obj1);
11626 if (arg2 == NULL) SWIG_fail;
11627 temp2 = true;
11628 }
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 (arg1)->Display((wxString const &)*arg2);
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 Py_INCREF(Py_None); resultobj = Py_None;
11637 {
11638 if (temp2)
11639 delete arg2;
11640 }
11641 return resultobj;
11642 fail:
11643 {
11644 if (temp2)
11645 delete arg2;
11646 }
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11654 int arg2 ;
11655 PyObject * obj0 = 0 ;
11656 PyObject * obj1 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self",(char *) "id", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
11662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail;
11664 {
11665 arg2 = (int)(SWIG_As_int(obj1));
11666 if (SWIG_arg_fail(2)) SWIG_fail;
11667 }
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 (arg1)->Display(arg2);
11671
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 Py_INCREF(Py_None); resultobj = Py_None;
11676 return resultobj;
11677 fail:
11678 return NULL;
11679 }
11680
11681
11682 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11685 PyObject * obj0 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
11691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11692 if (SWIG_arg_fail(1)) SWIG_fail;
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 (arg1)->DisplayContents();
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 Py_INCREF(Py_None); resultobj = Py_None;
11701 return resultobj;
11702 fail:
11703 return NULL;
11704 }
11705
11706
11707 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11710 PyObject * obj0 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
11716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11717 if (SWIG_arg_fail(1)) SWIG_fail;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 (arg1)->DisplayIndex();
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 Py_INCREF(Py_None); resultobj = Py_None;
11726 return resultobj;
11727 fail:
11728 return NULL;
11729 }
11730
11731
11732 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11735 wxString *arg2 = 0 ;
11736 bool result;
11737 bool temp2 = false ;
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self",(char *) "keyword", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
11745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail;
11747 {
11748 arg2 = wxString_in_helper(obj1);
11749 if (arg2 == NULL) SWIG_fail;
11750 temp2 = true;
11751 }
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 {
11760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11761 }
11762 {
11763 if (temp2)
11764 delete arg2;
11765 }
11766 return resultobj;
11767 fail:
11768 {
11769 if (temp2)
11770 delete arg2;
11771 }
11772 return NULL;
11773 }
11774
11775
11776 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj;
11778 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11779 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11780 wxString const &arg3_defvalue = wxPyEmptyString ;
11781 wxString *arg3 = (wxString *) &arg3_defvalue ;
11782 bool temp3 = false ;
11783 PyObject * obj0 = 0 ;
11784 PyObject * obj1 = 0 ;
11785 PyObject * obj2 = 0 ;
11786 char *kwnames[] = {
11787 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11788 };
11789
11790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
11791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail;
11793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11794 if (SWIG_arg_fail(2)) SWIG_fail;
11795 if (obj2) {
11796 {
11797 arg3 = wxString_in_helper(obj2);
11798 if (arg3 == NULL) SWIG_fail;
11799 temp3 = true;
11800 }
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 {
11811 if (temp3)
11812 delete arg3;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp3)
11818 delete arg3;
11819 }
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11827 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11828 wxString arg3 = (wxString) wxPyEmptyString ;
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj1 = 0 ;
11831 PyObject * obj2 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "self",(char *) "cfg",(char *) "path", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
11837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11838 if (SWIG_arg_fail(1)) SWIG_fail;
11839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11840 if (SWIG_arg_fail(2)) SWIG_fail;
11841 if (obj2) {
11842 {
11843 wxString* sptr = wxString_in_helper(obj2);
11844 if (sptr == NULL) SWIG_fail;
11845 arg3 = *sptr;
11846 delete sptr;
11847 }
11848 }
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 (arg1)->ReadCustomization(arg2,arg3);
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 Py_INCREF(Py_None); resultobj = Py_None;
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
11866 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
11867 wxString arg3 = (wxString) wxPyEmptyString ;
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 PyObject * obj2 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self",(char *) "cfg",(char *) "path", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
11876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail;
11878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
11879 if (SWIG_arg_fail(2)) SWIG_fail;
11880 if (obj2) {
11881 {
11882 wxString* sptr = wxString_in_helper(obj2);
11883 if (sptr == NULL) SWIG_fail;
11884 arg3 = *sptr;
11885 delete sptr;
11886 }
11887 }
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->WriteCustomization(arg2,arg3);
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
11903 PyObject *obj;
11904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11905 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
11906 Py_INCREF(obj);
11907 return Py_BuildValue((char *)"");
11908 }
11909 static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 int arg1 = (int) wxHF_DEFAULTSTYLE ;
11912 wxHtmlHelpController *result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "style", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
11919 if (obj0) {
11920 {
11921 arg1 = (int)(SWIG_As_int(obj0));
11922 if (SWIG_arg_fail(1)) SWIG_fail;
11923 }
11924 }
11925 {
11926 if (!wxPyCheckForApp()) SWIG_fail;
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
11929
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
11934 return resultobj;
11935 fail:
11936 return NULL;
11937 }
11938
11939
11940 static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
11941 PyObject *resultobj;
11942 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11943 PyObject * obj0 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
11949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail;
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 delete arg1;
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 Py_INCREF(Py_None); resultobj = Py_None;
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
11968 wxString *arg2 = 0 ;
11969 bool temp2 = false ;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self",(char *) "format", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
11977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail;
11979 {
11980 arg2 = wxString_in_helper(obj1);
11981 if (arg2 == NULL) SWIG_fail;
11982 temp2 = true;
11983 }
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->SetTitleFormat((wxString const &)*arg2);
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 Py_INCREF(Py_None); resultobj = Py_None;
11992 {
11993 if (temp2)
11994 delete arg2;
11995 }
11996 return resultobj;
11997 fail:
11998 {
11999 if (temp2)
12000 delete arg2;
12001 }
12002 return NULL;
12003 }
12004
12005
12006 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12009 wxString *arg2 = 0 ;
12010 bool temp2 = false ;
12011 PyObject * obj0 = 0 ;
12012 PyObject * obj1 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self",(char *) "path", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
12018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail;
12020 {
12021 arg2 = wxString_in_helper(obj1);
12022 if (arg2 == NULL) SWIG_fail;
12023 temp2 = true;
12024 }
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 (arg1)->SetTempDir((wxString const &)*arg2);
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
12032 Py_INCREF(Py_None); resultobj = Py_None;
12033 {
12034 if (temp2)
12035 delete arg2;
12036 }
12037 return resultobj;
12038 fail:
12039 {
12040 if (temp2)
12041 delete arg2;
12042 }
12043 return NULL;
12044 }
12045
12046
12047 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
12048 PyObject *resultobj;
12049 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12050 wxString *arg2 = 0 ;
12051 int arg3 = (int) false ;
12052 bool result;
12053 bool temp2 = false ;
12054 PyObject * obj0 = 0 ;
12055 PyObject * obj1 = 0 ;
12056 PyObject * obj2 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
12062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12063 if (SWIG_arg_fail(1)) SWIG_fail;
12064 {
12065 arg2 = wxString_in_helper(obj1);
12066 if (arg2 == NULL) SWIG_fail;
12067 temp2 = true;
12068 }
12069 if (obj2) {
12070 {
12071 arg3 = (int)(SWIG_As_int(obj2));
12072 if (SWIG_arg_fail(3)) SWIG_fail;
12073 }
12074 }
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 {
12083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12084 }
12085 {
12086 if (temp2)
12087 delete arg2;
12088 }
12089 return resultobj;
12090 fail:
12091 {
12092 if (temp2)
12093 delete arg2;
12094 }
12095 return NULL;
12096 }
12097
12098
12099 static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12102 wxString *arg2 = 0 ;
12103 bool temp2 = false ;
12104 PyObject * obj0 = 0 ;
12105 PyObject * obj1 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self",(char *) "x", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
12111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail;
12113 {
12114 arg2 = wxString_in_helper(obj1);
12115 if (arg2 == NULL) SWIG_fail;
12116 temp2 = true;
12117 }
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 (arg1)->Display((wxString const &)*arg2);
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 Py_INCREF(Py_None); resultobj = Py_None;
12126 {
12127 if (temp2)
12128 delete arg2;
12129 }
12130 return resultobj;
12131 fail:
12132 {
12133 if (temp2)
12134 delete arg2;
12135 }
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12143 int arg2 ;
12144 PyObject * obj0 = 0 ;
12145 PyObject * obj1 = 0 ;
12146 char *kwnames[] = {
12147 (char *) "self",(char *) "id", NULL
12148 };
12149
12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
12151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12152 if (SWIG_arg_fail(1)) SWIG_fail;
12153 {
12154 arg2 = (int)(SWIG_As_int(obj1));
12155 if (SWIG_arg_fail(2)) SWIG_fail;
12156 }
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 (arg1)->Display(arg2);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 Py_INCREF(Py_None); resultobj = Py_None;
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj;
12173 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12174 PyObject * obj0 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "self", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
12180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail;
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 (arg1)->DisplayContents();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 Py_INCREF(Py_None); resultobj = Py_None;
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12199 PyObject * obj0 = 0 ;
12200 char *kwnames[] = {
12201 (char *) "self", NULL
12202 };
12203
12204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
12205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12206 if (SWIG_arg_fail(1)) SWIG_fail;
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 (arg1)->DisplayIndex();
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 Py_INCREF(Py_None); resultobj = Py_None;
12215 return resultobj;
12216 fail:
12217 return NULL;
12218 }
12219
12220
12221 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
12222 PyObject *resultobj;
12223 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12224 wxString *arg2 = 0 ;
12225 bool result;
12226 bool temp2 = false ;
12227 PyObject * obj0 = 0 ;
12228 PyObject * obj1 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self",(char *) "keyword", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
12234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail;
12236 {
12237 arg2 = wxString_in_helper(obj1);
12238 if (arg2 == NULL) SWIG_fail;
12239 temp2 = true;
12240 }
12241 {
12242 PyThreadState* __tstate = wxPyBeginAllowThreads();
12243 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
12244
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
12248 {
12249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12250 }
12251 {
12252 if (temp2)
12253 delete arg2;
12254 }
12255 return resultobj;
12256 fail:
12257 {
12258 if (temp2)
12259 delete arg2;
12260 }
12261 return NULL;
12262 }
12263
12264
12265 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj;
12267 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12268 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12269 wxString const &arg3_defvalue = wxPyEmptyString ;
12270 wxString *arg3 = (wxString *) &arg3_defvalue ;
12271 bool temp3 = false ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 PyObject * obj2 = 0 ;
12275 char *kwnames[] = {
12276 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12277 };
12278
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
12280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail;
12282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12283 if (SWIG_arg_fail(2)) SWIG_fail;
12284 if (obj2) {
12285 {
12286 arg3 = wxString_in_helper(obj2);
12287 if (arg3 == NULL) SWIG_fail;
12288 temp3 = true;
12289 }
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 Py_INCREF(Py_None); resultobj = Py_None;
12299 {
12300 if (temp3)
12301 delete arg3;
12302 }
12303 return resultobj;
12304 fail:
12305 {
12306 if (temp3)
12307 delete arg3;
12308 }
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12316 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12317 wxString arg3 = (wxString) wxPyEmptyString ;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 PyObject * obj2 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self",(char *) "cfg",(char *) "path", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail;
12328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12329 if (SWIG_arg_fail(2)) SWIG_fail;
12330 if (obj2) {
12331 {
12332 wxString* sptr = wxString_in_helper(obj2);
12333 if (sptr == NULL) SWIG_fail;
12334 arg3 = *sptr;
12335 delete sptr;
12336 }
12337 }
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 (arg1)->ReadCustomization(arg2,arg3);
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 Py_INCREF(Py_None); resultobj = Py_None;
12346 return resultobj;
12347 fail:
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12355 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
12356 wxString arg3 = (wxString) wxPyEmptyString ;
12357 PyObject * obj0 = 0 ;
12358 PyObject * obj1 = 0 ;
12359 PyObject * obj2 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self",(char *) "cfg",(char *) "path", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
12365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail;
12367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
12368 if (SWIG_arg_fail(2)) SWIG_fail;
12369 if (obj2) {
12370 {
12371 wxString* sptr = wxString_in_helper(obj2);
12372 if (sptr == NULL) SWIG_fail;
12373 arg3 = *sptr;
12374 delete sptr;
12375 }
12376 }
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 (arg1)->WriteCustomization(arg2,arg3);
12380
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 Py_INCREF(Py_None); resultobj = Py_None;
12385 return resultobj;
12386 fail:
12387 return NULL;
12388 }
12389
12390
12391 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
12394 wxHtmlHelpFrame *result;
12395 PyObject * obj0 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
12401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail;
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
12411 return resultobj;
12412 fail:
12413 return NULL;
12414 }
12415
12416
12417 static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
12418 PyObject *obj;
12419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12420 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
12421 Py_INCREF(obj);
12422 return Py_BuildValue((char *)"");
12423 }
12424 static PyMethodDef SwigMethods[] = {
12425 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12426 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL},
12427 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
12428 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12429 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12430 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
12431 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12432 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
12433 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12434 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
12435 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
12436 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL},
12437 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL},
12438 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL},
12439 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL},
12440 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL},
12441 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
12442 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12443 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL},
12444 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
12445 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
12446 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL},
12447 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12448 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL},
12449 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12450 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL},
12451 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12452 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12453 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
12454 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
12455 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12456 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12457 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12458 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12459 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12460 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12461 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12462 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12463 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12464 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12465 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL},
12466 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12467 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
12468 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12469 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
12470 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12471 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
12472 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12473 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
12474 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12475 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
12476 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12477 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12478 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12479 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
12480 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12481 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
12482 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12483 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL},
12484 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12485 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
12486 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12487 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12488 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12489 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12490 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12491 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
12492 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12493 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12494 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12495 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12496 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
12497 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
12498 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
12499 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12500 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12501 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
12502 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
12503 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL},
12504 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL},
12505 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL},
12506 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL},
12507 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12508 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12509 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12510 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12511 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
12512 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
12513 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
12514 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12515 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL},
12516 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12517 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
12518 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12519 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12520 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12521 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12522 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
12523 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12524 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12525 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12526 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
12527 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
12528 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
12529 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12530 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12531 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12532 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
12533 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12534 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12535 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
12536 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
12537 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
12538 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL},
12539 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL},
12540 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12541 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12542 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
12543 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
12544 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
12545 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
12546 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12547 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12548 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12549 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12550 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
12551 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL},
12552 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
12553 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
12554 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
12555 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
12556 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
12557 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
12558 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
12559 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
12560 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12561 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
12562 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
12563 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL},
12564 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
12565 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
12566 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12567 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL},
12568 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
12569 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
12570 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
12571 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
12572 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
12573 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
12574 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
12575 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
12576 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12577 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
12578 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12579 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
12580 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12581 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
12582 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
12583 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
12584 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
12585 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
12586 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12587 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12588 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
12589 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
12590 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
12591 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
12592 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
12593 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
12594 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
12595 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
12596 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
12597 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
12598 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12599 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12600 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
12601 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12602 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
12603 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12604 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
12605 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12606 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
12607 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
12608 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
12609 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL},
12610 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12611 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12612 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12613 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12614 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
12615 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12616 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12617 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12618 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
12619 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
12620 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12621 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12622 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL},
12623 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL},
12624 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL},
12625 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL},
12626 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL},
12627 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL},
12628 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL},
12629 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12630 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
12631 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12632 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
12633 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
12634 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
12635 { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL},
12636 { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL},
12637 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12638 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12639 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
12640 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
12641 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
12642 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
12643 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12644 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
12645 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
12646 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
12647 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12648 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12649 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12650 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
12651 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
12652 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
12653 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
12654 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
12655 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
12656 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12657 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12658 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12659 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12660 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
12661 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
12662 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL},
12663 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
12664 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12665 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
12666 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
12667 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
12668 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
12669 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
12670 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL},
12671 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
12672 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
12673 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12674 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
12675 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
12676 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
12677 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
12678 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
12679 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL},
12680 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12681 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12682 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12683 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
12684 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL},
12685 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
12686 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
12687 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
12688 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
12689 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
12690 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
12691 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL},
12692 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL},
12693 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12694 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
12695 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL},
12696 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL},
12697 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL},
12698 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
12699 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12700 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12701 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
12702 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL},
12703 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
12704 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12705 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL},
12706 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12707 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12708 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
12709 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
12710 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL},
12711 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL},
12712 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12713 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12714 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL},
12715 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
12716 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12717 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
12718 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12719 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12720 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12721 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12722 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12723 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12724 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12725 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12726 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12727 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
12728 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12729 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
12730 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
12731 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
12732 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
12733 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
12734 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
12735 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL},
12736 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL},
12737 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
12738 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
12739 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12740 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
12741 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
12742 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
12743 { NULL, NULL, 0, NULL }
12744 };
12745
12746
12747 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12748
12749 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
12750 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
12751 }
12752 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
12753 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
12754 }
12755 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
12756 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
12757 }
12758 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
12759 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
12760 }
12761 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
12762 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
12763 }
12764 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
12765 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
12766 }
12767 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12768 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12769 }
12770 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12771 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12772 }
12773 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12774 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12775 }
12776 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12778 }
12779 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12780 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12781 }
12782 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12783 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12784 }
12785 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12786 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12787 }
12788 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12790 }
12791 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12793 }
12794 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12795 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12796 }
12797 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12799 }
12800 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12801 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12802 }
12803 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12805 }
12806 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12808 }
12809 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12811 }
12812 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12813 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12814 }
12815 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12816 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12817 }
12818 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12819 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12820 }
12821 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12822 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12823 }
12824 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12825 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12826 }
12827 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12828 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12829 }
12830 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12831 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12832 }
12833 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12834 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12835 }
12836 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12837 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12838 }
12839 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12841 }
12842 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12843 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12844 }
12845 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12846 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12847 }
12848 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12849 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12850 }
12851 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12852 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12853 }
12854 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12855 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12856 }
12857 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
12858 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
12859 }
12860 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12861 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12862 }
12863 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12865 }
12866 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12868 }
12869 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12871 }
12872 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12873 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12874 }
12875 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12876 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12877 }
12878 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12879 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12880 }
12881 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12882 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12883 }
12884 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12885 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12886 }
12887 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12888 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12889 }
12890 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12891 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12892 }
12893 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12894 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12895 }
12896 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12897 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12898 }
12899 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
12900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
12901 }
12902 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12904 }
12905 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12907 }
12908 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12910 }
12911 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12913 }
12914 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12916 }
12917 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12919 }
12920 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
12921 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
12922 }
12923 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
12924 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
12925 }
12926 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
12927 return (void *)((wxFrame *) ((wxProgressDialog *) x));
12928 }
12929 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
12930 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
12931 }
12932 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
12933 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12934 }
12935 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
12936 return (void *)((wxFrame *) ((wxMiniFrame *) x));
12937 }
12938 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
12939 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
12940 }
12941 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
12942 return (void *)((wxFrame *) ((wxSplashScreen *) x));
12943 }
12944 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
12945 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
12946 }
12947 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
12948 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
12949 }
12950 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12951 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12952 }
12953 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12954 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12955 }
12956 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12958 }
12959 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12961 }
12962 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12963 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12964 }
12965 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12966 return (void *)((wxObject *) ((wxSizerItem *) x));
12967 }
12968 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12970 }
12971 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12972 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12973 }
12974 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
12975 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
12976 }
12977 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12978 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12979 }
12980 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12981 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12982 }
12983 static void *_p_wxSizerTo_p_wxObject(void *x) {
12984 return (void *)((wxObject *) ((wxSizer *) x));
12985 }
12986 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12987 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12988 }
12989 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
12990 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
12991 }
12992 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12994 }
12995 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12997 }
12998 static void *_p_wxEventTo_p_wxObject(void *x) {
12999 return (void *)((wxObject *) ((wxEvent *) x));
13000 }
13001 static void *_p_wxFontDataTo_p_wxObject(void *x) {
13002 return (void *)((wxObject *) ((wxFontData *) x));
13003 }
13004 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
13005 return (void *)((wxObject *) ((wxPrintData *) x));
13006 }
13007 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
13008 return (void *)((wxObject *) ((wxHtmlTag *) x));
13009 }
13010 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13011 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13012 }
13013 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13014 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13015 }
13016 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
13017 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
13018 }
13019 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
13020 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
13021 }
13022 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
13023 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
13024 }
13025 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
13026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
13027 }
13028 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
13029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13030 }
13031 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
13032 return (void *)((wxObject *) ((wxHtmlCell *) x));
13033 }
13034 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
13035 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
13036 }
13037 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
13038 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
13039 }
13040 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
13041 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
13042 }
13043 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
13044 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
13045 }
13046 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
13047 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13048 }
13049 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
13050 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
13051 }
13052 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
13053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13054 }
13055 static void *_p_wxControlTo_p_wxObject(void *x) {
13056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
13057 }
13058 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
13059 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
13060 }
13061 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
13062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13063 }
13064 static void *_p_wxFSFileTo_p_wxObject(void *x) {
13065 return (void *)((wxObject *) ((wxFSFile *) x));
13066 }
13067 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
13068 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
13069 }
13070 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
13071 return (void *)((wxObject *) ((wxFindReplaceData *) x));
13072 }
13073 static void *_p_wxPySizerTo_p_wxObject(void *x) {
13074 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
13075 }
13076 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
13077 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
13078 }
13079 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
13080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13081 }
13082 static void *_p_wxColourDataTo_p_wxObject(void *x) {
13083 return (void *)((wxObject *) ((wxColourData *) x));
13084 }
13085 static void *_p_wxPyEventTo_p_wxObject(void *x) {
13086 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
13087 }
13088 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
13089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
13090 }
13091 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
13092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
13093 }
13094 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
13095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13096 }
13097 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
13098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13099 }
13100 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
13101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13102 }
13103 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
13104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13105 }
13106 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
13107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13108 }
13109 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
13110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13111 }
13112 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
13113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13114 }
13115 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
13116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13117 }
13118 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
13119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13120 }
13121 static void *_p_wxShowEventTo_p_wxObject(void *x) {
13122 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
13123 }
13124 static void *_p_wxPrinterTo_p_wxObject(void *x) {
13125 return (void *)((wxObject *) ((wxPrinter *) x));
13126 }
13127 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
13128 return (void *)((wxObject *) ((wxMenuItem *) x));
13129 }
13130 static void *_p_wxDateEventTo_p_wxObject(void *x) {
13131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
13132 }
13133 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
13134 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
13135 }
13136 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
13137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
13138 }
13139 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
13140 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
13141 }
13142 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
13143 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
13144 }
13145 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
13146 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
13147 }
13148 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
13149 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
13150 }
13151 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
13152 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
13153 }
13154 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
13155 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
13156 }
13157 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
13158 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
13159 }
13160 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
13161 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
13162 }
13163 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
13164 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
13165 }
13166 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
13167 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
13168 }
13169 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
13170 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
13171 }
13172 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
13173 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
13174 }
13175 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
13176 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
13177 }
13178 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
13179 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
13180 }
13181 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
13182 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
13183 }
13184 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
13185 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
13186 }
13187 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
13188 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
13189 }
13190 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
13191 return (void *)((wxObject *) ((wxImageHandler *) x));
13192 }
13193 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
13194 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
13195 }
13196 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
13197 return (void *)((wxObject *) ((wxEvtHandler *) x));
13198 }
13199 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
13200 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
13201 }
13202 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
13203 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
13204 }
13205 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
13206 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
13207 }
13208 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
13209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13210 }
13211 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
13212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13213 }
13214 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
13215 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
13216 }
13217 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
13218 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
13219 }
13220 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
13221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13222 }
13223 static void *_p_wxImageTo_p_wxObject(void *x) {
13224 return (void *)((wxObject *) ((wxImage *) x));
13225 }
13226 static void *_p_wxFrameTo_p_wxObject(void *x) {
13227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13228 }
13229 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
13230 return (void *)((wxObject *) ((wxPyPrintout *) x));
13231 }
13232 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
13233 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
13234 }
13235 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
13236 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
13237 }
13238 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
13239 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
13240 }
13241 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
13242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
13243 }
13244 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
13245 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
13246 }
13247 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
13248 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
13249 }
13250 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
13251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13252 }
13253 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
13254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13255 }
13256 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
13257 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13258 }
13259 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13260 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13261 }
13262 static void *_p_wxWindowTo_p_wxObject(void *x) {
13263 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13264 }
13265 static void *_p_wxMenuTo_p_wxObject(void *x) {
13266 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13267 }
13268 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13270 }
13271 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
13272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13273 }
13274 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
13275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
13276 }
13277 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
13278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
13279 }
13280 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
13281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
13282 }
13283 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
13284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
13285 }
13286 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
13287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13288 }
13289 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
13290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
13291 }
13292 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
13293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13294 }
13295 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
13296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13297 }
13298 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
13299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13300 }
13301 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
13302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
13303 }
13304 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
13305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13306 }
13307 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
13308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13309 }
13310 static void *_p_wxSashEventTo_p_wxObject(void *x) {
13311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
13312 }
13313 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
13314 return (void *)((wxObject *) ((wxPrintPreview *) x));
13315 }
13316 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
13317 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
13318 }
13319 static void *_p_wxPanelTo_p_wxObject(void *x) {
13320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
13321 }
13322 static void *_p_wxDialogTo_p_wxObject(void *x) {
13323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13324 }
13325 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
13326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13327 }
13328 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
13329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13330 }
13331 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
13332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13333 }
13334 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
13335 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
13336 }
13337 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
13338 return (void *)((wxObject *) ((wxPrintDialog *) x));
13339 }
13340 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
13341 return (void *)((wxObject *) ((wxHtmlParser *) x));
13342 }
13343 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
13344 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
13345 }
13346 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13347 return (void *)((wxObject *) ((wxFileSystem *) x));
13348 }
13349 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13351 }
13352 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13353 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13354 }
13355 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
13356 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
13357 }
13358 static void *_p_wxPyAppTo_p_wxObject(void *x) {
13359 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13360 }
13361 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13362 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13363 }
13364 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13365 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13366 }
13367 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13368 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13369 }
13370 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13371 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13372 }
13373 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13374 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13375 }
13376 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
13377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13378 }
13379 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
13380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13381 }
13382 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
13383 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
13384 }
13385 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13386 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13387 }
13388 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13389 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13390 }
13391 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13393 }
13394 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
13395 return (void *)((wxObject *) ((wxHtmlHelpController *) x));
13396 }
13397 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13399 }
13400 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
13401 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
13402 }
13403 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
13404 return (void *)((wxObject *) ((wxPrintDialogData *) x));
13405 }
13406 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13407 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13408 }
13409 static void *_p_wxValidatorTo_p_wxObject(void *x) {
13410 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13411 }
13412 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
13413 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
13414 }
13415 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
13416 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
13417 }
13418 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
13419 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
13420 }
13421 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
13422 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
13423 }
13424 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
13425 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
13426 }
13427 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
13428 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
13429 }
13430 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
13431 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
13432 }
13433 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
13434 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
13435 }
13436 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
13437 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
13438 }
13439 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
13440 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
13441 }
13442 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
13443 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
13444 }
13445 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
13446 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13447 }
13448 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
13449 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
13450 }
13451 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13452 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
13453 }
13454 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13455 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
13456 }
13457 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
13458 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
13459 }
13460 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
13461 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
13462 }
13463 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
13464 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
13465 }
13466 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13467 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
13468 }
13469 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13470 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13471 }
13472 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
13473 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13474 }
13475 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
13476 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13477 }
13478 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
13479 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
13480 }
13481 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13482 return (void *)((wxWindow *) ((wxMenuBar *) x));
13483 }
13484 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
13485 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13486 }
13487 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
13488 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13489 }
13490 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
13491 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13492 }
13493 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
13494 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13495 }
13496 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
13497 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13498 }
13499 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
13500 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13501 }
13502 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
13503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13504 }
13505 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
13506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13507 }
13508 static void *_p_wxPanelTo_p_wxWindow(void *x) {
13509 return (void *)((wxWindow *) ((wxPanel *) x));
13510 }
13511 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
13512 return (void *)((wxWindow *) ((wxStatusBar *) x));
13513 }
13514 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
13515 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
13516 }
13517 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
13518 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13519 }
13520 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
13521 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13522 }
13523 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
13524 return (void *)((wxWindow *) ((wxPopupWindow *) x));
13525 }
13526 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
13527 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
13528 }
13529 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
13530 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
13531 }
13532 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
13533 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
13534 }
13535 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
13536 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
13537 }
13538 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
13539 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
13540 }
13541 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
13542 return (void *)((wxWindow *) ((wxSashWindow *) x));
13543 }
13544 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
13545 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
13546 }
13547 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
13548 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13549 }
13550 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
13551 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13552 }
13553 static void *_p_wxControlTo_p_wxWindow(void *x) {
13554 return (void *)((wxWindow *) ((wxControl *) x));
13555 }
13556 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
13557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13558 }
13559 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
13560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13561 }
13562 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
13563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13564 }
13565 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13566 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
13567 }
13568 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
13569 return (void *)((wxWindow *) ((wxPyWindow *) x));
13570 }
13571 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
13572 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13573 }
13574 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
13575 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13576 }
13577 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
13578 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13579 }
13580 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
13581 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
13582 }
13583 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
13584 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13585 }
13586 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
13587 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
13588 }
13589 static void *_p_wxFrameTo_p_wxWindow(void *x) {
13590 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
13591 }
13592 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
13593 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13594 }
13595 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
13596 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13597 }
13598 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
13599 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13600 }
13601 static void *_p_wxDialogTo_p_wxWindow(void *x) {
13602 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
13603 }
13604 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
13605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13606 }
13607 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
13608 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13609 }
13610 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
13611 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13612 }
13613 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
13614 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
13615 }
13616 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
13617 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
13618 }
13619 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
13620 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
13621 }
13622 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
13623 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13624 }
13625 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
13626 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
13627 }
13628 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
13629 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13630 }
13631 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
13632 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13633 }
13634 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
13635 return (void *)((wxPanel *) ((wxPyPanel *) x));
13636 }
13637 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
13638 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
13639 }
13640 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
13641 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
13642 }
13643 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
13644 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13645 }
13646 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
13647 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
13648 }
13649 static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13650 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13651 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13652 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13653 static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13654 static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13655 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13656 static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13657 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13658 static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13659 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13660 static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13661 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13662 static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13663 static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13664 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13665 static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13666 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13667 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13668 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13669 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13670 static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13671 static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13672 static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13673 static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13674 static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13675 static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13676 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13677 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13678 static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13679 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13680 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13681 static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13682 static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13683 static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13684 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13685 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13686 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13687 static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13688 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13689 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13690 static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13691 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13692 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13693 static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13694 static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13695 static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13696 static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13697 static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0, 0, 0, 0},{"_p_wxHtmlContentsItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13698 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13699 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13700 static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13701 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13702 static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13703 static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13704 static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13705 static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13706 static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13707 static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13708 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13709 static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13710 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13711 static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13712
13713 static swig_type_info *swig_types_initial[] = {
13714 _swigt__p_wxHtmlDCRenderer,
13715 _swigt__p_wxColour,
13716 _swigt__p_wxPageSetupDialogData,
13717 _swigt__p_wxDC,
13718 _swigt__p_form_ops_t,
13719 _swigt__p_wxHtmlRenderingStyle,
13720 _swigt__p_wxMouseEvent,
13721 _swigt__p_wxDuplexMode,
13722 _swigt__p_wxDefaultHtmlRenderingStyle,
13723 _swigt__p_wxHtmlWordCell,
13724 _swigt__p_wxVisualAttributes,
13725 _swigt__p_wxHtmlHelpData,
13726 _swigt__p_char,
13727 _swigt__p_wxHtmlWinParser,
13728 _swigt__p_wxHtmlParser,
13729 _swigt__p_wxPanel,
13730 _swigt__p_wxPyHtmlWindow,
13731 _swigt__p_wxScrolledWindow,
13732 _swigt__p_wxWindow,
13733 _swigt__p_wxTopLevelWindow,
13734 _swigt__p_wxFont,
13735 _swigt__p_wxHtmlColourCell,
13736 _swigt__p_wxHtmlFontCell,
13737 _swigt__p_wxHtmlEasyPrinting,
13738 _swigt__p_wxHtmlSelection,
13739 _swigt__p_wxHtmlRenderingInfo,
13740 _swigt__p_wxHtmlWidgetCell,
13741 _swigt__p_wxObject,
13742 _swigt__p_wxBitmap,
13743 _swigt__p_wxPaperSize,
13744 _swigt__p_wxString,
13745 _swigt__p_unsigned_int,
13746 _swigt__unsigned_int,
13747 _swigt__p_wxHtmlTagHandler,
13748 _swigt__p_wxPyHtmlTagHandler,
13749 _swigt__p_wxEvtHandler,
13750 _swigt__p_wxPyHtmlWinTagHandler,
13751 _swigt__p_wxPoint,
13752 _swigt__p_wxHtmlHelpController,
13753 _swigt__p_wxCursor,
13754 _swigt__p_wxFileSystem,
13755 _swigt__p_wxHtmlBookRecArray,
13756 _swigt__p_unsigned_char,
13757 _swigt__p_wxPyPrintout,
13758 _swigt__p_wxHtmlPrintout,
13759 _swigt__p_wxHtmlSearchStatus,
13760 _swigt__std__ptrdiff_t,
13761 _swigt__ptrdiff_t,
13762 _swigt__p_wxHtmlContentsItem,
13763 _swigt__p_wxConfigBase,
13764 _swigt__p_wxPrintData,
13765 _swigt__p_wxHtmlHelpFrame,
13766 _swigt__p_wxFrame,
13767 _swigt__p_wxHtmlRenderingState,
13768 _swigt__p_wxPyHtmlFilter,
13769 _swigt__p_wxHtmlFilter,
13770 _swigt__p_wxHtmlCell,
13771 _swigt__p_wxHtmlContainerCell,
13772 _swigt__p_wxHtmlTag,
13773 _swigt__p_int,
13774 _swigt__p_wxHtmlLinkInfo,
13775 _swigt__p_unsigned_long,
13776 _swigt__p_wxHtmlBookRecord,
13777 0
13778 };
13779
13780
13781 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13782
13783 static swig_const_info swig_const_table[] = {
13784 {0, 0, 0, 0.0, 0, 0}};
13785
13786 #ifdef __cplusplus
13787 }
13788 #endif
13789
13790
13791 #ifdef __cplusplus
13792 extern "C" {
13793 #endif
13794
13795 /* Python-specific SWIG API */
13796 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13797 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13798 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13799
13800 /* -----------------------------------------------------------------------------
13801 * global variable support code.
13802 * ----------------------------------------------------------------------------- */
13803
13804 typedef struct swig_globalvar {
13805 char *name; /* Name of global variable */
13806 PyObject *(*get_attr)(); /* Return the current value */
13807 int (*set_attr)(PyObject *); /* Set the value */
13808 struct swig_globalvar *next;
13809 } swig_globalvar;
13810
13811 typedef struct swig_varlinkobject {
13812 PyObject_HEAD
13813 swig_globalvar *vars;
13814 } swig_varlinkobject;
13815
13816 static PyObject *
13817 swig_varlink_repr(swig_varlinkobject *v) {
13818 v = v;
13819 return PyString_FromString("<Swig global variables>");
13820 }
13821
13822 static int
13823 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
13824 swig_globalvar *var;
13825 flags = flags;
13826 fprintf(fp,"Swig global variables { ");
13827 for (var = v->vars; var; var=var->next) {
13828 fprintf(fp,"%s", var->name);
13829 if (var->next) fprintf(fp,", ");
13830 }
13831 fprintf(fp," }\n");
13832 return 0;
13833 }
13834
13835 static PyObject *
13836 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13837 swig_globalvar *var = v->vars;
13838 while (var) {
13839 if (strcmp(var->name,n) == 0) {
13840 return (*var->get_attr)();
13841 }
13842 var = var->next;
13843 }
13844 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13845 return NULL;
13846 }
13847
13848 static int
13849 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13850 swig_globalvar *var = v->vars;
13851 while (var) {
13852 if (strcmp(var->name,n) == 0) {
13853 return (*var->set_attr)(p);
13854 }
13855 var = var->next;
13856 }
13857 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13858 return 1;
13859 }
13860
13861 static PyTypeObject varlinktype = {
13862 PyObject_HEAD_INIT(0)
13863 0, /* Number of items in variable part (ob_size) */
13864 (char *)"swigvarlink", /* Type name (tp_name) */
13865 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13866 0, /* Itemsize (tp_itemsize) */
13867 0, /* Deallocator (tp_dealloc) */
13868 (printfunc) swig_varlink_print, /* Print (tp_print) */
13869 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13870 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13871 0, /* tp_compare */
13872 (reprfunc) swig_varlink_repr, /* tp_repr */
13873 0, /* tp_as_number */
13874 0, /* tp_as_sequence */
13875 0, /* tp_as_mapping */
13876 0, /* tp_hash */
13877 0, /* tp_call */
13878 0, /* tp_str */
13879 0, /* tp_getattro */
13880 0, /* tp_setattro */
13881 0, /* tp_as_buffer */
13882 0, /* tp_flags */
13883 0, /* tp_doc */
13884 #if PY_VERSION_HEX >= 0x02000000
13885 0, /* tp_traverse */
13886 0, /* tp_clear */
13887 #endif
13888 #if PY_VERSION_HEX >= 0x02010000
13889 0, /* tp_richcompare */
13890 0, /* tp_weaklistoffset */
13891 #endif
13892 #if PY_VERSION_HEX >= 0x02020000
13893 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13894 #endif
13895 #if PY_VERSION_HEX >= 0x02030000
13896 0, /* tp_del */
13897 #endif
13898 #ifdef COUNT_ALLOCS
13899 0,0,0,0 /* tp_alloc -> tp_next */
13900 #endif
13901 };
13902
13903 /* Create a variable linking object for use later */
13904 static PyObject *
13905 SWIG_Python_newvarlink(void) {
13906 swig_varlinkobject *result = 0;
13907 result = PyMem_NEW(swig_varlinkobject,1);
13908 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
13909 result->ob_type = &varlinktype;
13910 result->vars = 0;
13911 result->ob_refcnt = 0;
13912 Py_XINCREF((PyObject *) result);
13913 return ((PyObject*) result);
13914 }
13915
13916 static void
13917 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13918 swig_varlinkobject *v;
13919 swig_globalvar *gv;
13920 v= (swig_varlinkobject *) p;
13921 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13922 gv->name = (char *) malloc(strlen(name)+1);
13923 strcpy(gv->name,name);
13924 gv->get_attr = get_attr;
13925 gv->set_attr = set_attr;
13926 gv->next = v->vars;
13927 v->vars = gv;
13928 }
13929
13930 /* -----------------------------------------------------------------------------
13931 * constants/methods manipulation
13932 * ----------------------------------------------------------------------------- */
13933
13934 /* Install Constants */
13935 static void
13936 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13937 PyObject *obj = 0;
13938 size_t i;
13939 for (i = 0; constants[i].type; i++) {
13940 switch(constants[i].type) {
13941 case SWIG_PY_INT:
13942 obj = PyInt_FromLong(constants[i].lvalue);
13943 break;
13944 case SWIG_PY_FLOAT:
13945 obj = PyFloat_FromDouble(constants[i].dvalue);
13946 break;
13947 case SWIG_PY_STRING:
13948 if (constants[i].pvalue) {
13949 obj = PyString_FromString((char *) constants[i].pvalue);
13950 } else {
13951 Py_INCREF(Py_None);
13952 obj = Py_None;
13953 }
13954 break;
13955 case SWIG_PY_POINTER:
13956 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13957 break;
13958 case SWIG_PY_BINARY:
13959 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13960 break;
13961 default:
13962 obj = 0;
13963 break;
13964 }
13965 if (obj) {
13966 PyDict_SetItemString(d,constants[i].name,obj);
13967 Py_DECREF(obj);
13968 }
13969 }
13970 }
13971
13972 /* -----------------------------------------------------------------------------*/
13973 /* Fix SwigMethods to carry the callback ptrs when needed */
13974 /* -----------------------------------------------------------------------------*/
13975
13976 static void
13977 SWIG_Python_FixMethods(PyMethodDef *methods,
13978 swig_const_info *const_table,
13979 swig_type_info **types,
13980 swig_type_info **types_initial) {
13981 size_t i;
13982 for (i = 0; methods[i].ml_name; ++i) {
13983 char *c = methods[i].ml_doc;
13984 if (c && (c = strstr(c, "swig_ptr: "))) {
13985 int j;
13986 swig_const_info *ci = 0;
13987 char *name = c + 10;
13988 for (j = 0; const_table[j].type; j++) {
13989 if (strncmp(const_table[j].name, name,
13990 strlen(const_table[j].name)) == 0) {
13991 ci = &(const_table[j]);
13992 break;
13993 }
13994 }
13995 if (ci) {
13996 size_t shift = (ci->ptype) - types;
13997 swig_type_info *ty = types_initial[shift];
13998 size_t ldoc = (c - methods[i].ml_doc);
13999 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14000 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14001 char *buff = ndoc;
14002 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
14003 strncpy(buff, methods[i].ml_doc, ldoc);
14004 buff += ldoc;
14005 strncpy(buff, "swig_ptr: ", 10);
14006 buff += 10;
14007 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14008 methods[i].ml_doc = ndoc;
14009 }
14010 }
14011 }
14012 }
14013
14014 /* -----------------------------------------------------------------------------*
14015 * Initialize type list
14016 * -----------------------------------------------------------------------------*/
14017
14018 #if PY_MAJOR_VERSION < 2
14019 /* PyModule_AddObject function was introduced in Python 2.0. The following function
14020 is copied out of Python/modsupport.c in python version 2.3.4 */
14021 static int
14022 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
14023 {
14024 PyObject *dict;
14025 if (!PyModule_Check(m)) {
14026 PyErr_SetString(PyExc_TypeError,
14027 "PyModule_AddObject() needs module as first arg");
14028 return -1;
14029 }
14030 if (!o) {
14031 PyErr_SetString(PyExc_TypeError,
14032 "PyModule_AddObject() needs non-NULL value");
14033 return -1;
14034 }
14035
14036 dict = PyModule_GetDict(m);
14037 if (dict == NULL) {
14038 /* Internal error -- modules must have a dict! */
14039 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
14040 PyModule_GetName(m));
14041 return -1;
14042 }
14043 if (PyDict_SetItemString(dict, name, o))
14044 return -1;
14045 Py_DECREF(o);
14046 return 0;
14047 }
14048 #endif
14049
14050 static swig_type_info **
14051 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
14052 static PyMethodDef swig_empty_runtime_method_table[] = {
14053 {
14054 NULL, NULL, 0, NULL
14055 }
14056 };/* Sentinel */
14057
14058 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
14059 swig_empty_runtime_method_table);
14060 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
14061 if (pointer && module) {
14062 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
14063 }
14064 return type_list_handle;
14065 }
14066
14067 static swig_type_info **
14068 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
14069 swig_type_info **type_pointer;
14070
14071 /* first check if module already created */
14072 type_pointer = SWIG_Python_GetTypeListHandle();
14073 if (type_pointer) {
14074 return type_pointer;
14075 } else {
14076 /* create a new module and variable */
14077 return SWIG_Python_SetTypeListHandle(type_list_handle);
14078 }
14079 }
14080
14081 #ifdef __cplusplus
14082 }
14083 #endif
14084
14085 /* -----------------------------------------------------------------------------*
14086 * Partial Init method
14087 * -----------------------------------------------------------------------------*/
14088
14089 #ifdef SWIG_LINK_RUNTIME
14090 #ifdef __cplusplus
14091 extern "C"
14092 #endif
14093 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
14094 #endif
14095
14096 #ifdef __cplusplus
14097 extern "C"
14098 #endif
14099 SWIGEXPORT(void) SWIG_init(void) {
14100 static PyObject *SWIG_globals = 0;
14101 static int typeinit = 0;
14102 PyObject *m, *d;
14103 int i;
14104 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
14105
14106 /* Fix SwigMethods to carry the callback ptrs when needed */
14107 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
14108
14109 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14110 d = PyModule_GetDict(m);
14111
14112 if (!typeinit) {
14113 #ifdef SWIG_LINK_RUNTIME
14114 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
14115 #else
14116 # ifndef SWIG_STATIC_RUNTIME
14117 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
14118 # endif
14119 #endif
14120 for (i = 0; swig_types_initial[i]; i++) {
14121 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
14122 }
14123 typeinit = 1;
14124 }
14125 SWIG_InstallConstants(d,swig_const_table);
14126
14127 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
14128 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
14129 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
14130 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
14131 {
14132 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT)));
14133 }
14134 {
14135 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER)));
14136 }
14137 {
14138 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT)));
14139 }
14140 {
14141 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM)));
14142 }
14143 {
14144 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP)));
14145 }
14146 {
14147 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND)));
14148 }
14149 {
14150 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND)));
14151 }
14152 {
14153 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS)));
14154 }
14155 {
14156 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT)));
14157 }
14158 {
14159 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT)));
14160 }
14161 {
14162 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT)));
14163 }
14164 {
14165 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP)));
14166 }
14167 {
14168 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM)));
14169 }
14170 {
14171 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL)));
14172 }
14173 {
14174 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL)));
14175 }
14176 {
14177 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL)));
14178 }
14179 {
14180 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR)));
14181 }
14182 {
14183 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP)));
14184 }
14185 {
14186 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER)));
14187 }
14188 {
14189 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1)));
14190 }
14191 {
14192 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2)));
14193 }
14194 {
14195 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3)));
14196 }
14197 {
14198 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4)));
14199 }
14200 {
14201 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5)));
14202 }
14203 {
14204 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6)));
14205 }
14206 {
14207 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7)));
14208 }
14209 {
14210 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER)));
14211 }
14212 {
14213 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO)));
14214 }
14215 {
14216 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION)));
14217 }
14218 {
14219 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE)));
14220 }
14221 {
14222 PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN)));
14223 }
14224 {
14225 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK)));
14226 }
14227 {
14228 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT)));
14229 }
14230 {
14231 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE)));
14232 }
14233 {
14234 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE)));
14235 }
14236 {
14237 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER)));
14238 }
14239 {
14240 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT)));
14241 }
14242 {
14243 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN)));
14244 }
14245 {
14246 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING)));
14247 }
14248 {
14249 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT)));
14250 }
14251 {
14252 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE)));
14253 }
14254 {
14255 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER)));
14256 }
14257 {
14258 PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD)));
14259 }
14260 {
14261 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN)));
14262 }
14263 {
14264 PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL)));
14265 }
14266 {
14267 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR)));
14268 }
14269 {
14270 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR)));
14271 }
14272 {
14273 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS)));
14274 }
14275 {
14276 PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX)));
14277 }
14278 {
14279 PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH)));
14280 }
14281 {
14282 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS)));
14283 }
14284 {
14285 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES)));
14286 }
14287 {
14288 PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT)));
14289 }
14290 {
14291 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE)));
14292 }
14293
14294 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
14295 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14296 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14297 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
14298
14299 }
14300