]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/html_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[16]
2479 #define SWIGTYPE_p_wxCloseEvent swig_types[17]
2480 #define SWIGTYPE_p_wxColour swig_types[18]
2481 #define SWIGTYPE_p_wxColourData swig_types[19]
2482 #define SWIGTYPE_p_wxColourDialog swig_types[20]
2483 #define SWIGTYPE_p_wxCommandEvent swig_types[21]
2484 #define SWIGTYPE_p_wxConfigBase swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxCursor swig_types[26]
2489 #define SWIGTYPE_p_wxDC swig_types[27]
2490 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[29]
2492 #define SWIGTYPE_p_wxDialog swig_types[30]
2493 #define SWIGTYPE_p_wxDirDialog swig_types[31]
2494 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2496 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2497 #define SWIGTYPE_p_wxEraseEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2500 #define SWIGTYPE_p_wxFSFile swig_types[38]
2501 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2505 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2506 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2507 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2508 #define SWIGTYPE_p_wxFont swig_types[46]
2509 #define SWIGTYPE_p_wxFontData swig_types[47]
2510 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2511 #define SWIGTYPE_p_wxFrame swig_types[49]
2512 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2513 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2514 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2515 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2516 #define SWIGTYPE_p_wxHelpControllerBase swig_types[54]
2517 #define SWIGTYPE_p_wxHelpSearchMode swig_types[55]
2518 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[56]
2519 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[57]
2520 #define SWIGTYPE_p_wxHtmlCell swig_types[58]
2521 #define SWIGTYPE_p_wxHtmlColourCell swig_types[59]
2522 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[60]
2523 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[61]
2524 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[62]
2525 #define SWIGTYPE_p_wxHtmlFilter swig_types[63]
2526 #define SWIGTYPE_p_wxHtmlFontCell swig_types[64]
2527 #define SWIGTYPE_p_wxHtmlHelpController swig_types[65]
2528 #define SWIGTYPE_p_wxHtmlHelpData swig_types[66]
2529 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[67]
2530 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[68]
2531 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[69]
2532 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[70]
2533 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[71]
2534 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[72]
2535 #define SWIGTYPE_p_wxHtmlParser swig_types[73]
2536 #define SWIGTYPE_p_wxHtmlPrintout swig_types[74]
2537 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[75]
2538 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[76]
2539 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[77]
2540 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[78]
2541 #define SWIGTYPE_p_wxHtmlSelection swig_types[79]
2542 #define SWIGTYPE_p_wxHtmlTag swig_types[80]
2543 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[81]
2544 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[82]
2545 #define SWIGTYPE_p_wxHtmlWinParser swig_types[83]
2546 #define SWIGTYPE_p_wxHtmlWindow swig_types[84]
2547 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[85]
2548 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[86]
2549 #define SWIGTYPE_p_wxHtmlWordCell swig_types[87]
2550 #define SWIGTYPE_p_wxICOHandler swig_types[88]
2551 #define SWIGTYPE_p_wxIconizeEvent swig_types[89]
2552 #define SWIGTYPE_p_wxIdleEvent swig_types[90]
2553 #define SWIGTYPE_p_wxImage swig_types[91]
2554 #define SWIGTYPE_p_wxImageHandler swig_types[92]
2555 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[93]
2556 #define SWIGTYPE_p_wxInitDialogEvent swig_types[94]
2557 #define SWIGTYPE_p_wxJPEGHandler swig_types[95]
2558 #define SWIGTYPE_p_wxKeyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[97]
2560 #define SWIGTYPE_p_wxLayoutConstraints swig_types[98]
2561 #define SWIGTYPE_p_wxMDIChildFrame swig_types[99]
2562 #define SWIGTYPE_p_wxMDIClientWindow swig_types[100]
2563 #define SWIGTYPE_p_wxMDIParentFrame swig_types[101]
2564 #define SWIGTYPE_p_wxMaximizeEvent swig_types[102]
2565 #define SWIGTYPE_p_wxMenu swig_types[103]
2566 #define SWIGTYPE_p_wxMenuBar swig_types[104]
2567 #define SWIGTYPE_p_wxMenuEvent swig_types[105]
2568 #define SWIGTYPE_p_wxMenuItem swig_types[106]
2569 #define SWIGTYPE_p_wxMessageDialog swig_types[107]
2570 #define SWIGTYPE_p_wxMiniFrame swig_types[108]
2571 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[109]
2572 #define SWIGTYPE_p_wxMouseEvent swig_types[110]
2573 #define SWIGTYPE_p_wxMoveEvent swig_types[111]
2574 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[112]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[113]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[114]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[115]
2578 #define SWIGTYPE_p_wxObject swig_types[116]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[117]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[118]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[119]
2582 #define SWIGTYPE_p_wxPageSetupDialog swig_types[120]
2583 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[121]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[122]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[123]
2586 #define SWIGTYPE_p_wxPanel swig_types[124]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[125]
2588 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[126]
2589 #define SWIGTYPE_p_wxPoint swig_types[127]
2590 #define SWIGTYPE_p_wxPopupWindow swig_types[128]
2591 #define SWIGTYPE_p_wxPreviewCanvas swig_types[129]
2592 #define SWIGTYPE_p_wxPreviewControlBar swig_types[130]
2593 #define SWIGTYPE_p_wxPreviewFrame swig_types[131]
2594 #define SWIGTYPE_p_wxPrintData swig_types[132]
2595 #define SWIGTYPE_p_wxPrintDialog swig_types[133]
2596 #define SWIGTYPE_p_wxPrintDialogData swig_types[134]
2597 #define SWIGTYPE_p_wxPrintPreview swig_types[135]
2598 #define SWIGTYPE_p_wxPrinter swig_types[136]
2599 #define SWIGTYPE_p_wxProgressDialog swig_types[137]
2600 #define SWIGTYPE_p_wxPyApp swig_types[138]
2601 #define SWIGTYPE_p_wxPyCommandEvent swig_types[139]
2602 #define SWIGTYPE_p_wxPyEvent swig_types[140]
2603 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[141]
2604 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[142]
2605 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[143]
2606 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[144]
2607 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[145]
2608 #define SWIGTYPE_p_wxPyImageHandler swig_types[146]
2609 #define SWIGTYPE_p_wxPyPanel swig_types[147]
2610 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[148]
2611 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[149]
2612 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[150]
2613 #define SWIGTYPE_p_wxPyPrintPreview swig_types[151]
2614 #define SWIGTYPE_p_wxPyPrintout swig_types[152]
2615 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[153]
2616 #define SWIGTYPE_p_wxPySizer swig_types[154]
2617 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[155]
2618 #define SWIGTYPE_p_wxPyVListBox swig_types[156]
2619 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[157]
2620 #define SWIGTYPE_p_wxPyValidator swig_types[158]
2621 #define SWIGTYPE_p_wxPyWindow swig_types[159]
2622 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[160]
2623 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[161]
2624 #define SWIGTYPE_p_wxSashEvent swig_types[162]
2625 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[163]
2626 #define SWIGTYPE_p_wxSashWindow swig_types[164]
2627 #define SWIGTYPE_p_wxScrollEvent swig_types[165]
2628 #define SWIGTYPE_p_wxScrollWinEvent swig_types[166]
2629 #define SWIGTYPE_p_wxScrolledWindow swig_types[167]
2630 #define SWIGTYPE_p_wxSetCursorEvent swig_types[168]
2631 #define SWIGTYPE_p_wxShowEvent swig_types[169]
2632 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170]
2633 #define SWIGTYPE_p_wxSize swig_types[171]
2634 #define SWIGTYPE_p_wxSizeEvent swig_types[172]
2635 #define SWIGTYPE_p_wxSizer swig_types[173]
2636 #define SWIGTYPE_p_wxSizerItem swig_types[174]
2637 #define SWIGTYPE_p_wxSplashScreen swig_types[175]
2638 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[176]
2639 #define SWIGTYPE_p_wxSplitterEvent swig_types[177]
2640 #define SWIGTYPE_p_wxSplitterWindow swig_types[178]
2641 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[179]
2642 #define SWIGTYPE_p_wxStatusBar swig_types[180]
2643 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[181]
2644 #define SWIGTYPE_p_wxString swig_types[182]
2645 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[183]
2646 #define SWIGTYPE_p_wxTIFFHandler swig_types[184]
2647 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[185]
2648 #define SWIGTYPE_p_wxTextEntryDialog swig_types[186]
2649 #define SWIGTYPE_p_wxTipWindow swig_types[187]
2650 #define SWIGTYPE_p_wxTopLevelWindow swig_types[188]
2651 #define SWIGTYPE_p_wxTreeCtrl swig_types[189]
2652 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[190]
2653 #define SWIGTYPE_p_wxValidator swig_types[191]
2654 #define SWIGTYPE_p_wxVisualAttributes swig_types[192]
2655 #define SWIGTYPE_p_wxWindow swig_types[193]
2656 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[194]
2657 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[195]
2658 #define SWIGTYPE_p_wxXPMHandler swig_types[196]
2659 static swig_type_info *swig_types[198];
2660 static swig_module_info swig_module = {swig_types, 197, 0, 0, 0, 0};
2661 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2662 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2663
2664 /* -------- TYPES TABLE (END) -------- */
2665
2666 #if (PY_VERSION_HEX <= 0x02000000)
2667 # if !defined(SWIG_PYTHON_CLASSIC)
2668 # error "This python version requires to use swig with the '-classic' option"
2669 # endif
2670 #endif
2671 #if (PY_VERSION_HEX <= 0x02020000)
2672 # error "This python version requires to use swig with the '-nomodern' option"
2673 #endif
2674 #if (PY_VERSION_HEX <= 0x02020000)
2675 # error "This python version requires to use swig with the '-nomodernargs' option"
2676 #endif
2677 #ifndef METH_O
2678 # error "This python version requires to use swig with the '-nofastunpack' option"
2679 #endif
2680
2681 /*-----------------------------------------------
2682 @(target):= _html.so
2683 ------------------------------------------------*/
2684 #define SWIG_init init_html
2685
2686 #define SWIG_name "_html"
2687
2688 #define SWIGVERSION 0x010329
2689
2690
2691 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2692 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2693
2694
2695 #include <stdexcept>
2696
2697
2698 namespace swig {
2699 class PyObject_ptr {
2700 protected:
2701 PyObject *_obj;
2702
2703 public:
2704 PyObject_ptr() :_obj(0)
2705 {
2706 }
2707
2708 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2709 {
2710 Py_XINCREF(_obj);
2711 }
2712
2713 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2714 {
2715 if (initial_ref) Py_XINCREF(_obj);
2716 }
2717
2718 PyObject_ptr & operator=(const PyObject_ptr& item)
2719 {
2720 Py_XINCREF(item._obj);
2721 Py_XDECREF(_obj);
2722 _obj = item._obj;
2723 return *this;
2724 }
2725
2726 ~PyObject_ptr()
2727 {
2728 Py_XDECREF(_obj);
2729 }
2730
2731 operator PyObject *() const
2732 {
2733 return _obj;
2734 }
2735
2736 PyObject *operator->() const
2737 {
2738 return _obj;
2739 }
2740 };
2741 }
2742
2743
2744 namespace swig {
2745 struct PyObject_var : PyObject_ptr {
2746 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2747
2748 PyObject_var & operator = (PyObject* obj)
2749 {
2750 Py_XDECREF(_obj);
2751 _obj = obj;
2752 return *this;
2753 }
2754 };
2755 }
2756
2757
2758 #include "wx/wxPython/wxPython.h"
2759 #include "wx/wxPython/pyclasses.h"
2760 #include "wx/wxPython/pyistream.h"
2761 #include "wx/wxPython/printfw.h"
2762
2763 #include <wx/html/htmlwin.h>
2764 #include <wx/html/htmprint.h>
2765 #include <wx/html/helpctrl.h>
2766 #include <wx/html/helpwnd.h>
2767 #include <wx/html/helpfrm.h>
2768 #include <wx/html/helpdlg.h>
2769
2770
2771 static const wxString wxPyEmptyString(wxEmptyString);
2772 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2773 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2774 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
2775
2776 #define SWIG_From_long PyInt_FromLong
2777
2778
2779 SWIGINTERNINLINE PyObject *
2780 SWIG_From_int (int value)
2781 {
2782 return SWIG_From_long (value);
2783 }
2784
2785
2786 #include <limits.h>
2787 #ifndef LLONG_MIN
2788 # define LLONG_MIN LONG_LONG_MIN
2789 #endif
2790 #ifndef LLONG_MAX
2791 # define LLONG_MAX LONG_LONG_MAX
2792 #endif
2793 #ifndef ULLONG_MAX
2794 # define ULLONG_MAX ULONG_LONG_MAX
2795 #endif
2796
2797
2798 SWIGINTERN int
2799 SWIG_AsVal_long (PyObject* obj, long* val)
2800 {
2801 if (PyNumber_Check(obj)) {
2802 if (val) *val = PyInt_AsLong(obj);
2803 return SWIG_OK;
2804 }
2805 return SWIG_TypeError;
2806 }
2807
2808
2809 SWIGINTERN int
2810 SWIG_AsVal_int (PyObject * obj, int *val)
2811 {
2812 long v;
2813 int res = SWIG_AsVal_long (obj, &v);
2814 if (SWIG_IsOK(res)) {
2815 if ((v < INT_MIN || v > INT_MAX)) {
2816 return SWIG_OverflowError;
2817 } else {
2818 if (val) *val = static_cast< int >(v);
2819 }
2820 }
2821 return res;
2822 }
2823
2824 SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2825 int* temp = NULL;
2826 if (sizes) temp = int_LIST_helper(sizes);
2827 self->SetFonts(normal_face, fixed_face, temp);
2828 if (temp)
2829 delete [] temp;
2830 }
2831
2832 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
2833 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
2834 public:
2835 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2836
2837 wxHtmlParser* GetParser() { return m_Parser; }
2838 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
2839
2840 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2841 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2842
2843 PYPRIVATE;
2844 };
2845
2846 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
2847
2848 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
2849 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
2850
2851
2852 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
2853 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
2854 public:
2855 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2856
2857 wxHtmlWinParser* GetParser() { return m_WParser; }
2858 void ParseInner(const wxHtmlTag& tag)
2859 { wxHtmlWinTagHandler::ParseInner(tag); }
2860
2861 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2862 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2863
2864 PYPRIVATE;
2865 };
2866
2867 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
2868
2869 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
2870 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
2871
2872
2873
2874 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
2875 public:
2876 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
2877 m_tagHandlerClass = thc;
2878 Py_INCREF(m_tagHandlerClass);
2879 RegisterModule(this);
2880 wxHtmlWinParser::AddModule(this);
2881 }
2882
2883 void OnExit() {
2884 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2885 Py_DECREF(m_tagHandlerClass);
2886 m_tagHandlerClass = NULL;
2887 for (size_t x=0; x < m_objArray.GetCount(); x++) {
2888 PyObject* obj = (PyObject*)m_objArray.Item(x);
2889 Py_DECREF(obj);
2890 }
2891 wxPyEndBlockThreads(blocked);
2892 };
2893
2894 void FillHandlersTable(wxHtmlWinParser *parser) {
2895 // Wave our magic wand... (if it works it's a miracle! ;-)
2896
2897 // First, make a new instance of the tag handler
2898 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2899 PyObject* arg = PyTuple_New(0);
2900 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
2901 Py_DECREF(arg);
2902
2903 // now figure out where it's C++ object is...
2904 wxPyHtmlWinTagHandler* thPtr;
2905 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
2906 wxPyEndBlockThreads(blocked);
2907 return;
2908 }
2909 wxPyEndBlockThreads(blocked);
2910
2911 // add it,
2912 parser->AddTagHandler(thPtr);
2913
2914 // and track it.
2915 m_objArray.Add(obj);
2916 }
2917
2918 private:
2919 PyObject* m_tagHandlerClass;
2920 wxArrayPtrVoid m_objArray;
2921
2922 };
2923
2924
2925 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
2926 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2927 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2928 new wxPyHtmlTagsModule(tagHandlerClass);
2929 }
2930
2931
2932 SWIGINTERNINLINE PyObject*
2933 SWIG_From_bool (bool value)
2934 {
2935 return PyBool_FromLong(value ? 1 : 0);
2936 }
2937
2938
2939 SWIGINTERN int
2940 SWIG_AsVal_bool (PyObject *obj, bool *val)
2941 {
2942 if (obj == Py_True) {
2943 if (val) *val = true;
2944 return SWIG_OK;
2945 } else if (obj == Py_False) {
2946 if (val) *val = false;
2947 return SWIG_OK;
2948 } else {
2949 long v = 0;
2950 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2951 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2952 return res;
2953 }
2954 }
2955
2956
2957 SWIGINTERN int
2958 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2959 {
2960 long v = 0;
2961 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2962 return SWIG_TypeError;
2963 }
2964 else if (val)
2965 *val = (unsigned long)v;
2966 return SWIG_OK;
2967 }
2968
2969
2970 SWIGINTERN int
2971 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2972 {
2973 unsigned long v;
2974 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2975 if (SWIG_IsOK(res)) {
2976 if ((v > UINT_MAX)) {
2977 return SWIG_OverflowError;
2978 } else {
2979 if (val) *val = static_cast< unsigned int >(v);
2980 }
2981 }
2982 return res;
2983 }
2984
2985
2986 SWIGINTERNINLINE PyObject*
2987 SWIG_From_unsigned_SS_long (unsigned long value)
2988 {
2989 return (value > LONG_MAX) ?
2990 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2991 }
2992
2993
2994 SWIGINTERNINLINE PyObject *
2995 SWIG_From_unsigned_SS_int (unsigned int value)
2996 {
2997 return SWIG_From_unsigned_SS_long (value);
2998 }
2999
3000 // here's the C++ version
3001 class wxPyHtmlFilter : public wxHtmlFilter {
3002 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
3003 public:
3004 wxPyHtmlFilter() : wxHtmlFilter() {}
3005
3006 // returns True if this filter is able to open&read given file
3007 virtual bool CanRead(const wxFSFile& file) const {
3008 bool rval = false;
3009 bool found;
3010 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3011 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
3012 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3013 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3014 Py_DECREF(obj);
3015 }
3016 wxPyEndBlockThreads(blocked);
3017 return rval;
3018 }
3019
3020
3021 // Reads given file and returns HTML document.
3022 // Returns empty string if opening failed
3023 virtual wxString ReadFile(const wxFSFile& file) const {
3024 wxString rval;
3025 bool found;
3026 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3027 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
3028 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3029 PyObject* ro;
3030 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
3031 Py_DECREF(obj);
3032 if (ro) {
3033 rval = Py2wxString(ro);
3034 Py_DECREF(ro);
3035 }
3036 }
3037 wxPyEndBlockThreads(blocked);
3038 return rval;
3039 }
3040
3041 PYPRIVATE;
3042 };
3043
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
3045
3046
3047 class wxPyHtmlWindow : public wxHtmlWindow {
3048 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
3049 public:
3050 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
3051 const wxPoint& pos = wxDefaultPosition,
3052 const wxSize& size = wxDefaultSize,
3053 long style = wxHW_DEFAULT_STYLE,
3054 const wxString& name = wxPyHtmlWindowNameStr)
3055 : wxHtmlWindow(parent, id, pos, size, style, name) {};
3056 wxPyHtmlWindow() : wxHtmlWindow() {};
3057
3058 bool ScrollToAnchor(const wxString& anchor) {
3059 return wxHtmlWindow::ScrollToAnchor(anchor);
3060 }
3061
3062 bool HasAnchor(const wxString& anchor) {
3063 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
3064 return c!=NULL;
3065 }
3066
3067 void OnLinkClicked(const wxHtmlLinkInfo& link);
3068
3069 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
3070 const wxString& url,
3071 wxString *redirect) const;
3072
3073 DEC_PYCALLBACK__STRING(OnSetTitle);
3074 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
3075 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
3076
3077 PYPRIVATE;
3078 };
3079
3080 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
3081 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
3082 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
3083 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
3084
3085
3086 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
3087 bool found;
3088 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3089 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3090 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3091 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3092 Py_DECREF(obj);
3093 }
3094 wxPyEndBlockThreads(blocked);
3095 if (! found)
3096 wxHtmlWindow::OnLinkClicked(link);
3097 }
3098
3099
3100 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
3101 const wxString& url,
3102 wxString *redirect) const {
3103 bool found;
3104 wxHtmlOpeningStatus rval;
3105 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3106 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
3107 PyObject* ro;
3108 PyObject* s = wx2PyString(url);
3109 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
3110 Py_DECREF(s);
3111 if (PyString_Check(ro)
3112 #if PYTHON_API_VERSION >= 1009
3113 || PyUnicode_Check(ro)
3114 #endif
3115 ) {
3116 *redirect = Py2wxString(ro);
3117 rval = wxHTML_REDIRECT;
3118 }
3119 else {
3120 PyObject* num = PyNumber_Int(ro);
3121 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
3122 Py_DECREF(num);
3123 }
3124 Py_DECREF(ro);
3125 }
3126 wxPyEndBlockThreads(blocked);
3127 if (! found)
3128 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
3129 return rval;
3130 }
3131
3132
3133
3134 SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3135 int* temp = NULL;
3136 if (sizes) temp = int_LIST_helper(sizes);
3137 self->SetFonts(normal_face, fixed_face, temp);
3138 if (temp)
3139 delete [] temp;
3140 }
3141 SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3142 int* temp = NULL;
3143 if (sizes) temp = int_LIST_helper(sizes);
3144 self->SetFonts(normal_face, fixed_face, temp);
3145 if (temp)
3146 delete [] temp;
3147 }
3148 SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3149 int* temp = NULL;
3150 if (sizes) temp = int_LIST_helper(sizes);
3151 self->SetFonts(normal_face, fixed_face, temp);
3152 if (temp)
3153 delete [] temp;
3154 }
3155
3156 #include <float.h>
3157
3158
3159 SWIGINTERN int
3160 SWIG_AsVal_double (PyObject *obj, double* val)
3161 {
3162 if (PyNumber_Check(obj)) {
3163 if (val) *val = PyFloat_AsDouble(obj);
3164 return SWIG_OK;
3165 }
3166 return SWIG_TypeError;
3167 }
3168
3169
3170 SWIGINTERN int
3171 SWIG_AsVal_float (PyObject * obj, float *val)
3172 {
3173 double v;
3174 int res = SWIG_AsVal_double (obj, &v);
3175 if (SWIG_IsOK(res)) {
3176 if ((v < -FLT_MAX || v > FLT_MAX)) {
3177 return SWIG_OverflowError;
3178 } else {
3179 if (val) *val = static_cast< float >(v);
3180 }
3181 }
3182 return res;
3183 }
3184
3185 SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3186 int* temp = NULL;
3187 if (sizes) temp = int_LIST_helper(sizes);
3188 self->SetFonts(normal_face, fixed_face, temp);
3189 if (temp)
3190 delete [] temp;
3191 }
3192 #ifdef __cplusplus
3193 extern "C" {
3194 #endif
3195 SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3196 SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3197 return 1;
3198 }
3199
3200
3201 SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3202 PyObject *pyobj = 0;
3203
3204 {
3205 #if wxUSE_UNICODE
3206 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3207 #else
3208 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3209 #endif
3210 }
3211 return pyobj;
3212 }
3213
3214
3215 SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3216 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3217 return 1;
3218 }
3219
3220
3221 SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3222 PyObject *pyobj = 0;
3223
3224 {
3225 #if wxUSE_UNICODE
3226 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3227 #else
3228 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3229 #endif
3230 }
3231 return pyobj;
3232 }
3233
3234
3235 SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3236 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3237 return 1;
3238 }
3239
3240
3241 SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3242 PyObject *pyobj = 0;
3243
3244 {
3245 #if wxUSE_UNICODE
3246 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3247 #else
3248 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3249 #endif
3250 }
3251 return pyobj;
3252 }
3253
3254
3255 SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj = 0;
3257 wxString *arg1 = 0 ;
3258 wxString const &arg2_defvalue = wxPyEmptyString ;
3259 wxString *arg2 = (wxString *) &arg2_defvalue ;
3260 wxHtmlLinkInfo *result = 0 ;
3261 bool temp1 = false ;
3262 bool temp2 = false ;
3263 PyObject * obj0 = 0 ;
3264 PyObject * obj1 = 0 ;
3265 char * kwnames[] = {
3266 (char *) "href",(char *) "target", NULL
3267 };
3268
3269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3270 {
3271 arg1 = wxString_in_helper(obj0);
3272 if (arg1 == NULL) SWIG_fail;
3273 temp1 = true;
3274 }
3275 if (obj1) {
3276 {
3277 arg2 = wxString_in_helper(obj1);
3278 if (arg2 == NULL) SWIG_fail;
3279 temp2 = true;
3280 }
3281 }
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) SWIG_fail;
3287 }
3288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3289 {
3290 if (temp1)
3291 delete arg1;
3292 }
3293 {
3294 if (temp2)
3295 delete arg2;
3296 }
3297 return resultobj;
3298 fail:
3299 {
3300 if (temp1)
3301 delete arg1;
3302 }
3303 {
3304 if (temp2)
3305 delete arg2;
3306 }
3307 return NULL;
3308 }
3309
3310
3311 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3312 PyObject *resultobj = 0;
3313 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3314 wxString result;
3315 void *argp1 = 0 ;
3316 int res1 = 0 ;
3317 PyObject *swig_obj[1] ;
3318
3319 if (!args) SWIG_fail;
3320 swig_obj[0] = args;
3321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3322 if (!SWIG_IsOK(res1)) {
3323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3324 }
3325 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 result = (arg1)->GetHref();
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 {
3333 #if wxUSE_UNICODE
3334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3335 #else
3336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3337 #endif
3338 }
3339 return resultobj;
3340 fail:
3341 return NULL;
3342 }
3343
3344
3345 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3346 PyObject *resultobj = 0;
3347 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3348 wxString result;
3349 void *argp1 = 0 ;
3350 int res1 = 0 ;
3351 PyObject *swig_obj[1] ;
3352
3353 if (!args) SWIG_fail;
3354 swig_obj[0] = args;
3355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3356 if (!SWIG_IsOK(res1)) {
3357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3358 }
3359 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 result = (arg1)->GetTarget();
3363 wxPyEndAllowThreads(__tstate);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 {
3367 #if wxUSE_UNICODE
3368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3369 #else
3370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3371 #endif
3372 }
3373 return resultobj;
3374 fail:
3375 return NULL;
3376 }
3377
3378
3379 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3380 PyObject *resultobj = 0;
3381 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3382 wxMouseEvent *result = 0 ;
3383 void *argp1 = 0 ;
3384 int res1 = 0 ;
3385 PyObject *swig_obj[1] ;
3386
3387 if (!args) SWIG_fail;
3388 swig_obj[0] = args;
3389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3390 if (!SWIG_IsOK(res1)) {
3391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3392 }
3393 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3394 {
3395 PyThreadState* __tstate = wxPyBeginAllowThreads();
3396 result = (wxMouseEvent *)(arg1)->GetEvent();
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 {
3401 resultobj = wxPyMake_wxObject(result, (bool)0);
3402 }
3403 return resultobj;
3404 fail:
3405 return NULL;
3406 }
3407
3408
3409 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3410 PyObject *resultobj = 0;
3411 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3412 wxHtmlCell *result = 0 ;
3413 void *argp1 = 0 ;
3414 int res1 = 0 ;
3415 PyObject *swig_obj[1] ;
3416
3417 if (!args) SWIG_fail;
3418 swig_obj[0] = args;
3419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3420 if (!SWIG_IsOK(res1)) {
3421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3422 }
3423 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3431 return resultobj;
3432 fail:
3433 return NULL;
3434 }
3435
3436
3437 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj = 0;
3439 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3440 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3441 void *argp1 = 0 ;
3442 int res1 = 0 ;
3443 void *argp2 = 0 ;
3444 int res2 = 0 ;
3445 PyObject * obj0 = 0 ;
3446 PyObject * obj1 = 0 ;
3447 char * kwnames[] = {
3448 (char *) "self",(char *) "e", NULL
3449 };
3450
3451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3453 if (!SWIG_IsOK(res1)) {
3454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3455 }
3456 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3457 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3458 if (!SWIG_IsOK(res2)) {
3459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3460 }
3461 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 (arg1)->SetEvent((wxMouseEvent const *)arg2);
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 resultobj = SWIG_Py_Void();
3469 return resultobj;
3470 fail:
3471 return NULL;
3472 }
3473
3474
3475 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj = 0;
3477 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3478 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3479 void *argp1 = 0 ;
3480 int res1 = 0 ;
3481 void *argp2 = 0 ;
3482 int res2 = 0 ;
3483 PyObject * obj0 = 0 ;
3484 PyObject * obj1 = 0 ;
3485 char * kwnames[] = {
3486 (char *) "self",(char *) "e", NULL
3487 };
3488
3489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3491 if (!SWIG_IsOK(res1)) {
3492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3493 }
3494 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3495 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3496 if (!SWIG_IsOK(res2)) {
3497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3498 }
3499 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 resultobj = SWIG_Py_Void();
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3514 PyObject *obj;
3515 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3516 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3517 return SWIG_Py_Void();
3518 }
3519
3520 SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3521 return SWIG_Python_InitShadowInstance(args);
3522 }
3523
3524 SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3525 PyObject *resultobj = 0;
3526 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3527 wxString result;
3528 void *argp1 = 0 ;
3529 int res1 = 0 ;
3530 PyObject *swig_obj[1] ;
3531
3532 if (!args) SWIG_fail;
3533 swig_obj[0] = args;
3534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3535 if (!SWIG_IsOK(res1)) {
3536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3537 }
3538 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (arg1)->GetName();
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 {
3546 #if wxUSE_UNICODE
3547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3548 #else
3549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3550 #endif
3551 }
3552 return resultobj;
3553 fail:
3554 return NULL;
3555 }
3556
3557
3558 SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj = 0;
3560 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3561 wxString *arg2 = 0 ;
3562 bool result;
3563 void *argp1 = 0 ;
3564 int res1 = 0 ;
3565 bool temp2 = false ;
3566 PyObject * obj0 = 0 ;
3567 PyObject * obj1 = 0 ;
3568 char * kwnames[] = {
3569 (char *) "self",(char *) "par", NULL
3570 };
3571
3572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3574 if (!SWIG_IsOK(res1)) {
3575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3576 }
3577 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3578 {
3579 arg2 = wxString_in_helper(obj1);
3580 if (arg2 == NULL) SWIG_fail;
3581 temp2 = true;
3582 }
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3586 wxPyEndAllowThreads(__tstate);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 {
3590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3591 }
3592 {
3593 if (temp2)
3594 delete arg2;
3595 }
3596 return resultobj;
3597 fail:
3598 {
3599 if (temp2)
3600 delete arg2;
3601 }
3602 return NULL;
3603 }
3604
3605
3606 SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj = 0;
3608 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3609 wxString *arg2 = 0 ;
3610 int arg3 = (int) false ;
3611 wxString result;
3612 void *argp1 = 0 ;
3613 int res1 = 0 ;
3614 bool temp2 = false ;
3615 int val3 ;
3616 int ecode3 = 0 ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 PyObject * obj2 = 0 ;
3620 char * kwnames[] = {
3621 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3622 };
3623
3624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3626 if (!SWIG_IsOK(res1)) {
3627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3628 }
3629 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3630 {
3631 arg2 = wxString_in_helper(obj1);
3632 if (arg2 == NULL) SWIG_fail;
3633 temp2 = true;
3634 }
3635 if (obj2) {
3636 ecode3 = SWIG_AsVal_int(obj2, &val3);
3637 if (!SWIG_IsOK(ecode3)) {
3638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3639 }
3640 arg3 = static_cast< int >(val3);
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 {
3649 #if wxUSE_UNICODE
3650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3651 #else
3652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3653 #endif
3654 }
3655 {
3656 if (temp2)
3657 delete arg2;
3658 }
3659 return resultobj;
3660 fail:
3661 {
3662 if (temp2)
3663 delete arg2;
3664 }
3665 return NULL;
3666 }
3667
3668
3669 SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3670 PyObject *resultobj = 0;
3671 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3672 wxString result;
3673 void *argp1 = 0 ;
3674 int res1 = 0 ;
3675 PyObject *swig_obj[1] ;
3676
3677 if (!args) SWIG_fail;
3678 swig_obj[0] = args;
3679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3680 if (!SWIG_IsOK(res1)) {
3681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3682 }
3683 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (arg1)->GetAllParams();
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
3690 {
3691 #if wxUSE_UNICODE
3692 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3693 #else
3694 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3695 #endif
3696 }
3697 return resultobj;
3698 fail:
3699 return NULL;
3700 }
3701
3702
3703 SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3704 PyObject *resultobj = 0;
3705 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3706 bool result;
3707 void *argp1 = 0 ;
3708 int res1 = 0 ;
3709 PyObject *swig_obj[1] ;
3710
3711 if (!args) SWIG_fail;
3712 swig_obj[0] = args;
3713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3714 if (!SWIG_IsOK(res1)) {
3715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3716 }
3717 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = (bool)(arg1)->HasEnding();
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3726 }
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3734 PyObject *resultobj = 0;
3735 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3736 int result;
3737 void *argp1 = 0 ;
3738 int res1 = 0 ;
3739 PyObject *swig_obj[1] ;
3740
3741 if (!args) SWIG_fail;
3742 swig_obj[0] = args;
3743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3744 if (!SWIG_IsOK(res1)) {
3745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3746 }
3747 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (int)(arg1)->GetBeginPos();
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 resultobj = SWIG_From_int(static_cast< int >(result));
3755 return resultobj;
3756 fail:
3757 return NULL;
3758 }
3759
3760
3761 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3762 PyObject *resultobj = 0;
3763 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3764 int result;
3765 void *argp1 = 0 ;
3766 int res1 = 0 ;
3767 PyObject *swig_obj[1] ;
3768
3769 if (!args) SWIG_fail;
3770 swig_obj[0] = args;
3771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3772 if (!SWIG_IsOK(res1)) {
3773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3774 }
3775 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 result = (int)(arg1)->GetEndPos1();
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 resultobj = SWIG_From_int(static_cast< int >(result));
3783 return resultobj;
3784 fail:
3785 return NULL;
3786 }
3787
3788
3789 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3790 PyObject *resultobj = 0;
3791 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3792 int result;
3793 void *argp1 = 0 ;
3794 int res1 = 0 ;
3795 PyObject *swig_obj[1] ;
3796
3797 if (!args) SWIG_fail;
3798 swig_obj[0] = args;
3799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3800 if (!SWIG_IsOK(res1)) {
3801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3802 }
3803 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 result = (int)(arg1)->GetEndPos2();
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 resultobj = SWIG_From_int(static_cast< int >(result));
3811 return resultobj;
3812 fail:
3813 return NULL;
3814 }
3815
3816
3817 SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3818 PyObject *obj;
3819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3820 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3821 return SWIG_Py_Void();
3822 }
3823
3824 SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj = 0;
3826 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3827 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3828 void *argp1 = 0 ;
3829 int res1 = 0 ;
3830 void *argp2 = 0 ;
3831 int res2 = 0 ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3834 char * kwnames[] = {
3835 (char *) "self",(char *) "fs", NULL
3836 };
3837
3838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3840 if (!SWIG_IsOK(res1)) {
3841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3842 }
3843 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3844 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3845 if (!SWIG_IsOK(res2)) {
3846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3847 }
3848 arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 (arg1)->SetFS(arg2);
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_Py_Void();
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3863 PyObject *resultobj = 0;
3864 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3865 wxFileSystem *result = 0 ;
3866 void *argp1 = 0 ;
3867 int res1 = 0 ;
3868 PyObject *swig_obj[1] ;
3869
3870 if (!args) SWIG_fail;
3871 swig_obj[0] = args;
3872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3873 if (!SWIG_IsOK(res1)) {
3874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3875 }
3876 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 result = (wxFileSystem *)(arg1)->GetFS();
3880 wxPyEndAllowThreads(__tstate);
3881 if (PyErr_Occurred()) SWIG_fail;
3882 }
3883 {
3884 resultobj = wxPyMake_wxObject(result, (bool)0);
3885 }
3886 return resultobj;
3887 fail:
3888 return NULL;
3889 }
3890
3891
3892 SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3893 PyObject *resultobj = 0;
3894 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3895 wxString *arg2 = 0 ;
3896 wxObject *result = 0 ;
3897 void *argp1 = 0 ;
3898 int res1 = 0 ;
3899 bool temp2 = false ;
3900 PyObject * obj0 = 0 ;
3901 PyObject * obj1 = 0 ;
3902 char * kwnames[] = {
3903 (char *) "self",(char *) "source", NULL
3904 };
3905
3906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3908 if (!SWIG_IsOK(res1)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3910 }
3911 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3912 {
3913 arg2 = wxString_in_helper(obj1);
3914 if (arg2 == NULL) SWIG_fail;
3915 temp2 = true;
3916 }
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 {
3924 resultobj = wxPyMake_wxObject(result, (bool)0);
3925 }
3926 {
3927 if (temp2)
3928 delete arg2;
3929 }
3930 return resultobj;
3931 fail:
3932 {
3933 if (temp2)
3934 delete arg2;
3935 }
3936 return NULL;
3937 }
3938
3939
3940 SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj = 0;
3942 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3943 wxString *arg2 = 0 ;
3944 void *argp1 = 0 ;
3945 int res1 = 0 ;
3946 bool temp2 = false ;
3947 PyObject * obj0 = 0 ;
3948 PyObject * obj1 = 0 ;
3949 char * kwnames[] = {
3950 (char *) "self",(char *) "source", NULL
3951 };
3952
3953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3955 if (!SWIG_IsOK(res1)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3957 }
3958 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3959 {
3960 arg2 = wxString_in_helper(obj1);
3961 if (arg2 == NULL) SWIG_fail;
3962 temp2 = true;
3963 }
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 (arg1)->InitParser((wxString const &)*arg2);
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 resultobj = SWIG_Py_Void();
3971 {
3972 if (temp2)
3973 delete arg2;
3974 }
3975 return resultobj;
3976 fail:
3977 {
3978 if (temp2)
3979 delete arg2;
3980 }
3981 return NULL;
3982 }
3983
3984
3985 SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3986 PyObject *resultobj = 0;
3987 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3988 void *argp1 = 0 ;
3989 int res1 = 0 ;
3990 PyObject *swig_obj[1] ;
3991
3992 if (!args) SWIG_fail;
3993 swig_obj[0] = args;
3994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3995 if (!SWIG_IsOK(res1)) {
3996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3997 }
3998 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 (arg1)->DoneParser();
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 resultobj = SWIG_Py_Void();
4006 return resultobj;
4007 fail:
4008 return NULL;
4009 }
4010
4011
4012 SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj = 0;
4014 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4015 int arg2 ;
4016 int arg3 ;
4017 void *argp1 = 0 ;
4018 int res1 = 0 ;
4019 int val2 ;
4020 int ecode2 = 0 ;
4021 int val3 ;
4022 int ecode3 = 0 ;
4023 PyObject * obj0 = 0 ;
4024 PyObject * obj1 = 0 ;
4025 PyObject * obj2 = 0 ;
4026 char * kwnames[] = {
4027 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4028 };
4029
4030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4032 if (!SWIG_IsOK(res1)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4034 }
4035 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4036 ecode2 = SWIG_AsVal_int(obj1, &val2);
4037 if (!SWIG_IsOK(ecode2)) {
4038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4039 }
4040 arg2 = static_cast< int >(val2);
4041 ecode3 = SWIG_AsVal_int(obj2, &val3);
4042 if (!SWIG_IsOK(ecode3)) {
4043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4044 }
4045 arg3 = static_cast< int >(val3);
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 (arg1)->DoParsing(arg2,arg3);
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 resultobj = SWIG_Py_Void();
4053 return resultobj;
4054 fail:
4055 return NULL;
4056 }
4057
4058
4059 SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4060 PyObject *resultobj = 0;
4061 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4062 void *argp1 = 0 ;
4063 int res1 = 0 ;
4064 PyObject *swig_obj[1] ;
4065
4066 if (!args) SWIG_fail;
4067 swig_obj[0] = args;
4068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4069 if (!SWIG_IsOK(res1)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4071 }
4072 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 (arg1)->StopParsing();
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 resultobj = SWIG_Py_Void();
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj = 0;
4088 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4089 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4090 void *argp1 = 0 ;
4091 int res1 = 0 ;
4092 void *argp2 = 0 ;
4093 int res2 = 0 ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj1 = 0 ;
4096 char * kwnames[] = {
4097 (char *) "self",(char *) "handler", NULL
4098 };
4099
4100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4102 if (!SWIG_IsOK(res1)) {
4103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4104 }
4105 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4106 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4107 if (!SWIG_IsOK(res2)) {
4108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4109 }
4110 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 (arg1)->AddTagHandler(arg2);
4114 wxPyEndAllowThreads(__tstate);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 resultobj = SWIG_Py_Void();
4118 return resultobj;
4119 fail:
4120 return NULL;
4121 }
4122
4123
4124 SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4127 wxString *result = 0 ;
4128 void *argp1 = 0 ;
4129 int res1 = 0 ;
4130 PyObject *swig_obj[1] ;
4131
4132 if (!args) SWIG_fail;
4133 swig_obj[0] = args;
4134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4135 if (!SWIG_IsOK(res1)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4137 }
4138 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 result = (wxString *)(arg1)->GetSource();
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 {
4146 #if wxUSE_UNICODE
4147 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4148 #else
4149 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4150 #endif
4151 }
4152 return resultobj;
4153 fail:
4154 return NULL;
4155 }
4156
4157
4158 SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj = 0;
4160 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4161 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4162 wxString arg3 ;
4163 void *argp1 = 0 ;
4164 int res1 = 0 ;
4165 void *argp2 = 0 ;
4166 int res2 = 0 ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 PyObject * obj2 = 0 ;
4170 char * kwnames[] = {
4171 (char *) "self",(char *) "handler",(char *) "tags", NULL
4172 };
4173
4174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4176 if (!SWIG_IsOK(res1)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4178 }
4179 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4180 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4181 if (!SWIG_IsOK(res2)) {
4182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4183 }
4184 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4185 {
4186 wxString* sptr = wxString_in_helper(obj2);
4187 if (sptr == NULL) SWIG_fail;
4188 arg3 = *sptr;
4189 delete sptr;
4190 }
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 (arg1)->PushTagHandler(arg2,arg3);
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_Py_Void();
4198 return resultobj;
4199 fail:
4200 return NULL;
4201 }
4202
4203
4204 SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4205 PyObject *resultobj = 0;
4206 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4207 void *argp1 = 0 ;
4208 int res1 = 0 ;
4209 PyObject *swig_obj[1] ;
4210
4211 if (!args) SWIG_fail;
4212 swig_obj[0] = args;
4213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4214 if (!SWIG_IsOK(res1)) {
4215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4216 }
4217 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 (arg1)->PopTagHandler();
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 resultobj = SWIG_Py_Void();
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj = 0;
4233 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4234 wxHtmlTag *arg2 = 0 ;
4235 wxString result;
4236 void *argp1 = 0 ;
4237 int res1 = 0 ;
4238 void *argp2 = 0 ;
4239 int res2 = 0 ;
4240 PyObject * obj0 = 0 ;
4241 PyObject * obj1 = 0 ;
4242 char * kwnames[] = {
4243 (char *) "self",(char *) "tag", NULL
4244 };
4245
4246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4248 if (!SWIG_IsOK(res1)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4250 }
4251 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4252 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4253 if (!SWIG_IsOK(res2)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4255 }
4256 if (!argp2) {
4257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4258 }
4259 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 {
4267 #if wxUSE_UNICODE
4268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4269 #else
4270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4271 #endif
4272 }
4273 return resultobj;
4274 fail:
4275 return NULL;
4276 }
4277
4278
4279 SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4280 PyObject *obj;
4281 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4282 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4283 return SWIG_Py_Void();
4284 }
4285
4286 SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4287 PyObject *resultobj = 0;
4288 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4289 wxHtmlWinParser *result = 0 ;
4290 void *argp1 = 0 ;
4291 int res1 = 0 ;
4292 PyObject * obj0 = 0 ;
4293 char * kwnames[] = {
4294 (char *) "wnd", NULL
4295 };
4296
4297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4298 if (obj0) {
4299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4300 if (!SWIG_IsOK(res1)) {
4301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4302 }
4303 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4304 }
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4312 return resultobj;
4313 fail:
4314 return NULL;
4315 }
4316
4317
4318 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj = 0;
4320 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4321 wxDC *arg2 = (wxDC *) 0 ;
4322 void *argp1 = 0 ;
4323 int res1 = 0 ;
4324 void *argp2 = 0 ;
4325 int res2 = 0 ;
4326 PyObject * obj0 = 0 ;
4327 PyObject * obj1 = 0 ;
4328 char * kwnames[] = {
4329 (char *) "self",(char *) "dc", NULL
4330 };
4331
4332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4334 if (!SWIG_IsOK(res1)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4336 }
4337 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4339 if (!SWIG_IsOK(res2)) {
4340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4341 }
4342 arg2 = reinterpret_cast< wxDC * >(argp2);
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 (arg1)->SetDC(arg2);
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 resultobj = SWIG_Py_Void();
4350 return resultobj;
4351 fail:
4352 return NULL;
4353 }
4354
4355
4356 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4357 PyObject *resultobj = 0;
4358 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4359 wxDC *result = 0 ;
4360 void *argp1 = 0 ;
4361 int res1 = 0 ;
4362 PyObject *swig_obj[1] ;
4363
4364 if (!args) SWIG_fail;
4365 swig_obj[0] = args;
4366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4367 if (!SWIG_IsOK(res1)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4369 }
4370 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4371 {
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 result = (wxDC *)(arg1)->GetDC();
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 {
4378 resultobj = wxPyMake_wxObject(result, (bool)0);
4379 }
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4387 PyObject *resultobj = 0;
4388 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4389 int result;
4390 void *argp1 = 0 ;
4391 int res1 = 0 ;
4392 PyObject *swig_obj[1] ;
4393
4394 if (!args) SWIG_fail;
4395 swig_obj[0] = args;
4396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4397 if (!SWIG_IsOK(res1)) {
4398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4399 }
4400 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 result = (int)(arg1)->GetCharHeight();
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 resultobj = SWIG_From_int(static_cast< int >(result));
4408 return resultobj;
4409 fail:
4410 return NULL;
4411 }
4412
4413
4414 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4415 PyObject *resultobj = 0;
4416 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4417 int result;
4418 void *argp1 = 0 ;
4419 int res1 = 0 ;
4420 PyObject *swig_obj[1] ;
4421
4422 if (!args) SWIG_fail;
4423 swig_obj[0] = args;
4424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4425 if (!SWIG_IsOK(res1)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4427 }
4428 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 result = (int)(arg1)->GetCharWidth();
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 resultobj = SWIG_From_int(static_cast< int >(result));
4436 return resultobj;
4437 fail:
4438 return NULL;
4439 }
4440
4441
4442 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4443 PyObject *resultobj = 0;
4444 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4445 wxPyHtmlWindow *result = 0 ;
4446 void *argp1 = 0 ;
4447 int res1 = 0 ;
4448 PyObject *swig_obj[1] ;
4449
4450 if (!args) SWIG_fail;
4451 swig_obj[0] = args;
4452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4453 if (!SWIG_IsOK(res1)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4455 }
4456 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 {
4464 resultobj = wxPyMake_wxObject(result, (bool)0);
4465 }
4466 return resultobj;
4467 fail:
4468 return NULL;
4469 }
4470
4471
4472 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4473 PyObject *resultobj = 0;
4474 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4475 wxHtmlWindowInterface *result = 0 ;
4476 void *argp1 = 0 ;
4477 int res1 = 0 ;
4478 PyObject *swig_obj[1] ;
4479
4480 if (!args) SWIG_fail;
4481 swig_obj[0] = args;
4482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4483 if (!SWIG_IsOK(res1)) {
4484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4485 }
4486 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4494 return resultobj;
4495 fail:
4496 return NULL;
4497 }
4498
4499
4500 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj = 0;
4502 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4503 wxString arg2 ;
4504 wxString arg3 ;
4505 PyObject *arg4 = (PyObject *) NULL ;
4506 void *argp1 = 0 ;
4507 int res1 = 0 ;
4508 PyObject * obj0 = 0 ;
4509 PyObject * obj1 = 0 ;
4510 PyObject * obj2 = 0 ;
4511 PyObject * obj3 = 0 ;
4512 char * kwnames[] = {
4513 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4514 };
4515
4516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4518 if (!SWIG_IsOK(res1)) {
4519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4520 }
4521 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4522 {
4523 wxString* sptr = wxString_in_helper(obj1);
4524 if (sptr == NULL) SWIG_fail;
4525 arg2 = *sptr;
4526 delete sptr;
4527 }
4528 {
4529 wxString* sptr = wxString_in_helper(obj2);
4530 if (sptr == NULL) SWIG_fail;
4531 arg3 = *sptr;
4532 delete sptr;
4533 }
4534 if (obj3) {
4535 arg4 = obj3;
4536 }
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 resultobj = SWIG_Py_Void();
4544 return resultobj;
4545 fail:
4546 return NULL;
4547 }
4548
4549
4550 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4551 PyObject *resultobj = 0;
4552 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4553 int arg2 = (int) -1 ;
4554 wxString const &arg3_defvalue = wxPyEmptyString ;
4555 wxString *arg3 = (wxString *) &arg3_defvalue ;
4556 wxString const &arg4_defvalue = wxPyEmptyString ;
4557 wxString *arg4 = (wxString *) &arg4_defvalue ;
4558 void *argp1 = 0 ;
4559 int res1 = 0 ;
4560 int val2 ;
4561 int ecode2 = 0 ;
4562 bool temp3 = false ;
4563 bool temp4 = false ;
4564 PyObject * obj0 = 0 ;
4565 PyObject * obj1 = 0 ;
4566 PyObject * obj2 = 0 ;
4567 PyObject * obj3 = 0 ;
4568 char * kwnames[] = {
4569 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4570 };
4571
4572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4574 if (!SWIG_IsOK(res1)) {
4575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4576 }
4577 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4578 if (obj1) {
4579 ecode2 = SWIG_AsVal_int(obj1, &val2);
4580 if (!SWIG_IsOK(ecode2)) {
4581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4582 }
4583 arg2 = static_cast< int >(val2);
4584 }
4585 if (obj2) {
4586 {
4587 arg3 = wxString_in_helper(obj2);
4588 if (arg3 == NULL) SWIG_fail;
4589 temp3 = true;
4590 }
4591 }
4592 if (obj3) {
4593 {
4594 arg4 = wxString_in_helper(obj3);
4595 if (arg4 == NULL) SWIG_fail;
4596 temp4 = true;
4597 }
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = SWIG_Py_Void();
4606 {
4607 if (temp3)
4608 delete arg3;
4609 }
4610 {
4611 if (temp4)
4612 delete arg4;
4613 }
4614 return resultobj;
4615 fail:
4616 {
4617 if (temp3)
4618 delete arg3;
4619 }
4620 {
4621 if (temp4)
4622 delete arg4;
4623 }
4624 return NULL;
4625 }
4626
4627
4628 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4629 PyObject *resultobj = 0;
4630 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4631 wxHtmlContainerCell *result = 0 ;
4632 void *argp1 = 0 ;
4633 int res1 = 0 ;
4634 PyObject *swig_obj[1] ;
4635
4636 if (!args) SWIG_fail;
4637 swig_obj[0] = args;
4638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4639 if (!SWIG_IsOK(res1)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4641 }
4642 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4657 PyObject *resultobj = 0;
4658 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4659 wxHtmlContainerCell *result = 0 ;
4660 void *argp1 = 0 ;
4661 int res1 = 0 ;
4662 PyObject *swig_obj[1] ;
4663
4664 if (!args) SWIG_fail;
4665 swig_obj[0] = args;
4666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4667 if (!SWIG_IsOK(res1)) {
4668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4669 }
4670 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4671 {
4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
4673 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj = 0;
4686 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4687 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4688 wxHtmlContainerCell *result = 0 ;
4689 void *argp1 = 0 ;
4690 int res1 = 0 ;
4691 void *argp2 = 0 ;
4692 int res2 = 0 ;
4693 PyObject * obj0 = 0 ;
4694 PyObject * obj1 = 0 ;
4695 char * kwnames[] = {
4696 (char *) "self",(char *) "c", NULL
4697 };
4698
4699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4701 if (!SWIG_IsOK(res1)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4703 }
4704 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4705 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4706 if (!SWIG_IsOK(res2)) {
4707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4708 }
4709 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4717 return resultobj;
4718 fail:
4719 return NULL;
4720 }
4721
4722
4723 SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4724 PyObject *resultobj = 0;
4725 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4726 wxHtmlContainerCell *result = 0 ;
4727 void *argp1 = 0 ;
4728 int res1 = 0 ;
4729 PyObject *swig_obj[1] ;
4730
4731 if (!args) SWIG_fail;
4732 swig_obj[0] = args;
4733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4734 if (!SWIG_IsOK(res1)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4736 }
4737 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4745 return resultobj;
4746 fail:
4747 return NULL;
4748 }
4749
4750
4751 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4752 PyObject *resultobj = 0;
4753 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4754 int result;
4755 void *argp1 = 0 ;
4756 int res1 = 0 ;
4757 PyObject *swig_obj[1] ;
4758
4759 if (!args) SWIG_fail;
4760 swig_obj[0] = args;
4761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4762 if (!SWIG_IsOK(res1)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4764 }
4765 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (int)(arg1)->GetFontSize();
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 resultobj = SWIG_From_int(static_cast< int >(result));
4773 return resultobj;
4774 fail:
4775 return NULL;
4776 }
4777
4778
4779 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4780 PyObject *resultobj = 0;
4781 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4782 int arg2 ;
4783 void *argp1 = 0 ;
4784 int res1 = 0 ;
4785 int val2 ;
4786 int ecode2 = 0 ;
4787 PyObject * obj0 = 0 ;
4788 PyObject * obj1 = 0 ;
4789 char * kwnames[] = {
4790 (char *) "self",(char *) "s", NULL
4791 };
4792
4793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4795 if (!SWIG_IsOK(res1)) {
4796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4797 }
4798 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4799 ecode2 = SWIG_AsVal_int(obj1, &val2);
4800 if (!SWIG_IsOK(ecode2)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4802 }
4803 arg2 = static_cast< int >(val2);
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 (arg1)->SetFontSize(arg2);
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_Py_Void();
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4818 PyObject *resultobj = 0;
4819 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4820 int result;
4821 void *argp1 = 0 ;
4822 int res1 = 0 ;
4823 PyObject *swig_obj[1] ;
4824
4825 if (!args) SWIG_fail;
4826 swig_obj[0] = args;
4827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4828 if (!SWIG_IsOK(res1)) {
4829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4830 }
4831 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (int)(arg1)->GetFontBold();
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 resultobj = SWIG_From_int(static_cast< int >(result));
4839 return resultobj;
4840 fail:
4841 return NULL;
4842 }
4843
4844
4845 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj = 0;
4847 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4848 int arg2 ;
4849 void *argp1 = 0 ;
4850 int res1 = 0 ;
4851 int val2 ;
4852 int ecode2 = 0 ;
4853 PyObject * obj0 = 0 ;
4854 PyObject * obj1 = 0 ;
4855 char * kwnames[] = {
4856 (char *) "self",(char *) "x", NULL
4857 };
4858
4859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4861 if (!SWIG_IsOK(res1)) {
4862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4863 }
4864 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4865 ecode2 = SWIG_AsVal_int(obj1, &val2);
4866 if (!SWIG_IsOK(ecode2)) {
4867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4868 }
4869 arg2 = static_cast< int >(val2);
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 (arg1)->SetFontBold(arg2);
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 resultobj = SWIG_Py_Void();
4877 return resultobj;
4878 fail:
4879 return NULL;
4880 }
4881
4882
4883 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4884 PyObject *resultobj = 0;
4885 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4886 int result;
4887 void *argp1 = 0 ;
4888 int res1 = 0 ;
4889 PyObject *swig_obj[1] ;
4890
4891 if (!args) SWIG_fail;
4892 swig_obj[0] = args;
4893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4894 if (!SWIG_IsOK(res1)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4896 }
4897 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = (int)(arg1)->GetFontItalic();
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = SWIG_From_int(static_cast< int >(result));
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj = 0;
4913 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4914 int arg2 ;
4915 void *argp1 = 0 ;
4916 int res1 = 0 ;
4917 int val2 ;
4918 int ecode2 = 0 ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 char * kwnames[] = {
4922 (char *) "self",(char *) "x", NULL
4923 };
4924
4925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4927 if (!SWIG_IsOK(res1)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4929 }
4930 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4931 ecode2 = SWIG_AsVal_int(obj1, &val2);
4932 if (!SWIG_IsOK(ecode2)) {
4933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4934 }
4935 arg2 = static_cast< int >(val2);
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 (arg1)->SetFontItalic(arg2);
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 resultobj = SWIG_Py_Void();
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4950 PyObject *resultobj = 0;
4951 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4952 int result;
4953 void *argp1 = 0 ;
4954 int res1 = 0 ;
4955 PyObject *swig_obj[1] ;
4956
4957 if (!args) SWIG_fail;
4958 swig_obj[0] = args;
4959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4960 if (!SWIG_IsOK(res1)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4962 }
4963 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 result = (int)(arg1)->GetFontUnderlined();
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 resultobj = SWIG_From_int(static_cast< int >(result));
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj = 0;
4979 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4980 int arg2 ;
4981 void *argp1 = 0 ;
4982 int res1 = 0 ;
4983 int val2 ;
4984 int ecode2 = 0 ;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 char * kwnames[] = {
4988 (char *) "self",(char *) "x", NULL
4989 };
4990
4991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4993 if (!SWIG_IsOK(res1)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4995 }
4996 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4997 ecode2 = SWIG_AsVal_int(obj1, &val2);
4998 if (!SWIG_IsOK(ecode2)) {
4999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5000 }
5001 arg2 = static_cast< int >(val2);
5002 {
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 (arg1)->SetFontUnderlined(arg2);
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 resultobj = SWIG_Py_Void();
5009 return resultobj;
5010 fail:
5011 return NULL;
5012 }
5013
5014
5015 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5016 PyObject *resultobj = 0;
5017 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5018 int result;
5019 void *argp1 = 0 ;
5020 int res1 = 0 ;
5021 PyObject *swig_obj[1] ;
5022
5023 if (!args) SWIG_fail;
5024 swig_obj[0] = args;
5025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5026 if (!SWIG_IsOK(res1)) {
5027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5028 }
5029 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 result = (int)(arg1)->GetFontFixed();
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 resultobj = SWIG_From_int(static_cast< int >(result));
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj = 0;
5045 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5046 int arg2 ;
5047 void *argp1 = 0 ;
5048 int res1 = 0 ;
5049 int val2 ;
5050 int ecode2 = 0 ;
5051 PyObject * obj0 = 0 ;
5052 PyObject * obj1 = 0 ;
5053 char * kwnames[] = {
5054 (char *) "self",(char *) "x", NULL
5055 };
5056
5057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5059 if (!SWIG_IsOK(res1)) {
5060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5061 }
5062 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5063 ecode2 = SWIG_AsVal_int(obj1, &val2);
5064 if (!SWIG_IsOK(ecode2)) {
5065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5066 }
5067 arg2 = static_cast< int >(val2);
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 (arg1)->SetFontFixed(arg2);
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 resultobj = SWIG_Py_Void();
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5082 PyObject *resultobj = 0;
5083 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5084 int result;
5085 void *argp1 = 0 ;
5086 int res1 = 0 ;
5087 PyObject *swig_obj[1] ;
5088
5089 if (!args) SWIG_fail;
5090 swig_obj[0] = args;
5091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5092 if (!SWIG_IsOK(res1)) {
5093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5094 }
5095 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 result = (int)(arg1)->GetAlign();
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = SWIG_From_int(static_cast< int >(result));
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj = 0;
5111 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5112 int arg2 ;
5113 void *argp1 = 0 ;
5114 int res1 = 0 ;
5115 int val2 ;
5116 int ecode2 = 0 ;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 char * kwnames[] = {
5120 (char *) "self",(char *) "a", NULL
5121 };
5122
5123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5125 if (!SWIG_IsOK(res1)) {
5126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5127 }
5128 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5129 ecode2 = SWIG_AsVal_int(obj1, &val2);
5130 if (!SWIG_IsOK(ecode2)) {
5131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5132 }
5133 arg2 = static_cast< int >(val2);
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 (arg1)->SetAlign(arg2);
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 resultobj = SWIG_Py_Void();
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5148 PyObject *resultobj = 0;
5149 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5150 wxColour result;
5151 void *argp1 = 0 ;
5152 int res1 = 0 ;
5153 PyObject *swig_obj[1] ;
5154
5155 if (!args) SWIG_fail;
5156 swig_obj[0] = args;
5157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5158 if (!SWIG_IsOK(res1)) {
5159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5160 }
5161 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 result = (arg1)->GetLinkColor();
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj = 0;
5177 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5178 wxColour *arg2 = 0 ;
5179 void *argp1 = 0 ;
5180 int res1 = 0 ;
5181 wxColour temp2 ;
5182 PyObject * obj0 = 0 ;
5183 PyObject * obj1 = 0 ;
5184 char * kwnames[] = {
5185 (char *) "self",(char *) "clr", NULL
5186 };
5187
5188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5190 if (!SWIG_IsOK(res1)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5192 }
5193 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5194 {
5195 arg2 = &temp2;
5196 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5197 }
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 (arg1)->SetLinkColor((wxColour const &)*arg2);
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_Py_Void();
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5212 PyObject *resultobj = 0;
5213 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5214 wxColour result;
5215 void *argp1 = 0 ;
5216 int res1 = 0 ;
5217 PyObject *swig_obj[1] ;
5218
5219 if (!args) SWIG_fail;
5220 swig_obj[0] = args;
5221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5222 if (!SWIG_IsOK(res1)) {
5223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5224 }
5225 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5226 {
5227 PyThreadState* __tstate = wxPyBeginAllowThreads();
5228 result = (arg1)->GetActualColor();
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5233 return resultobj;
5234 fail:
5235 return NULL;
5236 }
5237
5238
5239 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj = 0;
5241 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5242 wxColour *arg2 = 0 ;
5243 void *argp1 = 0 ;
5244 int res1 = 0 ;
5245 wxColour temp2 ;
5246 PyObject * obj0 = 0 ;
5247 PyObject * obj1 = 0 ;
5248 char * kwnames[] = {
5249 (char *) "self",(char *) "clr", NULL
5250 };
5251
5252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5254 if (!SWIG_IsOK(res1)) {
5255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5256 }
5257 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5258 {
5259 arg2 = &temp2;
5260 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 (arg1)->SetActualColor((wxColour const &)*arg2);
5265 wxPyEndAllowThreads(__tstate);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 resultobj = SWIG_Py_Void();
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj = 0;
5277 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5278 wxString *arg2 = 0 ;
5279 void *argp1 = 0 ;
5280 int res1 = 0 ;
5281 bool temp2 = false ;
5282 PyObject * obj0 = 0 ;
5283 PyObject * obj1 = 0 ;
5284 char * kwnames[] = {
5285 (char *) "self",(char *) "link", NULL
5286 };
5287
5288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5290 if (!SWIG_IsOK(res1)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5292 }
5293 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5294 {
5295 arg2 = wxString_in_helper(obj1);
5296 if (arg2 == NULL) SWIG_fail;
5297 temp2 = true;
5298 }
5299 {
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 (arg1)->SetLink((wxString const &)*arg2);
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 resultobj = SWIG_Py_Void();
5306 {
5307 if (temp2)
5308 delete arg2;
5309 }
5310 return resultobj;
5311 fail:
5312 {
5313 if (temp2)
5314 delete arg2;
5315 }
5316 return NULL;
5317 }
5318
5319
5320 SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5321 PyObject *resultobj = 0;
5322 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5323 wxFont *result = 0 ;
5324 void *argp1 = 0 ;
5325 int res1 = 0 ;
5326 PyObject *swig_obj[1] ;
5327
5328 if (!args) SWIG_fail;
5329 swig_obj[0] = args;
5330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5331 if (!SWIG_IsOK(res1)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5333 }
5334 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 result = (wxFont *)(arg1)->CreateCurrentFont();
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5349 PyObject *resultobj = 0;
5350 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5351 SwigValueWrapper<wxHtmlLinkInfo > result;
5352 void *argp1 = 0 ;
5353 int res1 = 0 ;
5354 PyObject *swig_obj[1] ;
5355
5356 if (!args) SWIG_fail;
5357 swig_obj[0] = args;
5358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5359 if (!SWIG_IsOK(res1)) {
5360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5361 }
5362 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5363 {
5364 PyThreadState* __tstate = wxPyBeginAllowThreads();
5365 result = (arg1)->GetLink();
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5377 PyObject *obj;
5378 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5379 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5380 return SWIG_Py_Void();
5381 }
5382
5383 SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5384 return SWIG_Python_InitShadowInstance(args);
5385 }
5386
5387 SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5388 PyObject *resultobj = 0;
5389 wxPyHtmlTagHandler *result = 0 ;
5390
5391 if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5395 wxPyEndAllowThreads(__tstate);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5399 return resultobj;
5400 fail:
5401 return NULL;
5402 }
5403
5404
5405 SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj = 0;
5407 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5408 PyObject *arg2 = (PyObject *) 0 ;
5409 PyObject *arg3 = (PyObject *) 0 ;
5410 void *argp1 = 0 ;
5411 int res1 = 0 ;
5412 PyObject * obj0 = 0 ;
5413 PyObject * obj1 = 0 ;
5414 PyObject * obj2 = 0 ;
5415 char * kwnames[] = {
5416 (char *) "self",(char *) "self",(char *) "_class", NULL
5417 };
5418
5419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5421 if (!SWIG_IsOK(res1)) {
5422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5423 }
5424 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5425 arg2 = obj1;
5426 arg3 = obj2;
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 (arg1)->_setCallbackInfo(arg2,arg3);
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 resultobj = SWIG_Py_Void();
5434 return resultobj;
5435 fail:
5436 return NULL;
5437 }
5438
5439
5440 SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5441 PyObject *resultobj = 0;
5442 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5443 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5444 void *argp1 = 0 ;
5445 int res1 = 0 ;
5446 void *argp2 = 0 ;
5447 int res2 = 0 ;
5448 PyObject * obj0 = 0 ;
5449 PyObject * obj1 = 0 ;
5450 char * kwnames[] = {
5451 (char *) "self",(char *) "parser", NULL
5452 };
5453
5454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5456 if (!SWIG_IsOK(res1)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5458 }
5459 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5460 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5461 if (!SWIG_IsOK(res2)) {
5462 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5463 }
5464 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 (arg1)->SetParser(arg2);
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 resultobj = SWIG_Py_Void();
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5479 PyObject *resultobj = 0;
5480 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5481 wxHtmlParser *result = 0 ;
5482 void *argp1 = 0 ;
5483 int res1 = 0 ;
5484 PyObject *swig_obj[1] ;
5485
5486 if (!args) SWIG_fail;
5487 swig_obj[0] = args;
5488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5489 if (!SWIG_IsOK(res1)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5491 }
5492 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (wxHtmlParser *)(arg1)->GetParser();
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5500 return resultobj;
5501 fail:
5502 return NULL;
5503 }
5504
5505
5506 SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj = 0;
5508 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5509 wxHtmlTag *arg2 = 0 ;
5510 void *argp1 = 0 ;
5511 int res1 = 0 ;
5512 void *argp2 = 0 ;
5513 int res2 = 0 ;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 char * kwnames[] = {
5517 (char *) "self",(char *) "tag", NULL
5518 };
5519
5520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5522 if (!SWIG_IsOK(res1)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5524 }
5525 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5526 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5527 if (!SWIG_IsOK(res2)) {
5528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5529 }
5530 if (!argp2) {
5531 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5532 }
5533 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 resultobj = SWIG_Py_Void();
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5548 PyObject *obj;
5549 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5550 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5551 return SWIG_Py_Void();
5552 }
5553
5554 SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5555 return SWIG_Python_InitShadowInstance(args);
5556 }
5557
5558 SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5559 PyObject *resultobj = 0;
5560 wxPyHtmlWinTagHandler *result = 0 ;
5561
5562 if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj = 0;
5578 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5579 PyObject *arg2 = (PyObject *) 0 ;
5580 PyObject *arg3 = (PyObject *) 0 ;
5581 void *argp1 = 0 ;
5582 int res1 = 0 ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 PyObject * obj2 = 0 ;
5586 char * kwnames[] = {
5587 (char *) "self",(char *) "self",(char *) "_class", NULL
5588 };
5589
5590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5592 if (!SWIG_IsOK(res1)) {
5593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5594 }
5595 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5596 arg2 = obj1;
5597 arg3 = obj2;
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 (arg1)->_setCallbackInfo(arg2,arg3);
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = SWIG_Py_Void();
5605 return resultobj;
5606 fail:
5607 return NULL;
5608 }
5609
5610
5611 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj = 0;
5613 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5614 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5615 void *argp1 = 0 ;
5616 int res1 = 0 ;
5617 void *argp2 = 0 ;
5618 int res2 = 0 ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5621 char * kwnames[] = {
5622 (char *) "self",(char *) "parser", NULL
5623 };
5624
5625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5627 if (!SWIG_IsOK(res1)) {
5628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5629 }
5630 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5632 if (!SWIG_IsOK(res2)) {
5633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5634 }
5635 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 (arg1)->SetParser(arg2);
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 resultobj = SWIG_Py_Void();
5643 return resultobj;
5644 fail:
5645 return NULL;
5646 }
5647
5648
5649 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5650 PyObject *resultobj = 0;
5651 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5652 wxHtmlWinParser *result = 0 ;
5653 void *argp1 = 0 ;
5654 int res1 = 0 ;
5655 PyObject *swig_obj[1] ;
5656
5657 if (!args) SWIG_fail;
5658 swig_obj[0] = args;
5659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5660 if (!SWIG_IsOK(res1)) {
5661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5662 }
5663 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5664 {
5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
5666 result = (wxHtmlWinParser *)(arg1)->GetParser();
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5671 return resultobj;
5672 fail:
5673 return NULL;
5674 }
5675
5676
5677 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5678 PyObject *resultobj = 0;
5679 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5680 wxHtmlTag *arg2 = 0 ;
5681 void *argp1 = 0 ;
5682 int res1 = 0 ;
5683 void *argp2 = 0 ;
5684 int res2 = 0 ;
5685 PyObject * obj0 = 0 ;
5686 PyObject * obj1 = 0 ;
5687 char * kwnames[] = {
5688 (char *) "self",(char *) "tag", NULL
5689 };
5690
5691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5693 if (!SWIG_IsOK(res1)) {
5694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5695 }
5696 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5697 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5698 if (!SWIG_IsOK(res2)) {
5699 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5700 }
5701 if (!argp2) {
5702 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5703 }
5704 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 resultobj = SWIG_Py_Void();
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5719 PyObject *obj;
5720 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5722 return SWIG_Py_Void();
5723 }
5724
5725 SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5726 return SWIG_Python_InitShadowInstance(args);
5727 }
5728
5729 SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5730 PyObject *resultobj = 0;
5731 PyObject *arg1 = (PyObject *) 0 ;
5732 PyObject * obj0 = 0 ;
5733 char * kwnames[] = {
5734 (char *) "tagHandlerClass", NULL
5735 };
5736
5737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5738 arg1 = obj0;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 wxHtmlWinParser_AddTagHandler(arg1);
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = SWIG_Py_Void();
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5753 PyObject *resultobj = 0;
5754 wxHtmlSelection *result = 0 ;
5755
5756 if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (wxHtmlSelection *)new wxHtmlSelection();
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5771 PyObject *resultobj = 0;
5772 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5773 void *argp1 = 0 ;
5774 int res1 = 0 ;
5775 PyObject *swig_obj[1] ;
5776
5777 if (!args) SWIG_fail;
5778 swig_obj[0] = args;
5779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5780 if (!SWIG_IsOK(res1)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5782 }
5783 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 delete arg1;
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 resultobj = SWIG_Py_Void();
5792 return resultobj;
5793 fail:
5794 return NULL;
5795 }
5796
5797
5798 SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5799 PyObject *resultobj = 0;
5800 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5801 wxPoint *arg2 = 0 ;
5802 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5803 wxPoint *arg4 = 0 ;
5804 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5805 void *argp1 = 0 ;
5806 int res1 = 0 ;
5807 wxPoint temp2 ;
5808 void *argp3 = 0 ;
5809 int res3 = 0 ;
5810 wxPoint temp4 ;
5811 void *argp5 = 0 ;
5812 int res5 = 0 ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 PyObject * obj2 = 0 ;
5816 PyObject * obj3 = 0 ;
5817 PyObject * obj4 = 0 ;
5818 char * kwnames[] = {
5819 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5820 };
5821
5822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5824 if (!SWIG_IsOK(res1)) {
5825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5826 }
5827 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5828 {
5829 arg2 = &temp2;
5830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5831 }
5832 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5833 if (!SWIG_IsOK(res3)) {
5834 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5835 }
5836 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5837 {
5838 arg4 = &temp4;
5839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5840 }
5841 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5842 if (!SWIG_IsOK(res5)) {
5843 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5844 }
5845 arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 resultobj = SWIG_Py_Void();
5853 return resultobj;
5854 fail:
5855 return NULL;
5856 }
5857
5858
5859 SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj = 0;
5861 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5862 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5863 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5864 void *argp1 = 0 ;
5865 int res1 = 0 ;
5866 void *argp2 = 0 ;
5867 int res2 = 0 ;
5868 void *argp3 = 0 ;
5869 int res3 = 0 ;
5870 PyObject * obj0 = 0 ;
5871 PyObject * obj1 = 0 ;
5872 PyObject * obj2 = 0 ;
5873 char * kwnames[] = {
5874 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5875 };
5876
5877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5879 if (!SWIG_IsOK(res1)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5881 }
5882 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5883 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5884 if (!SWIG_IsOK(res2)) {
5885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5886 }
5887 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5888 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5889 if (!SWIG_IsOK(res3)) {
5890 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5891 }
5892 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
5899 resultobj = SWIG_Py_Void();
5900 return resultobj;
5901 fail:
5902 return NULL;
5903 }
5904
5905
5906 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5907 PyObject *resultobj = 0;
5908 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5909 wxHtmlCell *result = 0 ;
5910 void *argp1 = 0 ;
5911 int res1 = 0 ;
5912 PyObject *swig_obj[1] ;
5913
5914 if (!args) SWIG_fail;
5915 swig_obj[0] = args;
5916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5917 if (!SWIG_IsOK(res1)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5919 }
5920 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5921 {
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 {
5928 resultobj = wxPyMake_wxObject(result, 0);
5929 }
5930 return resultobj;
5931 fail:
5932 return NULL;
5933 }
5934
5935
5936 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5937 PyObject *resultobj = 0;
5938 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5939 wxHtmlCell *result = 0 ;
5940 void *argp1 = 0 ;
5941 int res1 = 0 ;
5942 PyObject *swig_obj[1] ;
5943
5944 if (!args) SWIG_fail;
5945 swig_obj[0] = args;
5946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5947 if (!SWIG_IsOK(res1)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5949 }
5950 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5951 {
5952 PyThreadState* __tstate = wxPyBeginAllowThreads();
5953 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 {
5958 resultobj = wxPyMake_wxObject(result, 0);
5959 }
5960 return resultobj;
5961 fail:
5962 return NULL;
5963 }
5964
5965
5966 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5967 PyObject *resultobj = 0;
5968 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5969 wxPoint *result = 0 ;
5970 void *argp1 = 0 ;
5971 int res1 = 0 ;
5972 PyObject *swig_obj[1] ;
5973
5974 if (!args) SWIG_fail;
5975 swig_obj[0] = args;
5976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5977 if (!SWIG_IsOK(res1)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5979 }
5980 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 {
5984 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
5985 result = (wxPoint *) &_result_ref;
5986 }
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5998 PyObject *resultobj = 0;
5999 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6000 wxPoint *result = 0 ;
6001 void *argp1 = 0 ;
6002 int res1 = 0 ;
6003 PyObject *swig_obj[1] ;
6004
6005 if (!args) SWIG_fail;
6006 swig_obj[0] = args;
6007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6008 if (!SWIG_IsOK(res1)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6010 }
6011 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 {
6015 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
6016 result = (wxPoint *) &_result_ref;
6017 }
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6029 PyObject *resultobj = 0;
6030 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6031 wxPoint *result = 0 ;
6032 void *argp1 = 0 ;
6033 int res1 = 0 ;
6034 PyObject *swig_obj[1] ;
6035
6036 if (!args) SWIG_fail;
6037 swig_obj[0] = args;
6038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6039 if (!SWIG_IsOK(res1)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6041 }
6042 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 {
6046 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6047 result = (wxPoint *) &_result_ref;
6048 }
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6060 PyObject *resultobj = 0;
6061 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6062 wxPoint *result = 0 ;
6063 void *argp1 = 0 ;
6064 int res1 = 0 ;
6065 PyObject *swig_obj[1] ;
6066
6067 if (!args) SWIG_fail;
6068 swig_obj[0] = args;
6069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6070 if (!SWIG_IsOK(res1)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6072 }
6073 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 {
6077 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6078 result = (wxPoint *) &_result_ref;
6079 }
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6084 return resultobj;
6085 fail:
6086 return NULL;
6087 }
6088
6089
6090 SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj = 0;
6092 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6093 wxPoint *arg2 = 0 ;
6094 void *argp1 = 0 ;
6095 int res1 = 0 ;
6096 wxPoint temp2 ;
6097 PyObject * obj0 = 0 ;
6098 PyObject * obj1 = 0 ;
6099 char * kwnames[] = {
6100 (char *) "self",(char *) "pos", NULL
6101 };
6102
6103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6105 if (!SWIG_IsOK(res1)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6107 }
6108 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6109 {
6110 arg2 = &temp2;
6111 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6112 }
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 resultobj = SWIG_Py_Void();
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj = 0;
6128 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6129 wxPoint *arg2 = 0 ;
6130 void *argp1 = 0 ;
6131 int res1 = 0 ;
6132 wxPoint temp2 ;
6133 PyObject * obj0 = 0 ;
6134 PyObject * obj1 = 0 ;
6135 char * kwnames[] = {
6136 (char *) "self",(char *) "pos", NULL
6137 };
6138
6139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6141 if (!SWIG_IsOK(res1)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6143 }
6144 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6145 {
6146 arg2 = &temp2;
6147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6148 }
6149 {
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 resultobj = SWIG_Py_Void();
6156 return resultobj;
6157 fail:
6158 return NULL;
6159 }
6160
6161
6162 SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6163 PyObject *resultobj = 0;
6164 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6165 void *argp1 = 0 ;
6166 int res1 = 0 ;
6167 PyObject *swig_obj[1] ;
6168
6169 if (!args) SWIG_fail;
6170 swig_obj[0] = args;
6171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6172 if (!SWIG_IsOK(res1)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6174 }
6175 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->ClearPrivPos();
6179 wxPyEndAllowThreads(__tstate);
6180 if (PyErr_Occurred()) SWIG_fail;
6181 }
6182 resultobj = SWIG_Py_Void();
6183 return resultobj;
6184 fail:
6185 return NULL;
6186 }
6187
6188
6189 SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6190 PyObject *resultobj = 0;
6191 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6192 bool result;
6193 void *argp1 = 0 ;
6194 int res1 = 0 ;
6195 PyObject *swig_obj[1] ;
6196
6197 if (!args) SWIG_fail;
6198 swig_obj[0] = args;
6199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6200 if (!SWIG_IsOK(res1)) {
6201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6202 }
6203 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 resultobj = SWIG_From_bool(static_cast< bool >(result));
6211 return resultobj;
6212 fail:
6213 return NULL;
6214 }
6215
6216
6217 SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6218 PyObject *obj;
6219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6220 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6221 return SWIG_Py_Void();
6222 }
6223
6224 SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6225 return SWIG_Python_InitShadowInstance(args);
6226 }
6227
6228 SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6229 PyObject *resultobj = 0;
6230 wxHtmlRenderingState *result = 0 ;
6231
6232 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6233 {
6234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6235 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6240 return resultobj;
6241 fail:
6242 return NULL;
6243 }
6244
6245
6246 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6247 PyObject *resultobj = 0;
6248 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6249 void *argp1 = 0 ;
6250 int res1 = 0 ;
6251 PyObject *swig_obj[1] ;
6252
6253 if (!args) SWIG_fail;
6254 swig_obj[0] = args;
6255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6256 if (!SWIG_IsOK(res1)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6258 }
6259 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 delete arg1;
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 resultobj = SWIG_Py_Void();
6268 return resultobj;
6269 fail:
6270 return NULL;
6271 }
6272
6273
6274 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6275 PyObject *resultobj = 0;
6276 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6277 wxHtmlSelectionState arg2 ;
6278 void *argp1 = 0 ;
6279 int res1 = 0 ;
6280 int val2 ;
6281 int ecode2 = 0 ;
6282 PyObject * obj0 = 0 ;
6283 PyObject * obj1 = 0 ;
6284 char * kwnames[] = {
6285 (char *) "self",(char *) "s", NULL
6286 };
6287
6288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6290 if (!SWIG_IsOK(res1)) {
6291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6292 }
6293 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6294 ecode2 = SWIG_AsVal_int(obj1, &val2);
6295 if (!SWIG_IsOK(ecode2)) {
6296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6297 }
6298 arg2 = static_cast< wxHtmlSelectionState >(val2);
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 (arg1)->SetSelectionState(arg2);
6302 wxPyEndAllowThreads(__tstate);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 resultobj = SWIG_Py_Void();
6306 return resultobj;
6307 fail:
6308 return NULL;
6309 }
6310
6311
6312 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6313 PyObject *resultobj = 0;
6314 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6315 wxHtmlSelectionState result;
6316 void *argp1 = 0 ;
6317 int res1 = 0 ;
6318 PyObject *swig_obj[1] ;
6319
6320 if (!args) SWIG_fail;
6321 swig_obj[0] = args;
6322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6323 if (!SWIG_IsOK(res1)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6325 }
6326 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = SWIG_From_int(static_cast< int >(result));
6334 return resultobj;
6335 fail:
6336 return NULL;
6337 }
6338
6339
6340 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6341 PyObject *resultobj = 0;
6342 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6343 wxColour *arg2 = 0 ;
6344 void *argp1 = 0 ;
6345 int res1 = 0 ;
6346 wxColour temp2 ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 char * kwnames[] = {
6350 (char *) "self",(char *) "c", NULL
6351 };
6352
6353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6355 if (!SWIG_IsOK(res1)) {
6356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6357 }
6358 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6359 {
6360 arg2 = &temp2;
6361 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->SetFgColour((wxColour const &)*arg2);
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 resultobj = SWIG_Py_Void();
6370 return resultobj;
6371 fail:
6372 return NULL;
6373 }
6374
6375
6376 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6377 PyObject *resultobj = 0;
6378 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6379 wxColour *result = 0 ;
6380 void *argp1 = 0 ;
6381 int res1 = 0 ;
6382 PyObject *swig_obj[1] ;
6383
6384 if (!args) SWIG_fail;
6385 swig_obj[0] = args;
6386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6387 if (!SWIG_IsOK(res1)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6389 }
6390 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 {
6394 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6395 result = (wxColour *) &_result_ref;
6396 }
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6401 return resultobj;
6402 fail:
6403 return NULL;
6404 }
6405
6406
6407 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6408 PyObject *resultobj = 0;
6409 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6410 wxColour *arg2 = 0 ;
6411 void *argp1 = 0 ;
6412 int res1 = 0 ;
6413 wxColour temp2 ;
6414 PyObject * obj0 = 0 ;
6415 PyObject * obj1 = 0 ;
6416 char * kwnames[] = {
6417 (char *) "self",(char *) "c", NULL
6418 };
6419
6420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6422 if (!SWIG_IsOK(res1)) {
6423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6424 }
6425 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6426 {
6427 arg2 = &temp2;
6428 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6429 }
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 (arg1)->SetBgColour((wxColour const &)*arg2);
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 resultobj = SWIG_Py_Void();
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6444 PyObject *resultobj = 0;
6445 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6446 wxColour *result = 0 ;
6447 void *argp1 = 0 ;
6448 int res1 = 0 ;
6449 PyObject *swig_obj[1] ;
6450
6451 if (!args) SWIG_fail;
6452 swig_obj[0] = args;
6453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6454 if (!SWIG_IsOK(res1)) {
6455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6456 }
6457 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 {
6461 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6462 result = (wxColour *) &_result_ref;
6463 }
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6468 return resultobj;
6469 fail:
6470 return NULL;
6471 }
6472
6473
6474 SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6475 PyObject *obj;
6476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6477 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6478 return SWIG_Py_Void();
6479 }
6480
6481 SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6482 return SWIG_Python_InitShadowInstance(args);
6483 }
6484
6485 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj = 0;
6487 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6488 wxColour *arg2 = 0 ;
6489 wxColour result;
6490 void *argp1 = 0 ;
6491 int res1 = 0 ;
6492 wxColour temp2 ;
6493 PyObject * obj0 = 0 ;
6494 PyObject * obj1 = 0 ;
6495 char * kwnames[] = {
6496 (char *) "self",(char *) "clr", NULL
6497 };
6498
6499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6501 if (!SWIG_IsOK(res1)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6503 }
6504 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6505 {
6506 arg2 = &temp2;
6507 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6508 }
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6516 return resultobj;
6517 fail:
6518 return NULL;
6519 }
6520
6521
6522 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6523 PyObject *resultobj = 0;
6524 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6525 wxColour *arg2 = 0 ;
6526 wxColour result;
6527 void *argp1 = 0 ;
6528 int res1 = 0 ;
6529 wxColour temp2 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char * kwnames[] = {
6533 (char *) "self",(char *) "clr", NULL
6534 };
6535
6536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6538 if (!SWIG_IsOK(res1)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6540 }
6541 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6542 {
6543 arg2 = &temp2;
6544 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6545 }
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6560 PyObject *obj;
6561 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6562 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6563 return SWIG_Py_Void();
6564 }
6565
6566 SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6567 PyObject *obj;
6568 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6569 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6570 return SWIG_Py_Void();
6571 }
6572
6573 SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6574 PyObject *resultobj = 0;
6575 wxHtmlRenderingInfo *result = 0 ;
6576
6577 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6592 PyObject *resultobj = 0;
6593 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6594 void *argp1 = 0 ;
6595 int res1 = 0 ;
6596 PyObject *swig_obj[1] ;
6597
6598 if (!args) SWIG_fail;
6599 swig_obj[0] = args;
6600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6601 if (!SWIG_IsOK(res1)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6603 }
6604 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 delete arg1;
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 resultobj = SWIG_Py_Void();
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj = 0;
6621 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6622 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6623 void *argp1 = 0 ;
6624 int res1 = 0 ;
6625 void *argp2 = 0 ;
6626 int res2 = 0 ;
6627 PyObject * obj0 = 0 ;
6628 PyObject * obj1 = 0 ;
6629 char * kwnames[] = {
6630 (char *) "self",(char *) "s", NULL
6631 };
6632
6633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6635 if (!SWIG_IsOK(res1)) {
6636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6637 }
6638 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6639 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6640 if (!SWIG_IsOK(res2)) {
6641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6642 }
6643 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 (arg1)->SetSelection(arg2);
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 resultobj = SWIG_Py_Void();
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6658 PyObject *resultobj = 0;
6659 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6660 wxHtmlSelection *result = 0 ;
6661 void *argp1 = 0 ;
6662 int res1 = 0 ;
6663 PyObject *swig_obj[1] ;
6664
6665 if (!args) SWIG_fail;
6666 swig_obj[0] = args;
6667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6668 if (!SWIG_IsOK(res1)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6670 }
6671 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj = 0;
6687 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6688 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6689 void *argp1 = 0 ;
6690 int res1 = 0 ;
6691 void *argp2 = 0 ;
6692 int res2 = 0 ;
6693 PyObject * obj0 = 0 ;
6694 PyObject * obj1 = 0 ;
6695 char * kwnames[] = {
6696 (char *) "self",(char *) "style", NULL
6697 };
6698
6699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6701 if (!SWIG_IsOK(res1)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6703 }
6704 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6705 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6706 if (!SWIG_IsOK(res2)) {
6707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6708 }
6709 arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 (arg1)->SetStyle(arg2);
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 resultobj = SWIG_Py_Void();
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6724 PyObject *resultobj = 0;
6725 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6726 wxHtmlRenderingStyle *result = 0 ;
6727 void *argp1 = 0 ;
6728 int res1 = 0 ;
6729 PyObject *swig_obj[1] ;
6730
6731 if (!args) SWIG_fail;
6732 swig_obj[0] = args;
6733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6734 if (!SWIG_IsOK(res1)) {
6735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6736 }
6737 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 {
6741 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6742 result = (wxHtmlRenderingStyle *) &_result_ref;
6743 }
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
6747 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6748 return resultobj;
6749 fail:
6750 return NULL;
6751 }
6752
6753
6754 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6755 PyObject *resultobj = 0;
6756 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6757 wxHtmlRenderingState *result = 0 ;
6758 void *argp1 = 0 ;
6759 int res1 = 0 ;
6760 PyObject *swig_obj[1] ;
6761
6762 if (!args) SWIG_fail;
6763 swig_obj[0] = args;
6764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6765 if (!SWIG_IsOK(res1)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6767 }
6768 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 {
6772 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6773 result = (wxHtmlRenderingState *) &_result_ref;
6774 }
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6786 PyObject *obj;
6787 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6788 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6789 return SWIG_Py_Void();
6790 }
6791
6792 SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6793 return SWIG_Python_InitShadowInstance(args);
6794 }
6795
6796 SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6797 PyObject *resultobj = 0;
6798 wxHtmlCell *result = 0 ;
6799
6800 if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 result = (wxHtmlCell *)new wxHtmlCell();
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6815 PyObject *resultobj = 0;
6816 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6817 void *argp1 = 0 ;
6818 int res1 = 0 ;
6819 PyObject *swig_obj[1] ;
6820
6821 if (!args) SWIG_fail;
6822 swig_obj[0] = args;
6823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6824 if (!SWIG_IsOK(res1)) {
6825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6826 }
6827 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 delete arg1;
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 resultobj = SWIG_Py_Void();
6836 return resultobj;
6837 fail:
6838 return NULL;
6839 }
6840
6841
6842 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6843 PyObject *resultobj = 0;
6844 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6845 int result;
6846 void *argp1 = 0 ;
6847 int res1 = 0 ;
6848 PyObject *swig_obj[1] ;
6849
6850 if (!args) SWIG_fail;
6851 swig_obj[0] = args;
6852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6853 if (!SWIG_IsOK(res1)) {
6854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6855 }
6856 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 result = (int)(arg1)->GetPosX();
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = SWIG_From_int(static_cast< int >(result));
6864 return resultobj;
6865 fail:
6866 return NULL;
6867 }
6868
6869
6870 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6871 PyObject *resultobj = 0;
6872 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6873 int result;
6874 void *argp1 = 0 ;
6875 int res1 = 0 ;
6876 PyObject *swig_obj[1] ;
6877
6878 if (!args) SWIG_fail;
6879 swig_obj[0] = args;
6880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6881 if (!SWIG_IsOK(res1)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6883 }
6884 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 result = (int)(arg1)->GetPosY();
6888 wxPyEndAllowThreads(__tstate);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 }
6891 resultobj = SWIG_From_int(static_cast< int >(result));
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6899 PyObject *resultobj = 0;
6900 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6901 int result;
6902 void *argp1 = 0 ;
6903 int res1 = 0 ;
6904 PyObject *swig_obj[1] ;
6905
6906 if (!args) SWIG_fail;
6907 swig_obj[0] = args;
6908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6909 if (!SWIG_IsOK(res1)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6911 }
6912 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = (int)(arg1)->GetWidth();
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_From_int(static_cast< int >(result));
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6927 PyObject *resultobj = 0;
6928 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6929 int result;
6930 void *argp1 = 0 ;
6931 int res1 = 0 ;
6932 PyObject *swig_obj[1] ;
6933
6934 if (!args) SWIG_fail;
6935 swig_obj[0] = args;
6936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6937 if (!SWIG_IsOK(res1)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6939 }
6940 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6941 {
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 result = (int)(arg1)->GetHeight();
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 resultobj = SWIG_From_int(static_cast< int >(result));
6948 return resultobj;
6949 fail:
6950 return NULL;
6951 }
6952
6953
6954 SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6955 PyObject *resultobj = 0;
6956 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6957 int result;
6958 void *argp1 = 0 ;
6959 int res1 = 0 ;
6960 PyObject *swig_obj[1] ;
6961
6962 if (!args) SWIG_fail;
6963 swig_obj[0] = args;
6964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6965 if (!SWIG_IsOK(res1)) {
6966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6967 }
6968 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 result = (int)(arg1)->GetDescent();
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 resultobj = SWIG_From_int(static_cast< int >(result));
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6983 PyObject *resultobj = 0;
6984 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6985 int result;
6986 void *argp1 = 0 ;
6987 int res1 = 0 ;
6988 PyObject *swig_obj[1] ;
6989
6990 if (!args) SWIG_fail;
6991 swig_obj[0] = args;
6992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6993 if (!SWIG_IsOK(res1)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6995 }
6996 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 resultobj = SWIG_From_int(static_cast< int >(result));
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7011 PyObject *resultobj = 0;
7012 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7013 wxString *result = 0 ;
7014 void *argp1 = 0 ;
7015 int res1 = 0 ;
7016 PyObject *swig_obj[1] ;
7017
7018 if (!args) SWIG_fail;
7019 swig_obj[0] = args;
7020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7021 if (!SWIG_IsOK(res1)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7023 }
7024 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 {
7028 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7029 result = (wxString *) &_result_ref;
7030 }
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 {
7035 #if wxUSE_UNICODE
7036 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7037 #else
7038 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7039 #endif
7040 }
7041 return resultobj;
7042 fail:
7043 return NULL;
7044 }
7045
7046
7047 SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj = 0;
7049 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7050 wxString *arg2 = 0 ;
7051 void *argp1 = 0 ;
7052 int res1 = 0 ;
7053 bool temp2 = false ;
7054 PyObject * obj0 = 0 ;
7055 PyObject * obj1 = 0 ;
7056 char * kwnames[] = {
7057 (char *) "self",(char *) "id", NULL
7058 };
7059
7060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7062 if (!SWIG_IsOK(res1)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7064 }
7065 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7066 {
7067 arg2 = wxString_in_helper(obj1);
7068 if (arg2 == NULL) SWIG_fail;
7069 temp2 = true;
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 (arg1)->SetId((wxString const &)*arg2);
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = SWIG_Py_Void();
7078 {
7079 if (temp2)
7080 delete arg2;
7081 }
7082 return resultobj;
7083 fail:
7084 {
7085 if (temp2)
7086 delete arg2;
7087 }
7088 return NULL;
7089 }
7090
7091
7092 SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj = 0;
7094 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7095 int arg2 = (int) 0 ;
7096 int arg3 = (int) 0 ;
7097 wxHtmlLinkInfo *result = 0 ;
7098 void *argp1 = 0 ;
7099 int res1 = 0 ;
7100 int val2 ;
7101 int ecode2 = 0 ;
7102 int val3 ;
7103 int ecode3 = 0 ;
7104 PyObject * obj0 = 0 ;
7105 PyObject * obj1 = 0 ;
7106 PyObject * obj2 = 0 ;
7107 char * kwnames[] = {
7108 (char *) "self",(char *) "x",(char *) "y", NULL
7109 };
7110
7111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7113 if (!SWIG_IsOK(res1)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7115 }
7116 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7117 if (obj1) {
7118 ecode2 = SWIG_AsVal_int(obj1, &val2);
7119 if (!SWIG_IsOK(ecode2)) {
7120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7121 }
7122 arg2 = static_cast< int >(val2);
7123 }
7124 if (obj2) {
7125 ecode3 = SWIG_AsVal_int(obj2, &val3);
7126 if (!SWIG_IsOK(ecode3)) {
7127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7128 }
7129 arg3 = static_cast< int >(val3);
7130 }
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7138 return resultobj;
7139 fail:
7140 return NULL;
7141 }
7142
7143
7144 SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7145 PyObject *resultobj = 0;
7146 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7147 wxHtmlCell *result = 0 ;
7148 void *argp1 = 0 ;
7149 int res1 = 0 ;
7150 PyObject *swig_obj[1] ;
7151
7152 if (!args) SWIG_fail;
7153 swig_obj[0] = args;
7154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7155 if (!SWIG_IsOK(res1)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7157 }
7158 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (wxHtmlCell *)(arg1)->GetNext();
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 {
7166 resultobj = wxPyMake_wxObject(result, 0);
7167 }
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7175 PyObject *resultobj = 0;
7176 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7177 wxHtmlContainerCell *result = 0 ;
7178 void *argp1 = 0 ;
7179 int res1 = 0 ;
7180 PyObject *swig_obj[1] ;
7181
7182 if (!args) SWIG_fail;
7183 swig_obj[0] = args;
7184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7185 if (!SWIG_IsOK(res1)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7187 }
7188 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (wxHtmlContainerCell *)(arg1)->GetParent();
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) SWIG_fail;
7194 }
7195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7196 return resultobj;
7197 fail:
7198 return NULL;
7199 }
7200
7201
7202 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7203 PyObject *resultobj = 0;
7204 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7205 wxHtmlCell *result = 0 ;
7206 void *argp1 = 0 ;
7207 int res1 = 0 ;
7208 PyObject *swig_obj[1] ;
7209
7210 if (!args) SWIG_fail;
7211 swig_obj[0] = args;
7212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7213 if (!SWIG_IsOK(res1)) {
7214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7215 }
7216 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7217 {
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 {
7224 resultobj = wxPyMake_wxObject(result, 0);
7225 }
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj = 0;
7234 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7235 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7236 wxCursor result;
7237 void *argp1 = 0 ;
7238 int res1 = 0 ;
7239 void *argp2 = 0 ;
7240 int res2 = 0 ;
7241 PyObject * obj0 = 0 ;
7242 PyObject * obj1 = 0 ;
7243 char * kwnames[] = {
7244 (char *) "self",(char *) "window", NULL
7245 };
7246
7247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7249 if (!SWIG_IsOK(res1)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7251 }
7252 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7253 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7254 if (!SWIG_IsOK(res2)) {
7255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7256 }
7257 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7272 PyObject *resultobj = 0;
7273 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7274 wxCursor result;
7275 void *argp1 = 0 ;
7276 int res1 = 0 ;
7277 PyObject *swig_obj[1] ;
7278
7279 if (!args) SWIG_fail;
7280 swig_obj[0] = args;
7281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7282 if (!SWIG_IsOK(res1)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7284 }
7285 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7286 {
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 result = ((wxHtmlCell const *)arg1)->GetCursor();
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7293 return resultobj;
7294 fail:
7295 return NULL;
7296 }
7297
7298
7299 SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7300 PyObject *resultobj = 0;
7301 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7302 bool result;
7303 void *argp1 = 0 ;
7304 int res1 = 0 ;
7305 PyObject *swig_obj[1] ;
7306
7307 if (!args) SWIG_fail;
7308 swig_obj[0] = args;
7309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7310 if (!SWIG_IsOK(res1)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7312 }
7313 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 {
7321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7322 }
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7330 PyObject *resultobj = 0;
7331 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7332 wxHtmlLinkInfo *arg2 = 0 ;
7333 void *argp1 = 0 ;
7334 int res1 = 0 ;
7335 void *argp2 = 0 ;
7336 int res2 = 0 ;
7337 PyObject * obj0 = 0 ;
7338 PyObject * obj1 = 0 ;
7339 char * kwnames[] = {
7340 (char *) "self",(char *) "link", NULL
7341 };
7342
7343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7345 if (!SWIG_IsOK(res1)) {
7346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7347 }
7348 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7350 if (!SWIG_IsOK(res2)) {
7351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7352 }
7353 if (!argp2) {
7354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7355 }
7356 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7357 {
7358 PyThreadState* __tstate = wxPyBeginAllowThreads();
7359 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 resultobj = SWIG_Py_Void();
7364 return resultobj;
7365 fail:
7366 return NULL;
7367 }
7368
7369
7370 SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj = 0;
7372 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7373 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7374 int res1 = 0 ;
7375 int res2 = 0 ;
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 char * kwnames[] = {
7379 (char *) "self",(char *) "cell", NULL
7380 };
7381
7382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7383 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7384 if (!SWIG_IsOK(res1)) {
7385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7386 }
7387 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7388 if (!SWIG_IsOK(res2)) {
7389 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7390 }
7391 {
7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7393 (arg1)->SetNext(arg2);
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 resultobj = SWIG_Py_Void();
7398 return resultobj;
7399 fail:
7400 return NULL;
7401 }
7402
7403
7404 SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj = 0;
7406 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7407 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7408 void *argp1 = 0 ;
7409 int res1 = 0 ;
7410 void *argp2 = 0 ;
7411 int res2 = 0 ;
7412 PyObject * obj0 = 0 ;
7413 PyObject * obj1 = 0 ;
7414 char * kwnames[] = {
7415 (char *) "self",(char *) "p", NULL
7416 };
7417
7418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7420 if (!SWIG_IsOK(res1)) {
7421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7422 }
7423 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7424 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7425 if (!SWIG_IsOK(res2)) {
7426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7427 }
7428 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 (arg1)->SetParent(arg2);
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 resultobj = SWIG_Py_Void();
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj = 0;
7444 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7445 int arg2 ;
7446 int arg3 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 int val2 ;
7450 int ecode2 = 0 ;
7451 int val3 ;
7452 int ecode3 = 0 ;
7453 PyObject * obj0 = 0 ;
7454 PyObject * obj1 = 0 ;
7455 PyObject * obj2 = 0 ;
7456 char * kwnames[] = {
7457 (char *) "self",(char *) "x",(char *) "y", NULL
7458 };
7459
7460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7462 if (!SWIG_IsOK(res1)) {
7463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7464 }
7465 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7466 ecode2 = SWIG_AsVal_int(obj1, &val2);
7467 if (!SWIG_IsOK(ecode2)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7469 }
7470 arg2 = static_cast< int >(val2);
7471 ecode3 = SWIG_AsVal_int(obj2, &val3);
7472 if (!SWIG_IsOK(ecode3)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7474 }
7475 arg3 = static_cast< int >(val3);
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 (arg1)->SetPos(arg2,arg3);
7479 wxPyEndAllowThreads(__tstate);
7480 if (PyErr_Occurred()) SWIG_fail;
7481 }
7482 resultobj = SWIG_Py_Void();
7483 return resultobj;
7484 fail:
7485 return NULL;
7486 }
7487
7488
7489 SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj = 0;
7491 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7492 int arg2 ;
7493 void *argp1 = 0 ;
7494 int res1 = 0 ;
7495 int val2 ;
7496 int ecode2 = 0 ;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 char * kwnames[] = {
7500 (char *) "self",(char *) "w", NULL
7501 };
7502
7503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7505 if (!SWIG_IsOK(res1)) {
7506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7507 }
7508 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7509 ecode2 = SWIG_AsVal_int(obj1, &val2);
7510 if (!SWIG_IsOK(ecode2)) {
7511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7512 }
7513 arg2 = static_cast< int >(val2);
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 (arg1)->Layout(arg2);
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = SWIG_Py_Void();
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj = 0;
7529 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7530 wxDC *arg2 = 0 ;
7531 int arg3 ;
7532 int arg4 ;
7533 int arg5 ;
7534 int arg6 ;
7535 wxHtmlRenderingInfo *arg7 = 0 ;
7536 void *argp1 = 0 ;
7537 int res1 = 0 ;
7538 void *argp2 = 0 ;
7539 int res2 = 0 ;
7540 int val3 ;
7541 int ecode3 = 0 ;
7542 int val4 ;
7543 int ecode4 = 0 ;
7544 int val5 ;
7545 int ecode5 = 0 ;
7546 int val6 ;
7547 int ecode6 = 0 ;
7548 void *argp7 = 0 ;
7549 int res7 = 0 ;
7550 PyObject * obj0 = 0 ;
7551 PyObject * obj1 = 0 ;
7552 PyObject * obj2 = 0 ;
7553 PyObject * obj3 = 0 ;
7554 PyObject * obj4 = 0 ;
7555 PyObject * obj5 = 0 ;
7556 PyObject * obj6 = 0 ;
7557 char * kwnames[] = {
7558 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7559 };
7560
7561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7563 if (!SWIG_IsOK(res1)) {
7564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7565 }
7566 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7568 if (!SWIG_IsOK(res2)) {
7569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7570 }
7571 if (!argp2) {
7572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7573 }
7574 arg2 = reinterpret_cast< wxDC * >(argp2);
7575 ecode3 = SWIG_AsVal_int(obj2, &val3);
7576 if (!SWIG_IsOK(ecode3)) {
7577 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7578 }
7579 arg3 = static_cast< int >(val3);
7580 ecode4 = SWIG_AsVal_int(obj3, &val4);
7581 if (!SWIG_IsOK(ecode4)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7583 }
7584 arg4 = static_cast< int >(val4);
7585 ecode5 = SWIG_AsVal_int(obj4, &val5);
7586 if (!SWIG_IsOK(ecode5)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7588 }
7589 arg5 = static_cast< int >(val5);
7590 ecode6 = SWIG_AsVal_int(obj5, &val6);
7591 if (!SWIG_IsOK(ecode6)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7593 }
7594 arg6 = static_cast< int >(val6);
7595 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7596 if (!SWIG_IsOK(res7)) {
7597 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7598 }
7599 if (!argp7) {
7600 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7601 }
7602 arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7606 wxPyEndAllowThreads(__tstate);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 }
7609 resultobj = SWIG_Py_Void();
7610 return resultobj;
7611 fail:
7612 return NULL;
7613 }
7614
7615
7616 SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7617 PyObject *resultobj = 0;
7618 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7619 wxDC *arg2 = 0 ;
7620 int arg3 ;
7621 int arg4 ;
7622 wxHtmlRenderingInfo *arg5 = 0 ;
7623 void *argp1 = 0 ;
7624 int res1 = 0 ;
7625 void *argp2 = 0 ;
7626 int res2 = 0 ;
7627 int val3 ;
7628 int ecode3 = 0 ;
7629 int val4 ;
7630 int ecode4 = 0 ;
7631 void *argp5 = 0 ;
7632 int res5 = 0 ;
7633 PyObject * obj0 = 0 ;
7634 PyObject * obj1 = 0 ;
7635 PyObject * obj2 = 0 ;
7636 PyObject * obj3 = 0 ;
7637 PyObject * obj4 = 0 ;
7638 char * kwnames[] = {
7639 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7640 };
7641
7642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7644 if (!SWIG_IsOK(res1)) {
7645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7646 }
7647 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7648 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7649 if (!SWIG_IsOK(res2)) {
7650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7651 }
7652 if (!argp2) {
7653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7654 }
7655 arg2 = reinterpret_cast< wxDC * >(argp2);
7656 ecode3 = SWIG_AsVal_int(obj2, &val3);
7657 if (!SWIG_IsOK(ecode3)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7659 }
7660 arg3 = static_cast< int >(val3);
7661 ecode4 = SWIG_AsVal_int(obj3, &val4);
7662 if (!SWIG_IsOK(ecode4)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7664 }
7665 arg4 = static_cast< int >(val4);
7666 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7667 if (!SWIG_IsOK(res5)) {
7668 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7669 }
7670 if (!argp5) {
7671 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7672 }
7673 arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 resultobj = SWIG_Py_Void();
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj = 0;
7689 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7690 int arg2 ;
7691 void *arg3 = (void *) 0 ;
7692 wxHtmlCell *result = 0 ;
7693 void *argp1 = 0 ;
7694 int res1 = 0 ;
7695 int val2 ;
7696 int ecode2 = 0 ;
7697 int res3 ;
7698 PyObject * obj0 = 0 ;
7699 PyObject * obj1 = 0 ;
7700 PyObject * obj2 = 0 ;
7701 char * kwnames[] = {
7702 (char *) "self",(char *) "condition",(char *) "param", NULL
7703 };
7704
7705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7707 if (!SWIG_IsOK(res1)) {
7708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7709 }
7710 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7711 ecode2 = SWIG_AsVal_int(obj1, &val2);
7712 if (!SWIG_IsOK(ecode2)) {
7713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7714 }
7715 arg2 = static_cast< int >(val2);
7716 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7717 if (!SWIG_IsOK(res3)) {
7718 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7719 }
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 {
7727 resultobj = wxPyMake_wxObject(result, 0);
7728 }
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj = 0;
7737 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7738 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7739 wxPoint *arg3 = 0 ;
7740 wxMouseEvent *arg4 = 0 ;
7741 bool result;
7742 void *argp1 = 0 ;
7743 int res1 = 0 ;
7744 void *argp2 = 0 ;
7745 int res2 = 0 ;
7746 wxPoint temp3 ;
7747 void *argp4 = 0 ;
7748 int res4 = 0 ;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751 PyObject * obj2 = 0 ;
7752 PyObject * obj3 = 0 ;
7753 char * kwnames[] = {
7754 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7755 };
7756
7757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7759 if (!SWIG_IsOK(res1)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7761 }
7762 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7763 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7764 if (!SWIG_IsOK(res2)) {
7765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7766 }
7767 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7768 {
7769 arg3 = &temp3;
7770 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7771 }
7772 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7773 if (!SWIG_IsOK(res4)) {
7774 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7775 }
7776 if (!argp4) {
7777 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7778 }
7779 arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 {
7787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7788 }
7789 return resultobj;
7790 fail:
7791 return NULL;
7792 }
7793
7794
7795 SWIGINTERN PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj = 0;
7797 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7798 int *arg2 = (int *) 0 ;
7799 bool result;
7800 void *argp1 = 0 ;
7801 int res1 = 0 ;
7802 int temp2 ;
7803 int res2 = 0 ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char * kwnames[] = {
7807 (char *) "self",(char *) "INOUT", NULL
7808 };
7809
7810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7812 if (!SWIG_IsOK(res1)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7814 }
7815 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7816 if (!(SWIG_IsOK((res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2),SWIGTYPE_p_int,0))))) {
7817 int val;
7818 int ecode = SWIG_AsVal_int(obj1, &val);
7819 if (!SWIG_IsOK(ecode)) {
7820 SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "2"" of type '" "int""'");
7821 }
7822 temp2 = static_cast< int >(val);
7823 arg2 = &temp2;
7824 res2 = SWIG_AddTmpMask(ecode);
7825 }
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 result = (bool)(arg1)->AdjustPagebreak(arg2);
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 {
7833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7834 }
7835 if (SWIG_IsTmpObj(res2)) {
7836 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
7837 } else {
7838 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
7840 }
7841 return resultobj;
7842 fail:
7843 return NULL;
7844 }
7845
7846
7847 SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj = 0;
7849 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7850 bool arg2 ;
7851 void *argp1 = 0 ;
7852 int res1 = 0 ;
7853 bool val2 ;
7854 int ecode2 = 0 ;
7855 PyObject * obj0 = 0 ;
7856 PyObject * obj1 = 0 ;
7857 char * kwnames[] = {
7858 (char *) "self",(char *) "can", NULL
7859 };
7860
7861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7863 if (!SWIG_IsOK(res1)) {
7864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7865 }
7866 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7867 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7868 if (!SWIG_IsOK(ecode2)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7870 }
7871 arg2 = static_cast< bool >(val2);
7872 {
7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
7874 (arg1)->SetCanLiveOnPagebreak(arg2);
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 resultobj = SWIG_Py_Void();
7879 return resultobj;
7880 fail:
7881 return NULL;
7882 }
7883
7884
7885 SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7886 PyObject *resultobj = 0;
7887 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7888 bool result;
7889 void *argp1 = 0 ;
7890 int res1 = 0 ;
7891 PyObject *swig_obj[1] ;
7892
7893 if (!args) SWIG_fail;
7894 swig_obj[0] = args;
7895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7896 if (!SWIG_IsOK(res1)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7898 }
7899 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 {
7907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7908 }
7909 return resultobj;
7910 fail:
7911 return NULL;
7912 }
7913
7914
7915 SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7916 PyObject *resultobj = 0;
7917 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7918 bool result;
7919 void *argp1 = 0 ;
7920 int res1 = 0 ;
7921 PyObject *swig_obj[1] ;
7922
7923 if (!args) SWIG_fail;
7924 swig_obj[0] = args;
7925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7926 if (!SWIG_IsOK(res1)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7928 }
7929 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 {
7937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7938 }
7939 return resultobj;
7940 fail:
7941 return NULL;
7942 }
7943
7944
7945 SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7946 PyObject *resultobj = 0;
7947 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7948 int arg2 ;
7949 int arg3 ;
7950 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7951 wxHtmlCell *result = 0 ;
7952 void *argp1 = 0 ;
7953 int res1 = 0 ;
7954 int val2 ;
7955 int ecode2 = 0 ;
7956 int val3 ;
7957 int ecode3 = 0 ;
7958 unsigned int val4 ;
7959 int ecode4 = 0 ;
7960 PyObject * obj0 = 0 ;
7961 PyObject * obj1 = 0 ;
7962 PyObject * obj2 = 0 ;
7963 PyObject * obj3 = 0 ;
7964 char * kwnames[] = {
7965 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7966 };
7967
7968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7970 if (!SWIG_IsOK(res1)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7972 }
7973 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7974 ecode2 = SWIG_AsVal_int(obj1, &val2);
7975 if (!SWIG_IsOK(ecode2)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7977 }
7978 arg2 = static_cast< int >(val2);
7979 ecode3 = SWIG_AsVal_int(obj2, &val3);
7980 if (!SWIG_IsOK(ecode3)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7982 }
7983 arg3 = static_cast< int >(val3);
7984 if (obj3) {
7985 ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7986 if (!SWIG_IsOK(ecode4)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7988 }
7989 arg4 = static_cast< unsigned int >(val4);
7990 }
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 {
7998 resultobj = wxPyMake_wxObject(result, 0);
7999 }
8000 return resultobj;
8001 fail:
8002 return NULL;
8003 }
8004
8005
8006 SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8007 PyObject *resultobj = 0;
8008 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8009 wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
8010 wxPoint result;
8011 void *argp1 = 0 ;
8012 int res1 = 0 ;
8013 void *argp2 = 0 ;
8014 int res2 = 0 ;
8015 PyObject * obj0 = 0 ;
8016 PyObject * obj1 = 0 ;
8017 char * kwnames[] = {
8018 (char *) "self",(char *) "rootCell", NULL
8019 };
8020
8021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
8022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8023 if (!SWIG_IsOK(res1)) {
8024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8025 }
8026 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8027 if (obj1) {
8028 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8029 if (!SWIG_IsOK(res2)) {
8030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8031 }
8032 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8033 }
8034 {
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8048 PyObject *resultobj = 0;
8049 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8050 wxHtmlCell *result = 0 ;
8051 void *argp1 = 0 ;
8052 int res1 = 0 ;
8053 PyObject *swig_obj[1] ;
8054
8055 if (!args) SWIG_fail;
8056 swig_obj[0] = args;
8057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8058 if (!SWIG_IsOK(res1)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8060 }
8061 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 {
8069 resultobj = wxPyMake_wxObject(result, 0);
8070 }
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8078 PyObject *resultobj = 0;
8079 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8080 wxHtmlCell *result = 0 ;
8081 void *argp1 = 0 ;
8082 int res1 = 0 ;
8083 PyObject *swig_obj[1] ;
8084
8085 if (!args) SWIG_fail;
8086 swig_obj[0] = args;
8087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8088 if (!SWIG_IsOK(res1)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8090 }
8091 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 {
8099 resultobj = wxPyMake_wxObject(result, 0);
8100 }
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8108 PyObject *resultobj = 0;
8109 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8110 wxHtmlCell *result = 0 ;
8111 void *argp1 = 0 ;
8112 int res1 = 0 ;
8113 PyObject *swig_obj[1] ;
8114
8115 if (!args) SWIG_fail;
8116 swig_obj[0] = args;
8117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8118 if (!SWIG_IsOK(res1)) {
8119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8120 }
8121 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 {
8129 resultobj = wxPyMake_wxObject(result, 0);
8130 }
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8138 PyObject *resultobj = 0;
8139 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8140 unsigned int result;
8141 void *argp1 = 0 ;
8142 int res1 = 0 ;
8143 PyObject *swig_obj[1] ;
8144
8145 if (!args) SWIG_fail;
8146 swig_obj[0] = args;
8147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8148 if (!SWIG_IsOK(res1)) {
8149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8150 }
8151 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8159 return resultobj;
8160 fail:
8161 return NULL;
8162 }
8163
8164
8165 SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj = 0;
8167 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8168 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8169 bool result;
8170 void *argp1 = 0 ;
8171 int res1 = 0 ;
8172 void *argp2 = 0 ;
8173 int res2 = 0 ;
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 char * kwnames[] = {
8177 (char *) "self",(char *) "cell", NULL
8178 };
8179
8180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8182 if (!SWIG_IsOK(res1)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8184 }
8185 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8187 if (!SWIG_IsOK(res2)) {
8188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8189 }
8190 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 {
8198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8199 }
8200 return resultobj;
8201 fail:
8202 return NULL;
8203 }
8204
8205
8206 SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj = 0;
8208 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8209 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8210 wxString result;
8211 void *argp1 = 0 ;
8212 int res1 = 0 ;
8213 void *argp2 = 0 ;
8214 int res2 = 0 ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 char * kwnames[] = {
8218 (char *) "self",(char *) "sel", NULL
8219 };
8220
8221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8223 if (!SWIG_IsOK(res1)) {
8224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8225 }
8226 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8228 if (!SWIG_IsOK(res2)) {
8229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8230 }
8231 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 {
8239 #if wxUSE_UNICODE
8240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8241 #else
8242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8243 #endif
8244 }
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8252 PyObject *obj;
8253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8254 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8255 return SWIG_Py_Void();
8256 }
8257
8258 SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8259 return SWIG_Python_InitShadowInstance(args);
8260 }
8261
8262 SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj = 0;
8264 wxString *arg1 = 0 ;
8265 wxDC *arg2 = 0 ;
8266 wxHtmlWordCell *result = 0 ;
8267 bool temp1 = false ;
8268 void *argp2 = 0 ;
8269 int res2 = 0 ;
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 char * kwnames[] = {
8273 (char *) "word",(char *) "dc", NULL
8274 };
8275
8276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8277 {
8278 arg1 = wxString_in_helper(obj0);
8279 if (arg1 == NULL) SWIG_fail;
8280 temp1 = true;
8281 }
8282 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8283 if (!SWIG_IsOK(res2)) {
8284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8285 }
8286 if (!argp2) {
8287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8288 }
8289 arg2 = reinterpret_cast< wxDC * >(argp2);
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8297 {
8298 if (temp1)
8299 delete arg1;
8300 }
8301 return resultobj;
8302 fail:
8303 {
8304 if (temp1)
8305 delete arg1;
8306 }
8307 return NULL;
8308 }
8309
8310
8311 SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj = 0;
8313 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8314 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8315 wxString result;
8316 void *argp1 = 0 ;
8317 int res1 = 0 ;
8318 void *argp2 = 0 ;
8319 int res2 = 0 ;
8320 PyObject * obj0 = 0 ;
8321 PyObject * obj1 = 0 ;
8322 char * kwnames[] = {
8323 (char *) "self",(char *) "sel", NULL
8324 };
8325
8326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8328 if (!SWIG_IsOK(res1)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8330 }
8331 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8332 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8333 if (!SWIG_IsOK(res2)) {
8334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8335 }
8336 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 {
8344 #if wxUSE_UNICODE
8345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8346 #else
8347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8348 #endif
8349 }
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8357 PyObject *resultobj = 0;
8358 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8359 bool result;
8360 void *argp1 = 0 ;
8361 int res1 = 0 ;
8362 PyObject *swig_obj[1] ;
8363
8364 if (!args) SWIG_fail;
8365 swig_obj[0] = args;
8366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8367 if (!SWIG_IsOK(res1)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8369 }
8370 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 {
8378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8379 }
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj = 0;
8388 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8389 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8390 void *argp1 = 0 ;
8391 int res1 = 0 ;
8392 void *argp2 = 0 ;
8393 int res2 = 0 ;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 char * kwnames[] = {
8397 (char *) "self",(char *) "cell", NULL
8398 };
8399
8400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8402 if (!SWIG_IsOK(res1)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8404 }
8405 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8406 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8407 if (!SWIG_IsOK(res2)) {
8408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8409 }
8410 arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->SetPreviousWord(arg2);
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 resultobj = SWIG_Py_Void();
8418 return resultobj;
8419 fail:
8420 return NULL;
8421 }
8422
8423
8424 SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8425 PyObject *obj;
8426 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8427 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8428 return SWIG_Py_Void();
8429 }
8430
8431 SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8432 return SWIG_Python_InitShadowInstance(args);
8433 }
8434
8435 SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj = 0;
8437 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8438 wxHtmlContainerCell *result = 0 ;
8439 void *argp1 = 0 ;
8440 int res1 = 0 ;
8441 PyObject * obj0 = 0 ;
8442 char * kwnames[] = {
8443 (char *) "parent", NULL
8444 };
8445
8446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8448 if (!SWIG_IsOK(res1)) {
8449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8450 }
8451 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj = 0;
8467 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8468 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8469 void *argp1 = 0 ;
8470 int res1 = 0 ;
8471 int res2 = 0 ;
8472 PyObject * obj0 = 0 ;
8473 PyObject * obj1 = 0 ;
8474 char * kwnames[] = {
8475 (char *) "self",(char *) "cell", NULL
8476 };
8477
8478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8480 if (!SWIG_IsOK(res1)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8482 }
8483 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8484 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8485 if (!SWIG_IsOK(res2)) {
8486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8487 }
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 (arg1)->InsertCell(arg2);
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = SWIG_Py_Void();
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj = 0;
8503 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8504 int arg2 ;
8505 void *argp1 = 0 ;
8506 int res1 = 0 ;
8507 int val2 ;
8508 int ecode2 = 0 ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 char * kwnames[] = {
8512 (char *) "self",(char *) "al", NULL
8513 };
8514
8515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8517 if (!SWIG_IsOK(res1)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8519 }
8520 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8521 ecode2 = SWIG_AsVal_int(obj1, &val2);
8522 if (!SWIG_IsOK(ecode2)) {
8523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8524 }
8525 arg2 = static_cast< int >(val2);
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 (arg1)->SetAlignHor(arg2);
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = SWIG_Py_Void();
8533 return resultobj;
8534 fail:
8535 return NULL;
8536 }
8537
8538
8539 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8540 PyObject *resultobj = 0;
8541 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8542 int result;
8543 void *argp1 = 0 ;
8544 int res1 = 0 ;
8545 PyObject *swig_obj[1] ;
8546
8547 if (!args) SWIG_fail;
8548 swig_obj[0] = args;
8549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8550 if (!SWIG_IsOK(res1)) {
8551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8552 }
8553 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (int)(arg1)->GetAlignHor();
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = SWIG_From_int(static_cast< int >(result));
8561 return resultobj;
8562 fail:
8563 return NULL;
8564 }
8565
8566
8567 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj = 0;
8569 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8570 int arg2 ;
8571 void *argp1 = 0 ;
8572 int res1 = 0 ;
8573 int val2 ;
8574 int ecode2 = 0 ;
8575 PyObject * obj0 = 0 ;
8576 PyObject * obj1 = 0 ;
8577 char * kwnames[] = {
8578 (char *) "self",(char *) "al", NULL
8579 };
8580
8581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8583 if (!SWIG_IsOK(res1)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8585 }
8586 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8587 ecode2 = SWIG_AsVal_int(obj1, &val2);
8588 if (!SWIG_IsOK(ecode2)) {
8589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8590 }
8591 arg2 = static_cast< int >(val2);
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 (arg1)->SetAlignVer(arg2);
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 resultobj = SWIG_Py_Void();
8599 return resultobj;
8600 fail:
8601 return NULL;
8602 }
8603
8604
8605 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8606 PyObject *resultobj = 0;
8607 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8608 int result;
8609 void *argp1 = 0 ;
8610 int res1 = 0 ;
8611 PyObject *swig_obj[1] ;
8612
8613 if (!args) SWIG_fail;
8614 swig_obj[0] = args;
8615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8616 if (!SWIG_IsOK(res1)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8618 }
8619 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8620 {
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 result = (int)(arg1)->GetAlignVer();
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 resultobj = SWIG_From_int(static_cast< int >(result));
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj = 0;
8635 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8636 int arg2 ;
8637 int arg3 ;
8638 int arg4 = (int) wxHTML_UNITS_PIXELS ;
8639 void *argp1 = 0 ;
8640 int res1 = 0 ;
8641 int val2 ;
8642 int ecode2 = 0 ;
8643 int val3 ;
8644 int ecode3 = 0 ;
8645 int val4 ;
8646 int ecode4 = 0 ;
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
8649 PyObject * obj2 = 0 ;
8650 PyObject * obj3 = 0 ;
8651 char * kwnames[] = {
8652 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8653 };
8654
8655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8657 if (!SWIG_IsOK(res1)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8659 }
8660 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8661 ecode2 = SWIG_AsVal_int(obj1, &val2);
8662 if (!SWIG_IsOK(ecode2)) {
8663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8664 }
8665 arg2 = static_cast< int >(val2);
8666 ecode3 = SWIG_AsVal_int(obj2, &val3);
8667 if (!SWIG_IsOK(ecode3)) {
8668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8669 }
8670 arg3 = static_cast< int >(val3);
8671 if (obj3) {
8672 ecode4 = SWIG_AsVal_int(obj3, &val4);
8673 if (!SWIG_IsOK(ecode4)) {
8674 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8675 }
8676 arg4 = static_cast< int >(val4);
8677 }
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 (arg1)->SetIndent(arg2,arg3,arg4);
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 resultobj = SWIG_Py_Void();
8685 return resultobj;
8686 fail:
8687 return NULL;
8688 }
8689
8690
8691 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8692 PyObject *resultobj = 0;
8693 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8694 int arg2 ;
8695 int result;
8696 void *argp1 = 0 ;
8697 int res1 = 0 ;
8698 int val2 ;
8699 int ecode2 = 0 ;
8700 PyObject * obj0 = 0 ;
8701 PyObject * obj1 = 0 ;
8702 char * kwnames[] = {
8703 (char *) "self",(char *) "ind", NULL
8704 };
8705
8706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8708 if (!SWIG_IsOK(res1)) {
8709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8710 }
8711 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8712 ecode2 = SWIG_AsVal_int(obj1, &val2);
8713 if (!SWIG_IsOK(ecode2)) {
8714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8715 }
8716 arg2 = static_cast< int >(val2);
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (int)(arg1)->GetIndent(arg2);
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 resultobj = SWIG_From_int(static_cast< int >(result));
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj = 0;
8732 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8733 int arg2 ;
8734 int result;
8735 void *argp1 = 0 ;
8736 int res1 = 0 ;
8737 int val2 ;
8738 int ecode2 = 0 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 char * kwnames[] = {
8742 (char *) "self",(char *) "ind", NULL
8743 };
8744
8745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8747 if (!SWIG_IsOK(res1)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8749 }
8750 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8751 ecode2 = SWIG_AsVal_int(obj1, &val2);
8752 if (!SWIG_IsOK(ecode2)) {
8753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8754 }
8755 arg2 = static_cast< int >(val2);
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 result = (int)(arg1)->GetIndentUnits(arg2);
8759 wxPyEndAllowThreads(__tstate);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 resultobj = SWIG_From_int(static_cast< int >(result));
8763 return resultobj;
8764 fail:
8765 return NULL;
8766 }
8767
8768
8769 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8770 PyObject *resultobj = 0;
8771 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8772 wxHtmlTag *arg2 = 0 ;
8773 void *argp1 = 0 ;
8774 int res1 = 0 ;
8775 void *argp2 = 0 ;
8776 int res2 = 0 ;
8777 PyObject * obj0 = 0 ;
8778 PyObject * obj1 = 0 ;
8779 char * kwnames[] = {
8780 (char *) "self",(char *) "tag", NULL
8781 };
8782
8783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8785 if (!SWIG_IsOK(res1)) {
8786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8787 }
8788 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8789 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8790 if (!SWIG_IsOK(res2)) {
8791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8792 }
8793 if (!argp2) {
8794 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8795 }
8796 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = SWIG_Py_Void();
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj = 0;
8812 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8813 int arg2 ;
8814 int arg3 ;
8815 void *argp1 = 0 ;
8816 int res1 = 0 ;
8817 int val2 ;
8818 int ecode2 = 0 ;
8819 int val3 ;
8820 int ecode3 = 0 ;
8821 PyObject * obj0 = 0 ;
8822 PyObject * obj1 = 0 ;
8823 PyObject * obj2 = 0 ;
8824 char * kwnames[] = {
8825 (char *) "self",(char *) "w",(char *) "units", NULL
8826 };
8827
8828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8830 if (!SWIG_IsOK(res1)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8832 }
8833 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8834 ecode2 = SWIG_AsVal_int(obj1, &val2);
8835 if (!SWIG_IsOK(ecode2)) {
8836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8837 }
8838 arg2 = static_cast< int >(val2);
8839 ecode3 = SWIG_AsVal_int(obj2, &val3);
8840 if (!SWIG_IsOK(ecode3)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8842 }
8843 arg3 = static_cast< int >(val3);
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 (arg1)->SetWidthFloat(arg2,arg3);
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = SWIG_Py_Void();
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj = 0;
8859 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8860 wxHtmlTag *arg2 = 0 ;
8861 void *argp1 = 0 ;
8862 int res1 = 0 ;
8863 void *argp2 = 0 ;
8864 int res2 = 0 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 char * kwnames[] = {
8868 (char *) "self",(char *) "tag", NULL
8869 };
8870
8871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8873 if (!SWIG_IsOK(res1)) {
8874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8875 }
8876 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8877 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8878 if (!SWIG_IsOK(res2)) {
8879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8880 }
8881 if (!argp2) {
8882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8883 }
8884 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 resultobj = SWIG_Py_Void();
8892 return resultobj;
8893 fail:
8894 return NULL;
8895 }
8896
8897
8898 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj = 0;
8900 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8901 int arg2 ;
8902 int arg3 = (int) wxHTML_ALIGN_TOP ;
8903 void *argp1 = 0 ;
8904 int res1 = 0 ;
8905 int val2 ;
8906 int ecode2 = 0 ;
8907 int val3 ;
8908 int ecode3 = 0 ;
8909 PyObject * obj0 = 0 ;
8910 PyObject * obj1 = 0 ;
8911 PyObject * obj2 = 0 ;
8912 char * kwnames[] = {
8913 (char *) "self",(char *) "h",(char *) "align", NULL
8914 };
8915
8916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8918 if (!SWIG_IsOK(res1)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8920 }
8921 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8922 ecode2 = SWIG_AsVal_int(obj1, &val2);
8923 if (!SWIG_IsOK(ecode2)) {
8924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8925 }
8926 arg2 = static_cast< int >(val2);
8927 if (obj2) {
8928 ecode3 = SWIG_AsVal_int(obj2, &val3);
8929 if (!SWIG_IsOK(ecode3)) {
8930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8931 }
8932 arg3 = static_cast< int >(val3);
8933 }
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 (arg1)->SetMinHeight(arg2,arg3);
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 resultobj = SWIG_Py_Void();
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj = 0;
8949 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8950 wxColour *arg2 = 0 ;
8951 void *argp1 = 0 ;
8952 int res1 = 0 ;
8953 wxColour temp2 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 char * kwnames[] = {
8957 (char *) "self",(char *) "clr", NULL
8958 };
8959
8960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8962 if (!SWIG_IsOK(res1)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8964 }
8965 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8966 {
8967 arg2 = &temp2;
8968 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 resultobj = SWIG_Py_Void();
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8984 PyObject *resultobj = 0;
8985 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8986 wxColour result;
8987 void *argp1 = 0 ;
8988 int res1 = 0 ;
8989 PyObject *swig_obj[1] ;
8990
8991 if (!args) SWIG_fail;
8992 swig_obj[0] = args;
8993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8994 if (!SWIG_IsOK(res1)) {
8995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8996 }
8997 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 result = (arg1)->GetBackgroundColour();
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj = 0;
9013 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9014 wxColour *arg2 = 0 ;
9015 wxColour *arg3 = 0 ;
9016 void *argp1 = 0 ;
9017 int res1 = 0 ;
9018 wxColour temp2 ;
9019 wxColour temp3 ;
9020 PyObject * obj0 = 0 ;
9021 PyObject * obj1 = 0 ;
9022 PyObject * obj2 = 0 ;
9023 char * kwnames[] = {
9024 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
9025 };
9026
9027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9029 if (!SWIG_IsOK(res1)) {
9030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9031 }
9032 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9033 {
9034 arg2 = &temp2;
9035 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9036 }
9037 {
9038 arg3 = &temp3;
9039 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9040 }
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 resultobj = SWIG_Py_Void();
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9055 PyObject *resultobj = 0;
9056 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9057 wxHtmlCell *result = 0 ;
9058 void *argp1 = 0 ;
9059 int res1 = 0 ;
9060 PyObject *swig_obj[1] ;
9061
9062 if (!args) SWIG_fail;
9063 swig_obj[0] = args;
9064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9065 if (!SWIG_IsOK(res1)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9067 }
9068 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 result = (wxHtmlCell *)(arg1)->GetFirstChild();
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 {
9076 resultobj = wxPyMake_wxObject(result, 0);
9077 }
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9085 PyObject *obj;
9086 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9087 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
9088 return SWIG_Py_Void();
9089 }
9090
9091 SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9092 return SWIG_Python_InitShadowInstance(args);
9093 }
9094
9095 SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj = 0;
9097 wxColour *arg1 = 0 ;
9098 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9099 wxHtmlColourCell *result = 0 ;
9100 wxColour temp1 ;
9101 int val2 ;
9102 int ecode2 = 0 ;
9103 PyObject * obj0 = 0 ;
9104 PyObject * obj1 = 0 ;
9105 char * kwnames[] = {
9106 (char *) "clr",(char *) "flags", NULL
9107 };
9108
9109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9110 {
9111 arg1 = &temp1;
9112 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9113 }
9114 if (obj1) {
9115 ecode2 = SWIG_AsVal_int(obj1, &val2);
9116 if (!SWIG_IsOK(ecode2)) {
9117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9118 }
9119 arg2 = static_cast< int >(val2);
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9128 return resultobj;
9129 fail:
9130 return NULL;
9131 }
9132
9133
9134 SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9135 PyObject *obj;
9136 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9137 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9138 return SWIG_Py_Void();
9139 }
9140
9141 SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9142 return SWIG_Python_InitShadowInstance(args);
9143 }
9144
9145 SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj = 0;
9147 wxFont *arg1 = (wxFont *) 0 ;
9148 wxHtmlFontCell *result = 0 ;
9149 void *argp1 = 0 ;
9150 int res1 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 char * kwnames[] = {
9153 (char *) "font", NULL
9154 };
9155
9156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9158 if (!SWIG_IsOK(res1)) {
9159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9160 }
9161 arg1 = reinterpret_cast< wxFont * >(argp1);
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9176 PyObject *obj;
9177 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9178 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9179 return SWIG_Py_Void();
9180 }
9181
9182 SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9183 return SWIG_Python_InitShadowInstance(args);
9184 }
9185
9186 SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj = 0;
9188 wxWindow *arg1 = (wxWindow *) 0 ;
9189 int arg2 = (int) 0 ;
9190 wxHtmlWidgetCell *result = 0 ;
9191 void *argp1 = 0 ;
9192 int res1 = 0 ;
9193 int val2 ;
9194 int ecode2 = 0 ;
9195 PyObject * obj0 = 0 ;
9196 PyObject * obj1 = 0 ;
9197 char * kwnames[] = {
9198 (char *) "wnd",(char *) "w", NULL
9199 };
9200
9201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9203 if (!SWIG_IsOK(res1)) {
9204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9205 }
9206 arg1 = reinterpret_cast< wxWindow * >(argp1);
9207 if (obj1) {
9208 ecode2 = SWIG_AsVal_int(obj1, &val2);
9209 if (!SWIG_IsOK(ecode2)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9211 }
9212 arg2 = static_cast< int >(val2);
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9221 return resultobj;
9222 fail:
9223 return NULL;
9224 }
9225
9226
9227 SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9228 PyObject *obj;
9229 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9230 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9231 return SWIG_Py_Void();
9232 }
9233
9234 SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9235 return SWIG_Python_InitShadowInstance(args);
9236 }
9237
9238 SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9239 PyObject *resultobj = 0;
9240 wxPyHtmlFilter *result = 0 ;
9241
9242 if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9243 {
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
9245 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9250 return resultobj;
9251 fail:
9252 return NULL;
9253 }
9254
9255
9256 SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj = 0;
9258 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9259 PyObject *arg2 = (PyObject *) 0 ;
9260 PyObject *arg3 = (PyObject *) 0 ;
9261 void *argp1 = 0 ;
9262 int res1 = 0 ;
9263 PyObject * obj0 = 0 ;
9264 PyObject * obj1 = 0 ;
9265 PyObject * obj2 = 0 ;
9266 char * kwnames[] = {
9267 (char *) "self",(char *) "self",(char *) "_class", NULL
9268 };
9269
9270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9272 if (!SWIG_IsOK(res1)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9274 }
9275 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9276 arg2 = obj1;
9277 arg3 = obj2;
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 (arg1)->_setCallbackInfo(arg2,arg3);
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 resultobj = SWIG_Py_Void();
9285 return resultobj;
9286 fail:
9287 return NULL;
9288 }
9289
9290
9291 SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9292 PyObject *obj;
9293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9294 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9295 return SWIG_Py_Void();
9296 }
9297
9298 SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9299 return SWIG_Python_InitShadowInstance(args);
9300 }
9301
9302 SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9303 PyObject *resultobj = 0;
9304 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9305 void *argp1 = 0 ;
9306 int res1 = 0 ;
9307 PyObject *swig_obj[1] ;
9308
9309 if (!args) SWIG_fail;
9310 swig_obj[0] = args;
9311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9312 if (!SWIG_IsOK(res1)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9314 }
9315 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 delete arg1;
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 resultobj = SWIG_Py_Void();
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj = 0;
9332 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9333 wxString *arg2 = 0 ;
9334 void *argp1 = 0 ;
9335 int res1 = 0 ;
9336 bool temp2 = false ;
9337 PyObject * obj0 = 0 ;
9338 PyObject * obj1 = 0 ;
9339 char * kwnames[] = {
9340 (char *) "self",(char *) "title", NULL
9341 };
9342
9343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9345 if (!SWIG_IsOK(res1)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9347 }
9348 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9349 {
9350 arg2 = wxString_in_helper(obj1);
9351 if (arg2 == NULL) SWIG_fail;
9352 temp2 = true;
9353 }
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_Py_Void();
9361 {
9362 if (temp2)
9363 delete arg2;
9364 }
9365 return resultobj;
9366 fail:
9367 {
9368 if (temp2)
9369 delete arg2;
9370 }
9371 return NULL;
9372 }
9373
9374
9375 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj = 0;
9377 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9378 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9379 wxPoint *arg3 = 0 ;
9380 wxPoint result;
9381 void *argp1 = 0 ;
9382 int res1 = 0 ;
9383 void *argp2 = 0 ;
9384 int res2 = 0 ;
9385 wxPoint temp3 ;
9386 PyObject * obj0 = 0 ;
9387 PyObject * obj1 = 0 ;
9388 PyObject * obj2 = 0 ;
9389 char * kwnames[] = {
9390 (char *) "self",(char *) "cell",(char *) "pos", NULL
9391 };
9392
9393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9395 if (!SWIG_IsOK(res1)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9397 }
9398 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9400 if (!SWIG_IsOK(res2)) {
9401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9402 }
9403 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9404 {
9405 arg3 = &temp3;
9406 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9407 }
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9422 PyObject *resultobj = 0;
9423 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9424 wxWindow *result = 0 ;
9425 void *argp1 = 0 ;
9426 int res1 = 0 ;
9427 PyObject *swig_obj[1] ;
9428
9429 if (!args) SWIG_fail;
9430 swig_obj[0] = args;
9431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9432 if (!SWIG_IsOK(res1)) {
9433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9434 }
9435 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (wxWindow *)(arg1)->GetHTMLWindow();
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 }
9442 {
9443 resultobj = wxPyMake_wxObject(result, 0);
9444 }
9445 return resultobj;
9446 fail:
9447 return NULL;
9448 }
9449
9450
9451 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9452 PyObject *resultobj = 0;
9453 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9454 wxColour result;
9455 void *argp1 = 0 ;
9456 int res1 = 0 ;
9457 PyObject *swig_obj[1] ;
9458
9459 if (!args) SWIG_fail;
9460 swig_obj[0] = args;
9461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9462 if (!SWIG_IsOK(res1)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9464 }
9465 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj = 0;
9481 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9482 wxColour *arg2 = 0 ;
9483 void *argp1 = 0 ;
9484 int res1 = 0 ;
9485 wxColour temp2 ;
9486 PyObject * obj0 = 0 ;
9487 PyObject * obj1 = 0 ;
9488 char * kwnames[] = {
9489 (char *) "self",(char *) "clr", NULL
9490 };
9491
9492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9494 if (!SWIG_IsOK(res1)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9496 }
9497 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9498 {
9499 arg2 = &temp2;
9500 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9501 }
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 resultobj = SWIG_Py_Void();
9509 return resultobj;
9510 fail:
9511 return NULL;
9512 }
9513
9514
9515 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj = 0;
9517 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9518 wxBitmap *arg2 = 0 ;
9519 void *argp1 = 0 ;
9520 int res1 = 0 ;
9521 void *argp2 = 0 ;
9522 int res2 = 0 ;
9523 PyObject * obj0 = 0 ;
9524 PyObject * obj1 = 0 ;
9525 char * kwnames[] = {
9526 (char *) "self",(char *) "bmpBg", NULL
9527 };
9528
9529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9531 if (!SWIG_IsOK(res1)) {
9532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9533 }
9534 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9535 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9536 if (!SWIG_IsOK(res2)) {
9537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9538 }
9539 if (!argp2) {
9540 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9541 }
9542 arg2 = reinterpret_cast< wxBitmap * >(argp2);
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_Py_Void();
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj = 0;
9558 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9559 wxString *arg2 = 0 ;
9560 void *argp1 = 0 ;
9561 int res1 = 0 ;
9562 bool temp2 = false ;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 char * kwnames[] = {
9566 (char *) "self",(char *) "text", NULL
9567 };
9568
9569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9571 if (!SWIG_IsOK(res1)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9573 }
9574 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9575 {
9576 arg2 = wxString_in_helper(obj1);
9577 if (arg2 == NULL) SWIG_fail;
9578 temp2 = true;
9579 }
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 (arg1)->SetHTMLStatusText((wxString const &)*arg2);
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 resultobj = SWIG_Py_Void();
9587 {
9588 if (temp2)
9589 delete arg2;
9590 }
9591 return resultobj;
9592 fail:
9593 {
9594 if (temp2)
9595 delete arg2;
9596 }
9597 return NULL;
9598 }
9599
9600
9601 SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9602 PyObject *obj;
9603 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9604 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9605 return SWIG_Py_Void();
9606 }
9607
9608 SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj = 0;
9610 wxWindow *arg1 = (wxWindow *) 0 ;
9611 int arg2 = (int) -1 ;
9612 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9613 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9614 wxSize const &arg4_defvalue = wxDefaultSize ;
9615 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9616 int arg5 = (int) wxHW_DEFAULT_STYLE ;
9617 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9618 wxString *arg6 = (wxString *) &arg6_defvalue ;
9619 wxPyHtmlWindow *result = 0 ;
9620 void *argp1 = 0 ;
9621 int res1 = 0 ;
9622 int val2 ;
9623 int ecode2 = 0 ;
9624 wxPoint temp3 ;
9625 wxSize temp4 ;
9626 int val5 ;
9627 int ecode5 = 0 ;
9628 bool temp6 = false ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 PyObject * obj2 = 0 ;
9632 PyObject * obj3 = 0 ;
9633 PyObject * obj4 = 0 ;
9634 PyObject * obj5 = 0 ;
9635 char * kwnames[] = {
9636 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9637 };
9638
9639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9641 if (!SWIG_IsOK(res1)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9643 }
9644 arg1 = reinterpret_cast< wxWindow * >(argp1);
9645 if (obj1) {
9646 ecode2 = SWIG_AsVal_int(obj1, &val2);
9647 if (!SWIG_IsOK(ecode2)) {
9648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9649 }
9650 arg2 = static_cast< int >(val2);
9651 }
9652 if (obj2) {
9653 {
9654 arg3 = &temp3;
9655 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9656 }
9657 }
9658 if (obj3) {
9659 {
9660 arg4 = &temp4;
9661 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9662 }
9663 }
9664 if (obj4) {
9665 ecode5 = SWIG_AsVal_int(obj4, &val5);
9666 if (!SWIG_IsOK(ecode5)) {
9667 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9668 }
9669 arg5 = static_cast< int >(val5);
9670 }
9671 if (obj5) {
9672 {
9673 arg6 = wxString_in_helper(obj5);
9674 if (arg6 == NULL) SWIG_fail;
9675 temp6 = true;
9676 }
9677 }
9678 {
9679 if (!wxPyCheckForApp()) SWIG_fail;
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9686 {
9687 if (temp6)
9688 delete arg6;
9689 }
9690 return resultobj;
9691 fail:
9692 {
9693 if (temp6)
9694 delete arg6;
9695 }
9696 return NULL;
9697 }
9698
9699
9700 SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9701 PyObject *resultobj = 0;
9702 wxPyHtmlWindow *result = 0 ;
9703
9704 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9705 {
9706 if (!wxPyCheckForApp()) SWIG_fail;
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj = 0;
9721 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9722 wxWindow *arg2 = (wxWindow *) 0 ;
9723 int arg3 = (int) -1 ;
9724 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9725 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9726 wxSize const &arg5_defvalue = wxDefaultSize ;
9727 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9728 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9729 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9730 wxString *arg7 = (wxString *) &arg7_defvalue ;
9731 bool result;
9732 void *argp1 = 0 ;
9733 int res1 = 0 ;
9734 void *argp2 = 0 ;
9735 int res2 = 0 ;
9736 int val3 ;
9737 int ecode3 = 0 ;
9738 wxPoint temp4 ;
9739 wxSize temp5 ;
9740 int val6 ;
9741 int ecode6 = 0 ;
9742 bool temp7 = false ;
9743 PyObject * obj0 = 0 ;
9744 PyObject * obj1 = 0 ;
9745 PyObject * obj2 = 0 ;
9746 PyObject * obj3 = 0 ;
9747 PyObject * obj4 = 0 ;
9748 PyObject * obj5 = 0 ;
9749 PyObject * obj6 = 0 ;
9750 char * kwnames[] = {
9751 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9752 };
9753
9754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9756 if (!SWIG_IsOK(res1)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9758 }
9759 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9761 if (!SWIG_IsOK(res2)) {
9762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9763 }
9764 arg2 = reinterpret_cast< wxWindow * >(argp2);
9765 if (obj2) {
9766 ecode3 = SWIG_AsVal_int(obj2, &val3);
9767 if (!SWIG_IsOK(ecode3)) {
9768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9769 }
9770 arg3 = static_cast< int >(val3);
9771 }
9772 if (obj3) {
9773 {
9774 arg4 = &temp4;
9775 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9776 }
9777 }
9778 if (obj4) {
9779 {
9780 arg5 = &temp5;
9781 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9782 }
9783 }
9784 if (obj5) {
9785 ecode6 = SWIG_AsVal_int(obj5, &val6);
9786 if (!SWIG_IsOK(ecode6)) {
9787 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9788 }
9789 arg6 = static_cast< int >(val6);
9790 }
9791 if (obj6) {
9792 {
9793 arg7 = wxString_in_helper(obj6);
9794 if (arg7 == NULL) SWIG_fail;
9795 temp7 = true;
9796 }
9797 }
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 {
9805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9806 }
9807 {
9808 if (temp7)
9809 delete arg7;
9810 }
9811 return resultobj;
9812 fail:
9813 {
9814 if (temp7)
9815 delete arg7;
9816 }
9817 return NULL;
9818 }
9819
9820
9821 SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9822 PyObject *resultobj = 0;
9823 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9824 PyObject *arg2 = (PyObject *) 0 ;
9825 PyObject *arg3 = (PyObject *) 0 ;
9826 void *argp1 = 0 ;
9827 int res1 = 0 ;
9828 PyObject * obj0 = 0 ;
9829 PyObject * obj1 = 0 ;
9830 PyObject * obj2 = 0 ;
9831 char * kwnames[] = {
9832 (char *) "self",(char *) "self",(char *) "_class", NULL
9833 };
9834
9835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9837 if (!SWIG_IsOK(res1)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9839 }
9840 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9841 arg2 = obj1;
9842 arg3 = obj2;
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 (arg1)->_setCallbackInfo(arg2,arg3);
9846 wxPyEndAllowThreads(__tstate);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
9849 resultobj = SWIG_Py_Void();
9850 return resultobj;
9851 fail:
9852 return NULL;
9853 }
9854
9855
9856 SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9857 PyObject *resultobj = 0;
9858 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9859 wxString *arg2 = 0 ;
9860 bool result;
9861 void *argp1 = 0 ;
9862 int res1 = 0 ;
9863 bool temp2 = false ;
9864 PyObject * obj0 = 0 ;
9865 PyObject * obj1 = 0 ;
9866 char * kwnames[] = {
9867 (char *) "self",(char *) "source", NULL
9868 };
9869
9870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9872 if (!SWIG_IsOK(res1)) {
9873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9874 }
9875 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9876 {
9877 arg2 = wxString_in_helper(obj1);
9878 if (arg2 == NULL) SWIG_fail;
9879 temp2 = true;
9880 }
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 {
9888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9889 }
9890 {
9891 if (temp2)
9892 delete arg2;
9893 }
9894 return resultobj;
9895 fail:
9896 {
9897 if (temp2)
9898 delete arg2;
9899 }
9900 return NULL;
9901 }
9902
9903
9904 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj = 0;
9906 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9907 wxString *arg2 = 0 ;
9908 bool result;
9909 void *argp1 = 0 ;
9910 int res1 = 0 ;
9911 bool temp2 = false ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9914 char * kwnames[] = {
9915 (char *) "self",(char *) "location", NULL
9916 };
9917
9918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9920 if (!SWIG_IsOK(res1)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9922 }
9923 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9924 {
9925 arg2 = wxString_in_helper(obj1);
9926 if (arg2 == NULL) SWIG_fail;
9927 temp2 = true;
9928 }
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 {
9936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9937 }
9938 {
9939 if (temp2)
9940 delete arg2;
9941 }
9942 return resultobj;
9943 fail:
9944 {
9945 if (temp2)
9946 delete arg2;
9947 }
9948 return NULL;
9949 }
9950
9951
9952 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj = 0;
9954 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9955 wxString *arg2 = 0 ;
9956 bool result;
9957 void *argp1 = 0 ;
9958 int res1 = 0 ;
9959 bool temp2 = false ;
9960 PyObject * obj0 = 0 ;
9961 PyObject * obj1 = 0 ;
9962 char * kwnames[] = {
9963 (char *) "self",(char *) "filename", NULL
9964 };
9965
9966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9968 if (!SWIG_IsOK(res1)) {
9969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9970 }
9971 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9972 {
9973 arg2 = wxString_in_helper(obj1);
9974 if (arg2 == NULL) SWIG_fail;
9975 temp2 = true;
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 {
9984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9985 }
9986 {
9987 if (temp2)
9988 delete arg2;
9989 }
9990 return resultobj;
9991 fail:
9992 {
9993 if (temp2)
9994 delete arg2;
9995 }
9996 return NULL;
9997 }
9998
9999
10000 SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj = 0;
10002 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10003 wxString *arg2 = 0 ;
10004 bool result;
10005 void *argp1 = 0 ;
10006 int res1 = 0 ;
10007 bool temp2 = false ;
10008 PyObject * obj0 = 0 ;
10009 PyObject * obj1 = 0 ;
10010 char * kwnames[] = {
10011 (char *) "self",(char *) "source", NULL
10012 };
10013
10014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
10015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10016 if (!SWIG_IsOK(res1)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10018 }
10019 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10020 {
10021 arg2 = wxString_in_helper(obj1);
10022 if (arg2 == NULL) SWIG_fail;
10023 temp2 = true;
10024 }
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 {
10032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10033 }
10034 {
10035 if (temp2)
10036 delete arg2;
10037 }
10038 return resultobj;
10039 fail:
10040 {
10041 if (temp2)
10042 delete arg2;
10043 }
10044 return NULL;
10045 }
10046
10047
10048 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10049 PyObject *resultobj = 0;
10050 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10051 wxString result;
10052 void *argp1 = 0 ;
10053 int res1 = 0 ;
10054 PyObject *swig_obj[1] ;
10055
10056 if (!args) SWIG_fail;
10057 swig_obj[0] = args;
10058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10059 if (!SWIG_IsOK(res1)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10061 }
10062 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (arg1)->GetOpenedPage();
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 {
10070 #if wxUSE_UNICODE
10071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10072 #else
10073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10074 #endif
10075 }
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10083 PyObject *resultobj = 0;
10084 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10085 wxString result;
10086 void *argp1 = 0 ;
10087 int res1 = 0 ;
10088 PyObject *swig_obj[1] ;
10089
10090 if (!args) SWIG_fail;
10091 swig_obj[0] = args;
10092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10093 if (!SWIG_IsOK(res1)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10095 }
10096 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (arg1)->GetOpenedAnchor();
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 {
10104 #if wxUSE_UNICODE
10105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10106 #else
10107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10108 #endif
10109 }
10110 return resultobj;
10111 fail:
10112 return NULL;
10113 }
10114
10115
10116 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10117 PyObject *resultobj = 0;
10118 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10119 wxString result;
10120 void *argp1 = 0 ;
10121 int res1 = 0 ;
10122 PyObject *swig_obj[1] ;
10123
10124 if (!args) SWIG_fail;
10125 swig_obj[0] = args;
10126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10127 if (!SWIG_IsOK(res1)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10129 }
10130 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (arg1)->GetOpenedPageTitle();
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 {
10138 #if wxUSE_UNICODE
10139 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10140 #else
10141 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10142 #endif
10143 }
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj = 0;
10152 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10153 wxFrame *arg2 = (wxFrame *) 0 ;
10154 wxString *arg3 = 0 ;
10155 void *argp1 = 0 ;
10156 int res1 = 0 ;
10157 void *argp2 = 0 ;
10158 int res2 = 0 ;
10159 bool temp3 = false ;
10160 PyObject * obj0 = 0 ;
10161 PyObject * obj1 = 0 ;
10162 PyObject * obj2 = 0 ;
10163 char * kwnames[] = {
10164 (char *) "self",(char *) "frame",(char *) "format", NULL
10165 };
10166
10167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10169 if (!SWIG_IsOK(res1)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10171 }
10172 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10173 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10174 if (!SWIG_IsOK(res2)) {
10175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10176 }
10177 arg2 = reinterpret_cast< wxFrame * >(argp2);
10178 {
10179 arg3 = wxString_in_helper(obj2);
10180 if (arg3 == NULL) SWIG_fail;
10181 temp3 = true;
10182 }
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 resultobj = SWIG_Py_Void();
10190 {
10191 if (temp3)
10192 delete arg3;
10193 }
10194 return resultobj;
10195 fail:
10196 {
10197 if (temp3)
10198 delete arg3;
10199 }
10200 return NULL;
10201 }
10202
10203
10204 SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10205 PyObject *resultobj = 0;
10206 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10207 wxFrame *result = 0 ;
10208 void *argp1 = 0 ;
10209 int res1 = 0 ;
10210 PyObject *swig_obj[1] ;
10211
10212 if (!args) SWIG_fail;
10213 swig_obj[0] = args;
10214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10215 if (!SWIG_IsOK(res1)) {
10216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10217 }
10218 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (wxFrame *)(arg1)->GetRelatedFrame();
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 {
10226 resultobj = wxPyMake_wxObject(result, 0);
10227 }
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj = 0;
10236 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10237 int arg2 ;
10238 void *argp1 = 0 ;
10239 int res1 = 0 ;
10240 int val2 ;
10241 int ecode2 = 0 ;
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 char * kwnames[] = {
10245 (char *) "self",(char *) "bar", NULL
10246 };
10247
10248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10250 if (!SWIG_IsOK(res1)) {
10251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10252 }
10253 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10254 ecode2 = SWIG_AsVal_int(obj1, &val2);
10255 if (!SWIG_IsOK(ecode2)) {
10256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10257 }
10258 arg2 = static_cast< int >(val2);
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->SetRelatedStatusBar(arg2);
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 resultobj = SWIG_Py_Void();
10266 return resultobj;
10267 fail:
10268 return NULL;
10269 }
10270
10271
10272 SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10273 PyObject *resultobj = 0;
10274 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10275 wxString arg2 ;
10276 wxString arg3 ;
10277 PyObject *arg4 = (PyObject *) NULL ;
10278 void *argp1 = 0 ;
10279 int res1 = 0 ;
10280 PyObject * obj0 = 0 ;
10281 PyObject * obj1 = 0 ;
10282 PyObject * obj2 = 0 ;
10283 PyObject * obj3 = 0 ;
10284 char * kwnames[] = {
10285 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10286 };
10287
10288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10290 if (!SWIG_IsOK(res1)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10292 }
10293 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10294 {
10295 wxString* sptr = wxString_in_helper(obj1);
10296 if (sptr == NULL) SWIG_fail;
10297 arg2 = *sptr;
10298 delete sptr;
10299 }
10300 {
10301 wxString* sptr = wxString_in_helper(obj2);
10302 if (sptr == NULL) SWIG_fail;
10303 arg3 = *sptr;
10304 delete sptr;
10305 }
10306 if (obj3) {
10307 arg4 = obj3;
10308 }
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = SWIG_Py_Void();
10316 return resultobj;
10317 fail:
10318 return NULL;
10319 }
10320
10321
10322 SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj = 0;
10324 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10325 int arg2 = (int) -1 ;
10326 wxString const &arg3_defvalue = wxPyEmptyString ;
10327 wxString *arg3 = (wxString *) &arg3_defvalue ;
10328 wxString const &arg4_defvalue = wxPyEmptyString ;
10329 wxString *arg4 = (wxString *) &arg4_defvalue ;
10330 void *argp1 = 0 ;
10331 int res1 = 0 ;
10332 int val2 ;
10333 int ecode2 = 0 ;
10334 bool temp3 = false ;
10335 bool temp4 = false ;
10336 PyObject * obj0 = 0 ;
10337 PyObject * obj1 = 0 ;
10338 PyObject * obj2 = 0 ;
10339 PyObject * obj3 = 0 ;
10340 char * kwnames[] = {
10341 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10342 };
10343
10344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10346 if (!SWIG_IsOK(res1)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10348 }
10349 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10350 if (obj1) {
10351 ecode2 = SWIG_AsVal_int(obj1, &val2);
10352 if (!SWIG_IsOK(ecode2)) {
10353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10354 }
10355 arg2 = static_cast< int >(val2);
10356 }
10357 if (obj2) {
10358 {
10359 arg3 = wxString_in_helper(obj2);
10360 if (arg3 == NULL) SWIG_fail;
10361 temp3 = true;
10362 }
10363 }
10364 if (obj3) {
10365 {
10366 arg4 = wxString_in_helper(obj3);
10367 if (arg4 == NULL) SWIG_fail;
10368 temp4 = true;
10369 }
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 resultobj = SWIG_Py_Void();
10378 {
10379 if (temp3)
10380 delete arg3;
10381 }
10382 {
10383 if (temp4)
10384 delete arg4;
10385 }
10386 return resultobj;
10387 fail:
10388 {
10389 if (temp3)
10390 delete arg3;
10391 }
10392 {
10393 if (temp4)
10394 delete arg4;
10395 }
10396 return NULL;
10397 }
10398
10399
10400 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj = 0;
10402 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10403 int arg2 ;
10404 void *argp1 = 0 ;
10405 int res1 = 0 ;
10406 int val2 ;
10407 int ecode2 = 0 ;
10408 PyObject * obj0 = 0 ;
10409 PyObject * obj1 = 0 ;
10410 char * kwnames[] = {
10411 (char *) "self",(char *) "b", NULL
10412 };
10413
10414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10416 if (!SWIG_IsOK(res1)) {
10417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10418 }
10419 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10420 ecode2 = SWIG_AsVal_int(obj1, &val2);
10421 if (!SWIG_IsOK(ecode2)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10423 }
10424 arg2 = static_cast< int >(val2);
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 (arg1)->SetBorders(arg2);
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 resultobj = SWIG_Py_Void();
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj = 0;
10440 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10441 wxBitmap *arg2 = 0 ;
10442 void *argp1 = 0 ;
10443 int res1 = 0 ;
10444 void *argp2 = 0 ;
10445 int res2 = 0 ;
10446 PyObject * obj0 = 0 ;
10447 PyObject * obj1 = 0 ;
10448 char * kwnames[] = {
10449 (char *) "self",(char *) "bmpBg", NULL
10450 };
10451
10452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
10453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10454 if (!SWIG_IsOK(res1)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10456 }
10457 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10458 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10459 if (!SWIG_IsOK(res2)) {
10460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10461 }
10462 if (!argp2) {
10463 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10464 }
10465 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = SWIG_Py_Void();
10473 return resultobj;
10474 fail:
10475 return NULL;
10476 }
10477
10478
10479 SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj = 0;
10481 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10482 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10483 wxString arg3 = (wxString) wxPyEmptyString ;
10484 void *argp1 = 0 ;
10485 int res1 = 0 ;
10486 void *argp2 = 0 ;
10487 int res2 = 0 ;
10488 PyObject * obj0 = 0 ;
10489 PyObject * obj1 = 0 ;
10490 PyObject * obj2 = 0 ;
10491 char * kwnames[] = {
10492 (char *) "self",(char *) "cfg",(char *) "path", NULL
10493 };
10494
10495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10497 if (!SWIG_IsOK(res1)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10499 }
10500 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10501 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10502 if (!SWIG_IsOK(res2)) {
10503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10504 }
10505 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10506 if (obj2) {
10507 {
10508 wxString* sptr = wxString_in_helper(obj2);
10509 if (sptr == NULL) SWIG_fail;
10510 arg3 = *sptr;
10511 delete sptr;
10512 }
10513 }
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 (arg1)->ReadCustomization(arg2,arg3);
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 resultobj = SWIG_Py_Void();
10521 return resultobj;
10522 fail:
10523 return NULL;
10524 }
10525
10526
10527 SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj = 0;
10529 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10530 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10531 wxString arg3 = (wxString) wxPyEmptyString ;
10532 void *argp1 = 0 ;
10533 int res1 = 0 ;
10534 void *argp2 = 0 ;
10535 int res2 = 0 ;
10536 PyObject * obj0 = 0 ;
10537 PyObject * obj1 = 0 ;
10538 PyObject * obj2 = 0 ;
10539 char * kwnames[] = {
10540 (char *) "self",(char *) "cfg",(char *) "path", NULL
10541 };
10542
10543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10545 if (!SWIG_IsOK(res1)) {
10546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10547 }
10548 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10549 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10550 if (!SWIG_IsOK(res2)) {
10551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10552 }
10553 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10554 if (obj2) {
10555 {
10556 wxString* sptr = wxString_in_helper(obj2);
10557 if (sptr == NULL) SWIG_fail;
10558 arg3 = *sptr;
10559 delete sptr;
10560 }
10561 }
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 (arg1)->WriteCustomization(arg2,arg3);
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = SWIG_Py_Void();
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10576 PyObject *resultobj = 0;
10577 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10578 bool result;
10579 void *argp1 = 0 ;
10580 int res1 = 0 ;
10581 PyObject *swig_obj[1] ;
10582
10583 if (!args) SWIG_fail;
10584 swig_obj[0] = args;
10585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10586 if (!SWIG_IsOK(res1)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10588 }
10589 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (bool)(arg1)->HistoryBack();
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 {
10597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10598 }
10599 return resultobj;
10600 fail:
10601 return NULL;
10602 }
10603
10604
10605 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10606 PyObject *resultobj = 0;
10607 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10608 bool result;
10609 void *argp1 = 0 ;
10610 int res1 = 0 ;
10611 PyObject *swig_obj[1] ;
10612
10613 if (!args) SWIG_fail;
10614 swig_obj[0] = args;
10615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10616 if (!SWIG_IsOK(res1)) {
10617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10618 }
10619 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 result = (bool)(arg1)->HistoryForward();
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 {
10627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10628 }
10629 return resultobj;
10630 fail:
10631 return NULL;
10632 }
10633
10634
10635 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10636 PyObject *resultobj = 0;
10637 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10638 bool result;
10639 void *argp1 = 0 ;
10640 int res1 = 0 ;
10641 PyObject *swig_obj[1] ;
10642
10643 if (!args) SWIG_fail;
10644 swig_obj[0] = args;
10645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10646 if (!SWIG_IsOK(res1)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10648 }
10649 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (bool)(arg1)->HistoryCanBack();
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 {
10657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10658 }
10659 return resultobj;
10660 fail:
10661 return NULL;
10662 }
10663
10664
10665 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10666 PyObject *resultobj = 0;
10667 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10668 bool result;
10669 void *argp1 = 0 ;
10670 int res1 = 0 ;
10671 PyObject *swig_obj[1] ;
10672
10673 if (!args) SWIG_fail;
10674 swig_obj[0] = args;
10675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10676 if (!SWIG_IsOK(res1)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10678 }
10679 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 result = (bool)(arg1)->HistoryCanForward();
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 {
10687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10688 }
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10696 PyObject *resultobj = 0;
10697 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10698 void *argp1 = 0 ;
10699 int res1 = 0 ;
10700 PyObject *swig_obj[1] ;
10701
10702 if (!args) SWIG_fail;
10703 swig_obj[0] = args;
10704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10705 if (!SWIG_IsOK(res1)) {
10706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10707 }
10708 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 (arg1)->HistoryClear();
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 resultobj = SWIG_Py_Void();
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10723 PyObject *resultobj = 0;
10724 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10725 wxHtmlContainerCell *result = 0 ;
10726 void *argp1 = 0 ;
10727 int res1 = 0 ;
10728 PyObject *swig_obj[1] ;
10729
10730 if (!args) SWIG_fail;
10731 swig_obj[0] = args;
10732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10733 if (!SWIG_IsOK(res1)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10735 }
10736 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10744 return resultobj;
10745 fail:
10746 return NULL;
10747 }
10748
10749
10750 SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10751 PyObject *resultobj = 0;
10752 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10753 wxHtmlWinParser *result = 0 ;
10754 void *argp1 = 0 ;
10755 int res1 = 0 ;
10756 PyObject *swig_obj[1] ;
10757
10758 if (!args) SWIG_fail;
10759 swig_obj[0] = args;
10760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10761 if (!SWIG_IsOK(res1)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10763 }
10764 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 result = (wxHtmlWinParser *)(arg1)->GetParser();
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10772 return resultobj;
10773 fail:
10774 return NULL;
10775 }
10776
10777
10778 SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj = 0;
10780 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10781 wxString *arg2 = 0 ;
10782 bool result;
10783 void *argp1 = 0 ;
10784 int res1 = 0 ;
10785 bool temp2 = false ;
10786 PyObject * obj0 = 0 ;
10787 PyObject * obj1 = 0 ;
10788 char * kwnames[] = {
10789 (char *) "self",(char *) "anchor", NULL
10790 };
10791
10792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10794 if (!SWIG_IsOK(res1)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10796 }
10797 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10798 {
10799 arg2 = wxString_in_helper(obj1);
10800 if (arg2 == NULL) SWIG_fail;
10801 temp2 = true;
10802 }
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 {
10810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10811 }
10812 {
10813 if (temp2)
10814 delete arg2;
10815 }
10816 return resultobj;
10817 fail:
10818 {
10819 if (temp2)
10820 delete arg2;
10821 }
10822 return NULL;
10823 }
10824
10825
10826 SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj = 0;
10828 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10829 wxString *arg2 = 0 ;
10830 bool result;
10831 void *argp1 = 0 ;
10832 int res1 = 0 ;
10833 bool temp2 = false ;
10834 PyObject * obj0 = 0 ;
10835 PyObject * obj1 = 0 ;
10836 char * kwnames[] = {
10837 (char *) "self",(char *) "anchor", NULL
10838 };
10839
10840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10842 if (!SWIG_IsOK(res1)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10844 }
10845 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10846 {
10847 arg2 = wxString_in_helper(obj1);
10848 if (arg2 == NULL) SWIG_fail;
10849 temp2 = true;
10850 }
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 {
10858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10859 }
10860 {
10861 if (temp2)
10862 delete arg2;
10863 }
10864 return resultobj;
10865 fail:
10866 {
10867 if (temp2)
10868 delete arg2;
10869 }
10870 return NULL;
10871 }
10872
10873
10874 SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10875 PyObject *resultobj = 0;
10876 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10877 void *argp1 = 0 ;
10878 int res1 = 0 ;
10879 PyObject * obj0 = 0 ;
10880 char * kwnames[] = {
10881 (char *) "filter", NULL
10882 };
10883
10884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10886 if (!SWIG_IsOK(res1)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10888 }
10889 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 wxPyHtmlWindow::AddFilter(arg1);
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 resultobj = SWIG_Py_Void();
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10904 PyObject *resultobj = 0;
10905 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10906 wxPoint *arg2 = 0 ;
10907 void *argp1 = 0 ;
10908 int res1 = 0 ;
10909 wxPoint temp2 ;
10910 PyObject * obj0 = 0 ;
10911 PyObject * obj1 = 0 ;
10912 char * kwnames[] = {
10913 (char *) "self",(char *) "pos", NULL
10914 };
10915
10916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10918 if (!SWIG_IsOK(res1)) {
10919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10920 }
10921 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10922 {
10923 arg2 = &temp2;
10924 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10925 }
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 (arg1)->SelectWord((wxPoint const &)*arg2);
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 resultobj = SWIG_Py_Void();
10933 return resultobj;
10934 fail:
10935 return NULL;
10936 }
10937
10938
10939 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj = 0;
10941 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10942 wxPoint *arg2 = 0 ;
10943 void *argp1 = 0 ;
10944 int res1 = 0 ;
10945 wxPoint temp2 ;
10946 PyObject * obj0 = 0 ;
10947 PyObject * obj1 = 0 ;
10948 char * kwnames[] = {
10949 (char *) "self",(char *) "pos", NULL
10950 };
10951
10952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10954 if (!SWIG_IsOK(res1)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10956 }
10957 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10958 {
10959 arg2 = &temp2;
10960 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10961 }
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 (arg1)->SelectLine((wxPoint const &)*arg2);
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 resultobj = SWIG_Py_Void();
10969 return resultobj;
10970 fail:
10971 return NULL;
10972 }
10973
10974
10975 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10976 PyObject *resultobj = 0;
10977 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10978 void *argp1 = 0 ;
10979 int res1 = 0 ;
10980 PyObject *swig_obj[1] ;
10981
10982 if (!args) SWIG_fail;
10983 swig_obj[0] = args;
10984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10985 if (!SWIG_IsOK(res1)) {
10986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10987 }
10988 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10989 {
10990 PyThreadState* __tstate = wxPyBeginAllowThreads();
10991 (arg1)->SelectAll();
10992 wxPyEndAllowThreads(__tstate);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 resultobj = SWIG_Py_Void();
10996 return resultobj;
10997 fail:
10998 return NULL;
10999 }
11000
11001
11002 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11003 PyObject *resultobj = 0;
11004 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11005 wxString result;
11006 void *argp1 = 0 ;
11007 int res1 = 0 ;
11008 PyObject *swig_obj[1] ;
11009
11010 if (!args) SWIG_fail;
11011 swig_obj[0] = args;
11012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11013 if (!SWIG_IsOK(res1)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11015 }
11016 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 result = (arg1)->SelectionToText();
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 {
11024 #if wxUSE_UNICODE
11025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11026 #else
11027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11028 #endif
11029 }
11030 return resultobj;
11031 fail:
11032 return NULL;
11033 }
11034
11035
11036 SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11037 PyObject *resultobj = 0;
11038 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11039 wxString result;
11040 void *argp1 = 0 ;
11041 int res1 = 0 ;
11042 PyObject *swig_obj[1] ;
11043
11044 if (!args) SWIG_fail;
11045 swig_obj[0] = args;
11046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11047 if (!SWIG_IsOK(res1)) {
11048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11049 }
11050 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (arg1)->ToText();
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 {
11058 #if wxUSE_UNICODE
11059 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11060 #else
11061 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11062 #endif
11063 }
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj = 0;
11072 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11073 wxHtmlLinkInfo *arg2 = 0 ;
11074 void *argp1 = 0 ;
11075 int res1 = 0 ;
11076 void *argp2 = 0 ;
11077 int res2 = 0 ;
11078 PyObject * obj0 = 0 ;
11079 PyObject * obj1 = 0 ;
11080 char * kwnames[] = {
11081 (char *) "self",(char *) "link", NULL
11082 };
11083
11084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
11085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11086 if (!SWIG_IsOK(res1)) {
11087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11088 }
11089 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11090 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
11091 if (!SWIG_IsOK(res2)) {
11092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11093 }
11094 if (!argp2) {
11095 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11096 }
11097 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 resultobj = SWIG_Py_Void();
11105 return resultobj;
11106 fail:
11107 return NULL;
11108 }
11109
11110
11111 SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj = 0;
11113 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11114 wxString *arg2 = 0 ;
11115 void *argp1 = 0 ;
11116 int res1 = 0 ;
11117 bool temp2 = false ;
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 char * kwnames[] = {
11121 (char *) "self",(char *) "title", NULL
11122 };
11123
11124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11126 if (!SWIG_IsOK(res1)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11128 }
11129 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11130 {
11131 arg2 = wxString_in_helper(obj1);
11132 if (arg2 == NULL) SWIG_fail;
11133 temp2 = true;
11134 }
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 (arg1)->OnSetTitle((wxString const &)*arg2);
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = SWIG_Py_Void();
11142 {
11143 if (temp2)
11144 delete arg2;
11145 }
11146 return resultobj;
11147 fail:
11148 {
11149 if (temp2)
11150 delete arg2;
11151 }
11152 return NULL;
11153 }
11154
11155
11156 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj = 0;
11158 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11159 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11160 int arg3 ;
11161 int arg4 ;
11162 void *argp1 = 0 ;
11163 int res1 = 0 ;
11164 void *argp2 = 0 ;
11165 int res2 = 0 ;
11166 int val3 ;
11167 int ecode3 = 0 ;
11168 int val4 ;
11169 int ecode4 = 0 ;
11170 PyObject * obj0 = 0 ;
11171 PyObject * obj1 = 0 ;
11172 PyObject * obj2 = 0 ;
11173 PyObject * obj3 = 0 ;
11174 char * kwnames[] = {
11175 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11176 };
11177
11178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11180 if (!SWIG_IsOK(res1)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11182 }
11183 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11185 if (!SWIG_IsOK(res2)) {
11186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11187 }
11188 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11189 ecode3 = SWIG_AsVal_int(obj2, &val3);
11190 if (!SWIG_IsOK(ecode3)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11192 }
11193 arg3 = static_cast< int >(val3);
11194 ecode4 = SWIG_AsVal_int(obj3, &val4);
11195 if (!SWIG_IsOK(ecode4)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11197 }
11198 arg4 = static_cast< int >(val4);
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 resultobj = SWIG_Py_Void();
11206 return resultobj;
11207 fail:
11208 return NULL;
11209 }
11210
11211
11212 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj = 0;
11214 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11215 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11216 int arg3 ;
11217 int arg4 ;
11218 wxMouseEvent *arg5 = 0 ;
11219 bool result;
11220 void *argp1 = 0 ;
11221 int res1 = 0 ;
11222 void *argp2 = 0 ;
11223 int res2 = 0 ;
11224 int val3 ;
11225 int ecode3 = 0 ;
11226 int val4 ;
11227 int ecode4 = 0 ;
11228 void *argp5 = 0 ;
11229 int res5 = 0 ;
11230 PyObject * obj0 = 0 ;
11231 PyObject * obj1 = 0 ;
11232 PyObject * obj2 = 0 ;
11233 PyObject * obj3 = 0 ;
11234 PyObject * obj4 = 0 ;
11235 char * kwnames[] = {
11236 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11237 };
11238
11239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11241 if (!SWIG_IsOK(res1)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11243 }
11244 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11245 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11246 if (!SWIG_IsOK(res2)) {
11247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11248 }
11249 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11250 ecode3 = SWIG_AsVal_int(obj2, &val3);
11251 if (!SWIG_IsOK(ecode3)) {
11252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11253 }
11254 arg3 = static_cast< int >(val3);
11255 ecode4 = SWIG_AsVal_int(obj3, &val4);
11256 if (!SWIG_IsOK(ecode4)) {
11257 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11258 }
11259 arg4 = static_cast< int >(val4);
11260 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11261 if (!SWIG_IsOK(res5)) {
11262 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11263 }
11264 if (!argp5) {
11265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11266 }
11267 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 {
11275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11276 }
11277 return resultobj;
11278 fail:
11279 return NULL;
11280 }
11281
11282
11283 SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj = 0;
11285 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11286 wxHtmlURLType arg2 ;
11287 wxString *arg3 = 0 ;
11288 wxString *arg4 = (wxString *) 0 ;
11289 wxHtmlOpeningStatus result;
11290 void *argp1 = 0 ;
11291 int res1 = 0 ;
11292 int val2 ;
11293 int ecode2 = 0 ;
11294 bool temp3 = false ;
11295 bool temp4 = false ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 PyObject * obj2 = 0 ;
11299 PyObject * obj3 = 0 ;
11300 char * kwnames[] = {
11301 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11302 };
11303
11304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11306 if (!SWIG_IsOK(res1)) {
11307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11308 }
11309 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11310 ecode2 = SWIG_AsVal_int(obj1, &val2);
11311 if (!SWIG_IsOK(ecode2)) {
11312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11313 }
11314 arg2 = static_cast< wxHtmlURLType >(val2);
11315 {
11316 arg3 = wxString_in_helper(obj2);
11317 if (arg3 == NULL) SWIG_fail;
11318 temp3 = true;
11319 }
11320 {
11321 arg4 = wxString_in_helper(obj3);
11322 if (arg4 == NULL) SWIG_fail;
11323 temp4 = true;
11324 }
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = SWIG_From_int(static_cast< int >(result));
11332 {
11333 if (temp3)
11334 delete arg3;
11335 }
11336 {
11337 if (temp4)
11338 delete arg4;
11339 }
11340 return resultobj;
11341 fail:
11342 {
11343 if (temp3)
11344 delete arg3;
11345 }
11346 {
11347 if (temp4)
11348 delete arg4;
11349 }
11350 return NULL;
11351 }
11352
11353
11354 SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj = 0;
11356 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11357 SwigValueWrapper<wxVisualAttributes > result;
11358 int val1 ;
11359 int ecode1 = 0 ;
11360 PyObject * obj0 = 0 ;
11361 char * kwnames[] = {
11362 (char *) "variant", NULL
11363 };
11364
11365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11366 if (obj0) {
11367 ecode1 = SWIG_AsVal_int(obj0, &val1);
11368 if (!SWIG_IsOK(ecode1)) {
11369 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11370 }
11371 arg1 = static_cast< wxWindowVariant >(val1);
11372 }
11373 {
11374 if (!wxPyCheckForApp()) SWIG_fail;
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11381 return resultobj;
11382 fail:
11383 return NULL;
11384 }
11385
11386
11387 SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj = 0;
11389 wxPyHtmlWindow::HTMLCursor arg1 ;
11390 wxCursor result;
11391 int val1 ;
11392 int ecode1 = 0 ;
11393 PyObject * obj0 = 0 ;
11394 char * kwnames[] = {
11395 (char *) "type", NULL
11396 };
11397
11398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11399 ecode1 = SWIG_AsVal_int(obj0, &val1);
11400 if (!SWIG_IsOK(ecode1)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11402 }
11403 arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11418 PyObject *obj;
11419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11420 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11421 return SWIG_Py_Void();
11422 }
11423
11424 SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11425 return SWIG_Python_InitShadowInstance(args);
11426 }
11427
11428 SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11429 PyObject *resultobj = 0;
11430 wxHtmlDCRenderer *result = 0 ;
11431
11432 if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11433 {
11434 if (!wxPyCheckForApp()) SWIG_fail;
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11448 PyObject *resultobj = 0;
11449 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11450 void *argp1 = 0 ;
11451 int res1 = 0 ;
11452 PyObject *swig_obj[1] ;
11453
11454 if (!args) SWIG_fail;
11455 swig_obj[0] = args;
11456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11457 if (!SWIG_IsOK(res1)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11459 }
11460 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 delete arg1;
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 resultobj = SWIG_Py_Void();
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj = 0;
11477 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11478 wxDC *arg2 = (wxDC *) 0 ;
11479 int arg3 ;
11480 void *argp1 = 0 ;
11481 int res1 = 0 ;
11482 void *argp2 = 0 ;
11483 int res2 = 0 ;
11484 int val3 ;
11485 int ecode3 = 0 ;
11486 PyObject * obj0 = 0 ;
11487 PyObject * obj1 = 0 ;
11488 PyObject * obj2 = 0 ;
11489 char * kwnames[] = {
11490 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11491 };
11492
11493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11495 if (!SWIG_IsOK(res1)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11497 }
11498 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11500 if (!SWIG_IsOK(res2)) {
11501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11502 }
11503 arg2 = reinterpret_cast< wxDC * >(argp2);
11504 ecode3 = SWIG_AsVal_int(obj2, &val3);
11505 if (!SWIG_IsOK(ecode3)) {
11506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11507 }
11508 arg3 = static_cast< int >(val3);
11509 {
11510 PyThreadState* __tstate = wxPyBeginAllowThreads();
11511 (arg1)->SetDC(arg2,arg3);
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 resultobj = SWIG_Py_Void();
11516 return resultobj;
11517 fail:
11518 return NULL;
11519 }
11520
11521
11522 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj = 0;
11524 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11525 int arg2 ;
11526 int arg3 ;
11527 void *argp1 = 0 ;
11528 int res1 = 0 ;
11529 int val2 ;
11530 int ecode2 = 0 ;
11531 int val3 ;
11532 int ecode3 = 0 ;
11533 PyObject * obj0 = 0 ;
11534 PyObject * obj1 = 0 ;
11535 PyObject * obj2 = 0 ;
11536 char * kwnames[] = {
11537 (char *) "self",(char *) "width",(char *) "height", NULL
11538 };
11539
11540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11542 if (!SWIG_IsOK(res1)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11544 }
11545 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11546 ecode2 = SWIG_AsVal_int(obj1, &val2);
11547 if (!SWIG_IsOK(ecode2)) {
11548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11549 }
11550 arg2 = static_cast< int >(val2);
11551 ecode3 = SWIG_AsVal_int(obj2, &val3);
11552 if (!SWIG_IsOK(ecode3)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11554 }
11555 arg3 = static_cast< int >(val3);
11556 {
11557 PyThreadState* __tstate = wxPyBeginAllowThreads();
11558 (arg1)->SetSize(arg2,arg3);
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 resultobj = SWIG_Py_Void();
11563 return resultobj;
11564 fail:
11565 return NULL;
11566 }
11567
11568
11569 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj = 0;
11571 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11572 wxString *arg2 = 0 ;
11573 wxString const &arg3_defvalue = wxPyEmptyString ;
11574 wxString *arg3 = (wxString *) &arg3_defvalue ;
11575 bool arg4 = (bool) true ;
11576 void *argp1 = 0 ;
11577 int res1 = 0 ;
11578 bool temp2 = false ;
11579 bool temp3 = false ;
11580 bool val4 ;
11581 int ecode4 = 0 ;
11582 PyObject * obj0 = 0 ;
11583 PyObject * obj1 = 0 ;
11584 PyObject * obj2 = 0 ;
11585 PyObject * obj3 = 0 ;
11586 char * kwnames[] = {
11587 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11588 };
11589
11590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11592 if (!SWIG_IsOK(res1)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11594 }
11595 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11596 {
11597 arg2 = wxString_in_helper(obj1);
11598 if (arg2 == NULL) SWIG_fail;
11599 temp2 = true;
11600 }
11601 if (obj2) {
11602 {
11603 arg3 = wxString_in_helper(obj2);
11604 if (arg3 == NULL) SWIG_fail;
11605 temp3 = true;
11606 }
11607 }
11608 if (obj3) {
11609 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11610 if (!SWIG_IsOK(ecode4)) {
11611 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11612 }
11613 arg4 = static_cast< bool >(val4);
11614 }
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11618 wxPyEndAllowThreads(__tstate);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 resultobj = SWIG_Py_Void();
11622 {
11623 if (temp2)
11624 delete arg2;
11625 }
11626 {
11627 if (temp3)
11628 delete arg3;
11629 }
11630 return resultobj;
11631 fail:
11632 {
11633 if (temp2)
11634 delete arg2;
11635 }
11636 {
11637 if (temp3)
11638 delete arg3;
11639 }
11640 return NULL;
11641 }
11642
11643
11644 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj = 0;
11646 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11647 wxString arg2 ;
11648 wxString arg3 ;
11649 PyObject *arg4 = (PyObject *) NULL ;
11650 void *argp1 = 0 ;
11651 int res1 = 0 ;
11652 PyObject * obj0 = 0 ;
11653 PyObject * obj1 = 0 ;
11654 PyObject * obj2 = 0 ;
11655 PyObject * obj3 = 0 ;
11656 char * kwnames[] = {
11657 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11658 };
11659
11660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11662 if (!SWIG_IsOK(res1)) {
11663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11664 }
11665 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11666 {
11667 wxString* sptr = wxString_in_helper(obj1);
11668 if (sptr == NULL) SWIG_fail;
11669 arg2 = *sptr;
11670 delete sptr;
11671 }
11672 {
11673 wxString* sptr = wxString_in_helper(obj2);
11674 if (sptr == NULL) SWIG_fail;
11675 arg3 = *sptr;
11676 delete sptr;
11677 }
11678 if (obj3) {
11679 arg4 = obj3;
11680 }
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11684 wxPyEndAllowThreads(__tstate);
11685 if (PyErr_Occurred()) SWIG_fail;
11686 }
11687 resultobj = SWIG_Py_Void();
11688 return resultobj;
11689 fail:
11690 return NULL;
11691 }
11692
11693
11694 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11695 PyObject *resultobj = 0;
11696 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11697 int arg2 = (int) -1 ;
11698 wxString const &arg3_defvalue = wxPyEmptyString ;
11699 wxString *arg3 = (wxString *) &arg3_defvalue ;
11700 wxString const &arg4_defvalue = wxPyEmptyString ;
11701 wxString *arg4 = (wxString *) &arg4_defvalue ;
11702 void *argp1 = 0 ;
11703 int res1 = 0 ;
11704 int val2 ;
11705 int ecode2 = 0 ;
11706 bool temp3 = false ;
11707 bool temp4 = false ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 PyObject * obj2 = 0 ;
11711 PyObject * obj3 = 0 ;
11712 char * kwnames[] = {
11713 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11714 };
11715
11716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11718 if (!SWIG_IsOK(res1)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11720 }
11721 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11722 if (obj1) {
11723 ecode2 = SWIG_AsVal_int(obj1, &val2);
11724 if (!SWIG_IsOK(ecode2)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11726 }
11727 arg2 = static_cast< int >(val2);
11728 }
11729 if (obj2) {
11730 {
11731 arg3 = wxString_in_helper(obj2);
11732 if (arg3 == NULL) SWIG_fail;
11733 temp3 = true;
11734 }
11735 }
11736 if (obj3) {
11737 {
11738 arg4 = wxString_in_helper(obj3);
11739 if (arg4 == NULL) SWIG_fail;
11740 temp4 = true;
11741 }
11742 }
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_Py_Void();
11750 {
11751 if (temp3)
11752 delete arg3;
11753 }
11754 {
11755 if (temp4)
11756 delete arg4;
11757 }
11758 return resultobj;
11759 fail:
11760 {
11761 if (temp3)
11762 delete arg3;
11763 }
11764 {
11765 if (temp4)
11766 delete arg4;
11767 }
11768 return NULL;
11769 }
11770
11771
11772 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11773 PyObject *resultobj = 0;
11774 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11775 int arg2 ;
11776 int arg3 ;
11777 int arg4 = (int) 0 ;
11778 int arg5 = (int) false ;
11779 int arg6 = (int) INT_MAX ;
11780 int *arg7 = (int *) NULL ;
11781 int arg8 = (int) 0 ;
11782 int result;
11783 void *argp1 = 0 ;
11784 int res1 = 0 ;
11785 int val2 ;
11786 int ecode2 = 0 ;
11787 int val3 ;
11788 int ecode3 = 0 ;
11789 int val4 ;
11790 int ecode4 = 0 ;
11791 int val5 ;
11792 int ecode5 = 0 ;
11793 int val6 ;
11794 int ecode6 = 0 ;
11795 void *argp7 = 0 ;
11796 int res7 = 0 ;
11797 int val8 ;
11798 int ecode8 = 0 ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
11801 PyObject * obj2 = 0 ;
11802 PyObject * obj3 = 0 ;
11803 PyObject * obj4 = 0 ;
11804 PyObject * obj5 = 0 ;
11805 PyObject * obj6 = 0 ;
11806 PyObject * obj7 = 0 ;
11807 char * kwnames[] = {
11808 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
11809 };
11810
11811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11813 if (!SWIG_IsOK(res1)) {
11814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11815 }
11816 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11817 ecode2 = SWIG_AsVal_int(obj1, &val2);
11818 if (!SWIG_IsOK(ecode2)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11820 }
11821 arg2 = static_cast< int >(val2);
11822 ecode3 = SWIG_AsVal_int(obj2, &val3);
11823 if (!SWIG_IsOK(ecode3)) {
11824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11825 }
11826 arg3 = static_cast< int >(val3);
11827 if (obj3) {
11828 ecode4 = SWIG_AsVal_int(obj3, &val4);
11829 if (!SWIG_IsOK(ecode4)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_Render" "', expected argument " "4"" of type '" "int""'");
11831 }
11832 arg4 = static_cast< int >(val4);
11833 }
11834 if (obj4) {
11835 ecode5 = SWIG_AsVal_int(obj4, &val5);
11836 if (!SWIG_IsOK(ecode5)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11838 }
11839 arg5 = static_cast< int >(val5);
11840 }
11841 if (obj5) {
11842 ecode6 = SWIG_AsVal_int(obj5, &val6);
11843 if (!SWIG_IsOK(ecode6)) {
11844 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11845 }
11846 arg6 = static_cast< int >(val6);
11847 }
11848 if (obj6) {
11849 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 );
11850 if (!SWIG_IsOK(res7)) {
11851 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int *""'");
11852 }
11853 arg7 = reinterpret_cast< int * >(argp7);
11854 }
11855 if (obj7) {
11856 ecode8 = SWIG_AsVal_int(obj7, &val8);
11857 if (!SWIG_IsOK(ecode8)) {
11858 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HtmlDCRenderer_Render" "', expected argument " "8"" of type '" "int""'");
11859 }
11860 arg8 = static_cast< int >(val8);
11861 }
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 resultobj = SWIG_From_int(static_cast< int >(result));
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11876 PyObject *resultobj = 0;
11877 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11878 int result;
11879 void *argp1 = 0 ;
11880 int res1 = 0 ;
11881 PyObject *swig_obj[1] ;
11882
11883 if (!args) SWIG_fail;
11884 swig_obj[0] = args;
11885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11886 if (!SWIG_IsOK(res1)) {
11887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11888 }
11889 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 result = (int)(arg1)->GetTotalHeight();
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 resultobj = SWIG_From_int(static_cast< int >(result));
11897 return resultobj;
11898 fail:
11899 return NULL;
11900 }
11901
11902
11903 SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11904 PyObject *obj;
11905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11906 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11907 return SWIG_Py_Void();
11908 }
11909
11910 SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11911 return SWIG_Python_InitShadowInstance(args);
11912 }
11913
11914 SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11915 PyObject *resultobj = 0;
11916 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11917 wxString *arg1 = (wxString *) &arg1_defvalue ;
11918 wxHtmlPrintout *result = 0 ;
11919 bool temp1 = false ;
11920 PyObject * obj0 = 0 ;
11921 char * kwnames[] = {
11922 (char *) "title", NULL
11923 };
11924
11925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11926 if (obj0) {
11927 {
11928 arg1 = wxString_in_helper(obj0);
11929 if (arg1 == NULL) SWIG_fail;
11930 temp1 = true;
11931 }
11932 }
11933 {
11934 if (!wxPyCheckForApp()) SWIG_fail;
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11941 {
11942 if (temp1)
11943 delete arg1;
11944 }
11945 return resultobj;
11946 fail:
11947 {
11948 if (temp1)
11949 delete arg1;
11950 }
11951 return NULL;
11952 }
11953
11954
11955 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11956 PyObject *resultobj = 0;
11957 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11958 wxString *arg2 = 0 ;
11959 wxString const &arg3_defvalue = wxPyEmptyString ;
11960 wxString *arg3 = (wxString *) &arg3_defvalue ;
11961 bool arg4 = (bool) true ;
11962 void *argp1 = 0 ;
11963 int res1 = 0 ;
11964 bool temp2 = false ;
11965 bool temp3 = false ;
11966 bool val4 ;
11967 int ecode4 = 0 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 PyObject * obj2 = 0 ;
11971 PyObject * obj3 = 0 ;
11972 char * kwnames[] = {
11973 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11974 };
11975
11976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11978 if (!SWIG_IsOK(res1)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11980 }
11981 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11982 {
11983 arg2 = wxString_in_helper(obj1);
11984 if (arg2 == NULL) SWIG_fail;
11985 temp2 = true;
11986 }
11987 if (obj2) {
11988 {
11989 arg3 = wxString_in_helper(obj2);
11990 if (arg3 == NULL) SWIG_fail;
11991 temp3 = true;
11992 }
11993 }
11994 if (obj3) {
11995 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11996 if (!SWIG_IsOK(ecode4)) {
11997 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11998 }
11999 arg4 = static_cast< bool >(val4);
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 resultobj = SWIG_Py_Void();
12008 {
12009 if (temp2)
12010 delete arg2;
12011 }
12012 {
12013 if (temp3)
12014 delete arg3;
12015 }
12016 return resultobj;
12017 fail:
12018 {
12019 if (temp2)
12020 delete arg2;
12021 }
12022 {
12023 if (temp3)
12024 delete arg3;
12025 }
12026 return NULL;
12027 }
12028
12029
12030 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj = 0;
12032 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12033 wxString *arg2 = 0 ;
12034 void *argp1 = 0 ;
12035 int res1 = 0 ;
12036 bool temp2 = false ;
12037 PyObject * obj0 = 0 ;
12038 PyObject * obj1 = 0 ;
12039 char * kwnames[] = {
12040 (char *) "self",(char *) "htmlfile", NULL
12041 };
12042
12043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
12044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12045 if (!SWIG_IsOK(res1)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12047 }
12048 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12049 {
12050 arg2 = wxString_in_helper(obj1);
12051 if (arg2 == NULL) SWIG_fail;
12052 temp2 = true;
12053 }
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 (arg1)->SetHtmlFile((wxString const &)*arg2);
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 resultobj = SWIG_Py_Void();
12061 {
12062 if (temp2)
12063 delete arg2;
12064 }
12065 return resultobj;
12066 fail:
12067 {
12068 if (temp2)
12069 delete arg2;
12070 }
12071 return NULL;
12072 }
12073
12074
12075 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj = 0;
12077 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12078 wxString *arg2 = 0 ;
12079 int arg3 = (int) wxPAGE_ALL ;
12080 void *argp1 = 0 ;
12081 int res1 = 0 ;
12082 bool temp2 = false ;
12083 int val3 ;
12084 int ecode3 = 0 ;
12085 PyObject * obj0 = 0 ;
12086 PyObject * obj1 = 0 ;
12087 PyObject * obj2 = 0 ;
12088 char * kwnames[] = {
12089 (char *) "self",(char *) "header",(char *) "pg", NULL
12090 };
12091
12092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12094 if (!SWIG_IsOK(res1)) {
12095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12096 }
12097 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12098 {
12099 arg2 = wxString_in_helper(obj1);
12100 if (arg2 == NULL) SWIG_fail;
12101 temp2 = true;
12102 }
12103 if (obj2) {
12104 ecode3 = SWIG_AsVal_int(obj2, &val3);
12105 if (!SWIG_IsOK(ecode3)) {
12106 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12107 }
12108 arg3 = static_cast< int >(val3);
12109 }
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 resultobj = SWIG_Py_Void();
12117 {
12118 if (temp2)
12119 delete arg2;
12120 }
12121 return resultobj;
12122 fail:
12123 {
12124 if (temp2)
12125 delete arg2;
12126 }
12127 return NULL;
12128 }
12129
12130
12131 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj = 0;
12133 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12134 wxString *arg2 = 0 ;
12135 int arg3 = (int) wxPAGE_ALL ;
12136 void *argp1 = 0 ;
12137 int res1 = 0 ;
12138 bool temp2 = false ;
12139 int val3 ;
12140 int ecode3 = 0 ;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 PyObject * obj2 = 0 ;
12144 char * kwnames[] = {
12145 (char *) "self",(char *) "footer",(char *) "pg", NULL
12146 };
12147
12148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12150 if (!SWIG_IsOK(res1)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12152 }
12153 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12154 {
12155 arg2 = wxString_in_helper(obj1);
12156 if (arg2 == NULL) SWIG_fail;
12157 temp2 = true;
12158 }
12159 if (obj2) {
12160 ecode3 = SWIG_AsVal_int(obj2, &val3);
12161 if (!SWIG_IsOK(ecode3)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12163 }
12164 arg3 = static_cast< int >(val3);
12165 }
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = SWIG_Py_Void();
12173 {
12174 if (temp2)
12175 delete arg2;
12176 }
12177 return resultobj;
12178 fail:
12179 {
12180 if (temp2)
12181 delete arg2;
12182 }
12183 return NULL;
12184 }
12185
12186
12187 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj = 0;
12189 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12190 wxString arg2 ;
12191 wxString arg3 ;
12192 PyObject *arg4 = (PyObject *) NULL ;
12193 void *argp1 = 0 ;
12194 int res1 = 0 ;
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
12197 PyObject * obj2 = 0 ;
12198 PyObject * obj3 = 0 ;
12199 char * kwnames[] = {
12200 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12201 };
12202
12203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12205 if (!SWIG_IsOK(res1)) {
12206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12207 }
12208 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12209 {
12210 wxString* sptr = wxString_in_helper(obj1);
12211 if (sptr == NULL) SWIG_fail;
12212 arg2 = *sptr;
12213 delete sptr;
12214 }
12215 {
12216 wxString* sptr = wxString_in_helper(obj2);
12217 if (sptr == NULL) SWIG_fail;
12218 arg3 = *sptr;
12219 delete sptr;
12220 }
12221 if (obj3) {
12222 arg4 = obj3;
12223 }
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = SWIG_Py_Void();
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj = 0;
12239 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12240 int arg2 = (int) -1 ;
12241 wxString const &arg3_defvalue = wxPyEmptyString ;
12242 wxString *arg3 = (wxString *) &arg3_defvalue ;
12243 wxString const &arg4_defvalue = wxPyEmptyString ;
12244 wxString *arg4 = (wxString *) &arg4_defvalue ;
12245 void *argp1 = 0 ;
12246 int res1 = 0 ;
12247 int val2 ;
12248 int ecode2 = 0 ;
12249 bool temp3 = false ;
12250 bool temp4 = false ;
12251 PyObject * obj0 = 0 ;
12252 PyObject * obj1 = 0 ;
12253 PyObject * obj2 = 0 ;
12254 PyObject * obj3 = 0 ;
12255 char * kwnames[] = {
12256 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12257 };
12258
12259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12261 if (!SWIG_IsOK(res1)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12263 }
12264 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12265 if (obj1) {
12266 ecode2 = SWIG_AsVal_int(obj1, &val2);
12267 if (!SWIG_IsOK(ecode2)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12269 }
12270 arg2 = static_cast< int >(val2);
12271 }
12272 if (obj2) {
12273 {
12274 arg3 = wxString_in_helper(obj2);
12275 if (arg3 == NULL) SWIG_fail;
12276 temp3 = true;
12277 }
12278 }
12279 if (obj3) {
12280 {
12281 arg4 = wxString_in_helper(obj3);
12282 if (arg4 == NULL) SWIG_fail;
12283 temp4 = true;
12284 }
12285 }
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 resultobj = SWIG_Py_Void();
12293 {
12294 if (temp3)
12295 delete arg3;
12296 }
12297 {
12298 if (temp4)
12299 delete arg4;
12300 }
12301 return resultobj;
12302 fail:
12303 {
12304 if (temp3)
12305 delete arg3;
12306 }
12307 {
12308 if (temp4)
12309 delete arg4;
12310 }
12311 return NULL;
12312 }
12313
12314
12315 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj = 0;
12317 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12318 float arg2 = (float) 25.2 ;
12319 float arg3 = (float) 25.2 ;
12320 float arg4 = (float) 25.2 ;
12321 float arg5 = (float) 25.2 ;
12322 float arg6 = (float) 5 ;
12323 void *argp1 = 0 ;
12324 int res1 = 0 ;
12325 float val2 ;
12326 int ecode2 = 0 ;
12327 float val3 ;
12328 int ecode3 = 0 ;
12329 float val4 ;
12330 int ecode4 = 0 ;
12331 float val5 ;
12332 int ecode5 = 0 ;
12333 float val6 ;
12334 int ecode6 = 0 ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 PyObject * obj2 = 0 ;
12338 PyObject * obj3 = 0 ;
12339 PyObject * obj4 = 0 ;
12340 PyObject * obj5 = 0 ;
12341 char * kwnames[] = {
12342 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12343 };
12344
12345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12347 if (!SWIG_IsOK(res1)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12349 }
12350 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12351 if (obj1) {
12352 ecode2 = SWIG_AsVal_float(obj1, &val2);
12353 if (!SWIG_IsOK(ecode2)) {
12354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12355 }
12356 arg2 = static_cast< float >(val2);
12357 }
12358 if (obj2) {
12359 ecode3 = SWIG_AsVal_float(obj2, &val3);
12360 if (!SWIG_IsOK(ecode3)) {
12361 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12362 }
12363 arg3 = static_cast< float >(val3);
12364 }
12365 if (obj3) {
12366 ecode4 = SWIG_AsVal_float(obj3, &val4);
12367 if (!SWIG_IsOK(ecode4)) {
12368 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12369 }
12370 arg4 = static_cast< float >(val4);
12371 }
12372 if (obj4) {
12373 ecode5 = SWIG_AsVal_float(obj4, &val5);
12374 if (!SWIG_IsOK(ecode5)) {
12375 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12376 }
12377 arg5 = static_cast< float >(val5);
12378 }
12379 if (obj5) {
12380 ecode6 = SWIG_AsVal_float(obj5, &val6);
12381 if (!SWIG_IsOK(ecode6)) {
12382 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12383 }
12384 arg6 = static_cast< float >(val6);
12385 }
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 resultobj = SWIG_Py_Void();
12393 return resultobj;
12394 fail:
12395 return NULL;
12396 }
12397
12398
12399 SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12400 PyObject *resultobj = 0;
12401 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12402 void *argp1 = 0 ;
12403 int res1 = 0 ;
12404 PyObject * obj0 = 0 ;
12405 char * kwnames[] = {
12406 (char *) "filter", NULL
12407 };
12408
12409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12411 if (!SWIG_IsOK(res1)) {
12412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12413 }
12414 arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 wxHtmlPrintout::AddFilter(arg1);
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 resultobj = SWIG_Py_Void();
12422 return resultobj;
12423 fail:
12424 return NULL;
12425 }
12426
12427
12428 SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12429 PyObject *resultobj = 0;
12430
12431 if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 wxHtmlPrintout::CleanUpStatics();
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 resultobj = SWIG_Py_Void();
12439 return resultobj;
12440 fail:
12441 return NULL;
12442 }
12443
12444
12445 SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12446 PyObject *obj;
12447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12448 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12449 return SWIG_Py_Void();
12450 }
12451
12452 SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12453 return SWIG_Python_InitShadowInstance(args);
12454 }
12455
12456 SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj = 0;
12458 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12459 wxString *arg1 = (wxString *) &arg1_defvalue ;
12460 wxWindow *arg2 = (wxWindow *) NULL ;
12461 wxHtmlEasyPrinting *result = 0 ;
12462 bool temp1 = false ;
12463 void *argp2 = 0 ;
12464 int res2 = 0 ;
12465 PyObject * obj0 = 0 ;
12466 PyObject * obj1 = 0 ;
12467 char * kwnames[] = {
12468 (char *) "name",(char *) "parentWindow", NULL
12469 };
12470
12471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12472 if (obj0) {
12473 {
12474 arg1 = wxString_in_helper(obj0);
12475 if (arg1 == NULL) SWIG_fail;
12476 temp1 = true;
12477 }
12478 }
12479 if (obj1) {
12480 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12481 if (!SWIG_IsOK(res2)) {
12482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12483 }
12484 arg2 = reinterpret_cast< wxWindow * >(argp2);
12485 }
12486 {
12487 if (!wxPyCheckForApp()) SWIG_fail;
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12494 {
12495 if (temp1)
12496 delete arg1;
12497 }
12498 return resultobj;
12499 fail:
12500 {
12501 if (temp1)
12502 delete arg1;
12503 }
12504 return NULL;
12505 }
12506
12507
12508 SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12509 PyObject *resultobj = 0;
12510 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12511 void *argp1 = 0 ;
12512 int res1 = 0 ;
12513 PyObject *swig_obj[1] ;
12514
12515 if (!args) SWIG_fail;
12516 swig_obj[0] = args;
12517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12518 if (!SWIG_IsOK(res1)) {
12519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12520 }
12521 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 delete arg1;
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 resultobj = SWIG_Py_Void();
12530 return resultobj;
12531 fail:
12532 return NULL;
12533 }
12534
12535
12536 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12537 PyObject *resultobj = 0;
12538 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12539 wxString *arg2 = 0 ;
12540 void *argp1 = 0 ;
12541 int res1 = 0 ;
12542 bool temp2 = false ;
12543 PyObject * obj0 = 0 ;
12544 PyObject * obj1 = 0 ;
12545 char * kwnames[] = {
12546 (char *) "self",(char *) "htmlfile", NULL
12547 };
12548
12549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12551 if (!SWIG_IsOK(res1)) {
12552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12553 }
12554 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12555 {
12556 arg2 = wxString_in_helper(obj1);
12557 if (arg2 == NULL) SWIG_fail;
12558 temp2 = true;
12559 }
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 (arg1)->PreviewFile((wxString const &)*arg2);
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 resultobj = SWIG_Py_Void();
12567 {
12568 if (temp2)
12569 delete arg2;
12570 }
12571 return resultobj;
12572 fail:
12573 {
12574 if (temp2)
12575 delete arg2;
12576 }
12577 return NULL;
12578 }
12579
12580
12581 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj = 0;
12583 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12584 wxString *arg2 = 0 ;
12585 wxString const &arg3_defvalue = wxPyEmptyString ;
12586 wxString *arg3 = (wxString *) &arg3_defvalue ;
12587 void *argp1 = 0 ;
12588 int res1 = 0 ;
12589 bool temp2 = false ;
12590 bool temp3 = false ;
12591 PyObject * obj0 = 0 ;
12592 PyObject * obj1 = 0 ;
12593 PyObject * obj2 = 0 ;
12594 char * kwnames[] = {
12595 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12596 };
12597
12598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12600 if (!SWIG_IsOK(res1)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12602 }
12603 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12604 {
12605 arg2 = wxString_in_helper(obj1);
12606 if (arg2 == NULL) SWIG_fail;
12607 temp2 = true;
12608 }
12609 if (obj2) {
12610 {
12611 arg3 = wxString_in_helper(obj2);
12612 if (arg3 == NULL) SWIG_fail;
12613 temp3 = true;
12614 }
12615 }
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12619 wxPyEndAllowThreads(__tstate);
12620 if (PyErr_Occurred()) SWIG_fail;
12621 }
12622 resultobj = SWIG_Py_Void();
12623 {
12624 if (temp2)
12625 delete arg2;
12626 }
12627 {
12628 if (temp3)
12629 delete arg3;
12630 }
12631 return resultobj;
12632 fail:
12633 {
12634 if (temp2)
12635 delete arg2;
12636 }
12637 {
12638 if (temp3)
12639 delete arg3;
12640 }
12641 return NULL;
12642 }
12643
12644
12645 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj = 0;
12647 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12648 wxString *arg2 = 0 ;
12649 void *argp1 = 0 ;
12650 int res1 = 0 ;
12651 bool temp2 = false ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char * kwnames[] = {
12655 (char *) "self",(char *) "htmlfile", NULL
12656 };
12657
12658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12660 if (!SWIG_IsOK(res1)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12662 }
12663 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12664 {
12665 arg2 = wxString_in_helper(obj1);
12666 if (arg2 == NULL) SWIG_fail;
12667 temp2 = true;
12668 }
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 (arg1)->PrintFile((wxString const &)*arg2);
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 resultobj = SWIG_Py_Void();
12676 {
12677 if (temp2)
12678 delete arg2;
12679 }
12680 return resultobj;
12681 fail:
12682 {
12683 if (temp2)
12684 delete arg2;
12685 }
12686 return NULL;
12687 }
12688
12689
12690 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj = 0;
12692 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12693 wxString *arg2 = 0 ;
12694 wxString const &arg3_defvalue = wxPyEmptyString ;
12695 wxString *arg3 = (wxString *) &arg3_defvalue ;
12696 void *argp1 = 0 ;
12697 int res1 = 0 ;
12698 bool temp2 = false ;
12699 bool temp3 = false ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 PyObject * obj2 = 0 ;
12703 char * kwnames[] = {
12704 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12705 };
12706
12707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12709 if (!SWIG_IsOK(res1)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12711 }
12712 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12713 {
12714 arg2 = wxString_in_helper(obj1);
12715 if (arg2 == NULL) SWIG_fail;
12716 temp2 = true;
12717 }
12718 if (obj2) {
12719 {
12720 arg3 = wxString_in_helper(obj2);
12721 if (arg3 == NULL) SWIG_fail;
12722 temp3 = true;
12723 }
12724 }
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = SWIG_Py_Void();
12732 {
12733 if (temp2)
12734 delete arg2;
12735 }
12736 {
12737 if (temp3)
12738 delete arg3;
12739 }
12740 return resultobj;
12741 fail:
12742 {
12743 if (temp2)
12744 delete arg2;
12745 }
12746 {
12747 if (temp3)
12748 delete arg3;
12749 }
12750 return NULL;
12751 }
12752
12753
12754 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12755 PyObject *resultobj = 0;
12756 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12757 void *argp1 = 0 ;
12758 int res1 = 0 ;
12759 PyObject *swig_obj[1] ;
12760
12761 if (!args) SWIG_fail;
12762 swig_obj[0] = args;
12763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12764 if (!SWIG_IsOK(res1)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12766 }
12767 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 (arg1)->PageSetup();
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = SWIG_Py_Void();
12775 return resultobj;
12776 fail:
12777 return NULL;
12778 }
12779
12780
12781 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj = 0;
12783 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12784 wxString *arg2 = 0 ;
12785 int arg3 = (int) wxPAGE_ALL ;
12786 void *argp1 = 0 ;
12787 int res1 = 0 ;
12788 bool temp2 = false ;
12789 int val3 ;
12790 int ecode3 = 0 ;
12791 PyObject * obj0 = 0 ;
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
12794 char * kwnames[] = {
12795 (char *) "self",(char *) "header",(char *) "pg", NULL
12796 };
12797
12798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12800 if (!SWIG_IsOK(res1)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12802 }
12803 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12804 {
12805 arg2 = wxString_in_helper(obj1);
12806 if (arg2 == NULL) SWIG_fail;
12807 temp2 = true;
12808 }
12809 if (obj2) {
12810 ecode3 = SWIG_AsVal_int(obj2, &val3);
12811 if (!SWIG_IsOK(ecode3)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12813 }
12814 arg3 = static_cast< int >(val3);
12815 }
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
12822 resultobj = SWIG_Py_Void();
12823 {
12824 if (temp2)
12825 delete arg2;
12826 }
12827 return resultobj;
12828 fail:
12829 {
12830 if (temp2)
12831 delete arg2;
12832 }
12833 return NULL;
12834 }
12835
12836
12837 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj = 0;
12839 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12840 wxString *arg2 = 0 ;
12841 int arg3 = (int) wxPAGE_ALL ;
12842 void *argp1 = 0 ;
12843 int res1 = 0 ;
12844 bool temp2 = false ;
12845 int val3 ;
12846 int ecode3 = 0 ;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 PyObject * obj2 = 0 ;
12850 char * kwnames[] = {
12851 (char *) "self",(char *) "footer",(char *) "pg", NULL
12852 };
12853
12854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12856 if (!SWIG_IsOK(res1)) {
12857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12858 }
12859 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12860 {
12861 arg2 = wxString_in_helper(obj1);
12862 if (arg2 == NULL) SWIG_fail;
12863 temp2 = true;
12864 }
12865 if (obj2) {
12866 ecode3 = SWIG_AsVal_int(obj2, &val3);
12867 if (!SWIG_IsOK(ecode3)) {
12868 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12869 }
12870 arg3 = static_cast< int >(val3);
12871 }
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 resultobj = SWIG_Py_Void();
12879 {
12880 if (temp2)
12881 delete arg2;
12882 }
12883 return resultobj;
12884 fail:
12885 {
12886 if (temp2)
12887 delete arg2;
12888 }
12889 return NULL;
12890 }
12891
12892
12893 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12894 PyObject *resultobj = 0;
12895 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12896 wxString arg2 ;
12897 wxString arg3 ;
12898 PyObject *arg4 = (PyObject *) NULL ;
12899 void *argp1 = 0 ;
12900 int res1 = 0 ;
12901 PyObject * obj0 = 0 ;
12902 PyObject * obj1 = 0 ;
12903 PyObject * obj2 = 0 ;
12904 PyObject * obj3 = 0 ;
12905 char * kwnames[] = {
12906 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12907 };
12908
12909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12911 if (!SWIG_IsOK(res1)) {
12912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12913 }
12914 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12915 {
12916 wxString* sptr = wxString_in_helper(obj1);
12917 if (sptr == NULL) SWIG_fail;
12918 arg2 = *sptr;
12919 delete sptr;
12920 }
12921 {
12922 wxString* sptr = wxString_in_helper(obj2);
12923 if (sptr == NULL) SWIG_fail;
12924 arg3 = *sptr;
12925 delete sptr;
12926 }
12927 if (obj3) {
12928 arg4 = obj3;
12929 }
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 resultobj = SWIG_Py_Void();
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj = 0;
12945 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12946 int arg2 = (int) -1 ;
12947 wxString const &arg3_defvalue = wxPyEmptyString ;
12948 wxString *arg3 = (wxString *) &arg3_defvalue ;
12949 wxString const &arg4_defvalue = wxPyEmptyString ;
12950 wxString *arg4 = (wxString *) &arg4_defvalue ;
12951 void *argp1 = 0 ;
12952 int res1 = 0 ;
12953 int val2 ;
12954 int ecode2 = 0 ;
12955 bool temp3 = false ;
12956 bool temp4 = false ;
12957 PyObject * obj0 = 0 ;
12958 PyObject * obj1 = 0 ;
12959 PyObject * obj2 = 0 ;
12960 PyObject * obj3 = 0 ;
12961 char * kwnames[] = {
12962 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12963 };
12964
12965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12967 if (!SWIG_IsOK(res1)) {
12968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12969 }
12970 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12971 if (obj1) {
12972 ecode2 = SWIG_AsVal_int(obj1, &val2);
12973 if (!SWIG_IsOK(ecode2)) {
12974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12975 }
12976 arg2 = static_cast< int >(val2);
12977 }
12978 if (obj2) {
12979 {
12980 arg3 = wxString_in_helper(obj2);
12981 if (arg3 == NULL) SWIG_fail;
12982 temp3 = true;
12983 }
12984 }
12985 if (obj3) {
12986 {
12987 arg4 = wxString_in_helper(obj3);
12988 if (arg4 == NULL) SWIG_fail;
12989 temp4 = true;
12990 }
12991 }
12992 {
12993 PyThreadState* __tstate = wxPyBeginAllowThreads();
12994 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12995 wxPyEndAllowThreads(__tstate);
12996 if (PyErr_Occurred()) SWIG_fail;
12997 }
12998 resultobj = SWIG_Py_Void();
12999 {
13000 if (temp3)
13001 delete arg3;
13002 }
13003 {
13004 if (temp4)
13005 delete arg4;
13006 }
13007 return resultobj;
13008 fail:
13009 {
13010 if (temp3)
13011 delete arg3;
13012 }
13013 {
13014 if (temp4)
13015 delete arg4;
13016 }
13017 return NULL;
13018 }
13019
13020
13021 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13022 PyObject *resultobj = 0;
13023 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13024 wxPrintData *result = 0 ;
13025 void *argp1 = 0 ;
13026 int res1 = 0 ;
13027 PyObject *swig_obj[1] ;
13028
13029 if (!args) SWIG_fail;
13030 swig_obj[0] = args;
13031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13032 if (!SWIG_IsOK(res1)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13034 }
13035 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (wxPrintData *)(arg1)->GetPrintData();
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13050 PyObject *resultobj = 0;
13051 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13052 wxPageSetupDialogData *result = 0 ;
13053 void *argp1 = 0 ;
13054 int res1 = 0 ;
13055 PyObject *swig_obj[1] ;
13056
13057 if (!args) SWIG_fail;
13058 swig_obj[0] = args;
13059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13060 if (!SWIG_IsOK(res1)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13062 }
13063 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
13071 return resultobj;
13072 fail:
13073 return NULL;
13074 }
13075
13076
13077 SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13078 PyObject *obj;
13079 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13080 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
13081 return SWIG_Py_Void();
13082 }
13083
13084 SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13085 return SWIG_Python_InitShadowInstance(args);
13086 }
13087
13088 SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj = 0;
13090 wxString *arg1 = 0 ;
13091 wxString *arg2 = 0 ;
13092 wxString *arg3 = 0 ;
13093 wxString *arg4 = 0 ;
13094 wxHtmlBookRecord *result = 0 ;
13095 bool temp1 = false ;
13096 bool temp2 = false ;
13097 bool temp3 = false ;
13098 bool temp4 = false ;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 PyObject * obj2 = 0 ;
13102 PyObject * obj3 = 0 ;
13103 char * kwnames[] = {
13104 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13105 };
13106
13107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13108 {
13109 arg1 = wxString_in_helper(obj0);
13110 if (arg1 == NULL) SWIG_fail;
13111 temp1 = true;
13112 }
13113 {
13114 arg2 = wxString_in_helper(obj1);
13115 if (arg2 == NULL) SWIG_fail;
13116 temp2 = true;
13117 }
13118 {
13119 arg3 = wxString_in_helper(obj2);
13120 if (arg3 == NULL) SWIG_fail;
13121 temp3 = true;
13122 }
13123 {
13124 arg4 = wxString_in_helper(obj3);
13125 if (arg4 == NULL) SWIG_fail;
13126 temp4 = true;
13127 }
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13135 {
13136 if (temp1)
13137 delete arg1;
13138 }
13139 {
13140 if (temp2)
13141 delete arg2;
13142 }
13143 {
13144 if (temp3)
13145 delete arg3;
13146 }
13147 {
13148 if (temp4)
13149 delete arg4;
13150 }
13151 return resultobj;
13152 fail:
13153 {
13154 if (temp1)
13155 delete arg1;
13156 }
13157 {
13158 if (temp2)
13159 delete arg2;
13160 }
13161 {
13162 if (temp3)
13163 delete arg3;
13164 }
13165 {
13166 if (temp4)
13167 delete arg4;
13168 }
13169 return NULL;
13170 }
13171
13172
13173 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13174 PyObject *resultobj = 0;
13175 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13176 wxString result;
13177 void *argp1 = 0 ;
13178 int res1 = 0 ;
13179 PyObject *swig_obj[1] ;
13180
13181 if (!args) SWIG_fail;
13182 swig_obj[0] = args;
13183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13184 if (!SWIG_IsOK(res1)) {
13185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13186 }
13187 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (arg1)->GetBookFile();
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 {
13195 #if wxUSE_UNICODE
13196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13197 #else
13198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13199 #endif
13200 }
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13208 PyObject *resultobj = 0;
13209 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13210 wxString result;
13211 void *argp1 = 0 ;
13212 int res1 = 0 ;
13213 PyObject *swig_obj[1] ;
13214
13215 if (!args) SWIG_fail;
13216 swig_obj[0] = args;
13217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13218 if (!SWIG_IsOK(res1)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13220 }
13221 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 result = (arg1)->GetTitle();
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 {
13229 #if wxUSE_UNICODE
13230 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13231 #else
13232 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13233 #endif
13234 }
13235 return resultobj;
13236 fail:
13237 return NULL;
13238 }
13239
13240
13241 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13242 PyObject *resultobj = 0;
13243 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13244 wxString result;
13245 void *argp1 = 0 ;
13246 int res1 = 0 ;
13247 PyObject *swig_obj[1] ;
13248
13249 if (!args) SWIG_fail;
13250 swig_obj[0] = args;
13251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13252 if (!SWIG_IsOK(res1)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13254 }
13255 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 result = (arg1)->GetStart();
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 {
13263 #if wxUSE_UNICODE
13264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13265 #else
13266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13267 #endif
13268 }
13269 return resultobj;
13270 fail:
13271 return NULL;
13272 }
13273
13274
13275 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13276 PyObject *resultobj = 0;
13277 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13278 wxString result;
13279 void *argp1 = 0 ;
13280 int res1 = 0 ;
13281 PyObject *swig_obj[1] ;
13282
13283 if (!args) SWIG_fail;
13284 swig_obj[0] = args;
13285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13286 if (!SWIG_IsOK(res1)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13288 }
13289 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (arg1)->GetBasePath();
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 {
13297 #if wxUSE_UNICODE
13298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13299 #else
13300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13301 #endif
13302 }
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj = 0;
13311 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13312 int arg2 ;
13313 int arg3 ;
13314 void *argp1 = 0 ;
13315 int res1 = 0 ;
13316 int val2 ;
13317 int ecode2 = 0 ;
13318 int val3 ;
13319 int ecode3 = 0 ;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 PyObject * obj2 = 0 ;
13323 char * kwnames[] = {
13324 (char *) "self",(char *) "start",(char *) "end", NULL
13325 };
13326
13327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13329 if (!SWIG_IsOK(res1)) {
13330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13331 }
13332 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13333 ecode2 = SWIG_AsVal_int(obj1, &val2);
13334 if (!SWIG_IsOK(ecode2)) {
13335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13336 }
13337 arg2 = static_cast< int >(val2);
13338 ecode3 = SWIG_AsVal_int(obj2, &val3);
13339 if (!SWIG_IsOK(ecode3)) {
13340 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13341 }
13342 arg3 = static_cast< int >(val3);
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 (arg1)->SetContentsRange(arg2,arg3);
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 resultobj = SWIG_Py_Void();
13350 return resultobj;
13351 fail:
13352 return NULL;
13353 }
13354
13355
13356 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13357 PyObject *resultobj = 0;
13358 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13359 int result;
13360 void *argp1 = 0 ;
13361 int res1 = 0 ;
13362 PyObject *swig_obj[1] ;
13363
13364 if (!args) SWIG_fail;
13365 swig_obj[0] = args;
13366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13367 if (!SWIG_IsOK(res1)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13369 }
13370 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (int)(arg1)->GetContentsStart();
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 resultobj = SWIG_From_int(static_cast< int >(result));
13378 return resultobj;
13379 fail:
13380 return NULL;
13381 }
13382
13383
13384 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13385 PyObject *resultobj = 0;
13386 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13387 int result;
13388 void *argp1 = 0 ;
13389 int res1 = 0 ;
13390 PyObject *swig_obj[1] ;
13391
13392 if (!args) SWIG_fail;
13393 swig_obj[0] = args;
13394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13395 if (!SWIG_IsOK(res1)) {
13396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13397 }
13398 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 result = (int)(arg1)->GetContentsEnd();
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 resultobj = SWIG_From_int(static_cast< int >(result));
13406 return resultobj;
13407 fail:
13408 return NULL;
13409 }
13410
13411
13412 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj = 0;
13414 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13415 wxString *arg2 = 0 ;
13416 void *argp1 = 0 ;
13417 int res1 = 0 ;
13418 bool temp2 = false ;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 char * kwnames[] = {
13422 (char *) "self",(char *) "title", NULL
13423 };
13424
13425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13427 if (!SWIG_IsOK(res1)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13429 }
13430 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13431 {
13432 arg2 = wxString_in_helper(obj1);
13433 if (arg2 == NULL) SWIG_fail;
13434 temp2 = true;
13435 }
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 (arg1)->SetTitle((wxString const &)*arg2);
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 resultobj = SWIG_Py_Void();
13443 {
13444 if (temp2)
13445 delete arg2;
13446 }
13447 return resultobj;
13448 fail:
13449 {
13450 if (temp2)
13451 delete arg2;
13452 }
13453 return NULL;
13454 }
13455
13456
13457 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj = 0;
13459 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13460 wxString *arg2 = 0 ;
13461 void *argp1 = 0 ;
13462 int res1 = 0 ;
13463 bool temp2 = false ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 char * kwnames[] = {
13467 (char *) "self",(char *) "path", NULL
13468 };
13469
13470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13472 if (!SWIG_IsOK(res1)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13474 }
13475 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13476 {
13477 arg2 = wxString_in_helper(obj1);
13478 if (arg2 == NULL) SWIG_fail;
13479 temp2 = true;
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 (arg1)->SetBasePath((wxString const &)*arg2);
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 resultobj = SWIG_Py_Void();
13488 {
13489 if (temp2)
13490 delete arg2;
13491 }
13492 return resultobj;
13493 fail:
13494 {
13495 if (temp2)
13496 delete arg2;
13497 }
13498 return NULL;
13499 }
13500
13501
13502 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj = 0;
13504 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13505 wxString *arg2 = 0 ;
13506 void *argp1 = 0 ;
13507 int res1 = 0 ;
13508 bool temp2 = false ;
13509 PyObject * obj0 = 0 ;
13510 PyObject * obj1 = 0 ;
13511 char * kwnames[] = {
13512 (char *) "self",(char *) "start", NULL
13513 };
13514
13515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
13516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13517 if (!SWIG_IsOK(res1)) {
13518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13519 }
13520 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13521 {
13522 arg2 = wxString_in_helper(obj1);
13523 if (arg2 == NULL) SWIG_fail;
13524 temp2 = true;
13525 }
13526 {
13527 PyThreadState* __tstate = wxPyBeginAllowThreads();
13528 (arg1)->SetStart((wxString const &)*arg2);
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 resultobj = SWIG_Py_Void();
13533 {
13534 if (temp2)
13535 delete arg2;
13536 }
13537 return resultobj;
13538 fail:
13539 {
13540 if (temp2)
13541 delete arg2;
13542 }
13543 return NULL;
13544 }
13545
13546
13547 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13548 PyObject *resultobj = 0;
13549 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13550 wxString *arg2 = 0 ;
13551 wxString result;
13552 void *argp1 = 0 ;
13553 int res1 = 0 ;
13554 bool temp2 = false ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char * kwnames[] = {
13558 (char *) "self",(char *) "page", NULL
13559 };
13560
13561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13563 if (!SWIG_IsOK(res1)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13565 }
13566 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13567 {
13568 arg2 = wxString_in_helper(obj1);
13569 if (arg2 == NULL) SWIG_fail;
13570 temp2 = true;
13571 }
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 {
13579 #if wxUSE_UNICODE
13580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13581 #else
13582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13583 #endif
13584 }
13585 {
13586 if (temp2)
13587 delete arg2;
13588 }
13589 return resultobj;
13590 fail:
13591 {
13592 if (temp2)
13593 delete arg2;
13594 }
13595 return NULL;
13596 }
13597
13598
13599 SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13600 PyObject *obj;
13601 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13602 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13603 return SWIG_Py_Void();
13604 }
13605
13606 SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13607 return SWIG_Python_InitShadowInstance(args);
13608 }
13609
13610 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13611 PyObject *resultobj = 0;
13612 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13613 bool result;
13614 void *argp1 = 0 ;
13615 int res1 = 0 ;
13616 PyObject *swig_obj[1] ;
13617
13618 if (!args) SWIG_fail;
13619 swig_obj[0] = args;
13620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13621 if (!SWIG_IsOK(res1)) {
13622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13623 }
13624 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (bool)(arg1)->Search();
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 {
13632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13633 }
13634 return resultobj;
13635 fail:
13636 return NULL;
13637 }
13638
13639
13640 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13641 PyObject *resultobj = 0;
13642 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13643 bool result;
13644 void *argp1 = 0 ;
13645 int res1 = 0 ;
13646 PyObject *swig_obj[1] ;
13647
13648 if (!args) SWIG_fail;
13649 swig_obj[0] = args;
13650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13651 if (!SWIG_IsOK(res1)) {
13652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13653 }
13654 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 result = (bool)(arg1)->IsActive();
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 {
13662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13663 }
13664 return resultobj;
13665 fail:
13666 return NULL;
13667 }
13668
13669
13670 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13671 PyObject *resultobj = 0;
13672 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13673 int result;
13674 void *argp1 = 0 ;
13675 int res1 = 0 ;
13676 PyObject *swig_obj[1] ;
13677
13678 if (!args) SWIG_fail;
13679 swig_obj[0] = args;
13680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13681 if (!SWIG_IsOK(res1)) {
13682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13683 }
13684 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 result = (int)(arg1)->GetCurIndex();
13688 wxPyEndAllowThreads(__tstate);
13689 if (PyErr_Occurred()) SWIG_fail;
13690 }
13691 resultobj = SWIG_From_int(static_cast< int >(result));
13692 return resultobj;
13693 fail:
13694 return NULL;
13695 }
13696
13697
13698 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13699 PyObject *resultobj = 0;
13700 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13701 int result;
13702 void *argp1 = 0 ;
13703 int res1 = 0 ;
13704 PyObject *swig_obj[1] ;
13705
13706 if (!args) SWIG_fail;
13707 swig_obj[0] = args;
13708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13709 if (!SWIG_IsOK(res1)) {
13710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13711 }
13712 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (int)(arg1)->GetMaxIndex();
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 resultobj = SWIG_From_int(static_cast< int >(result));
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13727 PyObject *resultobj = 0;
13728 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13729 wxString *result = 0 ;
13730 void *argp1 = 0 ;
13731 int res1 = 0 ;
13732 PyObject *swig_obj[1] ;
13733
13734 if (!args) SWIG_fail;
13735 swig_obj[0] = args;
13736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13737 if (!SWIG_IsOK(res1)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13739 }
13740 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 {
13744 wxString const &_result_ref = (arg1)->GetName();
13745 result = (wxString *) &_result_ref;
13746 }
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 {
13751 #if wxUSE_UNICODE
13752 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13753 #else
13754 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13755 #endif
13756 }
13757 return resultobj;
13758 fail:
13759 return NULL;
13760 }
13761
13762
13763 SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13764 PyObject *obj;
13765 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13766 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13767 return SWIG_Py_Void();
13768 }
13769
13770 SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13771 PyObject *resultobj = 0;
13772 wxHtmlHelpData *result = 0 ;
13773
13774 if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = (wxHtmlHelpData *)new wxHtmlHelpData();
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13782 return resultobj;
13783 fail:
13784 return NULL;
13785 }
13786
13787
13788 SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13789 PyObject *resultobj = 0;
13790 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13791 void *argp1 = 0 ;
13792 int res1 = 0 ;
13793 PyObject *swig_obj[1] ;
13794
13795 if (!args) SWIG_fail;
13796 swig_obj[0] = args;
13797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13798 if (!SWIG_IsOK(res1)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13800 }
13801 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13802 {
13803 PyThreadState* __tstate = wxPyBeginAllowThreads();
13804 delete arg1;
13805
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
13809 resultobj = SWIG_Py_Void();
13810 return resultobj;
13811 fail:
13812 return NULL;
13813 }
13814
13815
13816 SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj = 0;
13818 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13819 wxString *arg2 = 0 ;
13820 void *argp1 = 0 ;
13821 int res1 = 0 ;
13822 bool temp2 = false ;
13823 PyObject * obj0 = 0 ;
13824 PyObject * obj1 = 0 ;
13825 char * kwnames[] = {
13826 (char *) "self",(char *) "path", NULL
13827 };
13828
13829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13831 if (!SWIG_IsOK(res1)) {
13832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13833 }
13834 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13835 {
13836 arg2 = wxString_in_helper(obj1);
13837 if (arg2 == NULL) SWIG_fail;
13838 temp2 = true;
13839 }
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 (arg1)->SetTempDir((wxString const &)*arg2);
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 resultobj = SWIG_Py_Void();
13847 {
13848 if (temp2)
13849 delete arg2;
13850 }
13851 return resultobj;
13852 fail:
13853 {
13854 if (temp2)
13855 delete arg2;
13856 }
13857 return NULL;
13858 }
13859
13860
13861 SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj = 0;
13863 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13864 wxString *arg2 = 0 ;
13865 bool result;
13866 void *argp1 = 0 ;
13867 int res1 = 0 ;
13868 bool temp2 = false ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 char * kwnames[] = {
13872 (char *) "self",(char *) "book", NULL
13873 };
13874
13875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13877 if (!SWIG_IsOK(res1)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13879 }
13880 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13881 {
13882 arg2 = wxString_in_helper(obj1);
13883 if (arg2 == NULL) SWIG_fail;
13884 temp2 = true;
13885 }
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 {
13893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13894 }
13895 {
13896 if (temp2)
13897 delete arg2;
13898 }
13899 return resultobj;
13900 fail:
13901 {
13902 if (temp2)
13903 delete arg2;
13904 }
13905 return NULL;
13906 }
13907
13908
13909 SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj = 0;
13911 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13912 wxString *arg2 = 0 ;
13913 wxString result;
13914 void *argp1 = 0 ;
13915 int res1 = 0 ;
13916 bool temp2 = false ;
13917 PyObject * obj0 = 0 ;
13918 PyObject * obj1 = 0 ;
13919 char * kwnames[] = {
13920 (char *) "self",(char *) "page", NULL
13921 };
13922
13923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
13924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13925 if (!SWIG_IsOK(res1)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13927 }
13928 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13929 {
13930 arg2 = wxString_in_helper(obj1);
13931 if (arg2 == NULL) SWIG_fail;
13932 temp2 = true;
13933 }
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 result = (arg1)->FindPageByName((wxString const &)*arg2);
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 {
13941 #if wxUSE_UNICODE
13942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13943 #else
13944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13945 #endif
13946 }
13947 {
13948 if (temp2)
13949 delete arg2;
13950 }
13951 return resultobj;
13952 fail:
13953 {
13954 if (temp2)
13955 delete arg2;
13956 }
13957 return NULL;
13958 }
13959
13960
13961 SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj = 0;
13963 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13964 int arg2 ;
13965 wxString result;
13966 void *argp1 = 0 ;
13967 int res1 = 0 ;
13968 int val2 ;
13969 int ecode2 = 0 ;
13970 PyObject * obj0 = 0 ;
13971 PyObject * obj1 = 0 ;
13972 char * kwnames[] = {
13973 (char *) "self",(char *) "id", NULL
13974 };
13975
13976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
13977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13978 if (!SWIG_IsOK(res1)) {
13979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13980 }
13981 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13982 ecode2 = SWIG_AsVal_int(obj1, &val2);
13983 if (!SWIG_IsOK(ecode2)) {
13984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13985 }
13986 arg2 = static_cast< int >(val2);
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (arg1)->FindPageById(arg2);
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 {
13994 #if wxUSE_UNICODE
13995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13996 #else
13997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13998 #endif
13999 }
14000 return resultobj;
14001 fail:
14002 return NULL;
14003 }
14004
14005
14006 SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14007 PyObject *resultobj = 0;
14008 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
14009 wxHtmlBookRecArray *result = 0 ;
14010 void *argp1 = 0 ;
14011 int res1 = 0 ;
14012 PyObject *swig_obj[1] ;
14013
14014 if (!args) SWIG_fail;
14015 swig_obj[0] = args;
14016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14017 if (!SWIG_IsOK(res1)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14019 }
14020 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 {
14024 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
14025 result = (wxHtmlBookRecArray *) &_result_ref;
14026 }
14027 wxPyEndAllowThreads(__tstate);
14028 if (PyErr_Occurred()) SWIG_fail;
14029 }
14030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
14031 return resultobj;
14032 fail:
14033 return NULL;
14034 }
14035
14036
14037 SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14038 PyObject *obj;
14039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14040 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
14041 return SWIG_Py_Void();
14042 }
14043
14044 SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14045 return SWIG_Python_InitShadowInstance(args);
14046 }
14047
14048 SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14049 PyObject *resultobj = 0;
14050 wxWindow *arg1 = (wxWindow *) 0 ;
14051 int arg2 ;
14052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14054 wxSize const &arg4_defvalue = wxDefaultSize ;
14055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14056 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14057 int arg6 = (int) wxHF_DEFAULT_STYLE ;
14058 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
14059 wxHtmlHelpWindow *result = 0 ;
14060 void *argp1 = 0 ;
14061 int res1 = 0 ;
14062 int val2 ;
14063 int ecode2 = 0 ;
14064 wxPoint temp3 ;
14065 wxSize temp4 ;
14066 int val5 ;
14067 int ecode5 = 0 ;
14068 int val6 ;
14069 int ecode6 = 0 ;
14070 void *argp7 = 0 ;
14071 int res7 = 0 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 PyObject * obj2 = 0 ;
14075 PyObject * obj3 = 0 ;
14076 PyObject * obj4 = 0 ;
14077 PyObject * obj5 = 0 ;
14078 PyObject * obj6 = 0 ;
14079 char * kwnames[] = {
14080 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14081 };
14082
14083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14085 if (!SWIG_IsOK(res1)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14087 }
14088 arg1 = reinterpret_cast< wxWindow * >(argp1);
14089 ecode2 = SWIG_AsVal_int(obj1, &val2);
14090 if (!SWIG_IsOK(ecode2)) {
14091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14092 }
14093 arg2 = static_cast< int >(val2);
14094 if (obj2) {
14095 {
14096 arg3 = &temp3;
14097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14098 }
14099 }
14100 if (obj3) {
14101 {
14102 arg4 = &temp4;
14103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14104 }
14105 }
14106 if (obj4) {
14107 ecode5 = SWIG_AsVal_int(obj4, &val5);
14108 if (!SWIG_IsOK(ecode5)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14110 }
14111 arg5 = static_cast< int >(val5);
14112 }
14113 if (obj5) {
14114 ecode6 = SWIG_AsVal_int(obj5, &val6);
14115 if (!SWIG_IsOK(ecode6)) {
14116 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14117 }
14118 arg6 = static_cast< int >(val6);
14119 }
14120 if (obj6) {
14121 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14122 if (!SWIG_IsOK(res7)) {
14123 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14124 }
14125 arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14126 }
14127 {
14128 if (!wxPyCheckForApp()) SWIG_fail;
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj = 0;
14143 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14144 wxHtmlHelpWindow *result = 0 ;
14145 void *argp1 = 0 ;
14146 int res1 = 0 ;
14147 PyObject * obj0 = 0 ;
14148 char * kwnames[] = {
14149 (char *) "data", NULL
14150 };
14151
14152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14153 if (obj0) {
14154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14155 if (!SWIG_IsOK(res1)) {
14156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14157 }
14158 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14159 }
14160 {
14161 if (!wxPyCheckForApp()) SWIG_fail;
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj = 0;
14176 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14177 wxWindow *arg2 = (wxWindow *) 0 ;
14178 int arg3 ;
14179 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14180 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14181 wxSize const &arg5_defvalue = wxDefaultSize ;
14182 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14183 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14184 int arg7 = (int) wxHF_DEFAULT_STYLE ;
14185 bool result;
14186 void *argp1 = 0 ;
14187 int res1 = 0 ;
14188 void *argp2 = 0 ;
14189 int res2 = 0 ;
14190 int val3 ;
14191 int ecode3 = 0 ;
14192 wxPoint temp4 ;
14193 wxSize temp5 ;
14194 int val6 ;
14195 int ecode6 = 0 ;
14196 int val7 ;
14197 int ecode7 = 0 ;
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
14200 PyObject * obj2 = 0 ;
14201 PyObject * obj3 = 0 ;
14202 PyObject * obj4 = 0 ;
14203 PyObject * obj5 = 0 ;
14204 PyObject * obj6 = 0 ;
14205 char * kwnames[] = {
14206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14207 };
14208
14209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14211 if (!SWIG_IsOK(res1)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14213 }
14214 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14215 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14216 if (!SWIG_IsOK(res2)) {
14217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14218 }
14219 arg2 = reinterpret_cast< wxWindow * >(argp2);
14220 ecode3 = SWIG_AsVal_int(obj2, &val3);
14221 if (!SWIG_IsOK(ecode3)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14223 }
14224 arg3 = static_cast< int >(val3);
14225 if (obj3) {
14226 {
14227 arg4 = &temp4;
14228 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14229 }
14230 }
14231 if (obj4) {
14232 {
14233 arg5 = &temp5;
14234 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14235 }
14236 }
14237 if (obj5) {
14238 ecode6 = SWIG_AsVal_int(obj5, &val6);
14239 if (!SWIG_IsOK(ecode6)) {
14240 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14241 }
14242 arg6 = static_cast< int >(val6);
14243 }
14244 if (obj6) {
14245 ecode7 = SWIG_AsVal_int(obj6, &val7);
14246 if (!SWIG_IsOK(ecode7)) {
14247 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14248 }
14249 arg7 = static_cast< int >(val7);
14250 }
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 {
14258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14259 }
14260 return resultobj;
14261 fail:
14262 return NULL;
14263 }
14264
14265
14266 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14267 PyObject *resultobj = 0;
14268 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14269 wxHtmlHelpData *result = 0 ;
14270 void *argp1 = 0 ;
14271 int res1 = 0 ;
14272 PyObject *swig_obj[1] ;
14273
14274 if (!args) SWIG_fail;
14275 swig_obj[0] = args;
14276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14277 if (!SWIG_IsOK(res1)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14279 }
14280 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 result = (wxHtmlHelpData *)(arg1)->GetData();
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14288 return resultobj;
14289 fail:
14290 return NULL;
14291 }
14292
14293
14294 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14295 PyObject *resultobj = 0;
14296 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14297 wxHtmlHelpController *result = 0 ;
14298 void *argp1 = 0 ;
14299 int res1 = 0 ;
14300 PyObject *swig_obj[1] ;
14301
14302 if (!args) SWIG_fail;
14303 swig_obj[0] = args;
14304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14305 if (!SWIG_IsOK(res1)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14307 }
14308 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14316 return resultobj;
14317 fail:
14318 return NULL;
14319 }
14320
14321
14322 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj = 0;
14324 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14325 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14326 void *argp1 = 0 ;
14327 int res1 = 0 ;
14328 int res2 = 0 ;
14329 PyObject * obj0 = 0 ;
14330 PyObject * obj1 = 0 ;
14331 char * kwnames[] = {
14332 (char *) "self",(char *) "controller", NULL
14333 };
14334
14335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14337 if (!SWIG_IsOK(res1)) {
14338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14339 }
14340 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14341 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14342 if (!SWIG_IsOK(res2)) {
14343 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14344 }
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 (arg1)->SetController(arg2);
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 resultobj = SWIG_Py_Void();
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj = 0;
14360 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14361 wxString *arg2 = 0 ;
14362 bool result;
14363 void *argp1 = 0 ;
14364 int res1 = 0 ;
14365 bool temp2 = false ;
14366 PyObject * obj0 = 0 ;
14367 PyObject * obj1 = 0 ;
14368 char * kwnames[] = {
14369 (char *) "self",(char *) "x", NULL
14370 };
14371
14372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14374 if (!SWIG_IsOK(res1)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14376 }
14377 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14378 {
14379 arg2 = wxString_in_helper(obj1);
14380 if (arg2 == NULL) SWIG_fail;
14381 temp2 = true;
14382 }
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
14385 result = (bool)(arg1)->Display((wxString const &)*arg2);
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 {
14390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14391 }
14392 {
14393 if (temp2)
14394 delete arg2;
14395 }
14396 return resultobj;
14397 fail:
14398 {
14399 if (temp2)
14400 delete arg2;
14401 }
14402 return NULL;
14403 }
14404
14405
14406 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14407 PyObject *resultobj = 0;
14408 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14409 int arg2 ;
14410 bool result;
14411 void *argp1 = 0 ;
14412 int res1 = 0 ;
14413 int val2 ;
14414 int ecode2 = 0 ;
14415 PyObject * obj0 = 0 ;
14416 PyObject * obj1 = 0 ;
14417 char * kwnames[] = {
14418 (char *) "self",(char *) "id", NULL
14419 };
14420
14421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14423 if (!SWIG_IsOK(res1)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14425 }
14426 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14427 ecode2 = SWIG_AsVal_int(obj1, &val2);
14428 if (!SWIG_IsOK(ecode2)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14430 }
14431 arg2 = static_cast< int >(val2);
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 result = (bool)(arg1)->Display(arg2);
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 {
14439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14440 }
14441 return resultobj;
14442 fail:
14443 return NULL;
14444 }
14445
14446
14447 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14448 PyObject *resultobj = 0;
14449 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14450 bool result;
14451 void *argp1 = 0 ;
14452 int res1 = 0 ;
14453 PyObject *swig_obj[1] ;
14454
14455 if (!args) SWIG_fail;
14456 swig_obj[0] = args;
14457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14458 if (!SWIG_IsOK(res1)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14460 }
14461 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (bool)(arg1)->DisplayContents();
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 {
14469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14470 }
14471 return resultobj;
14472 fail:
14473 return NULL;
14474 }
14475
14476
14477 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14478 PyObject *resultobj = 0;
14479 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14480 bool result;
14481 void *argp1 = 0 ;
14482 int res1 = 0 ;
14483 PyObject *swig_obj[1] ;
14484
14485 if (!args) SWIG_fail;
14486 swig_obj[0] = args;
14487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14488 if (!SWIG_IsOK(res1)) {
14489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14490 }
14491 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (bool)(arg1)->DisplayIndex();
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 {
14499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14500 }
14501 return resultobj;
14502 fail:
14503 return NULL;
14504 }
14505
14506
14507 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj = 0;
14509 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14510 wxString *arg2 = 0 ;
14511 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14512 bool result;
14513 void *argp1 = 0 ;
14514 int res1 = 0 ;
14515 bool temp2 = false ;
14516 void *argp3 ;
14517 int res3 = 0 ;
14518 PyObject * obj0 = 0 ;
14519 PyObject * obj1 = 0 ;
14520 PyObject * obj2 = 0 ;
14521 char * kwnames[] = {
14522 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14523 };
14524
14525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14527 if (!SWIG_IsOK(res1)) {
14528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14529 }
14530 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14531 {
14532 arg2 = wxString_in_helper(obj1);
14533 if (arg2 == NULL) SWIG_fail;
14534 temp2 = true;
14535 }
14536 if (obj2) {
14537 {
14538 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14539 if (!SWIG_IsOK(res3)) {
14540 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14541 }
14542 if (!argp3) {
14543 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14544 } else {
14545 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14546 arg3 = *temp;
14547 if (SWIG_IsNewObj(res3)) delete temp;
14548 }
14549 }
14550 }
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 {
14558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14559 }
14560 {
14561 if (temp2)
14562 delete arg2;
14563 }
14564 return resultobj;
14565 fail:
14566 {
14567 if (temp2)
14568 delete arg2;
14569 }
14570 return NULL;
14571 }
14572
14573
14574 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj = 0;
14576 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14577 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14578 wxString const &arg3_defvalue = wxEmptyString ;
14579 wxString *arg3 = (wxString *) &arg3_defvalue ;
14580 void *argp1 = 0 ;
14581 int res1 = 0 ;
14582 void *argp2 = 0 ;
14583 int res2 = 0 ;
14584 bool temp3 = false ;
14585 PyObject * obj0 = 0 ;
14586 PyObject * obj1 = 0 ;
14587 PyObject * obj2 = 0 ;
14588 char * kwnames[] = {
14589 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14590 };
14591
14592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14594 if (!SWIG_IsOK(res1)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14596 }
14597 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14598 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14599 if (!SWIG_IsOK(res2)) {
14600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14601 }
14602 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14603 if (obj2) {
14604 {
14605 arg3 = wxString_in_helper(obj2);
14606 if (arg3 == NULL) SWIG_fail;
14607 temp3 = true;
14608 }
14609 }
14610 {
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 resultobj = SWIG_Py_Void();
14617 {
14618 if (temp3)
14619 delete arg3;
14620 }
14621 return resultobj;
14622 fail:
14623 {
14624 if (temp3)
14625 delete arg3;
14626 }
14627 return NULL;
14628 }
14629
14630
14631 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj = 0;
14633 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14634 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14635 wxString const &arg3_defvalue = wxEmptyString ;
14636 wxString *arg3 = (wxString *) &arg3_defvalue ;
14637 void *argp1 = 0 ;
14638 int res1 = 0 ;
14639 void *argp2 = 0 ;
14640 int res2 = 0 ;
14641 bool temp3 = false ;
14642 PyObject * obj0 = 0 ;
14643 PyObject * obj1 = 0 ;
14644 PyObject * obj2 = 0 ;
14645 char * kwnames[] = {
14646 (char *) "self",(char *) "cfg",(char *) "path", NULL
14647 };
14648
14649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14651 if (!SWIG_IsOK(res1)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14653 }
14654 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14655 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14656 if (!SWIG_IsOK(res2)) {
14657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14658 }
14659 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14660 if (obj2) {
14661 {
14662 arg3 = wxString_in_helper(obj2);
14663 if (arg3 == NULL) SWIG_fail;
14664 temp3 = true;
14665 }
14666 }
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 resultobj = SWIG_Py_Void();
14674 {
14675 if (temp3)
14676 delete arg3;
14677 }
14678 return resultobj;
14679 fail:
14680 {
14681 if (temp3)
14682 delete arg3;
14683 }
14684 return NULL;
14685 }
14686
14687
14688 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14689 PyObject *resultobj = 0;
14690 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14691 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14692 wxString const &arg3_defvalue = wxEmptyString ;
14693 wxString *arg3 = (wxString *) &arg3_defvalue ;
14694 void *argp1 = 0 ;
14695 int res1 = 0 ;
14696 void *argp2 = 0 ;
14697 int res2 = 0 ;
14698 bool temp3 = false ;
14699 PyObject * obj0 = 0 ;
14700 PyObject * obj1 = 0 ;
14701 PyObject * obj2 = 0 ;
14702 char * kwnames[] = {
14703 (char *) "self",(char *) "cfg",(char *) "path", NULL
14704 };
14705
14706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14708 if (!SWIG_IsOK(res1)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14710 }
14711 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14713 if (!SWIG_IsOK(res2)) {
14714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14715 }
14716 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14717 if (obj2) {
14718 {
14719 arg3 = wxString_in_helper(obj2);
14720 if (arg3 == NULL) SWIG_fail;
14721 temp3 = true;
14722 }
14723 }
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 resultobj = SWIG_Py_Void();
14731 {
14732 if (temp3)
14733 delete arg3;
14734 }
14735 return resultobj;
14736 fail:
14737 {
14738 if (temp3)
14739 delete arg3;
14740 }
14741 return NULL;
14742 }
14743
14744
14745 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14746 PyObject *resultobj = 0;
14747 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14748 void *argp1 = 0 ;
14749 int res1 = 0 ;
14750 PyObject *swig_obj[1] ;
14751
14752 if (!args) SWIG_fail;
14753 swig_obj[0] = args;
14754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14755 if (!SWIG_IsOK(res1)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14757 }
14758 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 (arg1)->NotifyPageChanged();
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 resultobj = SWIG_Py_Void();
14766 return resultobj;
14767 fail:
14768 return NULL;
14769 }
14770
14771
14772 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14773 PyObject *resultobj = 0;
14774 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14775 void *argp1 = 0 ;
14776 int res1 = 0 ;
14777 PyObject *swig_obj[1] ;
14778
14779 if (!args) SWIG_fail;
14780 swig_obj[0] = args;
14781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14782 if (!SWIG_IsOK(res1)) {
14783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14784 }
14785 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14786 {
14787 PyThreadState* __tstate = wxPyBeginAllowThreads();
14788 (arg1)->RefreshLists();
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 resultobj = SWIG_Py_Void();
14793 return resultobj;
14794 fail:
14795 return NULL;
14796 }
14797
14798
14799 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14800 PyObject *resultobj = 0;
14801 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14802 wxHtmlWindow *result = 0 ;
14803 void *argp1 = 0 ;
14804 int res1 = 0 ;
14805 PyObject *swig_obj[1] ;
14806
14807 if (!args) SWIG_fail;
14808 swig_obj[0] = args;
14809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14810 if (!SWIG_IsOK(res1)) {
14811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14812 }
14813 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14814 {
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
14817 wxPyEndAllowThreads(__tstate);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 );
14821 return resultobj;
14822 fail:
14823 return NULL;
14824 }
14825
14826
14827 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14828 PyObject *resultobj = 0;
14829 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14830 wxSplitterWindow *result = 0 ;
14831 void *argp1 = 0 ;
14832 int res1 = 0 ;
14833 PyObject *swig_obj[1] ;
14834
14835 if (!args) SWIG_fail;
14836 swig_obj[0] = args;
14837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14838 if (!SWIG_IsOK(res1)) {
14839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14840 }
14841 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14845 wxPyEndAllowThreads(__tstate);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 }
14848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14849 return resultobj;
14850 fail:
14851 return NULL;
14852 }
14853
14854
14855 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14856 PyObject *resultobj = 0;
14857 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14858 wxToolBar *result = 0 ;
14859 void *argp1 = 0 ;
14860 int res1 = 0 ;
14861 PyObject *swig_obj[1] ;
14862
14863 if (!args) SWIG_fail;
14864 swig_obj[0] = args;
14865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14866 if (!SWIG_IsOK(res1)) {
14867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14868 }
14869 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 resultobj = wxPyMake_wxObject(result, (bool)0);
14878 }
14879 return resultobj;
14880 fail:
14881 return NULL;
14882 }
14883
14884
14885 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14886 PyObject *resultobj = 0;
14887 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14888 wxHtmlHelpFrameCfg *result = 0 ;
14889 void *argp1 = 0 ;
14890 int res1 = 0 ;
14891 PyObject *swig_obj[1] ;
14892
14893 if (!args) SWIG_fail;
14894 swig_obj[0] = args;
14895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14896 if (!SWIG_IsOK(res1)) {
14897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14898 }
14899 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 {
14903 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14904 result = (wxHtmlHelpFrameCfg *) &_result_ref;
14905 }
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14917 PyObject *resultobj = 0;
14918 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14919 wxTreeCtrl *result = 0 ;
14920 void *argp1 = 0 ;
14921 int res1 = 0 ;
14922 PyObject *swig_obj[1] ;
14923
14924 if (!args) SWIG_fail;
14925 swig_obj[0] = args;
14926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14927 if (!SWIG_IsOK(res1)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14929 }
14930 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14945 PyObject *obj;
14946 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14947 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
14948 return SWIG_Py_Void();
14949 }
14950
14951 SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14952 return SWIG_Python_InitShadowInstance(args);
14953 }
14954
14955 SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj = 0;
14957 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14958 int arg2 = (int) 0 ;
14959 wxHtmlWindowEvent *result = 0 ;
14960 int val1 ;
14961 int ecode1 = 0 ;
14962 int val2 ;
14963 int ecode2 = 0 ;
14964 PyObject * obj0 = 0 ;
14965 PyObject * obj1 = 0 ;
14966 char * kwnames[] = {
14967 (char *) "commandType",(char *) "id", NULL
14968 };
14969
14970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail;
14971 if (obj0) {
14972 ecode1 = SWIG_AsVal_int(obj0, &val1);
14973 if (!SWIG_IsOK(ecode1)) {
14974 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14975 }
14976 arg1 = static_cast< wxEventType >(val1);
14977 }
14978 if (obj1) {
14979 ecode2 = SWIG_AsVal_int(obj1, &val2);
14980 if (!SWIG_IsOK(ecode2)) {
14981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14982 }
14983 arg2 = static_cast< int >(val2);
14984 }
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 );
14992 return resultobj;
14993 fail:
14994 return NULL;
14995 }
14996
14997
14998 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14999 PyObject *resultobj = 0;
15000 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
15001 wxString *arg2 = 0 ;
15002 void *argp1 = 0 ;
15003 int res1 = 0 ;
15004 bool temp2 = false ;
15005 PyObject * obj0 = 0 ;
15006 PyObject * obj1 = 0 ;
15007 char * kwnames[] = {
15008 (char *) "self",(char *) "url", NULL
15009 };
15010
15011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
15012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15013 if (!SWIG_IsOK(res1)) {
15014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
15015 }
15016 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15017 {
15018 arg2 = wxString_in_helper(obj1);
15019 if (arg2 == NULL) SWIG_fail;
15020 temp2 = true;
15021 }
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 (arg1)->SetURL((wxString const &)*arg2);
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 resultobj = SWIG_Py_Void();
15029 {
15030 if (temp2)
15031 delete arg2;
15032 }
15033 return resultobj;
15034 fail:
15035 {
15036 if (temp2)
15037 delete arg2;
15038 }
15039 return NULL;
15040 }
15041
15042
15043 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15044 PyObject *resultobj = 0;
15045 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
15046 wxString *result = 0 ;
15047 void *argp1 = 0 ;
15048 int res1 = 0 ;
15049 PyObject *swig_obj[1] ;
15050
15051 if (!args) SWIG_fail;
15052 swig_obj[0] = args;
15053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15054 if (!SWIG_IsOK(res1)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15056 }
15057 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 {
15061 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
15062 result = (wxString *) &_result_ref;
15063 }
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
15067 {
15068 #if wxUSE_UNICODE
15069 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15070 #else
15071 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15072 #endif
15073 }
15074 return resultobj;
15075 fail:
15076 return NULL;
15077 }
15078
15079
15080 SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15081 PyObject *obj;
15082 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15083 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj));
15084 return SWIG_Py_Void();
15085 }
15086
15087 SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15088 return SWIG_Python_InitShadowInstance(args);
15089 }
15090
15091 SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj = 0;
15093 wxWindow *arg1 = (wxWindow *) 0 ;
15094 int arg2 ;
15095 wxString const &arg3_defvalue = wxPyEmptyString ;
15096 wxString *arg3 = (wxString *) &arg3_defvalue ;
15097 int arg4 = (int) wxHF_DEFAULTSTYLE ;
15098 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15099 wxHtmlHelpFrame *result = 0 ;
15100 void *argp1 = 0 ;
15101 int res1 = 0 ;
15102 int val2 ;
15103 int ecode2 = 0 ;
15104 bool temp3 = false ;
15105 int val4 ;
15106 int ecode4 = 0 ;
15107 void *argp5 = 0 ;
15108 int res5 = 0 ;
15109 PyObject * obj0 = 0 ;
15110 PyObject * obj1 = 0 ;
15111 PyObject * obj2 = 0 ;
15112 PyObject * obj3 = 0 ;
15113 PyObject * obj4 = 0 ;
15114 char * kwnames[] = {
15115 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15116 };
15117
15118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15120 if (!SWIG_IsOK(res1)) {
15121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15122 }
15123 arg1 = reinterpret_cast< wxWindow * >(argp1);
15124 ecode2 = SWIG_AsVal_int(obj1, &val2);
15125 if (!SWIG_IsOK(ecode2)) {
15126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15127 }
15128 arg2 = static_cast< int >(val2);
15129 if (obj2) {
15130 {
15131 arg3 = wxString_in_helper(obj2);
15132 if (arg3 == NULL) SWIG_fail;
15133 temp3 = true;
15134 }
15135 }
15136 if (obj3) {
15137 ecode4 = SWIG_AsVal_int(obj3, &val4);
15138 if (!SWIG_IsOK(ecode4)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15140 }
15141 arg4 = static_cast< int >(val4);
15142 }
15143 if (obj4) {
15144 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15145 if (!SWIG_IsOK(res5)) {
15146 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15147 }
15148 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15149 }
15150 {
15151 if (!wxPyCheckForApp()) SWIG_fail;
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15158 {
15159 if (temp3)
15160 delete arg3;
15161 }
15162 return resultobj;
15163 fail:
15164 {
15165 if (temp3)
15166 delete arg3;
15167 }
15168 return NULL;
15169 }
15170
15171
15172 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj = 0;
15174 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15175 wxHtmlHelpFrame *result = 0 ;
15176 void *argp1 = 0 ;
15177 int res1 = 0 ;
15178 PyObject * obj0 = 0 ;
15179 char * kwnames[] = {
15180 (char *) "data", NULL
15181 };
15182
15183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15184 if (obj0) {
15185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15186 if (!SWIG_IsOK(res1)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15188 }
15189 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15190 }
15191 {
15192 if (!wxPyCheckForApp()) SWIG_fail;
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15195 wxPyEndAllowThreads(__tstate);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 }
15198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15199 return resultobj;
15200 fail:
15201 return NULL;
15202 }
15203
15204
15205 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15206 PyObject *resultobj = 0;
15207 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15208 wxWindow *arg2 = (wxWindow *) 0 ;
15209 int arg3 ;
15210 wxString const &arg4_defvalue = wxPyEmptyString ;
15211 wxString *arg4 = (wxString *) &arg4_defvalue ;
15212 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15213 bool result;
15214 void *argp1 = 0 ;
15215 int res1 = 0 ;
15216 void *argp2 = 0 ;
15217 int res2 = 0 ;
15218 int val3 ;
15219 int ecode3 = 0 ;
15220 bool temp4 = false ;
15221 int val5 ;
15222 int ecode5 = 0 ;
15223 PyObject * obj0 = 0 ;
15224 PyObject * obj1 = 0 ;
15225 PyObject * obj2 = 0 ;
15226 PyObject * obj3 = 0 ;
15227 PyObject * obj4 = 0 ;
15228 char * kwnames[] = {
15229 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15230 };
15231
15232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15234 if (!SWIG_IsOK(res1)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15236 }
15237 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15238 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15239 if (!SWIG_IsOK(res2)) {
15240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15241 }
15242 arg2 = reinterpret_cast< wxWindow * >(argp2);
15243 ecode3 = SWIG_AsVal_int(obj2, &val3);
15244 if (!SWIG_IsOK(ecode3)) {
15245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15246 }
15247 arg3 = static_cast< int >(val3);
15248 if (obj3) {
15249 {
15250 arg4 = wxString_in_helper(obj3);
15251 if (arg4 == NULL) SWIG_fail;
15252 temp4 = true;
15253 }
15254 }
15255 if (obj4) {
15256 ecode5 = SWIG_AsVal_int(obj4, &val5);
15257 if (!SWIG_IsOK(ecode5)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15259 }
15260 arg5 = static_cast< int >(val5);
15261 }
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 {
15269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15270 }
15271 {
15272 if (temp4)
15273 delete arg4;
15274 }
15275 return resultobj;
15276 fail:
15277 {
15278 if (temp4)
15279 delete arg4;
15280 }
15281 return NULL;
15282 }
15283
15284
15285 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15286 PyObject *resultobj = 0;
15287 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15288 wxHtmlHelpData *result = 0 ;
15289 void *argp1 = 0 ;
15290 int res1 = 0 ;
15291 PyObject *swig_obj[1] ;
15292
15293 if (!args) SWIG_fail;
15294 swig_obj[0] = args;
15295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15296 if (!SWIG_IsOK(res1)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15298 }
15299 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 result = (wxHtmlHelpData *)(arg1)->GetData();
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj = 0;
15315 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15316 wxString *arg2 = 0 ;
15317 void *argp1 = 0 ;
15318 int res1 = 0 ;
15319 bool temp2 = false ;
15320 PyObject * obj0 = 0 ;
15321 PyObject * obj1 = 0 ;
15322 char * kwnames[] = {
15323 (char *) "self",(char *) "format", NULL
15324 };
15325
15326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15328 if (!SWIG_IsOK(res1)) {
15329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15330 }
15331 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15332 {
15333 arg2 = wxString_in_helper(obj1);
15334 if (arg2 == NULL) SWIG_fail;
15335 temp2 = true;
15336 }
15337 {
15338 PyThreadState* __tstate = wxPyBeginAllowThreads();
15339 (arg1)->SetTitleFormat((wxString const &)*arg2);
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 resultobj = SWIG_Py_Void();
15344 {
15345 if (temp2)
15346 delete arg2;
15347 }
15348 return resultobj;
15349 fail:
15350 {
15351 if (temp2)
15352 delete arg2;
15353 }
15354 return NULL;
15355 }
15356
15357
15358 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15359 PyObject *resultobj = 0;
15360 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15361 void *argp1 = 0 ;
15362 int res1 = 0 ;
15363 PyObject *swig_obj[1] ;
15364
15365 if (!args) SWIG_fail;
15366 swig_obj[0] = args;
15367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15368 if (!SWIG_IsOK(res1)) {
15369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15370 }
15371 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 (arg1)->AddGrabIfNeeded();
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 resultobj = SWIG_Py_Void();
15379 return resultobj;
15380 fail:
15381 return NULL;
15382 }
15383
15384
15385 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15386 PyObject *resultobj = 0;
15387 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15388 wxHtmlHelpController *result = 0 ;
15389 void *argp1 = 0 ;
15390 int res1 = 0 ;
15391 PyObject *swig_obj[1] ;
15392
15393 if (!args) SWIG_fail;
15394 swig_obj[0] = args;
15395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15396 if (!SWIG_IsOK(res1)) {
15397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15398 }
15399 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15407 return resultobj;
15408 fail:
15409 return NULL;
15410 }
15411
15412
15413 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj = 0;
15415 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15416 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15417 void *argp1 = 0 ;
15418 int res1 = 0 ;
15419 int res2 = 0 ;
15420 PyObject * obj0 = 0 ;
15421 PyObject * obj1 = 0 ;
15422 char * kwnames[] = {
15423 (char *) "self",(char *) "controller", NULL
15424 };
15425
15426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15428 if (!SWIG_IsOK(res1)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15430 }
15431 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15432 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15433 if (!SWIG_IsOK(res2)) {
15434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15435 }
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 (arg1)->SetController(arg2);
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 resultobj = SWIG_Py_Void();
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15450 PyObject *resultobj = 0;
15451 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15452 wxHtmlHelpWindow *result = 0 ;
15453 void *argp1 = 0 ;
15454 int res1 = 0 ;
15455 PyObject *swig_obj[1] ;
15456
15457 if (!args) SWIG_fail;
15458 swig_obj[0] = args;
15459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15460 if (!SWIG_IsOK(res1)) {
15461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15462 }
15463 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 {
15471 resultobj = wxPyMake_wxObject(result, 0);
15472 }
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15480 PyObject *obj;
15481 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15482 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15483 return SWIG_Py_Void();
15484 }
15485
15486 SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15487 return SWIG_Python_InitShadowInstance(args);
15488 }
15489
15490 SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj = 0;
15492 wxWindow *arg1 = (wxWindow *) 0 ;
15493 int arg2 ;
15494 wxString const &arg3_defvalue = wxPyEmptyString ;
15495 wxString *arg3 = (wxString *) &arg3_defvalue ;
15496 int arg4 = (int) wxHF_DEFAULT_STYLE ;
15497 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15498 wxHtmlHelpDialog *result = 0 ;
15499 void *argp1 = 0 ;
15500 int res1 = 0 ;
15501 int val2 ;
15502 int ecode2 = 0 ;
15503 bool temp3 = false ;
15504 int val4 ;
15505 int ecode4 = 0 ;
15506 void *argp5 = 0 ;
15507 int res5 = 0 ;
15508 PyObject * obj0 = 0 ;
15509 PyObject * obj1 = 0 ;
15510 PyObject * obj2 = 0 ;
15511 PyObject * obj3 = 0 ;
15512 PyObject * obj4 = 0 ;
15513 char * kwnames[] = {
15514 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15515 };
15516
15517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15519 if (!SWIG_IsOK(res1)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15521 }
15522 arg1 = reinterpret_cast< wxWindow * >(argp1);
15523 ecode2 = SWIG_AsVal_int(obj1, &val2);
15524 if (!SWIG_IsOK(ecode2)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15526 }
15527 arg2 = static_cast< int >(val2);
15528 if (obj2) {
15529 {
15530 arg3 = wxString_in_helper(obj2);
15531 if (arg3 == NULL) SWIG_fail;
15532 temp3 = true;
15533 }
15534 }
15535 if (obj3) {
15536 ecode4 = SWIG_AsVal_int(obj3, &val4);
15537 if (!SWIG_IsOK(ecode4)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15539 }
15540 arg4 = static_cast< int >(val4);
15541 }
15542 if (obj4) {
15543 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15544 if (!SWIG_IsOK(res5)) {
15545 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15546 }
15547 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15548 }
15549 {
15550 if (!wxPyCheckForApp()) SWIG_fail;
15551 PyThreadState* __tstate = wxPyBeginAllowThreads();
15552 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15557 {
15558 if (temp3)
15559 delete arg3;
15560 }
15561 return resultobj;
15562 fail:
15563 {
15564 if (temp3)
15565 delete arg3;
15566 }
15567 return NULL;
15568 }
15569
15570
15571 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj = 0;
15573 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15574 wxHtmlHelpDialog *result = 0 ;
15575 void *argp1 = 0 ;
15576 int res1 = 0 ;
15577 PyObject * obj0 = 0 ;
15578 char * kwnames[] = {
15579 (char *) "data", NULL
15580 };
15581
15582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15583 if (obj0) {
15584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15585 if (!SWIG_IsOK(res1)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15587 }
15588 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15589 }
15590 {
15591 if (!wxPyCheckForApp()) SWIG_fail;
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj = 0;
15606 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15607 wxWindow *arg2 = (wxWindow *) 0 ;
15608 int arg3 ;
15609 wxString const &arg4_defvalue = wxPyEmptyString ;
15610 wxString *arg4 = (wxString *) &arg4_defvalue ;
15611 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15612 bool result;
15613 void *argp1 = 0 ;
15614 int res1 = 0 ;
15615 void *argp2 = 0 ;
15616 int res2 = 0 ;
15617 int val3 ;
15618 int ecode3 = 0 ;
15619 bool temp4 = false ;
15620 int val5 ;
15621 int ecode5 = 0 ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 PyObject * obj2 = 0 ;
15625 PyObject * obj3 = 0 ;
15626 PyObject * obj4 = 0 ;
15627 char * kwnames[] = {
15628 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15629 };
15630
15631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15633 if (!SWIG_IsOK(res1)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15635 }
15636 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15638 if (!SWIG_IsOK(res2)) {
15639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15640 }
15641 arg2 = reinterpret_cast< wxWindow * >(argp2);
15642 ecode3 = SWIG_AsVal_int(obj2, &val3);
15643 if (!SWIG_IsOK(ecode3)) {
15644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15645 }
15646 arg3 = static_cast< int >(val3);
15647 if (obj3) {
15648 {
15649 arg4 = wxString_in_helper(obj3);
15650 if (arg4 == NULL) SWIG_fail;
15651 temp4 = true;
15652 }
15653 }
15654 if (obj4) {
15655 ecode5 = SWIG_AsVal_int(obj4, &val5);
15656 if (!SWIG_IsOK(ecode5)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15658 }
15659 arg5 = static_cast< int >(val5);
15660 }
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 {
15668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15669 }
15670 {
15671 if (temp4)
15672 delete arg4;
15673 }
15674 return resultobj;
15675 fail:
15676 {
15677 if (temp4)
15678 delete arg4;
15679 }
15680 return NULL;
15681 }
15682
15683
15684 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15685 PyObject *resultobj = 0;
15686 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15687 wxHtmlHelpData *result = 0 ;
15688 void *argp1 = 0 ;
15689 int res1 = 0 ;
15690 PyObject *swig_obj[1] ;
15691
15692 if (!args) SWIG_fail;
15693 swig_obj[0] = args;
15694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15695 if (!SWIG_IsOK(res1)) {
15696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15697 }
15698 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 result = (wxHtmlHelpData *)(arg1)->GetData();
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15713 PyObject *resultobj = 0;
15714 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15715 wxHtmlHelpController *result = 0 ;
15716 void *argp1 = 0 ;
15717 int res1 = 0 ;
15718 PyObject *swig_obj[1] ;
15719
15720 if (!args) SWIG_fail;
15721 swig_obj[0] = args;
15722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15723 if (!SWIG_IsOK(res1)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15725 }
15726 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15734 return resultobj;
15735 fail:
15736 return NULL;
15737 }
15738
15739
15740 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15741 PyObject *resultobj = 0;
15742 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15743 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15744 void *argp1 = 0 ;
15745 int res1 = 0 ;
15746 int res2 = 0 ;
15747 PyObject * obj0 = 0 ;
15748 PyObject * obj1 = 0 ;
15749 char * kwnames[] = {
15750 (char *) "self",(char *) "controller", NULL
15751 };
15752
15753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15755 if (!SWIG_IsOK(res1)) {
15756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15757 }
15758 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15759 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15760 if (!SWIG_IsOK(res2)) {
15761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15762 }
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 (arg1)->SetController(arg2);
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 resultobj = SWIG_Py_Void();
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15777 PyObject *resultobj = 0;
15778 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15779 wxHtmlHelpWindow *result = 0 ;
15780 void *argp1 = 0 ;
15781 int res1 = 0 ;
15782 PyObject *swig_obj[1] ;
15783
15784 if (!args) SWIG_fail;
15785 swig_obj[0] = args;
15786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15787 if (!SWIG_IsOK(res1)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15789 }
15790 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 {
15798 resultobj = wxPyMake_wxObject(result, 0);
15799 }
15800 return resultobj;
15801 fail:
15802 return NULL;
15803 }
15804
15805
15806 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15807 PyObject *resultobj = 0;
15808 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15809 wxString *arg2 = 0 ;
15810 void *argp1 = 0 ;
15811 int res1 = 0 ;
15812 bool temp2 = false ;
15813 PyObject * obj0 = 0 ;
15814 PyObject * obj1 = 0 ;
15815 char * kwnames[] = {
15816 (char *) "self",(char *) "format", NULL
15817 };
15818
15819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15821 if (!SWIG_IsOK(res1)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15823 }
15824 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15825 {
15826 arg2 = wxString_in_helper(obj1);
15827 if (arg2 == NULL) SWIG_fail;
15828 temp2 = true;
15829 }
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 (arg1)->SetTitleFormat((wxString const &)*arg2);
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 resultobj = SWIG_Py_Void();
15837 {
15838 if (temp2)
15839 delete arg2;
15840 }
15841 return resultobj;
15842 fail:
15843 {
15844 if (temp2)
15845 delete arg2;
15846 }
15847 return NULL;
15848 }
15849
15850
15851 SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15852 PyObject *obj;
15853 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15854 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
15855 return SWIG_Py_Void();
15856 }
15857
15858 SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15859 return SWIG_Python_InitShadowInstance(args);
15860 }
15861
15862 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15863 PyObject *resultobj = 0;
15864 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15865 wxString *arg2 = 0 ;
15866 int arg3 ;
15867 bool result;
15868 void *argp1 = 0 ;
15869 int res1 = 0 ;
15870 bool temp2 = false ;
15871 int val3 ;
15872 int ecode3 = 0 ;
15873
15874 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
15875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15876 if (!SWIG_IsOK(res1)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15878 }
15879 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15880 {
15881 arg2 = wxString_in_helper(swig_obj[1]);
15882 if (arg2 == NULL) SWIG_fail;
15883 temp2 = true;
15884 }
15885 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
15886 if (!SWIG_IsOK(ecode3)) {
15887 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15888 }
15889 arg3 = static_cast< int >(val3);
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 {
15897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15898 }
15899 {
15900 if (temp2)
15901 delete arg2;
15902 }
15903 return resultobj;
15904 fail:
15905 {
15906 if (temp2)
15907 delete arg2;
15908 }
15909 return NULL;
15910 }
15911
15912
15913 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15914 PyObject *resultobj = 0;
15915 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15916 wxString *arg2 = 0 ;
15917 bool result;
15918 void *argp1 = 0 ;
15919 int res1 = 0 ;
15920 bool temp2 = false ;
15921
15922 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
15923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15924 if (!SWIG_IsOK(res1)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15926 }
15927 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15928 {
15929 arg2 = wxString_in_helper(swig_obj[1]);
15930 if (arg2 == NULL) SWIG_fail;
15931 temp2 = true;
15932 }
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 {
15940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15941 }
15942 {
15943 if (temp2)
15944 delete arg2;
15945 }
15946 return resultobj;
15947 fail:
15948 {
15949 if (temp2)
15950 delete arg2;
15951 }
15952 return NULL;
15953 }
15954
15955
15956 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
15957 int argc;
15958 PyObject *argv[4];
15959
15960 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
15961 --argc;
15962 if (argc == 2) {
15963 return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
15964 }
15965 if (argc == 3) {
15966 return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
15967 }
15968
15969 fail:
15970 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15971 return NULL;
15972 }
15973
15974
15975 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15976 PyObject *resultobj = 0;
15977 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15978 wxString *arg2 = 0 ;
15979 long arg3 = (long) 0 ;
15980 void *argp1 = 0 ;
15981 int res1 = 0 ;
15982 bool temp2 = false ;
15983 long val3 ;
15984 int ecode3 = 0 ;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 PyObject * obj2 = 0 ;
15988 char * kwnames[] = {
15989 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15990 };
15991
15992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15994 if (!SWIG_IsOK(res1)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15996 }
15997 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15998 {
15999 arg2 = wxString_in_helper(obj1);
16000 if (arg2 == NULL) SWIG_fail;
16001 temp2 = true;
16002 }
16003 if (obj2) {
16004 ecode3 = SWIG_AsVal_long(obj2, &val3);
16005 if (!SWIG_IsOK(ecode3)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16007 }
16008 arg3 = static_cast< long >(val3);
16009 }
16010 {
16011 PyThreadState* __tstate = wxPyBeginAllowThreads();
16012 (arg1)->SetViewer((wxString const &)*arg2,arg3);
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 resultobj = SWIG_Py_Void();
16017 {
16018 if (temp2)
16019 delete arg2;
16020 }
16021 return resultobj;
16022 fail:
16023 {
16024 if (temp2)
16025 delete arg2;
16026 }
16027 return NULL;
16028 }
16029
16030
16031 SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj = 0;
16033 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16034 wxString const &arg2_defvalue = wxEmptyString ;
16035 wxString *arg2 = (wxString *) &arg2_defvalue ;
16036 bool result;
16037 void *argp1 = 0 ;
16038 int res1 = 0 ;
16039 bool temp2 = false ;
16040 PyObject * obj0 = 0 ;
16041 PyObject * obj1 = 0 ;
16042 char * kwnames[] = {
16043 (char *) "self",(char *) "file", NULL
16044 };
16045
16046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
16047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16048 if (!SWIG_IsOK(res1)) {
16049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16050 }
16051 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16052 if (obj1) {
16053 {
16054 arg2 = wxString_in_helper(obj1);
16055 if (arg2 == NULL) SWIG_fail;
16056 temp2 = true;
16057 }
16058 }
16059 {
16060 PyThreadState* __tstate = wxPyBeginAllowThreads();
16061 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 {
16066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16067 }
16068 {
16069 if (temp2)
16070 delete arg2;
16071 }
16072 return resultobj;
16073 fail:
16074 {
16075 if (temp2)
16076 delete arg2;
16077 }
16078 return NULL;
16079 }
16080
16081
16082 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16083 PyObject *resultobj = 0;
16084 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16085 bool result;
16086 void *argp1 = 0 ;
16087 int res1 = 0 ;
16088 PyObject *swig_obj[1] ;
16089
16090 if (!args) SWIG_fail;
16091 swig_obj[0] = args;
16092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16093 if (!SWIG_IsOK(res1)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16095 }
16096 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 result = (bool)(arg1)->DisplayContents();
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 {
16104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16105 }
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16113 PyObject *resultobj = 0;
16114 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16115 int arg2 ;
16116 bool result;
16117 void *argp1 = 0 ;
16118 int res1 = 0 ;
16119 int val2 ;
16120 int ecode2 = 0 ;
16121
16122 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16124 if (!SWIG_IsOK(res1)) {
16125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16126 }
16127 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16128 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16129 if (!SWIG_IsOK(ecode2)) {
16130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16131 }
16132 arg2 = static_cast< int >(val2);
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
16135 result = (bool)(arg1)->DisplaySection(arg2);
16136 wxPyEndAllowThreads(__tstate);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 }
16139 {
16140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16141 }
16142 return resultobj;
16143 fail:
16144 return NULL;
16145 }
16146
16147
16148 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj = 0;
16150 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16151 int arg2 ;
16152 bool result;
16153 void *argp1 = 0 ;
16154 int res1 = 0 ;
16155 int val2 ;
16156 int ecode2 = 0 ;
16157 PyObject * obj0 = 0 ;
16158 PyObject * obj1 = 0 ;
16159 char * kwnames[] = {
16160 (char *) "self",(char *) "contextId", NULL
16161 };
16162
16163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16165 if (!SWIG_IsOK(res1)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16167 }
16168 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16169 ecode2 = SWIG_AsVal_int(obj1, &val2);
16170 if (!SWIG_IsOK(ecode2)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16172 }
16173 arg2 = static_cast< int >(val2);
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (bool)(arg1)->DisplayContextPopup(arg2);
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 {
16181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16182 }
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj = 0;
16191 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16192 wxString *arg2 = 0 ;
16193 wxPoint *arg3 = 0 ;
16194 bool result;
16195 void *argp1 = 0 ;
16196 int res1 = 0 ;
16197 bool temp2 = false ;
16198 wxPoint temp3 ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 PyObject * obj2 = 0 ;
16202 char * kwnames[] = {
16203 (char *) "self",(char *) "text",(char *) "pos", NULL
16204 };
16205
16206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16208 if (!SWIG_IsOK(res1)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16210 }
16211 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16212 {
16213 arg2 = wxString_in_helper(obj1);
16214 if (arg2 == NULL) SWIG_fail;
16215 temp2 = true;
16216 }
16217 {
16218 arg3 = &temp3;
16219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16220 }
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 {
16228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16229 }
16230 {
16231 if (temp2)
16232 delete arg2;
16233 }
16234 return resultobj;
16235 fail:
16236 {
16237 if (temp2)
16238 delete arg2;
16239 }
16240 return NULL;
16241 }
16242
16243
16244 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16245 PyObject *resultobj = 0;
16246 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16247 wxString *arg2 = 0 ;
16248 bool result;
16249 void *argp1 = 0 ;
16250 int res1 = 0 ;
16251 bool temp2 = false ;
16252
16253 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16255 if (!SWIG_IsOK(res1)) {
16256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16257 }
16258 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16259 {
16260 arg2 = wxString_in_helper(swig_obj[1]);
16261 if (arg2 == NULL) SWIG_fail;
16262 temp2 = true;
16263 }
16264 {
16265 PyThreadState* __tstate = wxPyBeginAllowThreads();
16266 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16267 wxPyEndAllowThreads(__tstate);
16268 if (PyErr_Occurred()) SWIG_fail;
16269 }
16270 {
16271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16272 }
16273 {
16274 if (temp2)
16275 delete arg2;
16276 }
16277 return resultobj;
16278 fail:
16279 {
16280 if (temp2)
16281 delete arg2;
16282 }
16283 return NULL;
16284 }
16285
16286
16287 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16288 int argc;
16289 PyObject *argv[3];
16290
16291 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16292 --argc;
16293 if (argc == 2) {
16294 int _v = 0;
16295 {
16296 {
16297 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16298 }
16299 }
16300 if (!_v) goto check_1;
16301 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16302 }
16303 check_1:
16304
16305 if (argc == 2) {
16306 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16307 }
16308
16309 fail:
16310 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16311 return NULL;
16312 }
16313
16314
16315 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj = 0;
16317 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16318 long arg2 ;
16319 bool result;
16320 void *argp1 = 0 ;
16321 int res1 = 0 ;
16322 long val2 ;
16323 int ecode2 = 0 ;
16324 PyObject * obj0 = 0 ;
16325 PyObject * obj1 = 0 ;
16326 char * kwnames[] = {
16327 (char *) "self",(char *) "blockNo", NULL
16328 };
16329
16330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16332 if (!SWIG_IsOK(res1)) {
16333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16334 }
16335 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16336 ecode2 = SWIG_AsVal_long(obj1, &val2);
16337 if (!SWIG_IsOK(ecode2)) {
16338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16339 }
16340 arg2 = static_cast< long >(val2);
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = (bool)(arg1)->DisplayBlock(arg2);
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 {
16348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16349 }
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj = 0;
16358 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16359 wxString *arg2 = 0 ;
16360 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16361 bool result;
16362 void *argp1 = 0 ;
16363 int res1 = 0 ;
16364 bool temp2 = false ;
16365 void *argp3 ;
16366 int res3 = 0 ;
16367 PyObject * obj0 = 0 ;
16368 PyObject * obj1 = 0 ;
16369 PyObject * obj2 = 0 ;
16370 char * kwnames[] = {
16371 (char *) "self",(char *) "k",(char *) "mode", NULL
16372 };
16373
16374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16376 if (!SWIG_IsOK(res1)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16378 }
16379 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16380 {
16381 arg2 = wxString_in_helper(obj1);
16382 if (arg2 == NULL) SWIG_fail;
16383 temp2 = true;
16384 }
16385 if (obj2) {
16386 {
16387 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16388 if (!SWIG_IsOK(res3)) {
16389 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16390 }
16391 if (!argp3) {
16392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16393 } else {
16394 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16395 arg3 = *temp;
16396 if (SWIG_IsNewObj(res3)) delete temp;
16397 }
16398 }
16399 }
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 {
16407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16408 }
16409 {
16410 if (temp2)
16411 delete arg2;
16412 }
16413 return resultobj;
16414 fail:
16415 {
16416 if (temp2)
16417 delete arg2;
16418 }
16419 return NULL;
16420 }
16421
16422
16423 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj = 0;
16425 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16426 wxString *arg2 = 0 ;
16427 wxSize *arg3 = 0 ;
16428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16430 bool arg5 = (bool) false ;
16431 void *argp1 = 0 ;
16432 int res1 = 0 ;
16433 bool temp2 = false ;
16434 wxSize temp3 ;
16435 wxPoint temp4 ;
16436 bool val5 ;
16437 int ecode5 = 0 ;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
16440 PyObject * obj2 = 0 ;
16441 PyObject * obj3 = 0 ;
16442 PyObject * obj4 = 0 ;
16443 char * kwnames[] = {
16444 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16445 };
16446
16447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16449 if (!SWIG_IsOK(res1)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16451 }
16452 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16453 {
16454 arg2 = wxString_in_helper(obj1);
16455 if (arg2 == NULL) SWIG_fail;
16456 temp2 = true;
16457 }
16458 {
16459 arg3 = &temp3;
16460 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16461 }
16462 if (obj3) {
16463 {
16464 arg4 = &temp4;
16465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16466 }
16467 }
16468 if (obj4) {
16469 ecode5 = SWIG_AsVal_bool(obj4, &val5);
16470 if (!SWIG_IsOK(ecode5)) {
16471 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16472 }
16473 arg5 = static_cast< bool >(val5);
16474 }
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = SWIG_Py_Void();
16482 {
16483 if (temp2)
16484 delete arg2;
16485 }
16486 return resultobj;
16487 fail:
16488 {
16489 if (temp2)
16490 delete arg2;
16491 }
16492 return NULL;
16493 }
16494
16495
16496 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj = 0;
16498 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16499 wxSize *arg2 = (wxSize *) NULL ;
16500 wxPoint *arg3 = (wxPoint *) NULL ;
16501 bool *arg4 = (bool *) NULL ;
16502 wxFrame *result = 0 ;
16503 void *argp1 = 0 ;
16504 int res1 = 0 ;
16505 void *argp2 = 0 ;
16506 int res2 = 0 ;
16507 void *argp3 = 0 ;
16508 int res3 = 0 ;
16509 void *argp4 = 0 ;
16510 int res4 = 0 ;
16511 PyObject * obj0 = 0 ;
16512 PyObject * obj1 = 0 ;
16513 PyObject * obj2 = 0 ;
16514 PyObject * obj3 = 0 ;
16515 char * kwnames[] = {
16516 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16517 };
16518
16519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16521 if (!SWIG_IsOK(res1)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16523 }
16524 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16525 if (obj1) {
16526 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
16527 if (!SWIG_IsOK(res2)) {
16528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16529 }
16530 arg2 = reinterpret_cast< wxSize * >(argp2);
16531 }
16532 if (obj2) {
16533 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
16534 if (!SWIG_IsOK(res3)) {
16535 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16536 }
16537 arg3 = reinterpret_cast< wxPoint * >(argp3);
16538 }
16539 if (obj3) {
16540 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
16541 if (!SWIG_IsOK(res4)) {
16542 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16543 }
16544 arg4 = reinterpret_cast< bool * >(argp4);
16545 }
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
16549 wxPyEndAllowThreads(__tstate);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 {
16553 resultobj = wxPyMake_wxObject(result, 0);
16554 }
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16562 PyObject *resultobj = 0;
16563 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16564 bool result;
16565 void *argp1 = 0 ;
16566 int res1 = 0 ;
16567 PyObject *swig_obj[1] ;
16568
16569 if (!args) SWIG_fail;
16570 swig_obj[0] = args;
16571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16572 if (!SWIG_IsOK(res1)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16574 }
16575 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (bool)(arg1)->Quit();
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 {
16583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16584 }
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16592 PyObject *resultobj = 0;
16593 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16594 void *argp1 = 0 ;
16595 int res1 = 0 ;
16596 PyObject *swig_obj[1] ;
16597
16598 if (!args) SWIG_fail;
16599 swig_obj[0] = args;
16600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16601 if (!SWIG_IsOK(res1)) {
16602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16603 }
16604 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 (arg1)->OnQuit();
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 resultobj = SWIG_Py_Void();
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj = 0;
16620 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16621 wxWindow *arg2 = (wxWindow *) 0 ;
16622 void *argp1 = 0 ;
16623 int res1 = 0 ;
16624 void *argp2 = 0 ;
16625 int res2 = 0 ;
16626 PyObject * obj0 = 0 ;
16627 PyObject * obj1 = 0 ;
16628 char * kwnames[] = {
16629 (char *) "self",(char *) "win", NULL
16630 };
16631
16632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16634 if (!SWIG_IsOK(res1)) {
16635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16636 }
16637 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16638 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16639 if (!SWIG_IsOK(res2)) {
16640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16641 }
16642 arg2 = reinterpret_cast< wxWindow * >(argp2);
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 (arg1)->SetParentWindow(arg2);
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 resultobj = SWIG_Py_Void();
16650 return resultobj;
16651 fail:
16652 return NULL;
16653 }
16654
16655
16656 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16657 PyObject *resultobj = 0;
16658 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16659 wxWindow *result = 0 ;
16660 void *argp1 = 0 ;
16661 int res1 = 0 ;
16662 PyObject *swig_obj[1] ;
16663
16664 if (!args) SWIG_fail;
16665 swig_obj[0] = args;
16666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16667 if (!SWIG_IsOK(res1)) {
16668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16669 }
16670 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 {
16678 resultobj = wxPyMake_wxObject(result, 0);
16679 }
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16687 PyObject *obj;
16688 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16690 return SWIG_Py_Void();
16691 }
16692
16693 SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj = 0;
16695 int arg1 = (int) wxHF_DEFAULT_STYLE ;
16696 wxWindow *arg2 = (wxWindow *) NULL ;
16697 wxHtmlHelpController *result = 0 ;
16698 int val1 ;
16699 int ecode1 = 0 ;
16700 void *argp2 = 0 ;
16701 int res2 = 0 ;
16702 PyObject * obj0 = 0 ;
16703 PyObject * obj1 = 0 ;
16704 char * kwnames[] = {
16705 (char *) "style",(char *) "parentWindow", NULL
16706 };
16707
16708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16709 if (obj0) {
16710 ecode1 = SWIG_AsVal_int(obj0, &val1);
16711 if (!SWIG_IsOK(ecode1)) {
16712 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16713 }
16714 arg1 = static_cast< int >(val1);
16715 }
16716 if (obj1) {
16717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16718 if (!SWIG_IsOK(res2)) {
16719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16720 }
16721 arg2 = reinterpret_cast< wxWindow * >(argp2);
16722 }
16723 {
16724 if (!wxPyCheckForApp()) SWIG_fail;
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16738 PyObject *resultobj = 0;
16739 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16740 void *argp1 = 0 ;
16741 int res1 = 0 ;
16742 PyObject *swig_obj[1] ;
16743
16744 if (!args) SWIG_fail;
16745 swig_obj[0] = args;
16746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16747 if (!SWIG_IsOK(res1)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16749 }
16750 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
16753 delete arg1;
16754
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 resultobj = SWIG_Py_Void();
16759 return resultobj;
16760 fail:
16761 return NULL;
16762 }
16763
16764
16765 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16766 PyObject *resultobj = 0;
16767 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16768 wxHtmlHelpWindow *result = 0 ;
16769 void *argp1 = 0 ;
16770 int res1 = 0 ;
16771 PyObject *swig_obj[1] ;
16772
16773 if (!args) SWIG_fail;
16774 swig_obj[0] = args;
16775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16776 if (!SWIG_IsOK(res1)) {
16777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16778 }
16779 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 {
16787 resultobj = wxPyMake_wxObject(result, 0);
16788 }
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj = 0;
16797 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16798 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
16799 void *argp1 = 0 ;
16800 int res1 = 0 ;
16801 void *argp2 = 0 ;
16802 int res2 = 0 ;
16803 PyObject * obj0 = 0 ;
16804 PyObject * obj1 = 0 ;
16805 char * kwnames[] = {
16806 (char *) "self",(char *) "helpWindow", NULL
16807 };
16808
16809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16811 if (!SWIG_IsOK(res1)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16813 }
16814 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16815 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
16816 if (!SWIG_IsOK(res2)) {
16817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16818 }
16819 arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 (arg1)->SetHelpWindow(arg2);
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_Py_Void();
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16834 PyObject *resultobj = 0;
16835 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16836 wxHtmlHelpFrame *result = 0 ;
16837 void *argp1 = 0 ;
16838 int res1 = 0 ;
16839 PyObject *swig_obj[1] ;
16840
16841 if (!args) SWIG_fail;
16842 swig_obj[0] = args;
16843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16844 if (!SWIG_IsOK(res1)) {
16845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16846 }
16847 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 {
16855 resultobj = wxPyMake_wxObject(result, 0);
16856 }
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16864 PyObject *resultobj = 0;
16865 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16866 wxHtmlHelpDialog *result = 0 ;
16867 void *argp1 = 0 ;
16868 int res1 = 0 ;
16869 PyObject *swig_obj[1] ;
16870
16871 if (!args) SWIG_fail;
16872 swig_obj[0] = args;
16873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16874 if (!SWIG_IsOK(res1)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16876 }
16877 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 {
16885 resultobj = wxPyMake_wxObject(result, 0);
16886 }
16887 return resultobj;
16888 fail:
16889 return NULL;
16890 }
16891
16892
16893 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16894 PyObject *resultobj = 0;
16895 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16896 wxString *arg2 = 0 ;
16897 void *argp1 = 0 ;
16898 int res1 = 0 ;
16899 bool temp2 = false ;
16900 PyObject * obj0 = 0 ;
16901 PyObject * obj1 = 0 ;
16902 char * kwnames[] = {
16903 (char *) "self",(char *) "format", NULL
16904 };
16905
16906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
16907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16908 if (!SWIG_IsOK(res1)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16910 }
16911 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16912 {
16913 arg2 = wxString_in_helper(obj1);
16914 if (arg2 == NULL) SWIG_fail;
16915 temp2 = true;
16916 }
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 (arg1)->SetTitleFormat((wxString const &)*arg2);
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 resultobj = SWIG_Py_Void();
16924 {
16925 if (temp2)
16926 delete arg2;
16927 }
16928 return resultobj;
16929 fail:
16930 {
16931 if (temp2)
16932 delete arg2;
16933 }
16934 return NULL;
16935 }
16936
16937
16938 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj = 0;
16940 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16941 wxString *arg2 = 0 ;
16942 void *argp1 = 0 ;
16943 int res1 = 0 ;
16944 bool temp2 = false ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj1 = 0 ;
16947 char * kwnames[] = {
16948 (char *) "self",(char *) "path", NULL
16949 };
16950
16951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
16952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16953 if (!SWIG_IsOK(res1)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16955 }
16956 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16957 {
16958 arg2 = wxString_in_helper(obj1);
16959 if (arg2 == NULL) SWIG_fail;
16960 temp2 = true;
16961 }
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 (arg1)->SetTempDir((wxString const &)*arg2);
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 resultobj = SWIG_Py_Void();
16969 {
16970 if (temp2)
16971 delete arg2;
16972 }
16973 return resultobj;
16974 fail:
16975 {
16976 if (temp2)
16977 delete arg2;
16978 }
16979 return NULL;
16980 }
16981
16982
16983 SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16984 PyObject *resultobj = 0;
16985 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16986 wxString *arg2 = 0 ;
16987 int arg3 = (int) false ;
16988 bool result;
16989 void *argp1 = 0 ;
16990 int res1 = 0 ;
16991 bool temp2 = false ;
16992 int val3 ;
16993 int ecode3 = 0 ;
16994 PyObject * obj0 = 0 ;
16995 PyObject * obj1 = 0 ;
16996 PyObject * obj2 = 0 ;
16997 char * kwnames[] = {
16998 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16999 };
17000
17001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17003 if (!SWIG_IsOK(res1)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17005 }
17006 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17007 {
17008 arg2 = wxString_in_helper(obj1);
17009 if (arg2 == NULL) SWIG_fail;
17010 temp2 = true;
17011 }
17012 if (obj2) {
17013 ecode3 = SWIG_AsVal_int(obj2, &val3);
17014 if (!SWIG_IsOK(ecode3)) {
17015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17016 }
17017 arg3 = static_cast< int >(val3);
17018 }
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 {
17026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17027 }
17028 {
17029 if (temp2)
17030 delete arg2;
17031 }
17032 return resultobj;
17033 fail:
17034 {
17035 if (temp2)
17036 delete arg2;
17037 }
17038 return NULL;
17039 }
17040
17041
17042 SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj = 0;
17044 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17045 wxString *arg2 = 0 ;
17046 void *argp1 = 0 ;
17047 int res1 = 0 ;
17048 bool temp2 = false ;
17049 PyObject * obj0 = 0 ;
17050 PyObject * obj1 = 0 ;
17051 char * kwnames[] = {
17052 (char *) "self",(char *) "x", NULL
17053 };
17054
17055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17057 if (!SWIG_IsOK(res1)) {
17058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17059 }
17060 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17061 {
17062 arg2 = wxString_in_helper(obj1);
17063 if (arg2 == NULL) SWIG_fail;
17064 temp2 = true;
17065 }
17066 {
17067 PyThreadState* __tstate = wxPyBeginAllowThreads();
17068 (arg1)->Display((wxString const &)*arg2);
17069 wxPyEndAllowThreads(__tstate);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 resultobj = SWIG_Py_Void();
17073 {
17074 if (temp2)
17075 delete arg2;
17076 }
17077 return resultobj;
17078 fail:
17079 {
17080 if (temp2)
17081 delete arg2;
17082 }
17083 return NULL;
17084 }
17085
17086
17087 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17088 PyObject *resultobj = 0;
17089 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17090 int arg2 ;
17091 void *argp1 = 0 ;
17092 int res1 = 0 ;
17093 int val2 ;
17094 int ecode2 = 0 ;
17095 PyObject * obj0 = 0 ;
17096 PyObject * obj1 = 0 ;
17097 char * kwnames[] = {
17098 (char *) "self",(char *) "id", NULL
17099 };
17100
17101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17103 if (!SWIG_IsOK(res1)) {
17104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17105 }
17106 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17107 ecode2 = SWIG_AsVal_int(obj1, &val2);
17108 if (!SWIG_IsOK(ecode2)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17110 }
17111 arg2 = static_cast< int >(val2);
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 (arg1)->Display(arg2);
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 resultobj = SWIG_Py_Void();
17119 return resultobj;
17120 fail:
17121 return NULL;
17122 }
17123
17124
17125 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17126 PyObject *resultobj = 0;
17127 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17128 void *argp1 = 0 ;
17129 int res1 = 0 ;
17130 PyObject *swig_obj[1] ;
17131
17132 if (!args) SWIG_fail;
17133 swig_obj[0] = args;
17134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17135 if (!SWIG_IsOK(res1)) {
17136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17137 }
17138 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17139 {
17140 PyThreadState* __tstate = wxPyBeginAllowThreads();
17141 (arg1)->DisplayContents();
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 resultobj = SWIG_Py_Void();
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17153 PyObject *resultobj = 0;
17154 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17155 void *argp1 = 0 ;
17156 int res1 = 0 ;
17157 PyObject *swig_obj[1] ;
17158
17159 if (!args) SWIG_fail;
17160 swig_obj[0] = args;
17161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17162 if (!SWIG_IsOK(res1)) {
17163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17164 }
17165 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 (arg1)->DisplayIndex();
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = SWIG_Py_Void();
17173 return resultobj;
17174 fail:
17175 return NULL;
17176 }
17177
17178
17179 SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj = 0;
17181 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17182 wxString *arg2 = 0 ;
17183 bool result;
17184 void *argp1 = 0 ;
17185 int res1 = 0 ;
17186 bool temp2 = false ;
17187 PyObject * obj0 = 0 ;
17188 PyObject * obj1 = 0 ;
17189 char * kwnames[] = {
17190 (char *) "self",(char *) "keyword", NULL
17191 };
17192
17193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17195 if (!SWIG_IsOK(res1)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17197 }
17198 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17199 {
17200 arg2 = wxString_in_helper(obj1);
17201 if (arg2 == NULL) SWIG_fail;
17202 temp2 = true;
17203 }
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 {
17211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17212 }
17213 {
17214 if (temp2)
17215 delete arg2;
17216 }
17217 return resultobj;
17218 fail:
17219 {
17220 if (temp2)
17221 delete arg2;
17222 }
17223 return NULL;
17224 }
17225
17226
17227 SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17228 PyObject *resultobj = 0;
17229 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17230 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17231 wxString const &arg3_defvalue = wxPyEmptyString ;
17232 wxString *arg3 = (wxString *) &arg3_defvalue ;
17233 void *argp1 = 0 ;
17234 int res1 = 0 ;
17235 void *argp2 = 0 ;
17236 int res2 = 0 ;
17237 bool temp3 = false ;
17238 PyObject * obj0 = 0 ;
17239 PyObject * obj1 = 0 ;
17240 PyObject * obj2 = 0 ;
17241 char * kwnames[] = {
17242 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17243 };
17244
17245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17247 if (!SWIG_IsOK(res1)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17249 }
17250 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17251 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17252 if (!SWIG_IsOK(res2)) {
17253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17254 }
17255 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17256 if (obj2) {
17257 {
17258 arg3 = wxString_in_helper(obj2);
17259 if (arg3 == NULL) SWIG_fail;
17260 temp3 = true;
17261 }
17262 }
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 resultobj = SWIG_Py_Void();
17270 {
17271 if (temp3)
17272 delete arg3;
17273 }
17274 return resultobj;
17275 fail:
17276 {
17277 if (temp3)
17278 delete arg3;
17279 }
17280 return NULL;
17281 }
17282
17283
17284 SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj = 0;
17286 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17287 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17288 wxString arg3 = (wxString) wxPyEmptyString ;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 void *argp2 = 0 ;
17292 int res2 = 0 ;
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 PyObject * obj2 = 0 ;
17296 char * kwnames[] = {
17297 (char *) "self",(char *) "cfg",(char *) "path", NULL
17298 };
17299
17300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17302 if (!SWIG_IsOK(res1)) {
17303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17304 }
17305 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17306 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17307 if (!SWIG_IsOK(res2)) {
17308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17309 }
17310 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17311 if (obj2) {
17312 {
17313 wxString* sptr = wxString_in_helper(obj2);
17314 if (sptr == NULL) SWIG_fail;
17315 arg3 = *sptr;
17316 delete sptr;
17317 }
17318 }
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 (arg1)->ReadCustomization(arg2,arg3);
17322 wxPyEndAllowThreads(__tstate);
17323 if (PyErr_Occurred()) SWIG_fail;
17324 }
17325 resultobj = SWIG_Py_Void();
17326 return resultobj;
17327 fail:
17328 return NULL;
17329 }
17330
17331
17332 SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj = 0;
17334 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17335 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17336 wxString arg3 = (wxString) wxPyEmptyString ;
17337 void *argp1 = 0 ;
17338 int res1 = 0 ;
17339 void *argp2 = 0 ;
17340 int res2 = 0 ;
17341 PyObject * obj0 = 0 ;
17342 PyObject * obj1 = 0 ;
17343 PyObject * obj2 = 0 ;
17344 char * kwnames[] = {
17345 (char *) "self",(char *) "cfg",(char *) "path", NULL
17346 };
17347
17348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17350 if (!SWIG_IsOK(res1)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17352 }
17353 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17355 if (!SWIG_IsOK(res2)) {
17356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17357 }
17358 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17359 if (obj2) {
17360 {
17361 wxString* sptr = wxString_in_helper(obj2);
17362 if (sptr == NULL) SWIG_fail;
17363 arg3 = *sptr;
17364 delete sptr;
17365 }
17366 }
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 (arg1)->WriteCustomization(arg2,arg3);
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = SWIG_Py_Void();
17374 return resultobj;
17375 fail:
17376 return NULL;
17377 }
17378
17379
17380 SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17381 PyObject *resultobj = 0;
17382 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17383 void *argp1 = 0 ;
17384 int res1 = 0 ;
17385 PyObject *swig_obj[1] ;
17386
17387 if (!args) SWIG_fail;
17388 swig_obj[0] = args;
17389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17390 if (!SWIG_IsOK(res1)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17392 }
17393 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 (arg1)->MakeModalIfNeeded();
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 resultobj = SWIG_Py_Void();
17401 return resultobj;
17402 fail:
17403 return NULL;
17404 }
17405
17406
17407 SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17408 PyObject *resultobj = 0;
17409 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17410 wxWindow *result = 0 ;
17411 void *argp1 = 0 ;
17412 int res1 = 0 ;
17413 PyObject *swig_obj[1] ;
17414
17415 if (!args) SWIG_fail;
17416 swig_obj[0] = args;
17417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17418 if (!SWIG_IsOK(res1)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17420 }
17421 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 result = (wxWindow *)(arg1)->FindTopLevelWindow();
17425 wxPyEndAllowThreads(__tstate);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 }
17428 {
17429 resultobj = wxPyMake_wxObject(result, 0);
17430 }
17431 return resultobj;
17432 fail:
17433 return NULL;
17434 }
17435
17436
17437 SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17438 PyObject *obj;
17439 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17440 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17441 return SWIG_Py_Void();
17442 }
17443
17444 SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17445 return SWIG_Python_InitShadowInstance(args);
17446 }
17447
17448 SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj = 0;
17450 wxWindow *arg1 = (wxWindow *) 0 ;
17451 wxString *arg2 = 0 ;
17452 wxString const &arg3_defvalue = wxEmptyString ;
17453 wxString *arg3 = (wxString *) &arg3_defvalue ;
17454 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17455 wxHtmlModalHelp *result = 0 ;
17456 void *argp1 = 0 ;
17457 int res1 = 0 ;
17458 bool temp2 = false ;
17459 bool temp3 = false ;
17460 int val4 ;
17461 int ecode4 = 0 ;
17462 PyObject * obj0 = 0 ;
17463 PyObject * obj1 = 0 ;
17464 PyObject * obj2 = 0 ;
17465 PyObject * obj3 = 0 ;
17466 char * kwnames[] = {
17467 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17468 };
17469
17470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17472 if (!SWIG_IsOK(res1)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17474 }
17475 arg1 = reinterpret_cast< wxWindow * >(argp1);
17476 {
17477 arg2 = wxString_in_helper(obj1);
17478 if (arg2 == NULL) SWIG_fail;
17479 temp2 = true;
17480 }
17481 if (obj2) {
17482 {
17483 arg3 = wxString_in_helper(obj2);
17484 if (arg3 == NULL) SWIG_fail;
17485 temp3 = true;
17486 }
17487 }
17488 if (obj3) {
17489 ecode4 = SWIG_AsVal_int(obj3, &val4);
17490 if (!SWIG_IsOK(ecode4)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17492 }
17493 arg4 = static_cast< int >(val4);
17494 }
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17502 {
17503 if (temp2)
17504 delete arg2;
17505 }
17506 {
17507 if (temp3)
17508 delete arg3;
17509 }
17510 return resultobj;
17511 fail:
17512 {
17513 if (temp2)
17514 delete arg2;
17515 }
17516 {
17517 if (temp3)
17518 delete arg3;
17519 }
17520 return NULL;
17521 }
17522
17523
17524 SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17525 PyObject *obj;
17526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17527 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17528 return SWIG_Py_Void();
17529 }
17530
17531 SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17532 return SWIG_Python_InitShadowInstance(args);
17533 }
17534
17535 static PyMethodDef SwigMethods[] = {
17536 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17537 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17538 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17539 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17540 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
17541 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17542 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17543 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
17544 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17545 { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
17546 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17547 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
17548 { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17549 { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17550 { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17551 { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17552 { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
17553 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17554 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
17555 { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
17556 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17557 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
17558 { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
17559 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
17560 { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
17561 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17562 { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
17563 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17564 { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
17565 { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
17566 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17567 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17568 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17569 { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17570 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17571 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
17572 { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
17573 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
17574 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17575 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17576 { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17577 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
17578 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
17579 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17580 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
17581 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
17582 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
17583 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
17584 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
17585 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17586 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
17587 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
17588 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
17589 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
17590 { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
17591 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17592 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
17593 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
17594 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
17595 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17596 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17597 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17598 { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
17599 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
17600 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17601 { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
17602 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17603 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17604 { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
17605 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17606 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
17607 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17608 { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
17609 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17610 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17611 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
17612 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17613 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
17614 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
17615 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17616 { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17617 { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
17618 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17619 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
17620 { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17621 { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17622 { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17623 { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17624 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17625 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
17626 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17627 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17628 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17629 { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
17630 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
17631 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17632 { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17633 { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
17634 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
17635 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
17636 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17637 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
17638 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17639 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
17640 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
17641 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
17642 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17643 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17644 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17645 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17646 { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17647 { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
17648 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17649 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
17650 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17651 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17652 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
17653 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
17654 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17655 { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17656 { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17657 { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17658 { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17659 { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17660 { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17661 { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17662 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17663 { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
17664 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17665 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17666 { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17667 { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17668 { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
17669 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17670 { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
17671 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
17672 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17673 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17674 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17675 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17676 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17677 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17678 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17679 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
17680 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
17681 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
17682 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
17683 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17684 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
17685 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
17686 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17687 { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
17688 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17689 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17690 { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
17691 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17692 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17693 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
17694 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
17695 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17697 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
17698 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
17699 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
17700 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
17701 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17702 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17703 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
17704 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
17705 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
17706 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
17707 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17708 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17709 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17710 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17711 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17712 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17713 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17714 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17715 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
17716 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
17717 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
17718 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
17719 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
17720 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17721 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
17722 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
17723 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17724 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
17725 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
17726 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17727 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
17728 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17729 { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
17730 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17731 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
17732 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
17733 { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17734 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17735 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17736 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17737 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17738 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17739 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17740 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17741 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
17742 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17743 { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
17744 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17745 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17746 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17747 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17748 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17749 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
17750 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17751 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17752 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
17753 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17754 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
17755 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
17756 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17757 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17758 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
17759 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17760 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17761 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17762 { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
17763 { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
17764 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
17765 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
17766 { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
17767 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
17768 { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
17769 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17770 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17771 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17772 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
17773 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
17774 { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
17775 { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
17776 { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
17777 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17778 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17779 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
17780 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17781 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
17782 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
17783 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17784 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
17785 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
17786 { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
17787 { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
17788 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17789 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17790 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17791 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17792 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17793 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
17794 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
17795 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
17796 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
17797 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
17798 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17799 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
17800 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17801 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17802 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17803 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17804 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17805 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17806 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
17807 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
17808 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
17809 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
17810 { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
17811 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
17812 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
17813 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
17814 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
17815 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
17816 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17817 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17818 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17819 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17820 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
17821 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
17822 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
17823 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
17824 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17825 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
17826 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
17827 { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
17828 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
17829 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
17830 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
17831 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
17832 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17833 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
17834 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17835 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
17836 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
17837 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
17838 { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
17839 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
17840 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
17841 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
17842 { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
17843 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
17844 { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
17845 { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
17846 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17847 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17848 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
17849 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
17850 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
17851 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
17852 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
17853 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17854 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17855 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17856 { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
17857 { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
17858 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17859 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17860 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17861 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
17862 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
17863 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17864 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17865 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17866 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17867 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
17868 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
17869 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
17870 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
17871 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
17872 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
17873 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
17874 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
17875 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
17876 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17877 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
17878 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL},
17879 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
17880 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL},
17881 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17882 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17883 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17884 { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
17885 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17886 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
17887 { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
17888 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17889 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
17890 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
17891 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
17892 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17893 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17894 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17895 { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
17896 { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
17897 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17898 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
17899 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17900 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
17901 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
17902 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
17903 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
17904 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17905 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
17906 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17907 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17908 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
17909 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
17910 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17911 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17912 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17913 { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
17914 { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
17915 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17916 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
17917 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
17918 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
17919 { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
17920 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
17921 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17922 { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
17923 { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
17924 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17925 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17926 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17927 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17928 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17929 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
17930 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
17931 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17932 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17933 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17934 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17935 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
17936 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
17937 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
17938 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
17939 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
17940 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
17941 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
17942 { NULL, NULL, 0, NULL }
17943 };
17944
17945
17946 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17947
17948 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
17949 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
17950 }
17951 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17952 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17953 }
17954 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17955 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17956 }
17957 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17958 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17959 }
17960 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17961 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17962 }
17963 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17964 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17965 }
17966 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17967 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17968 }
17969 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
17970 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
17971 }
17972 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17973 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17974 }
17975 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17976 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17977 }
17978 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
17979 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
17980 }
17981 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17982 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17983 }
17984 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17985 return (void *)((wxEvent *) ((wxPyEvent *) x));
17986 }
17987 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
17988 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
17989 }
17990 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17991 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17992 }
17993 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17994 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17995 }
17996 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17997 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17998 }
17999 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
18000 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
18001 }
18002 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
18003 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
18004 }
18005 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
18006 return (void *)((wxEvent *) ((wxActivateEvent *) x));
18007 }
18008 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
18009 return (void *)((wxEvent *) ((wxSizeEvent *) x));
18010 }
18011 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
18012 return (void *)((wxEvent *) ((wxMoveEvent *) x));
18013 }
18014 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
18015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
18016 }
18017 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
18018 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
18019 }
18020 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
18021 return (void *)((wxEvent *) ((wxPaintEvent *) x));
18022 }
18023 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
18024 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
18025 }
18026 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
18027 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
18028 }
18029 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
18030 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
18031 }
18032 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
18033 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
18034 }
18035 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18036 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18037 }
18038 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18039 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18040 }
18041 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18042 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18043 }
18044 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18045 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18046 }
18047 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18048 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18049 }
18050 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18051 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18052 }
18053 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18054 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18055 }
18056 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18057 return (void *)((wxEvent *) ((wxShowEvent *) x));
18058 }
18059 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
18060 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18061 }
18062 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18063 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18064 }
18065 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18067 }
18068 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18069 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18070 }
18071 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18072 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18073 }
18074 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18075 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18076 }
18077 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18078 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18079 }
18080 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18081 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18082 }
18083 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18084 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18085 }
18086 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18087 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18088 }
18089 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18090 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18091 }
18092 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18093 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18094 }
18095 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18096 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18097 }
18098 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
18099 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18100 }
18101 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
18102 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
18103 }
18104 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18106 }
18107 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18109 }
18110 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18111 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18112 }
18113 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18115 }
18116 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18117 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18118 }
18119 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18120 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18121 }
18122 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18123 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18124 }
18125 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18126 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18127 }
18128 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18130 }
18131 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18133 }
18134 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18136 }
18137 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18139 }
18140 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18142 }
18143 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18145 }
18146 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18148 }
18149 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18150 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18151 }
18152 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18154 }
18155 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18157 }
18158 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18159 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
18160 }
18161 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18163 }
18164 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18166 }
18167 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18168 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18169 }
18170 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18171 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
18172 }
18173 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18174 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
18175 }
18176 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18177 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
18178 }
18179 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18180 return (void *)((wxEvtHandler *) ((wxWindow *) x));
18181 }
18182 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18183 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18184 }
18185 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18186 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
18187 }
18188 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18189 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
18190 }
18191 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18193 }
18194 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18196 }
18197 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18198 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
18199 }
18200 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18201 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18202 }
18203 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18205 }
18206 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18208 }
18209 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18211 }
18212 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18213 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18214 }
18215 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18216 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18217 }
18218 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18219 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
18220 }
18221 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18223 }
18224 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18226 }
18227 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18228 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18229 }
18230 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18231 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18232 }
18233 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18234 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18235 }
18236 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18237 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18238 }
18239 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18240 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18241 }
18242 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18244 }
18245 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18247 }
18248 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18249 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18250 }
18251 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18252 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18253 }
18254 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18256 }
18257 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18259 }
18260 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18262 }
18263 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18264 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18265 }
18266 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18267 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
18268 }
18269 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
18270 return (void *)((wxFrame *) ((wxProgressDialog *) x));
18271 }
18272 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
18273 return (void *)((wxFrame *) ((wxTipWindow *) x));
18274 }
18275 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18276 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
18277 }
18278 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18279 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18280 }
18281 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18282 return (void *)((wxFrame *) ((wxMiniFrame *) x));
18283 }
18284 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18285 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
18286 }
18287 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18288 return (void *)((wxFrame *) ((wxSplashScreen *) x));
18289 }
18290 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18291 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
18292 }
18293 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18294 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
18295 }
18296 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18298 }
18299 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18301 }
18302 static void *_p_wxEventTo_p_wxObject(void *x) {
18303 return (void *)((wxObject *) ((wxEvent *) x));
18304 }
18305 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18306 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
18307 }
18308 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18309 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18310 }
18311 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18312 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18313 }
18314 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18315 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
18316 }
18317 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18319 }
18320 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18322 }
18323 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18324 return (void *)((wxObject *) ((wxHtmlTag *) x));
18325 }
18326 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18327 return (void *)((wxObject *) ((wxMenuItem *) x));
18328 }
18329 static void *_p_wxImageTo_p_wxObject(void *x) {
18330 return (void *)((wxObject *) ((wxImage *) x));
18331 }
18332 static void *_p_wxPySizerTo_p_wxObject(void *x) {
18333 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18334 }
18335 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18336 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
18337 }
18338 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18339 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18340 }
18341 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18342 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
18343 }
18344 static void *_p_wxPyAppTo_p_wxObject(void *x) {
18345 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18346 }
18347 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18349 }
18350 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18352 }
18353 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18354 return (void *)((wxObject *) ((wxFindReplaceData *) x));
18355 }
18356 static void *_p_wxValidatorTo_p_wxObject(void *x) {
18357 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18358 }
18359 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18360 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18361 }
18362 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18363 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18364 }
18365 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18366 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18367 }
18368 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18369 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18370 }
18371 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18372 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
18373 }
18374 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18375 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18376 }
18377 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18378 return (void *)((wxObject *) ((wxPrintDialogData *) x));
18379 }
18380 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18381 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
18382 }
18383 static void *_p_wxPrinterTo_p_wxObject(void *x) {
18384 return (void *)((wxObject *) ((wxPrinter *) x));
18385 }
18386 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18388 }
18389 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18390 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
18391 }
18392 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18393 return (void *)((wxObject *) ((wxHtmlParser *) x));
18394 }
18395 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18396 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18397 }
18398 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18399 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18400 }
18401 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18402 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18403 }
18404 static void *_p_wxControlTo_p_wxObject(void *x) {
18405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18406 }
18407 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18409 }
18410 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18411 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18412 }
18413 static void *_p_wxColourDataTo_p_wxObject(void *x) {
18414 return (void *)((wxObject *) ((wxColourData *) x));
18415 }
18416 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18417 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18418 }
18419 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18420 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18421 }
18422 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18423 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18424 }
18425 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18426 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18427 }
18428 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18429 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18430 }
18431 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18432 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18433 }
18434 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18436 }
18437 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18438 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18439 }
18440 static void *_p_wxDateEventTo_p_wxObject(void *x) {
18441 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
18442 }
18443 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18444 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
18445 }
18446 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18447 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
18448 }
18449 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18450 return (void *)((wxObject *) ((wxPyPrintout *) x));
18451 }
18452 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18454 }
18455 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18456 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
18457 }
18458 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18459 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18460 }
18461 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18462 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18463 }
18464 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18466 }
18467 static void *_p_wxSashEventTo_p_wxObject(void *x) {
18468 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
18469 }
18470 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18472 }
18473 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18475 }
18476 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18477 return (void *)((wxObject *) ((wxPrintData *) x));
18478 }
18479 static void *_p_wxFontDataTo_p_wxObject(void *x) {
18480 return (void *)((wxObject *) ((wxFontData *) x));
18481 }
18482 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18484 }
18485 static void *_p_wxFrameTo_p_wxObject(void *x) {
18486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18487 }
18488 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18490 }
18491 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18492 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18493 }
18494 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18496 }
18497 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18498 return (void *)((wxObject *) ((wxFileSystem *) x));
18499 }
18500 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18501 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
18502 }
18503 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18504 return (void *)((wxObject *) ((wxPrintPreview *) x));
18505 }
18506 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18507 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18508 }
18509 static void *_p_wxSizerTo_p_wxObject(void *x) {
18510 return (void *)((wxObject *) ((wxSizer *) x));
18511 }
18512 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18513 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18514 }
18515 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18516 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18517 }
18518 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18519 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18520 }
18521 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18522 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
18523 }
18524 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18525 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18526 }
18527 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18528 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18529 }
18530 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
18531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
18532 }
18533 static void *_p_wxFSFileTo_p_wxObject(void *x) {
18534 return (void *)((wxObject *) ((wxFSFile *) x));
18535 }
18536 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18537 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18538 }
18539 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18540 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18541 }
18542 static void *_p_wxMenuTo_p_wxObject(void *x) {
18543 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18544 }
18545 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18546 return (void *)((wxObject *) ((wxSizerItem *) x));
18547 }
18548 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18549 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18550 }
18551 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18553 }
18554 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18555 return (void *)((wxObject *) ((wxPrintDialog *) x));
18556 }
18557 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18558 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
18559 }
18560 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18562 }
18563 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18565 }
18566 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18568 }
18569 static void *_p_wxDialogTo_p_wxObject(void *x) {
18570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18571 }
18572 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18573 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18574 }
18575 static void *_p_wxPyEventTo_p_wxObject(void *x) {
18576 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18577 }
18578 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18579 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18580 }
18581 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18582 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
18583 }
18584 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18585 return (void *)((wxObject *) ((wxEvtHandler *) x));
18586 }
18587 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18588 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18589 }
18590 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18591 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18592 }
18593 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18594 return (void *)((wxObject *) ((wxImageHandler *) x));
18595 }
18596 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18597 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
18598 }
18599 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18600 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18601 }
18602 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18603 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18604 }
18605 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18606 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18607 }
18608 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18609 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18610 }
18611 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18612 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18613 }
18614 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18615 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18616 }
18617 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18618 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18619 }
18620 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18621 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18622 }
18623 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18624 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18625 }
18626 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
18627 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18628 }
18629 static void *_p_wxShowEventTo_p_wxObject(void *x) {
18630 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18631 }
18632 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
18634 }
18635 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18637 }
18638 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18640 }
18641 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
18643 }
18644 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18646 }
18647 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
18649 }
18650 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18652 }
18653 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
18655 }
18656 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18658 }
18659 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
18661 }
18662 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
18664 }
18665 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
18667 }
18668 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
18670 }
18671 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18673 }
18674 static void *_p_wxWindowTo_p_wxObject(void *x) {
18675 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18676 }
18677 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18678 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
18679 }
18680 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18681 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
18682 }
18683 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18685 }
18686 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18688 }
18689 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18691 }
18692 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18694 }
18695 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18697 }
18698 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18700 }
18701 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18703 }
18704 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18706 }
18707 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18708 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
18709 }
18710 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
18712 }
18713 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18714 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18715 }
18716 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18717 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18718 }
18719 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18720 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18721 }
18722 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18723 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18724 }
18725 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18726 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
18727 }
18728 static void *_p_wxPanelTo_p_wxObject(void *x) {
18729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
18730 }
18731 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
18732 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
18733 }
18734 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18735 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
18736 }
18737 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
18738 return (void *)((wxObject *) ((wxHtmlCell *) x));
18739 }
18740 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18741 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
18742 }
18743 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
18745 }
18746 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18747 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
18748 }
18749 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18750 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
18751 }
18752 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
18753 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
18754 }
18755 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
18756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
18757 }
18758 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18760 }
18761 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18762 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18763 }
18764 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18765 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18766 }
18767 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
18768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18769 }
18770 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
18771 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
18772 }
18773 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
18775 }
18776 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
18777 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18778 }
18779 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
18780 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18781 }
18782 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
18783 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
18784 }
18785 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18786 return (void *)((wxWindow *) ((wxMenuBar *) x));
18787 }
18788 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
18789 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18790 }
18791 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
18792 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18793 }
18794 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
18795 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18796 }
18797 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
18798 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18799 }
18800 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
18801 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18802 }
18803 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
18804 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18805 }
18806 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
18807 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18808 }
18809 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
18810 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18811 }
18812 static void *_p_wxPanelTo_p_wxWindow(void *x) {
18813 return (void *)((wxWindow *) ((wxPanel *) x));
18814 }
18815 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
18816 return (void *)((wxWindow *) ((wxStatusBar *) x));
18817 }
18818 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
18819 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
18820 }
18821 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
18822 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
18823 }
18824 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
18825 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18826 }
18827 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
18828 return (void *)((wxWindow *) ((wxPopupWindow *) x));
18829 }
18830 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
18831 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
18832 }
18833 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
18834 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
18835 }
18836 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
18837 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
18838 }
18839 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
18840 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
18841 }
18842 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
18843 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
18844 }
18845 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
18846 return (void *)((wxWindow *) ((wxSashWindow *) x));
18847 }
18848 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
18849 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
18850 }
18851 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
18852 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18853 }
18854 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
18855 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18856 }
18857 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
18858 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
18859 }
18860 static void *_p_wxControlTo_p_wxWindow(void *x) {
18861 return (void *)((wxWindow *) ((wxControl *) x));
18862 }
18863 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
18864 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18865 }
18866 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
18867 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18868 }
18869 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
18870 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18871 }
18872 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18873 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18874 }
18875 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
18876 return (void *)((wxWindow *) ((wxPyWindow *) x));
18877 }
18878 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
18879 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18880 }
18881 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
18882 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18883 }
18884 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
18885 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18886 }
18887 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
18888 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
18889 }
18890 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
18891 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18892 }
18893 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
18894 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18895 }
18896 static void *_p_wxFrameTo_p_wxWindow(void *x) {
18897 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
18898 }
18899 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
18900 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18901 }
18902 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
18903 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18904 }
18905 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
18906 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18907 }
18908 static void *_p_wxDialogTo_p_wxWindow(void *x) {
18909 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
18910 }
18911 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
18912 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18913 }
18914 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
18915 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18916 }
18917 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
18918 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18919 }
18920 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
18921 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18922 }
18923 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
18924 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
18925 }
18926 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
18927 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
18928 }
18929 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
18930 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
18931 }
18932 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
18933 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
18934 }
18935 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
18936 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
18937 }
18938 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
18939 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
18940 }
18941 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
18942 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
18943 }
18944 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
18945 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
18946 }
18947 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
18948 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
18949 }
18950 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
18951 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
18952 }
18953 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
18954 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
18955 }
18956 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
18957 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
18958 }
18959 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
18960 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
18961 }
18962 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
18963 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18964 }
18965 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
18966 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
18967 }
18968 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18969 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
18970 }
18971 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18972 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
18973 }
18974 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
18975 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
18976 }
18977 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
18978 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
18979 }
18980 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
18981 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
18982 }
18983 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
18984 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
18985 }
18986 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18987 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
18988 }
18989 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18990 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18991 }
18992 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
18993 return (void *)((wxDialog *) ((wxColourDialog *) x));
18994 }
18995 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
18996 return (void *)((wxDialog *) ((wxDirDialog *) x));
18997 }
18998 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
18999 return (void *)((wxDialog *) ((wxFontDialog *) x));
19000 }
19001 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
19002 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
19003 }
19004 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
19005 return (void *)((wxDialog *) ((wxFileDialog *) x));
19006 }
19007 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
19008 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
19009 }
19010 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
19011 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
19012 }
19013 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
19014 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
19015 }
19016 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
19017 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
19018 }
19019 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
19020 return (void *)((wxDialog *) ((wxMessageDialog *) x));
19021 }
19022 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
19023 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
19024 }
19025 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
19026 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
19027 }
19028 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
19029 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
19030 }
19031 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
19032 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
19033 }
19034 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
19035 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
19036 }
19037 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
19038 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
19039 }
19040 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
19041 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
19042 }
19043 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
19044 return (void *)((wxPanel *) ((wxPyPanel *) x));
19045 }
19046 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
19047 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
19048 }
19049 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
19050 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
19051 }
19052 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
19053 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
19054 }
19055 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19056 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
19057 }
19058 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19059 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
19060 }
19061 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19062 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
19063 }
19064 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19065 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19066 }
19067 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19068 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
19069 }
19070 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
19071 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
19072 }
19073 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19074 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
19075 }
19076 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19077 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
19078 }
19079 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19080 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19081 }
19082 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19083 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19084 }
19085 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19086 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19087 }
19088 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19089 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
19090 }
19091 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19092 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19093 }
19094 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
19095 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
19096 }
19097 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19098 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19099 }
19100 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19101 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
19102 }
19103 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19104 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19105 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
19106 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
19107 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19108 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19109 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19110 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19111 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19112 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19113 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19117 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19125 static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19126 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19127 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19128 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19129 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19130 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19138 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19141 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19142 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19150 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19154 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19155 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19156 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19157 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19158 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19159 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19160 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19161 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19162 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19163 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19164 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19165 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19166 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19167 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19168 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19169 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19170 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19171 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19172 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19173 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19174 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19175 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19176 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19177 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19178 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19179 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19180 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19181 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19182 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19183 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19184 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19185 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19186 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19187 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19188 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19189 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19190 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19191 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19192 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19193 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19194 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19195 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19196 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19197 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19198 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19199 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19200 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19201 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19202 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19203 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19204 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19205 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19206 static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19207 static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19208 static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19209 static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19210 static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19211 static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19212 static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19213 static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19214 static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19215 static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19216 static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19217 static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19218 static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19219 static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19220 static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19221 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19222 static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19223 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19224 static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19225 static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19226 static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19227 static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19228 static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19229 static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19230 static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19231 static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19232 static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19233 static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19234 static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19235 static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19236 static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19237 static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19238 static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19239 static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19240 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19241 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19242 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19243 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19244 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19245 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19246 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19247 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19248 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19249 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19250 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
19251 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19252 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19253 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19254 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19255 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19256 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19257 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19258 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19259 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19260 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19261 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
19262 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19263 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19264 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
19265 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19266 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19267 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19268 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19269 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19270 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19271 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19272 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19273 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19274 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19275 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19276 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19277 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19278 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19279 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19280 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19281 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19282 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19283 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19284 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19285 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19286 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19287 static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19288 static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19289 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19290 static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19291 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19292 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19293 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19294 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19295 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19296 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19297 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19298 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19299 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19300
19301 static swig_type_info *swig_type_initial[] = {
19302 &_swigt__p_bool,
19303 &_swigt__p_char,
19304 &_swigt__p_form_ops_t,
19305 &_swigt__p_int,
19306 &_swigt__p_unsigned_char,
19307 &_swigt__p_unsigned_int,
19308 &_swigt__p_unsigned_long,
19309 &_swigt__p_wxANIHandler,
19310 &_swigt__p_wxAcceleratorTable,
19311 &_swigt__p_wxActivateEvent,
19312 &_swigt__p_wxBMPHandler,
19313 &_swigt__p_wxBitmap,
19314 &_swigt__p_wxBoxSizer,
19315 &_swigt__p_wxCURHandler,
19316 &_swigt__p_wxCalculateLayoutEvent,
19317 &_swigt__p_wxChildFocusEvent,
19318 &_swigt__p_wxClipboardTextEvent,
19319 &_swigt__p_wxCloseEvent,
19320 &_swigt__p_wxColour,
19321 &_swigt__p_wxColourData,
19322 &_swigt__p_wxColourDialog,
19323 &_swigt__p_wxCommandEvent,
19324 &_swigt__p_wxConfigBase,
19325 &_swigt__p_wxContextMenuEvent,
19326 &_swigt__p_wxControl,
19327 &_swigt__p_wxControlWithItems,
19328 &_swigt__p_wxCursor,
19329 &_swigt__p_wxDC,
19330 &_swigt__p_wxDateEvent,
19331 &_swigt__p_wxDefaultHtmlRenderingStyle,
19332 &_swigt__p_wxDialog,
19333 &_swigt__p_wxDirDialog,
19334 &_swigt__p_wxDisplayChangedEvent,
19335 &_swigt__p_wxDropFilesEvent,
19336 &_swigt__p_wxDuplexMode,
19337 &_swigt__p_wxEraseEvent,
19338 &_swigt__p_wxEvent,
19339 &_swigt__p_wxEvtHandler,
19340 &_swigt__p_wxFSFile,
19341 &_swigt__p_wxFileDialog,
19342 &_swigt__p_wxFileSystem,
19343 &_swigt__p_wxFindDialogEvent,
19344 &_swigt__p_wxFindReplaceData,
19345 &_swigt__p_wxFindReplaceDialog,
19346 &_swigt__p_wxFlexGridSizer,
19347 &_swigt__p_wxFocusEvent,
19348 &_swigt__p_wxFont,
19349 &_swigt__p_wxFontData,
19350 &_swigt__p_wxFontDialog,
19351 &_swigt__p_wxFrame,
19352 &_swigt__p_wxGBSizerItem,
19353 &_swigt__p_wxGIFHandler,
19354 &_swigt__p_wxGridBagSizer,
19355 &_swigt__p_wxGridSizer,
19356 &_swigt__p_wxHelpControllerBase,
19357 &_swigt__p_wxHelpSearchMode,
19358 &_swigt__p_wxHtmlBookRecArray,
19359 &_swigt__p_wxHtmlBookRecord,
19360 &_swigt__p_wxHtmlCell,
19361 &_swigt__p_wxHtmlColourCell,
19362 &_swigt__p_wxHtmlContainerCell,
19363 &_swigt__p_wxHtmlDCRenderer,
19364 &_swigt__p_wxHtmlEasyPrinting,
19365 &_swigt__p_wxHtmlFilter,
19366 &_swigt__p_wxHtmlFontCell,
19367 &_swigt__p_wxHtmlHelpController,
19368 &_swigt__p_wxHtmlHelpData,
19369 &_swigt__p_wxHtmlHelpDialog,
19370 &_swigt__p_wxHtmlHelpFrame,
19371 &_swigt__p_wxHtmlHelpFrameCfg,
19372 &_swigt__p_wxHtmlHelpWindow,
19373 &_swigt__p_wxHtmlLinkInfo,
19374 &_swigt__p_wxHtmlModalHelp,
19375 &_swigt__p_wxHtmlParser,
19376 &_swigt__p_wxHtmlPrintout,
19377 &_swigt__p_wxHtmlRenderingInfo,
19378 &_swigt__p_wxHtmlRenderingState,
19379 &_swigt__p_wxHtmlRenderingStyle,
19380 &_swigt__p_wxHtmlSearchStatus,
19381 &_swigt__p_wxHtmlSelection,
19382 &_swigt__p_wxHtmlTag,
19383 &_swigt__p_wxHtmlTagHandler,
19384 &_swigt__p_wxHtmlWidgetCell,
19385 &_swigt__p_wxHtmlWinParser,
19386 &_swigt__p_wxHtmlWindow,
19387 &_swigt__p_wxHtmlWindowEvent,
19388 &_swigt__p_wxHtmlWindowInterface,
19389 &_swigt__p_wxHtmlWordCell,
19390 &_swigt__p_wxICOHandler,
19391 &_swigt__p_wxIconizeEvent,
19392 &_swigt__p_wxIdleEvent,
19393 &_swigt__p_wxImage,
19394 &_swigt__p_wxImageHandler,
19395 &_swigt__p_wxIndividualLayoutConstraint,
19396 &_swigt__p_wxInitDialogEvent,
19397 &_swigt__p_wxJPEGHandler,
19398 &_swigt__p_wxKeyEvent,
19399 &_swigt__p_wxLayoutAlgorithm,
19400 &_swigt__p_wxLayoutConstraints,
19401 &_swigt__p_wxMDIChildFrame,
19402 &_swigt__p_wxMDIClientWindow,
19403 &_swigt__p_wxMDIParentFrame,
19404 &_swigt__p_wxMaximizeEvent,
19405 &_swigt__p_wxMenu,
19406 &_swigt__p_wxMenuBar,
19407 &_swigt__p_wxMenuEvent,
19408 &_swigt__p_wxMenuItem,
19409 &_swigt__p_wxMessageDialog,
19410 &_swigt__p_wxMiniFrame,
19411 &_swigt__p_wxMouseCaptureChangedEvent,
19412 &_swigt__p_wxMouseEvent,
19413 &_swigt__p_wxMoveEvent,
19414 &_swigt__p_wxMultiChoiceDialog,
19415 &_swigt__p_wxNavigationKeyEvent,
19416 &_swigt__p_wxNcPaintEvent,
19417 &_swigt__p_wxNotifyEvent,
19418 &_swigt__p_wxObject,
19419 &_swigt__p_wxPCXHandler,
19420 &_swigt__p_wxPNGHandler,
19421 &_swigt__p_wxPNMHandler,
19422 &_swigt__p_wxPageSetupDialog,
19423 &_swigt__p_wxPageSetupDialogData,
19424 &_swigt__p_wxPaintEvent,
19425 &_swigt__p_wxPaletteChangedEvent,
19426 &_swigt__p_wxPanel,
19427 &_swigt__p_wxPaperSize,
19428 &_swigt__p_wxPasswordEntryDialog,
19429 &_swigt__p_wxPoint,
19430 &_swigt__p_wxPopupWindow,
19431 &_swigt__p_wxPreviewCanvas,
19432 &_swigt__p_wxPreviewControlBar,
19433 &_swigt__p_wxPreviewFrame,
19434 &_swigt__p_wxPrintData,
19435 &_swigt__p_wxPrintDialog,
19436 &_swigt__p_wxPrintDialogData,
19437 &_swigt__p_wxPrintPreview,
19438 &_swigt__p_wxPrinter,
19439 &_swigt__p_wxProgressDialog,
19440 &_swigt__p_wxPyApp,
19441 &_swigt__p_wxPyCommandEvent,
19442 &_swigt__p_wxPyEvent,
19443 &_swigt__p_wxPyHtmlFilter,
19444 &_swigt__p_wxPyHtmlListBox,
19445 &_swigt__p_wxPyHtmlTagHandler,
19446 &_swigt__p_wxPyHtmlWinTagHandler,
19447 &_swigt__p_wxPyHtmlWindow,
19448 &_swigt__p_wxPyImageHandler,
19449 &_swigt__p_wxPyPanel,
19450 &_swigt__p_wxPyPopupTransientWindow,
19451 &_swigt__p_wxPyPreviewControlBar,
19452 &_swigt__p_wxPyPreviewFrame,
19453 &_swigt__p_wxPyPrintPreview,
19454 &_swigt__p_wxPyPrintout,
19455 &_swigt__p_wxPyScrolledWindow,
19456 &_swigt__p_wxPySizer,
19457 &_swigt__p_wxPyTaskBarIcon,
19458 &_swigt__p_wxPyVListBox,
19459 &_swigt__p_wxPyVScrolledWindow,
19460 &_swigt__p_wxPyValidator,
19461 &_swigt__p_wxPyWindow,
19462 &_swigt__p_wxQueryLayoutInfoEvent,
19463 &_swigt__p_wxQueryNewPaletteEvent,
19464 &_swigt__p_wxSashEvent,
19465 &_swigt__p_wxSashLayoutWindow,
19466 &_swigt__p_wxSashWindow,
19467 &_swigt__p_wxScrollEvent,
19468 &_swigt__p_wxScrollWinEvent,
19469 &_swigt__p_wxScrolledWindow,
19470 &_swigt__p_wxSetCursorEvent,
19471 &_swigt__p_wxShowEvent,
19472 &_swigt__p_wxSingleChoiceDialog,
19473 &_swigt__p_wxSize,
19474 &_swigt__p_wxSizeEvent,
19475 &_swigt__p_wxSizer,
19476 &_swigt__p_wxSizerItem,
19477 &_swigt__p_wxSplashScreen,
19478 &_swigt__p_wxSplashScreenWindow,
19479 &_swigt__p_wxSplitterEvent,
19480 &_swigt__p_wxSplitterWindow,
19481 &_swigt__p_wxStaticBoxSizer,
19482 &_swigt__p_wxStatusBar,
19483 &_swigt__p_wxStdDialogButtonSizer,
19484 &_swigt__p_wxString,
19485 &_swigt__p_wxSysColourChangedEvent,
19486 &_swigt__p_wxTIFFHandler,
19487 &_swigt__p_wxTaskBarIconEvent,
19488 &_swigt__p_wxTextEntryDialog,
19489 &_swigt__p_wxTipWindow,
19490 &_swigt__p_wxTopLevelWindow,
19491 &_swigt__p_wxTreeCtrl,
19492 &_swigt__p_wxUpdateUIEvent,
19493 &_swigt__p_wxValidator,
19494 &_swigt__p_wxVisualAttributes,
19495 &_swigt__p_wxWindow,
19496 &_swigt__p_wxWindowCreateEvent,
19497 &_swigt__p_wxWindowDestroyEvent,
19498 &_swigt__p_wxXPMHandler,
19499 };
19500
19501 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19509 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19516 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19552 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19553 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19556 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19557 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
19571 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19575 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19576 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19579 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19580 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19587 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19588 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19594 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19598 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxHelpControllerBase[] = { {&_swigt__p_wxHelpControllerBase, 0, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxHtmlCell[] = { {&_swigt__p_wxHtmlCell, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19611 static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxHtmlParser[] = { {&_swigt__p_wxHtmlParser, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxHtmlRenderingStyle[] = { {&_swigt__p_wxHtmlRenderingStyle, 0, 0, 0}, {&_swigt__p_wxDefaultHtmlRenderingStyle, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19629 static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
19634 static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19638 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19639 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19646 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19647 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
19648 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19649 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19650 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19651 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19652 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19653 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19654 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19655 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19656 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
19657 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19658 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
19659 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19660 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19661 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
19662 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19663 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19664 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19665 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
19666 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19667 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19668 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19669 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19670 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19671 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19672 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19673 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19674 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19675 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19676 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19677 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19678 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
19679 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
19680 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
19681 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
19682 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19683 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19684 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19685 static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19686 static swig_cast_info _swigc__p_wxPyHtmlTagHandler[] = { {&_swigt__p_wxPyHtmlTagHandler, 0, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0},{0, 0, 0, 0}};
19687 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19688 static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19689 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0},{0, 0, 0, 0}};
19690 static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
19691 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
19692 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19693 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
19694 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
19695 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
19696 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
19697 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
19698
19699 static swig_cast_info *swig_cast_initial[] = {
19700 _swigc__p_bool,
19701 _swigc__p_char,
19702 _swigc__p_form_ops_t,
19703 _swigc__p_int,
19704 _swigc__p_unsigned_char,
19705 _swigc__p_unsigned_int,
19706 _swigc__p_unsigned_long,
19707 _swigc__p_wxANIHandler,
19708 _swigc__p_wxAcceleratorTable,
19709 _swigc__p_wxActivateEvent,
19710 _swigc__p_wxBMPHandler,
19711 _swigc__p_wxBitmap,
19712 _swigc__p_wxBoxSizer,
19713 _swigc__p_wxCURHandler,
19714 _swigc__p_wxCalculateLayoutEvent,
19715 _swigc__p_wxChildFocusEvent,
19716 _swigc__p_wxClipboardTextEvent,
19717 _swigc__p_wxCloseEvent,
19718 _swigc__p_wxColour,
19719 _swigc__p_wxColourData,
19720 _swigc__p_wxColourDialog,
19721 _swigc__p_wxCommandEvent,
19722 _swigc__p_wxConfigBase,
19723 _swigc__p_wxContextMenuEvent,
19724 _swigc__p_wxControl,
19725 _swigc__p_wxControlWithItems,
19726 _swigc__p_wxCursor,
19727 _swigc__p_wxDC,
19728 _swigc__p_wxDateEvent,
19729 _swigc__p_wxDefaultHtmlRenderingStyle,
19730 _swigc__p_wxDialog,
19731 _swigc__p_wxDirDialog,
19732 _swigc__p_wxDisplayChangedEvent,
19733 _swigc__p_wxDropFilesEvent,
19734 _swigc__p_wxDuplexMode,
19735 _swigc__p_wxEraseEvent,
19736 _swigc__p_wxEvent,
19737 _swigc__p_wxEvtHandler,
19738 _swigc__p_wxFSFile,
19739 _swigc__p_wxFileDialog,
19740 _swigc__p_wxFileSystem,
19741 _swigc__p_wxFindDialogEvent,
19742 _swigc__p_wxFindReplaceData,
19743 _swigc__p_wxFindReplaceDialog,
19744 _swigc__p_wxFlexGridSizer,
19745 _swigc__p_wxFocusEvent,
19746 _swigc__p_wxFont,
19747 _swigc__p_wxFontData,
19748 _swigc__p_wxFontDialog,
19749 _swigc__p_wxFrame,
19750 _swigc__p_wxGBSizerItem,
19751 _swigc__p_wxGIFHandler,
19752 _swigc__p_wxGridBagSizer,
19753 _swigc__p_wxGridSizer,
19754 _swigc__p_wxHelpControllerBase,
19755 _swigc__p_wxHelpSearchMode,
19756 _swigc__p_wxHtmlBookRecArray,
19757 _swigc__p_wxHtmlBookRecord,
19758 _swigc__p_wxHtmlCell,
19759 _swigc__p_wxHtmlColourCell,
19760 _swigc__p_wxHtmlContainerCell,
19761 _swigc__p_wxHtmlDCRenderer,
19762 _swigc__p_wxHtmlEasyPrinting,
19763 _swigc__p_wxHtmlFilter,
19764 _swigc__p_wxHtmlFontCell,
19765 _swigc__p_wxHtmlHelpController,
19766 _swigc__p_wxHtmlHelpData,
19767 _swigc__p_wxHtmlHelpDialog,
19768 _swigc__p_wxHtmlHelpFrame,
19769 _swigc__p_wxHtmlHelpFrameCfg,
19770 _swigc__p_wxHtmlHelpWindow,
19771 _swigc__p_wxHtmlLinkInfo,
19772 _swigc__p_wxHtmlModalHelp,
19773 _swigc__p_wxHtmlParser,
19774 _swigc__p_wxHtmlPrintout,
19775 _swigc__p_wxHtmlRenderingInfo,
19776 _swigc__p_wxHtmlRenderingState,
19777 _swigc__p_wxHtmlRenderingStyle,
19778 _swigc__p_wxHtmlSearchStatus,
19779 _swigc__p_wxHtmlSelection,
19780 _swigc__p_wxHtmlTag,
19781 _swigc__p_wxHtmlTagHandler,
19782 _swigc__p_wxHtmlWidgetCell,
19783 _swigc__p_wxHtmlWinParser,
19784 _swigc__p_wxHtmlWindow,
19785 _swigc__p_wxHtmlWindowEvent,
19786 _swigc__p_wxHtmlWindowInterface,
19787 _swigc__p_wxHtmlWordCell,
19788 _swigc__p_wxICOHandler,
19789 _swigc__p_wxIconizeEvent,
19790 _swigc__p_wxIdleEvent,
19791 _swigc__p_wxImage,
19792 _swigc__p_wxImageHandler,
19793 _swigc__p_wxIndividualLayoutConstraint,
19794 _swigc__p_wxInitDialogEvent,
19795 _swigc__p_wxJPEGHandler,
19796 _swigc__p_wxKeyEvent,
19797 _swigc__p_wxLayoutAlgorithm,
19798 _swigc__p_wxLayoutConstraints,
19799 _swigc__p_wxMDIChildFrame,
19800 _swigc__p_wxMDIClientWindow,
19801 _swigc__p_wxMDIParentFrame,
19802 _swigc__p_wxMaximizeEvent,
19803 _swigc__p_wxMenu,
19804 _swigc__p_wxMenuBar,
19805 _swigc__p_wxMenuEvent,
19806 _swigc__p_wxMenuItem,
19807 _swigc__p_wxMessageDialog,
19808 _swigc__p_wxMiniFrame,
19809 _swigc__p_wxMouseCaptureChangedEvent,
19810 _swigc__p_wxMouseEvent,
19811 _swigc__p_wxMoveEvent,
19812 _swigc__p_wxMultiChoiceDialog,
19813 _swigc__p_wxNavigationKeyEvent,
19814 _swigc__p_wxNcPaintEvent,
19815 _swigc__p_wxNotifyEvent,
19816 _swigc__p_wxObject,
19817 _swigc__p_wxPCXHandler,
19818 _swigc__p_wxPNGHandler,
19819 _swigc__p_wxPNMHandler,
19820 _swigc__p_wxPageSetupDialog,
19821 _swigc__p_wxPageSetupDialogData,
19822 _swigc__p_wxPaintEvent,
19823 _swigc__p_wxPaletteChangedEvent,
19824 _swigc__p_wxPanel,
19825 _swigc__p_wxPaperSize,
19826 _swigc__p_wxPasswordEntryDialog,
19827 _swigc__p_wxPoint,
19828 _swigc__p_wxPopupWindow,
19829 _swigc__p_wxPreviewCanvas,
19830 _swigc__p_wxPreviewControlBar,
19831 _swigc__p_wxPreviewFrame,
19832 _swigc__p_wxPrintData,
19833 _swigc__p_wxPrintDialog,
19834 _swigc__p_wxPrintDialogData,
19835 _swigc__p_wxPrintPreview,
19836 _swigc__p_wxPrinter,
19837 _swigc__p_wxProgressDialog,
19838 _swigc__p_wxPyApp,
19839 _swigc__p_wxPyCommandEvent,
19840 _swigc__p_wxPyEvent,
19841 _swigc__p_wxPyHtmlFilter,
19842 _swigc__p_wxPyHtmlListBox,
19843 _swigc__p_wxPyHtmlTagHandler,
19844 _swigc__p_wxPyHtmlWinTagHandler,
19845 _swigc__p_wxPyHtmlWindow,
19846 _swigc__p_wxPyImageHandler,
19847 _swigc__p_wxPyPanel,
19848 _swigc__p_wxPyPopupTransientWindow,
19849 _swigc__p_wxPyPreviewControlBar,
19850 _swigc__p_wxPyPreviewFrame,
19851 _swigc__p_wxPyPrintPreview,
19852 _swigc__p_wxPyPrintout,
19853 _swigc__p_wxPyScrolledWindow,
19854 _swigc__p_wxPySizer,
19855 _swigc__p_wxPyTaskBarIcon,
19856 _swigc__p_wxPyVListBox,
19857 _swigc__p_wxPyVScrolledWindow,
19858 _swigc__p_wxPyValidator,
19859 _swigc__p_wxPyWindow,
19860 _swigc__p_wxQueryLayoutInfoEvent,
19861 _swigc__p_wxQueryNewPaletteEvent,
19862 _swigc__p_wxSashEvent,
19863 _swigc__p_wxSashLayoutWindow,
19864 _swigc__p_wxSashWindow,
19865 _swigc__p_wxScrollEvent,
19866 _swigc__p_wxScrollWinEvent,
19867 _swigc__p_wxScrolledWindow,
19868 _swigc__p_wxSetCursorEvent,
19869 _swigc__p_wxShowEvent,
19870 _swigc__p_wxSingleChoiceDialog,
19871 _swigc__p_wxSize,
19872 _swigc__p_wxSizeEvent,
19873 _swigc__p_wxSizer,
19874 _swigc__p_wxSizerItem,
19875 _swigc__p_wxSplashScreen,
19876 _swigc__p_wxSplashScreenWindow,
19877 _swigc__p_wxSplitterEvent,
19878 _swigc__p_wxSplitterWindow,
19879 _swigc__p_wxStaticBoxSizer,
19880 _swigc__p_wxStatusBar,
19881 _swigc__p_wxStdDialogButtonSizer,
19882 _swigc__p_wxString,
19883 _swigc__p_wxSysColourChangedEvent,
19884 _swigc__p_wxTIFFHandler,
19885 _swigc__p_wxTaskBarIconEvent,
19886 _swigc__p_wxTextEntryDialog,
19887 _swigc__p_wxTipWindow,
19888 _swigc__p_wxTopLevelWindow,
19889 _swigc__p_wxTreeCtrl,
19890 _swigc__p_wxUpdateUIEvent,
19891 _swigc__p_wxValidator,
19892 _swigc__p_wxVisualAttributes,
19893 _swigc__p_wxWindow,
19894 _swigc__p_wxWindowCreateEvent,
19895 _swigc__p_wxWindowDestroyEvent,
19896 _swigc__p_wxXPMHandler,
19897 };
19898
19899
19900 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19901
19902 static swig_const_info swig_const_table[] = {
19903 {0, 0, 0, 0.0, 0, 0}};
19904
19905 #ifdef __cplusplus
19906 }
19907 #endif
19908 /* -----------------------------------------------------------------------------
19909 * Type initialization:
19910 * This problem is tough by the requirement that no dynamic
19911 * memory is used. Also, since swig_type_info structures store pointers to
19912 * swig_cast_info structures and swig_cast_info structures store pointers back
19913 * to swig_type_info structures, we need some lookup code at initialization.
19914 * The idea is that swig generates all the structures that are needed.
19915 * The runtime then collects these partially filled structures.
19916 * The SWIG_InitializeModule function takes these initial arrays out of
19917 * swig_module, and does all the lookup, filling in the swig_module.types
19918 * array with the correct data and linking the correct swig_cast_info
19919 * structures together.
19920 *
19921 * The generated swig_type_info structures are assigned staticly to an initial
19922 * array. We just loop though that array, and handle each type individually.
19923 * First we lookup if this type has been already loaded, and if so, use the
19924 * loaded structure instead of the generated one. Then we have to fill in the
19925 * cast linked list. The cast data is initially stored in something like a
19926 * two-dimensional array. Each row corresponds to a type (there are the same
19927 * number of rows as there are in the swig_type_initial array). Each entry in
19928 * a column is one of the swig_cast_info structures for that type.
19929 * The cast_initial array is actually an array of arrays, because each row has
19930 * a variable number of columns. So to actually build the cast linked list,
19931 * we find the array of casts associated with the type, and loop through it
19932 * adding the casts to the list. The one last trick we need to do is making
19933 * sure the type pointer in the swig_cast_info struct is correct.
19934 *
19935 * First off, we lookup the cast->type name to see if it is already loaded.
19936 * There are three cases to handle:
19937 * 1) If the cast->type has already been loaded AND the type we are adding
19938 * casting info to has not been loaded (it is in this module), THEN we
19939 * replace the cast->type pointer with the type pointer that has already
19940 * been loaded.
19941 * 2) If BOTH types (the one we are adding casting info to, and the
19942 * cast->type) are loaded, THEN the cast info has already been loaded by
19943 * the previous module so we just ignore it.
19944 * 3) Finally, if cast->type has not already been loaded, then we add that
19945 * swig_cast_info to the linked list (because the cast->type) pointer will
19946 * be correct.
19947 * ----------------------------------------------------------------------------- */
19948
19949 #ifdef __cplusplus
19950 extern "C" {
19951 #if 0
19952 } /* c-mode */
19953 #endif
19954 #endif
19955
19956 #if 0
19957 #define SWIGRUNTIME_DEBUG
19958 #endif
19959
19960 SWIGRUNTIME void
19961 SWIG_InitializeModule(void *clientdata) {
19962 size_t i;
19963 swig_module_info *module_head;
19964 static int init_run = 0;
19965
19966 clientdata = clientdata;
19967
19968 if (init_run) return;
19969 init_run = 1;
19970
19971 /* Initialize the swig_module */
19972 swig_module.type_initial = swig_type_initial;
19973 swig_module.cast_initial = swig_cast_initial;
19974
19975 /* Try and load any already created modules */
19976 module_head = SWIG_GetModule(clientdata);
19977 if (module_head) {
19978 swig_module.next = module_head->next;
19979 module_head->next = &swig_module;
19980 } else {
19981 /* This is the first module loaded */
19982 swig_module.next = &swig_module;
19983 SWIG_SetModule(clientdata, &swig_module);
19984 }
19985
19986 /* Now work on filling in swig_module.types */
19987 #ifdef SWIGRUNTIME_DEBUG
19988 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
19989 #endif
19990 for (i = 0; i < swig_module.size; ++i) {
19991 swig_type_info *type = 0;
19992 swig_type_info *ret;
19993 swig_cast_info *cast;
19994
19995 #ifdef SWIGRUNTIME_DEBUG
19996 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
19997 #endif
19998
19999 /* if there is another module already loaded */
20000 if (swig_module.next != &swig_module) {
20001 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
20002 }
20003 if (type) {
20004 /* Overwrite clientdata field */
20005 #ifdef SWIGRUNTIME_DEBUG
20006 printf("SWIG_InitializeModule: found type %s\n", type->name);
20007 #endif
20008 if (swig_module.type_initial[i]->clientdata) {
20009 type->clientdata = swig_module.type_initial[i]->clientdata;
20010 #ifdef SWIGRUNTIME_DEBUG
20011 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20012 #endif
20013 }
20014 } else {
20015 type = swig_module.type_initial[i];
20016 }
20017
20018 /* Insert casting types */
20019 cast = swig_module.cast_initial[i];
20020 while (cast->type) {
20021 /* Don't need to add information already in the list */
20022 ret = 0;
20023 #ifdef SWIGRUNTIME_DEBUG
20024 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20025 #endif
20026 if (swig_module.next != &swig_module) {
20027 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
20028 #ifdef SWIGRUNTIME_DEBUG
20029 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20030 #endif
20031 }
20032 if (ret) {
20033 if (type == swig_module.type_initial[i]) {
20034 #ifdef SWIGRUNTIME_DEBUG
20035 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20036 #endif
20037 cast->type = ret;
20038 ret = 0;
20039 } else {
20040 /* Check for casting already in the list */
20041 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20042 #ifdef SWIGRUNTIME_DEBUG
20043 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20044 #endif
20045 if (!ocast) ret = 0;
20046 }
20047 }
20048
20049 if (!ret) {
20050 #ifdef SWIGRUNTIME_DEBUG
20051 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20052 #endif
20053 if (type->cast) {
20054 type->cast->prev = cast;
20055 cast->next = type->cast;
20056 }
20057 type->cast = cast;
20058 }
20059 cast++;
20060 }
20061 /* Set entry in modules->types array equal to the type */
20062 swig_module.types[i] = type;
20063 }
20064 swig_module.types[i] = 0;
20065
20066 #ifdef SWIGRUNTIME_DEBUG
20067 printf("**** SWIG_InitializeModule: Cast List ******\n");
20068 for (i = 0; i < swig_module.size; ++i) {
20069 int j = 0;
20070 swig_cast_info *cast = swig_module.cast_initial[i];
20071 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20072 while (cast->type) {
20073 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20074 cast++;
20075 ++j;
20076 }
20077 printf("---- Total casts: %d\n",j);
20078 }
20079 printf("**** SWIG_InitializeModule: Cast List ******\n");
20080 #endif
20081 }
20082
20083 /* This function will propagate the clientdata field of type to
20084 * any new swig_type_info structures that have been added into the list
20085 * of equivalent types. It is like calling
20086 * SWIG_TypeClientData(type, clientdata) a second time.
20087 */
20088 SWIGRUNTIME void
20089 SWIG_PropagateClientData(void) {
20090 size_t i;
20091 swig_cast_info *equiv;
20092 static int init_run = 0;
20093
20094 if (init_run) return;
20095 init_run = 1;
20096
20097 for (i = 0; i < swig_module.size; i++) {
20098 if (swig_module.types[i]->clientdata) {
20099 equiv = swig_module.types[i]->cast;
20100 while (equiv) {
20101 if (!equiv->converter) {
20102 if (equiv->type && !equiv->type->clientdata)
20103 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20104 }
20105 equiv = equiv->next;
20106 }
20107 }
20108 }
20109 }
20110
20111 #ifdef __cplusplus
20112 #if 0
20113 {
20114 /* c-mode */
20115 #endif
20116 }
20117 #endif
20118
20119
20120
20121 #ifdef __cplusplus
20122 extern "C" {
20123 #endif
20124
20125 /* Python-specific SWIG API */
20126 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20127 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20128 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20129
20130 /* -----------------------------------------------------------------------------
20131 * global variable support code.
20132 * ----------------------------------------------------------------------------- */
20133
20134 typedef struct swig_globalvar {
20135 char *name; /* Name of global variable */
20136 PyObject *(*get_attr)(void); /* Return the current value */
20137 int (*set_attr)(PyObject *); /* Set the value */
20138 struct swig_globalvar *next;
20139 } swig_globalvar;
20140
20141 typedef struct swig_varlinkobject {
20142 PyObject_HEAD
20143 swig_globalvar *vars;
20144 } swig_varlinkobject;
20145
20146 SWIGINTERN PyObject *
20147 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
20148 return PyString_FromString("<Swig global variables>");
20149 }
20150
20151 SWIGINTERN PyObject *
20152 swig_varlink_str(swig_varlinkobject *v) {
20153 PyObject *str = PyString_FromString("(");
20154 swig_globalvar *var;
20155 for (var = v->vars; var; var=var->next) {
20156 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
20157 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
20158 }
20159 PyString_ConcatAndDel(&str,PyString_FromString(")"));
20160 return str;
20161 }
20162
20163 SWIGINTERN int
20164 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
20165 PyObject *str = swig_varlink_str(v);
20166 fprintf(fp,"Swig global variables ");
20167 fprintf(fp,"%s\n", PyString_AsString(str));
20168 Py_DECREF(str);
20169 return 0;
20170 }
20171
20172 SWIGINTERN void
20173 swig_varlink_dealloc(swig_varlinkobject *v) {
20174 swig_globalvar *var = v->vars;
20175 while (var) {
20176 swig_globalvar *n = var->next;
20177 free(var->name);
20178 free(var);
20179 var = n;
20180 }
20181 }
20182
20183 SWIGINTERN PyObject *
20184 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20185 PyObject *res = NULL;
20186 swig_globalvar *var = v->vars;
20187 while (var) {
20188 if (strcmp(var->name,n) == 0) {
20189 res = (*var->get_attr)();
20190 break;
20191 }
20192 var = var->next;
20193 }
20194 if (res == NULL && !PyErr_Occurred()) {
20195 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20196 }
20197 return res;
20198 }
20199
20200 SWIGINTERN int
20201 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20202 int res = 1;
20203 swig_globalvar *var = v->vars;
20204 while (var) {
20205 if (strcmp(var->name,n) == 0) {
20206 res = (*var->set_attr)(p);
20207 break;
20208 }
20209 var = var->next;
20210 }
20211 if (res == 1 && !PyErr_Occurred()) {
20212 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20213 }
20214 return res;
20215 }
20216
20217 SWIGINTERN PyTypeObject*
20218 swig_varlink_type(void) {
20219 static char varlink__doc__[] = "Swig var link object";
20220 static PyTypeObject varlink_type;
20221 static int type_init = 0;
20222 if (!type_init) {
20223 const PyTypeObject tmp
20224 = {
20225 PyObject_HEAD_INIT(NULL)
20226 0, /* Number of items in variable part (ob_size) */
20227 (char *)"swigvarlink", /* Type name (tp_name) */
20228 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20229 0, /* Itemsize (tp_itemsize) */
20230 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
20231 (printfunc) swig_varlink_print, /* Print (tp_print) */
20232 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20233 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20234 0, /* tp_compare */
20235 (reprfunc) swig_varlink_repr, /* tp_repr */
20236 0, /* tp_as_number */
20237 0, /* tp_as_sequence */
20238 0, /* tp_as_mapping */
20239 0, /* tp_hash */
20240 0, /* tp_call */
20241 (reprfunc)swig_varlink_str, /* tp_str */
20242 0, /* tp_getattro */
20243 0, /* tp_setattro */
20244 0, /* tp_as_buffer */
20245 0, /* tp_flags */
20246 varlink__doc__, /* tp_doc */
20247 0, /* tp_traverse */
20248 0, /* tp_clear */
20249 0, /* tp_richcompare */
20250 0, /* tp_weaklistoffset */
20251 #if PY_VERSION_HEX >= 0x02020000
20252 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20253 #endif
20254 #if PY_VERSION_HEX >= 0x02030000
20255 0, /* tp_del */
20256 #endif
20257 #ifdef COUNT_ALLOCS
20258 0,0,0,0 /* tp_alloc -> tp_next */
20259 #endif
20260 };
20261 varlink_type = tmp;
20262 varlink_type.ob_type = &PyType_Type;
20263 type_init = 1;
20264 }
20265 return &varlink_type;
20266 }
20267
20268 /* Create a variable linking object for use later */
20269 SWIGINTERN PyObject *
20270 SWIG_Python_newvarlink(void) {
20271 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20272 if (result) {
20273 result->vars = 0;
20274 }
20275 return ((PyObject*) result);
20276 }
20277
20278 SWIGINTERN void
20279 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
20280 swig_varlinkobject *v = (swig_varlinkobject *) p;
20281 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20282 if (gv) {
20283 size_t size = strlen(name)+1;
20284 gv->name = (char *)malloc(size);
20285 if (gv->name) {
20286 strncpy(gv->name,name,size);
20287 gv->get_attr = get_attr;
20288 gv->set_attr = set_attr;
20289 gv->next = v->vars;
20290 }
20291 }
20292 v->vars = gv;
20293 }
20294
20295 SWIGINTERN PyObject *
20296 SWIG_globals() {
20297 static PyObject *_SWIG_globals = 0;
20298 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
20299 return _SWIG_globals;
20300 }
20301
20302 /* -----------------------------------------------------------------------------
20303 * constants/methods manipulation
20304 * ----------------------------------------------------------------------------- */
20305
20306 /* Install Constants */
20307 SWIGINTERN void
20308 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20309 PyObject *obj = 0;
20310 size_t i;
20311 for (i = 0; constants[i].type; ++i) {
20312 switch(constants[i].type) {
20313 case SWIG_PY_POINTER:
20314 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20315 break;
20316 case SWIG_PY_BINARY:
20317 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20318 break;
20319 default:
20320 obj = 0;
20321 break;
20322 }
20323 if (obj) {
20324 PyDict_SetItemString(d, constants[i].name, obj);
20325 Py_DECREF(obj);
20326 }
20327 }
20328 }
20329
20330 /* -----------------------------------------------------------------------------*/
20331 /* Fix SwigMethods to carry the callback ptrs when needed */
20332 /* -----------------------------------------------------------------------------*/
20333
20334 SWIGINTERN void
20335 SWIG_Python_FixMethods(PyMethodDef *methods,
20336 swig_const_info *const_table,
20337 swig_type_info **types,
20338 swig_type_info **types_initial) {
20339 size_t i;
20340 for (i = 0; methods[i].ml_name; ++i) {
20341 char *c = methods[i].ml_doc;
20342 if (c && (c = strstr(c, "swig_ptr: "))) {
20343 int j;
20344 swig_const_info *ci = 0;
20345 char *name = c + 10;
20346 for (j = 0; const_table[j].type; ++j) {
20347 if (strncmp(const_table[j].name, name,
20348 strlen(const_table[j].name)) == 0) {
20349 ci = &(const_table[j]);
20350 break;
20351 }
20352 }
20353 if (ci) {
20354 size_t shift = (ci->ptype) - types;
20355 swig_type_info *ty = types_initial[shift];
20356 size_t ldoc = (c - methods[i].ml_doc);
20357 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20358 char *ndoc = (char*)malloc(ldoc + lptr + 10);
20359 if (ndoc) {
20360 char *buff = ndoc;
20361 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20362 if (ptr) {
20363 strncpy(buff, methods[i].ml_doc, ldoc);
20364 buff += ldoc;
20365 strncpy(buff, "swig_ptr: ", 10);
20366 buff += 10;
20367 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20368 methods[i].ml_doc = ndoc;
20369 }
20370 }
20371 }
20372 }
20373 }
20374 }
20375
20376 #ifdef __cplusplus
20377 }
20378 #endif
20379
20380 /* -----------------------------------------------------------------------------*
20381 * Partial Init method
20382 * -----------------------------------------------------------------------------*/
20383
20384 #ifdef __cplusplus
20385 extern "C"
20386 #endif
20387 SWIGEXPORT void SWIG_init(void) {
20388 PyObject *m, *d;
20389
20390 /* Fix SwigMethods to carry the callback ptrs when needed */
20391 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
20392
20393 m = Py_InitModule((char *) SWIG_name, SwigMethods);
20394 d = PyModule_GetDict(m);
20395
20396 SWIG_InitializeModule(0);
20397 SWIG_InstallConstants(d,swig_const_table);
20398
20399
20400 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
20401 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
20402 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
20403 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
20404 SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
20405 SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
20406 SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
20407 SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
20408 SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
20409 SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
20410 SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
20411 SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
20412 SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
20413 SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
20414 SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
20415 SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
20416 SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
20417 SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
20418 SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
20419 SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
20420 SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
20421 SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
20422 SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
20423 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1)));
20424 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2)));
20425 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3)));
20426 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4)));
20427 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5)));
20428 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6)));
20429 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7)));
20430 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
20431 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
20432 SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
20433 SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
20434 SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
20435 SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
20436 SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
20437 SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
20438 SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
20439 SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
20440 SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
20441 SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
20442 SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
20443 SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
20444 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
20445 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
20446 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
20447 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
20448 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
20449 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
20450 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
20451 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
20452 SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
20453 SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
20454 SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
20455 SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
20456 SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
20457 SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
20458 SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
20459 SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
20460 SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
20461 SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
20462 SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
20463 SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
20464 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
20465 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
20466 SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
20467 SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
20468 SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
20469 SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
20470 SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
20471 SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
20472 SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
20473 SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
20474 SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
20475 SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
20476 SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
20477 SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
20478 SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
20479 SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
20480 SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
20481 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
20482 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
20483 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
20484 SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
20485 SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
20486 SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
20487 SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
20488 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
20489 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
20490 SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
20491 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
20492 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
20493 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
20494 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
20495 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
20496 SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
20497
20498 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20499 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20500 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20501 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
20502
20503 }
20504