]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/html_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxConfigBase swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2493 #define SWIGTYPE_p_wxDialog swig_types[31]
2494 #define SWIGTYPE_p_wxDirDialog swig_types[32]
2495 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2496 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2497 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileDialog swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2504 #define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFindReplaceData swig_types[43]
2506 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2508 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2509 #define SWIGTYPE_p_wxFont swig_types[47]
2510 #define SWIGTYPE_p_wxFontData swig_types[48]
2511 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2512 #define SWIGTYPE_p_wxFrame swig_types[50]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2514 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2515 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2516 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2517 #define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
2518 #define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
2519 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
2520 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
2521 #define SWIGTYPE_p_wxHtmlCell swig_types[59]
2522 #define SWIGTYPE_p_wxHtmlColourCell swig_types[60]
2523 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[61]
2524 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[62]
2525 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[63]
2526 #define SWIGTYPE_p_wxHtmlFilter swig_types[64]
2527 #define SWIGTYPE_p_wxHtmlFontCell swig_types[65]
2528 #define SWIGTYPE_p_wxHtmlHelpController swig_types[66]
2529 #define SWIGTYPE_p_wxHtmlHelpData swig_types[67]
2530 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[68]
2531 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[69]
2532 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[70]
2533 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[71]
2534 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[72]
2535 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[73]
2536 #define SWIGTYPE_p_wxHtmlParser swig_types[74]
2537 #define SWIGTYPE_p_wxHtmlPrintout swig_types[75]
2538 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[76]
2539 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[77]
2540 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[78]
2541 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[79]
2542 #define SWIGTYPE_p_wxHtmlSelection swig_types[80]
2543 #define SWIGTYPE_p_wxHtmlTag swig_types[81]
2544 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[82]
2545 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[83]
2546 #define SWIGTYPE_p_wxHtmlWinParser swig_types[84]
2547 #define SWIGTYPE_p_wxHtmlWindow swig_types[85]
2548 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[86]
2549 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
2550 #define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
2551 #define SWIGTYPE_p_wxICOHandler swig_types[89]
2552 #define SWIGTYPE_p_wxIconizeEvent swig_types[90]
2553 #define SWIGTYPE_p_wxIdleEvent swig_types[91]
2554 #define SWIGTYPE_p_wxImage swig_types[92]
2555 #define SWIGTYPE_p_wxImageHandler swig_types[93]
2556 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
2557 #define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
2558 #define SWIGTYPE_p_wxJPEGHandler swig_types[96]
2559 #define SWIGTYPE_p_wxKeyEvent swig_types[97]
2560 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
2561 #define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
2562 #define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
2563 #define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
2564 #define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
2565 #define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
2566 #define SWIGTYPE_p_wxMenu swig_types[104]
2567 #define SWIGTYPE_p_wxMenuBar swig_types[105]
2568 #define SWIGTYPE_p_wxMenuEvent swig_types[106]
2569 #define SWIGTYPE_p_wxMenuItem swig_types[107]
2570 #define SWIGTYPE_p_wxMessageDialog swig_types[108]
2571 #define SWIGTYPE_p_wxMiniFrame swig_types[109]
2572 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
2573 #define SWIGTYPE_p_wxMouseEvent swig_types[111]
2574 #define SWIGTYPE_p_wxMoveEvent swig_types[112]
2575 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[113]
2576 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[114]
2577 #define SWIGTYPE_p_wxNcPaintEvent swig_types[115]
2578 #define SWIGTYPE_p_wxNotifyEvent swig_types[116]
2579 #define SWIGTYPE_p_wxObject swig_types[117]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[118]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[119]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPageSetupDialog swig_types[121]
2584 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[122]
2585 #define SWIGTYPE_p_wxPaintEvent swig_types[123]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[124]
2587 #define SWIGTYPE_p_wxPanel swig_types[125]
2588 #define SWIGTYPE_p_wxPaperSize swig_types[126]
2589 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[127]
2590 #define SWIGTYPE_p_wxPoint swig_types[128]
2591 #define SWIGTYPE_p_wxPopupWindow swig_types[129]
2592 #define SWIGTYPE_p_wxPreviewCanvas swig_types[130]
2593 #define SWIGTYPE_p_wxPreviewControlBar swig_types[131]
2594 #define SWIGTYPE_p_wxPreviewFrame swig_types[132]
2595 #define SWIGTYPE_p_wxPrintData swig_types[133]
2596 #define SWIGTYPE_p_wxPrintDialog swig_types[134]
2597 #define SWIGTYPE_p_wxPrintDialogData swig_types[135]
2598 #define SWIGTYPE_p_wxPrintPreview swig_types[136]
2599 #define SWIGTYPE_p_wxPrinter swig_types[137]
2600 #define SWIGTYPE_p_wxProgressDialog swig_types[138]
2601 #define SWIGTYPE_p_wxPyApp swig_types[139]
2602 #define SWIGTYPE_p_wxPyCommandEvent swig_types[140]
2603 #define SWIGTYPE_p_wxPyEvent swig_types[141]
2604 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[142]
2605 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[143]
2606 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[144]
2607 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[145]
2608 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[146]
2609 #define SWIGTYPE_p_wxPyImageHandler swig_types[147]
2610 #define SWIGTYPE_p_wxPyPanel swig_types[148]
2611 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[149]
2612 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[150]
2613 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[151]
2614 #define SWIGTYPE_p_wxPyPrintPreview swig_types[152]
2615 #define SWIGTYPE_p_wxPyPrintout swig_types[153]
2616 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[154]
2617 #define SWIGTYPE_p_wxPySizer swig_types[155]
2618 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[156]
2619 #define SWIGTYPE_p_wxPyVListBox swig_types[157]
2620 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[158]
2621 #define SWIGTYPE_p_wxPyValidator swig_types[159]
2622 #define SWIGTYPE_p_wxPyWindow swig_types[160]
2623 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[161]
2624 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[162]
2625 #define SWIGTYPE_p_wxSashEvent swig_types[163]
2626 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[164]
2627 #define SWIGTYPE_p_wxSashWindow swig_types[165]
2628 #define SWIGTYPE_p_wxScrollEvent swig_types[166]
2629 #define SWIGTYPE_p_wxScrollWinEvent swig_types[167]
2630 #define SWIGTYPE_p_wxScrolledWindow swig_types[168]
2631 #define SWIGTYPE_p_wxSetCursorEvent swig_types[169]
2632 #define SWIGTYPE_p_wxShowEvent swig_types[170]
2633 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[171]
2634 #define SWIGTYPE_p_wxSize swig_types[172]
2635 #define SWIGTYPE_p_wxSizeEvent swig_types[173]
2636 #define SWIGTYPE_p_wxSizer swig_types[174]
2637 #define SWIGTYPE_p_wxSizerItem swig_types[175]
2638 #define SWIGTYPE_p_wxSplashScreen swig_types[176]
2639 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[177]
2640 #define SWIGTYPE_p_wxSplitterEvent swig_types[178]
2641 #define SWIGTYPE_p_wxSplitterWindow swig_types[179]
2642 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[180]
2643 #define SWIGTYPE_p_wxStatusBar swig_types[181]
2644 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[182]
2645 #define SWIGTYPE_p_wxString swig_types[183]
2646 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[184]
2647 #define SWIGTYPE_p_wxTIFFHandler swig_types[185]
2648 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[186]
2649 #define SWIGTYPE_p_wxTextEntryDialog swig_types[187]
2650 #define SWIGTYPE_p_wxTipWindow swig_types[188]
2651 #define SWIGTYPE_p_wxTopLevelWindow swig_types[189]
2652 #define SWIGTYPE_p_wxTreeCtrl swig_types[190]
2653 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[191]
2654 #define SWIGTYPE_p_wxValidator swig_types[192]
2655 #define SWIGTYPE_p_wxVisualAttributes swig_types[193]
2656 #define SWIGTYPE_p_wxWindow swig_types[194]
2657 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[195]
2658 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[196]
2659 #define SWIGTYPE_p_wxXPMHandler swig_types[197]
2660 static swig_type_info *swig_types[199];
2661 static swig_module_info swig_module = {swig_types, 198, 0, 0, 0, 0};
2662 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2663 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2664
2665 /* -------- TYPES TABLE (END) -------- */
2666
2667 #if (PY_VERSION_HEX <= 0x02000000)
2668 # if !defined(SWIG_PYTHON_CLASSIC)
2669 # error "This python version requires to use swig with the '-classic' option"
2670 # endif
2671 #endif
2672 #if (PY_VERSION_HEX <= 0x02020000)
2673 # error "This python version requires to use swig with the '-nomodern' option"
2674 #endif
2675 #if (PY_VERSION_HEX <= 0x02020000)
2676 # error "This python version requires to use swig with the '-nomodernargs' option"
2677 #endif
2678 #ifndef METH_O
2679 # error "This python version requires to use swig with the '-nofastunpack' option"
2680 #endif
2681
2682 /*-----------------------------------------------
2683 @(target):= _html.so
2684 ------------------------------------------------*/
2685 #define SWIG_init init_html
2686
2687 #define SWIG_name "_html"
2688
2689 #define SWIGVERSION 0x010329
2690
2691
2692 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2693 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2694
2695
2696 #include <stdexcept>
2697
2698
2699 namespace swig {
2700 class PyObject_ptr {
2701 protected:
2702 PyObject *_obj;
2703
2704 public:
2705 PyObject_ptr() :_obj(0)
2706 {
2707 }
2708
2709 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2710 {
2711 Py_XINCREF(_obj);
2712 }
2713
2714 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2715 {
2716 if (initial_ref) Py_XINCREF(_obj);
2717 }
2718
2719 PyObject_ptr & operator=(const PyObject_ptr& item)
2720 {
2721 Py_XINCREF(item._obj);
2722 Py_XDECREF(_obj);
2723 _obj = item._obj;
2724 return *this;
2725 }
2726
2727 ~PyObject_ptr()
2728 {
2729 Py_XDECREF(_obj);
2730 }
2731
2732 operator PyObject *() const
2733 {
2734 return _obj;
2735 }
2736
2737 PyObject *operator->() const
2738 {
2739 return _obj;
2740 }
2741 };
2742 }
2743
2744
2745 namespace swig {
2746 struct PyObject_var : PyObject_ptr {
2747 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2748
2749 PyObject_var & operator = (PyObject* obj)
2750 {
2751 Py_XDECREF(_obj);
2752 _obj = obj;
2753 return *this;
2754 }
2755 };
2756 }
2757
2758
2759 #include "wx/wxPython/wxPython.h"
2760 #include "wx/wxPython/pyclasses.h"
2761 #include "wx/wxPython/pyistream.h"
2762 #include "wx/wxPython/printfw.h"
2763
2764 #include <wx/html/htmlwin.h>
2765 #include <wx/html/htmprint.h>
2766 #include <wx/html/helpctrl.h>
2767 #include <wx/html/helpwnd.h>
2768 #include <wx/html/helpfrm.h>
2769 #include <wx/html/helpdlg.h>
2770
2771
2772 static const wxString wxPyEmptyString(wxEmptyString);
2773 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2774 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2775 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
2776
2777 #define SWIG_From_long PyInt_FromLong
2778
2779
2780 SWIGINTERNINLINE PyObject *
2781 SWIG_From_int (int value)
2782 {
2783 return SWIG_From_long (value);
2784 }
2785
2786
2787 #include <limits.h>
2788 #ifndef LLONG_MIN
2789 # define LLONG_MIN LONG_LONG_MIN
2790 #endif
2791 #ifndef LLONG_MAX
2792 # define LLONG_MAX LONG_LONG_MAX
2793 #endif
2794 #ifndef ULLONG_MAX
2795 # define ULLONG_MAX ULONG_LONG_MAX
2796 #endif
2797
2798
2799 SWIGINTERN int
2800 SWIG_AsVal_long (PyObject* obj, long* val)
2801 {
2802 if (PyNumber_Check(obj)) {
2803 if (val) *val = PyInt_AsLong(obj);
2804 return SWIG_OK;
2805 }
2806 return SWIG_TypeError;
2807 }
2808
2809
2810 SWIGINTERN int
2811 SWIG_AsVal_int (PyObject * obj, int *val)
2812 {
2813 long v;
2814 int res = SWIG_AsVal_long (obj, &v);
2815 if (SWIG_IsOK(res)) {
2816 if ((v < INT_MIN || v > INT_MAX)) {
2817 return SWIG_OverflowError;
2818 } else {
2819 if (val) *val = static_cast< int >(v);
2820 }
2821 }
2822 return res;
2823 }
2824
2825 SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2826 int* temp = NULL;
2827 if (sizes) temp = int_LIST_helper(sizes);
2828 self->SetFonts(normal_face, fixed_face, temp);
2829 if (temp)
2830 delete [] temp;
2831 }
2832
2833 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
2834 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
2835 public:
2836 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2837
2838 wxHtmlParser* GetParser() { return m_Parser; }
2839 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
2840
2841 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2842 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2843
2844 PYPRIVATE;
2845 };
2846
2847 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
2848
2849 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
2850 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
2851
2852
2853 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
2854 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
2855 public:
2856 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2857
2858 wxHtmlWinParser* GetParser() { return m_WParser; }
2859 void ParseInner(const wxHtmlTag& tag)
2860 { wxHtmlWinTagHandler::ParseInner(tag); }
2861
2862 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2863 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2864
2865 PYPRIVATE;
2866 };
2867
2868 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
2869
2870 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
2871 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
2872
2873
2874
2875 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
2876 public:
2877 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
2878 m_tagHandlerClass = thc;
2879 Py_INCREF(m_tagHandlerClass);
2880 RegisterModule(this);
2881 wxHtmlWinParser::AddModule(this);
2882 }
2883
2884 void OnExit() {
2885 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2886 Py_DECREF(m_tagHandlerClass);
2887 m_tagHandlerClass = NULL;
2888 for (size_t x=0; x < m_objArray.GetCount(); x++) {
2889 PyObject* obj = (PyObject*)m_objArray.Item(x);
2890 Py_DECREF(obj);
2891 }
2892 wxPyEndBlockThreads(blocked);
2893 };
2894
2895 void FillHandlersTable(wxHtmlWinParser *parser) {
2896 // Wave our magic wand... (if it works it's a miracle! ;-)
2897
2898 // First, make a new instance of the tag handler
2899 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2900 PyObject* arg = PyTuple_New(0);
2901 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
2902 Py_DECREF(arg);
2903
2904 // now figure out where it's C++ object is...
2905 wxPyHtmlWinTagHandler* thPtr;
2906 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
2907 wxPyEndBlockThreads(blocked);
2908 return;
2909 }
2910 wxPyEndBlockThreads(blocked);
2911
2912 // add it,
2913 parser->AddTagHandler(thPtr);
2914
2915 // and track it.
2916 m_objArray.Add(obj);
2917 }
2918
2919 private:
2920 PyObject* m_tagHandlerClass;
2921 wxArrayPtrVoid m_objArray;
2922
2923 };
2924
2925
2926 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
2927 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2928 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2929 new wxPyHtmlTagsModule(tagHandlerClass);
2930 }
2931
2932
2933 SWIGINTERNINLINE PyObject*
2934 SWIG_From_bool (bool value)
2935 {
2936 return PyBool_FromLong(value ? 1 : 0);
2937 }
2938
2939
2940 SWIGINTERN int
2941 SWIG_AsVal_bool (PyObject *obj, bool *val)
2942 {
2943 if (obj == Py_True) {
2944 if (val) *val = true;
2945 return SWIG_OK;
2946 } else if (obj == Py_False) {
2947 if (val) *val = false;
2948 return SWIG_OK;
2949 } else {
2950 long v = 0;
2951 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2952 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2953 return res;
2954 }
2955 }
2956
2957
2958 SWIGINTERN int
2959 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2960 {
2961 long v = 0;
2962 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2963 return SWIG_TypeError;
2964 }
2965 else if (val)
2966 *val = (unsigned long)v;
2967 return SWIG_OK;
2968 }
2969
2970
2971 SWIGINTERN int
2972 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2973 {
2974 unsigned long v;
2975 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2976 if (SWIG_IsOK(res)) {
2977 if ((v > UINT_MAX)) {
2978 return SWIG_OverflowError;
2979 } else {
2980 if (val) *val = static_cast< unsigned int >(v);
2981 }
2982 }
2983 return res;
2984 }
2985
2986
2987 SWIGINTERNINLINE PyObject*
2988 SWIG_From_unsigned_SS_long (unsigned long value)
2989 {
2990 return (value > LONG_MAX) ?
2991 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2992 }
2993
2994
2995 SWIGINTERNINLINE PyObject *
2996 SWIG_From_unsigned_SS_int (unsigned int value)
2997 {
2998 return SWIG_From_unsigned_SS_long (value);
2999 }
3000
3001 // here's the C++ version
3002 class wxPyHtmlFilter : public wxHtmlFilter {
3003 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
3004 public:
3005 wxPyHtmlFilter() : wxHtmlFilter() {}
3006
3007 // returns True if this filter is able to open&read given file
3008 virtual bool CanRead(const wxFSFile& file) const {
3009 bool rval = false;
3010 bool found;
3011 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3012 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
3013 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3014 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3015 Py_DECREF(obj);
3016 }
3017 wxPyEndBlockThreads(blocked);
3018 return rval;
3019 }
3020
3021
3022 // Reads given file and returns HTML document.
3023 // Returns empty string if opening failed
3024 virtual wxString ReadFile(const wxFSFile& file) const {
3025 wxString rval;
3026 bool found;
3027 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3028 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
3029 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3030 PyObject* ro;
3031 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
3032 Py_DECREF(obj);
3033 if (ro) {
3034 rval = Py2wxString(ro);
3035 Py_DECREF(ro);
3036 }
3037 }
3038 wxPyEndBlockThreads(blocked);
3039 return rval;
3040 }
3041
3042 PYPRIVATE;
3043 };
3044
3045 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
3046
3047
3048 class wxPyHtmlWindow : public wxHtmlWindow {
3049 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
3050 public:
3051 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
3052 const wxPoint& pos = wxDefaultPosition,
3053 const wxSize& size = wxDefaultSize,
3054 long style = wxHW_DEFAULT_STYLE,
3055 const wxString& name = wxPyHtmlWindowNameStr)
3056 : wxHtmlWindow(parent, id, pos, size, style, name) {};
3057 wxPyHtmlWindow() : wxHtmlWindow() {};
3058
3059 bool ScrollToAnchor(const wxString& anchor) {
3060 return wxHtmlWindow::ScrollToAnchor(anchor);
3061 }
3062
3063 bool HasAnchor(const wxString& anchor) {
3064 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
3065 return c!=NULL;
3066 }
3067
3068 void OnLinkClicked(const wxHtmlLinkInfo& link);
3069
3070 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
3071 const wxString& url,
3072 wxString *redirect) const;
3073
3074 DEC_PYCALLBACK__STRING(OnSetTitle);
3075 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
3076 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
3077
3078 PYPRIVATE;
3079 };
3080
3081 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
3082 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
3083 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
3084 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
3085
3086
3087 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
3088 bool found;
3089 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3090 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3091 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3092 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3093 Py_DECREF(obj);
3094 }
3095 wxPyEndBlockThreads(blocked);
3096 if (! found)
3097 wxHtmlWindow::OnLinkClicked(link);
3098 }
3099
3100
3101 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
3102 const wxString& url,
3103 wxString *redirect) const {
3104 bool found;
3105 wxHtmlOpeningStatus rval;
3106 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3107 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
3108 PyObject* ro;
3109 PyObject* s = wx2PyString(url);
3110 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
3111 Py_DECREF(s);
3112 if (PyString_Check(ro)
3113 #if PYTHON_API_VERSION >= 1009
3114 || PyUnicode_Check(ro)
3115 #endif
3116 ) {
3117 *redirect = Py2wxString(ro);
3118 rval = wxHTML_REDIRECT;
3119 }
3120 else {
3121 PyObject* num = PyNumber_Int(ro);
3122 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
3123 Py_DECREF(num);
3124 }
3125 Py_DECREF(ro);
3126 }
3127 wxPyEndBlockThreads(blocked);
3128 if (! found)
3129 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
3130 return rval;
3131 }
3132
3133
3134
3135 SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3136 int* temp = NULL;
3137 if (sizes) temp = int_LIST_helper(sizes);
3138 self->SetFonts(normal_face, fixed_face, temp);
3139 if (temp)
3140 delete [] temp;
3141 }
3142 SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3143 int* temp = NULL;
3144 if (sizes) temp = int_LIST_helper(sizes);
3145 self->SetFonts(normal_face, fixed_face, temp);
3146 if (temp)
3147 delete [] temp;
3148 }
3149 SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3150 int* temp = NULL;
3151 if (sizes) temp = int_LIST_helper(sizes);
3152 self->SetFonts(normal_face, fixed_face, temp);
3153 if (temp)
3154 delete [] temp;
3155 }
3156
3157 #include <float.h>
3158
3159
3160 SWIGINTERN int
3161 SWIG_AsVal_double (PyObject *obj, double* val)
3162 {
3163 if (PyNumber_Check(obj)) {
3164 if (val) *val = PyFloat_AsDouble(obj);
3165 return SWIG_OK;
3166 }
3167 return SWIG_TypeError;
3168 }
3169
3170
3171 SWIGINTERN int
3172 SWIG_AsVal_float (PyObject * obj, float *val)
3173 {
3174 double v;
3175 int res = SWIG_AsVal_double (obj, &v);
3176 if (SWIG_IsOK(res)) {
3177 if ((v < -FLT_MAX || v > FLT_MAX)) {
3178 return SWIG_OverflowError;
3179 } else {
3180 if (val) *val = static_cast< float >(v);
3181 }
3182 }
3183 return res;
3184 }
3185
3186 SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3187 int* temp = NULL;
3188 if (sizes) temp = int_LIST_helper(sizes);
3189 self->SetFonts(normal_face, fixed_face, temp);
3190 if (temp)
3191 delete [] temp;
3192 }
3193 #ifdef __cplusplus
3194 extern "C" {
3195 #endif
3196 SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3197 SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3198 return 1;
3199 }
3200
3201
3202 SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3203 PyObject *pyobj = 0;
3204
3205 {
3206 #if wxUSE_UNICODE
3207 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3208 #else
3209 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3210 #endif
3211 }
3212 return pyobj;
3213 }
3214
3215
3216 SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3217 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3218 return 1;
3219 }
3220
3221
3222 SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3223 PyObject *pyobj = 0;
3224
3225 {
3226 #if wxUSE_UNICODE
3227 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3228 #else
3229 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3230 #endif
3231 }
3232 return pyobj;
3233 }
3234
3235
3236 SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3237 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3238 return 1;
3239 }
3240
3241
3242 SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3243 PyObject *pyobj = 0;
3244
3245 {
3246 #if wxUSE_UNICODE
3247 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3248 #else
3249 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3250 #endif
3251 }
3252 return pyobj;
3253 }
3254
3255
3256 SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj = 0;
3258 wxString *arg1 = 0 ;
3259 wxString const &arg2_defvalue = wxPyEmptyString ;
3260 wxString *arg2 = (wxString *) &arg2_defvalue ;
3261 wxHtmlLinkInfo *result = 0 ;
3262 bool temp1 = false ;
3263 bool temp2 = false ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 char * kwnames[] = {
3267 (char *) "href",(char *) "target", NULL
3268 };
3269
3270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3271 {
3272 arg1 = wxString_in_helper(obj0);
3273 if (arg1 == NULL) SWIG_fail;
3274 temp1 = true;
3275 }
3276 if (obj1) {
3277 {
3278 arg2 = wxString_in_helper(obj1);
3279 if (arg2 == NULL) SWIG_fail;
3280 temp2 = true;
3281 }
3282 }
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3290 {
3291 if (temp1)
3292 delete arg1;
3293 }
3294 {
3295 if (temp2)
3296 delete arg2;
3297 }
3298 return resultobj;
3299 fail:
3300 {
3301 if (temp1)
3302 delete arg1;
3303 }
3304 {
3305 if (temp2)
3306 delete arg2;
3307 }
3308 return NULL;
3309 }
3310
3311
3312 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3313 PyObject *resultobj = 0;
3314 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3315 wxString result;
3316 void *argp1 = 0 ;
3317 int res1 = 0 ;
3318 PyObject *swig_obj[1] ;
3319
3320 if (!args) SWIG_fail;
3321 swig_obj[0] = args;
3322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3323 if (!SWIG_IsOK(res1)) {
3324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3325 }
3326 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (arg1)->GetHref();
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 {
3334 #if wxUSE_UNICODE
3335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3336 #else
3337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3338 #endif
3339 }
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3347 PyObject *resultobj = 0;
3348 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3349 wxString result;
3350 void *argp1 = 0 ;
3351 int res1 = 0 ;
3352 PyObject *swig_obj[1] ;
3353
3354 if (!args) SWIG_fail;
3355 swig_obj[0] = args;
3356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3357 if (!SWIG_IsOK(res1)) {
3358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3359 }
3360 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 result = (arg1)->GetTarget();
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 {
3368 #if wxUSE_UNICODE
3369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3370 #else
3371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3372 #endif
3373 }
3374 return resultobj;
3375 fail:
3376 return NULL;
3377 }
3378
3379
3380 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3381 PyObject *resultobj = 0;
3382 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3383 wxMouseEvent *result = 0 ;
3384 void *argp1 = 0 ;
3385 int res1 = 0 ;
3386 PyObject *swig_obj[1] ;
3387
3388 if (!args) SWIG_fail;
3389 swig_obj[0] = args;
3390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3391 if (!SWIG_IsOK(res1)) {
3392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3393 }
3394 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 result = (wxMouseEvent *)(arg1)->GetEvent();
3398 wxPyEndAllowThreads(__tstate);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 {
3402 resultobj = wxPyMake_wxObject(result, (bool)0);
3403 }
3404 return resultobj;
3405 fail:
3406 return NULL;
3407 }
3408
3409
3410 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3411 PyObject *resultobj = 0;
3412 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3413 wxHtmlCell *result = 0 ;
3414 void *argp1 = 0 ;
3415 int res1 = 0 ;
3416 PyObject *swig_obj[1] ;
3417
3418 if (!args) SWIG_fail;
3419 swig_obj[0] = args;
3420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3421 if (!SWIG_IsOK(res1)) {
3422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3423 }
3424 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3432 return resultobj;
3433 fail:
3434 return NULL;
3435 }
3436
3437
3438 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3439 PyObject *resultobj = 0;
3440 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3441 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3442 void *argp1 = 0 ;
3443 int res1 = 0 ;
3444 void *argp2 = 0 ;
3445 int res2 = 0 ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
3448 char * kwnames[] = {
3449 (char *) "self",(char *) "e", NULL
3450 };
3451
3452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3454 if (!SWIG_IsOK(res1)) {
3455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3456 }
3457 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3458 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3459 if (!SWIG_IsOK(res2)) {
3460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3461 }
3462 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 (arg1)->SetEvent((wxMouseEvent const *)arg2);
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 resultobj = SWIG_Py_Void();
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj = 0;
3478 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3479 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3480 void *argp1 = 0 ;
3481 int res1 = 0 ;
3482 void *argp2 = 0 ;
3483 int res2 = 0 ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486 char * kwnames[] = {
3487 (char *) "self",(char *) "e", NULL
3488 };
3489
3490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3492 if (!SWIG_IsOK(res1)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3494 }
3495 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3496 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3497 if (!SWIG_IsOK(res2)) {
3498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3499 }
3500 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 resultobj = SWIG_Py_Void();
3508 return resultobj;
3509 fail:
3510 return NULL;
3511 }
3512
3513
3514 SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3515 PyObject *obj;
3516 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3517 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3518 return SWIG_Py_Void();
3519 }
3520
3521 SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3522 return SWIG_Python_InitShadowInstance(args);
3523 }
3524
3525 SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3526 PyObject *resultobj = 0;
3527 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3528 wxString result;
3529 void *argp1 = 0 ;
3530 int res1 = 0 ;
3531 PyObject *swig_obj[1] ;
3532
3533 if (!args) SWIG_fail;
3534 swig_obj[0] = args;
3535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3536 if (!SWIG_IsOK(res1)) {
3537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3538 }
3539 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (arg1)->GetName();
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 {
3547 #if wxUSE_UNICODE
3548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3549 #else
3550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3551 #endif
3552 }
3553 return resultobj;
3554 fail:
3555 return NULL;
3556 }
3557
3558
3559 SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3560 PyObject *resultobj = 0;
3561 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3562 wxString *arg2 = 0 ;
3563 bool result;
3564 void *argp1 = 0 ;
3565 int res1 = 0 ;
3566 bool temp2 = false ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 char * kwnames[] = {
3570 (char *) "self",(char *) "par", NULL
3571 };
3572
3573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3575 if (!SWIG_IsOK(res1)) {
3576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3577 }
3578 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3579 {
3580 arg2 = wxString_in_helper(obj1);
3581 if (arg2 == NULL) SWIG_fail;
3582 temp2 = true;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 {
3591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3592 }
3593 {
3594 if (temp2)
3595 delete arg2;
3596 }
3597 return resultobj;
3598 fail:
3599 {
3600 if (temp2)
3601 delete arg2;
3602 }
3603 return NULL;
3604 }
3605
3606
3607 SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj = 0;
3609 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3610 wxString *arg2 = 0 ;
3611 int arg3 = (int) false ;
3612 wxString result;
3613 void *argp1 = 0 ;
3614 int res1 = 0 ;
3615 bool temp2 = false ;
3616 int val3 ;
3617 int ecode3 = 0 ;
3618 PyObject * obj0 = 0 ;
3619 PyObject * obj1 = 0 ;
3620 PyObject * obj2 = 0 ;
3621 char * kwnames[] = {
3622 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3623 };
3624
3625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3627 if (!SWIG_IsOK(res1)) {
3628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3629 }
3630 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3631 {
3632 arg2 = wxString_in_helper(obj1);
3633 if (arg2 == NULL) SWIG_fail;
3634 temp2 = true;
3635 }
3636 if (obj2) {
3637 ecode3 = SWIG_AsVal_int(obj2, &val3);
3638 if (!SWIG_IsOK(ecode3)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3640 }
3641 arg3 = static_cast< int >(val3);
3642 }
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 {
3650 #if wxUSE_UNICODE
3651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3652 #else
3653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3654 #endif
3655 }
3656 {
3657 if (temp2)
3658 delete arg2;
3659 }
3660 return resultobj;
3661 fail:
3662 {
3663 if (temp2)
3664 delete arg2;
3665 }
3666 return NULL;
3667 }
3668
3669
3670 SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3671 PyObject *resultobj = 0;
3672 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3673 wxString result;
3674 void *argp1 = 0 ;
3675 int res1 = 0 ;
3676 PyObject *swig_obj[1] ;
3677
3678 if (!args) SWIG_fail;
3679 swig_obj[0] = args;
3680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3681 if (!SWIG_IsOK(res1)) {
3682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3683 }
3684 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (arg1)->GetAllParams();
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 #if wxUSE_UNICODE
3693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3694 #else
3695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3696 #endif
3697 }
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3705 PyObject *resultobj = 0;
3706 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3707 bool result;
3708 void *argp1 = 0 ;
3709 int res1 = 0 ;
3710 PyObject *swig_obj[1] ;
3711
3712 if (!args) SWIG_fail;
3713 swig_obj[0] = args;
3714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3715 if (!SWIG_IsOK(res1)) {
3716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3717 }
3718 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (bool)(arg1)->HasEnding();
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
3725 {
3726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3727 }
3728 return resultobj;
3729 fail:
3730 return NULL;
3731 }
3732
3733
3734 SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3735 PyObject *resultobj = 0;
3736 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3737 int result;
3738 void *argp1 = 0 ;
3739 int res1 = 0 ;
3740 PyObject *swig_obj[1] ;
3741
3742 if (!args) SWIG_fail;
3743 swig_obj[0] = args;
3744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3745 if (!SWIG_IsOK(res1)) {
3746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3747 }
3748 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 result = (int)(arg1)->GetBeginPos();
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 resultobj = SWIG_From_int(static_cast< int >(result));
3756 return resultobj;
3757 fail:
3758 return NULL;
3759 }
3760
3761
3762 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3763 PyObject *resultobj = 0;
3764 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3765 int result;
3766 void *argp1 = 0 ;
3767 int res1 = 0 ;
3768 PyObject *swig_obj[1] ;
3769
3770 if (!args) SWIG_fail;
3771 swig_obj[0] = args;
3772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3775 }
3776 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (int)(arg1)->GetEndPos1();
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 resultobj = SWIG_From_int(static_cast< int >(result));
3784 return resultobj;
3785 fail:
3786 return NULL;
3787 }
3788
3789
3790 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3791 PyObject *resultobj = 0;
3792 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3793 int result;
3794 void *argp1 = 0 ;
3795 int res1 = 0 ;
3796 PyObject *swig_obj[1] ;
3797
3798 if (!args) SWIG_fail;
3799 swig_obj[0] = args;
3800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3801 if (!SWIG_IsOK(res1)) {
3802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3803 }
3804 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 result = (int)(arg1)->GetEndPos2();
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 resultobj = SWIG_From_int(static_cast< int >(result));
3812 return resultobj;
3813 fail:
3814 return NULL;
3815 }
3816
3817
3818 SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3819 PyObject *obj;
3820 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3821 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3822 return SWIG_Py_Void();
3823 }
3824
3825 SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj = 0;
3827 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3828 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3829 void *argp1 = 0 ;
3830 int res1 = 0 ;
3831 void *argp2 = 0 ;
3832 int res2 = 0 ;
3833 PyObject * obj0 = 0 ;
3834 PyObject * obj1 = 0 ;
3835 char * kwnames[] = {
3836 (char *) "self",(char *) "fs", NULL
3837 };
3838
3839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3841 if (!SWIG_IsOK(res1)) {
3842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3843 }
3844 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3845 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3846 if (!SWIG_IsOK(res2)) {
3847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3848 }
3849 arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 (arg1)->SetFS(arg2);
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = SWIG_Py_Void();
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3864 PyObject *resultobj = 0;
3865 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3866 wxFileSystem *result = 0 ;
3867 void *argp1 = 0 ;
3868 int res1 = 0 ;
3869 PyObject *swig_obj[1] ;
3870
3871 if (!args) SWIG_fail;
3872 swig_obj[0] = args;
3873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3874 if (!SWIG_IsOK(res1)) {
3875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3876 }
3877 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 result = (wxFileSystem *)(arg1)->GetFS();
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 {
3885 resultobj = wxPyMake_wxObject(result, (bool)0);
3886 }
3887 return resultobj;
3888 fail:
3889 return NULL;
3890 }
3891
3892
3893 SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3894 PyObject *resultobj = 0;
3895 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3896 wxString *arg2 = 0 ;
3897 wxObject *result = 0 ;
3898 void *argp1 = 0 ;
3899 int res1 = 0 ;
3900 bool temp2 = false ;
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903 char * kwnames[] = {
3904 (char *) "self",(char *) "source", NULL
3905 };
3906
3907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3909 if (!SWIG_IsOK(res1)) {
3910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3911 }
3912 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3913 {
3914 arg2 = wxString_in_helper(obj1);
3915 if (arg2 == NULL) SWIG_fail;
3916 temp2 = true;
3917 }
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 {
3925 resultobj = wxPyMake_wxObject(result, (bool)0);
3926 }
3927 {
3928 if (temp2)
3929 delete arg2;
3930 }
3931 return resultobj;
3932 fail:
3933 {
3934 if (temp2)
3935 delete arg2;
3936 }
3937 return NULL;
3938 }
3939
3940
3941 SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj = 0;
3943 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3944 wxString *arg2 = 0 ;
3945 void *argp1 = 0 ;
3946 int res1 = 0 ;
3947 bool temp2 = false ;
3948 PyObject * obj0 = 0 ;
3949 PyObject * obj1 = 0 ;
3950 char * kwnames[] = {
3951 (char *) "self",(char *) "source", NULL
3952 };
3953
3954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3956 if (!SWIG_IsOK(res1)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3958 }
3959 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3960 {
3961 arg2 = wxString_in_helper(obj1);
3962 if (arg2 == NULL) SWIG_fail;
3963 temp2 = true;
3964 }
3965 {
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 (arg1)->InitParser((wxString const &)*arg2);
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 resultobj = SWIG_Py_Void();
3972 {
3973 if (temp2)
3974 delete arg2;
3975 }
3976 return resultobj;
3977 fail:
3978 {
3979 if (temp2)
3980 delete arg2;
3981 }
3982 return NULL;
3983 }
3984
3985
3986 SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3987 PyObject *resultobj = 0;
3988 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3989 void *argp1 = 0 ;
3990 int res1 = 0 ;
3991 PyObject *swig_obj[1] ;
3992
3993 if (!args) SWIG_fail;
3994 swig_obj[0] = args;
3995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3996 if (!SWIG_IsOK(res1)) {
3997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3998 }
3999 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 (arg1)->DoneParser();
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 resultobj = SWIG_Py_Void();
4007 return resultobj;
4008 fail:
4009 return NULL;
4010 }
4011
4012
4013 SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4014 PyObject *resultobj = 0;
4015 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4016 int arg2 ;
4017 int arg3 ;
4018 void *argp1 = 0 ;
4019 int res1 = 0 ;
4020 int val2 ;
4021 int ecode2 = 0 ;
4022 int val3 ;
4023 int ecode3 = 0 ;
4024 PyObject * obj0 = 0 ;
4025 PyObject * obj1 = 0 ;
4026 PyObject * obj2 = 0 ;
4027 char * kwnames[] = {
4028 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4029 };
4030
4031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4033 if (!SWIG_IsOK(res1)) {
4034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4035 }
4036 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4037 ecode2 = SWIG_AsVal_int(obj1, &val2);
4038 if (!SWIG_IsOK(ecode2)) {
4039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4040 }
4041 arg2 = static_cast< int >(val2);
4042 ecode3 = SWIG_AsVal_int(obj2, &val3);
4043 if (!SWIG_IsOK(ecode3)) {
4044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4045 }
4046 arg3 = static_cast< int >(val3);
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 (arg1)->DoParsing(arg2,arg3);
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 resultobj = SWIG_Py_Void();
4054 return resultobj;
4055 fail:
4056 return NULL;
4057 }
4058
4059
4060 SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4061 PyObject *resultobj = 0;
4062 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4063 void *argp1 = 0 ;
4064 int res1 = 0 ;
4065 PyObject *swig_obj[1] ;
4066
4067 if (!args) SWIG_fail;
4068 swig_obj[0] = args;
4069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4070 if (!SWIG_IsOK(res1)) {
4071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4072 }
4073 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 (arg1)->StopParsing();
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 resultobj = SWIG_Py_Void();
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj = 0;
4089 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4090 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4091 void *argp1 = 0 ;
4092 int res1 = 0 ;
4093 void *argp2 = 0 ;
4094 int res2 = 0 ;
4095 PyObject * obj0 = 0 ;
4096 PyObject * obj1 = 0 ;
4097 char * kwnames[] = {
4098 (char *) "self",(char *) "handler", NULL
4099 };
4100
4101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4103 if (!SWIG_IsOK(res1)) {
4104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4105 }
4106 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4107 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4108 if (!SWIG_IsOK(res2)) {
4109 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4110 }
4111 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 (arg1)->AddTagHandler(arg2);
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_Py_Void();
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4128 wxString *result = 0 ;
4129 void *argp1 = 0 ;
4130 int res1 = 0 ;
4131 PyObject *swig_obj[1] ;
4132
4133 if (!args) SWIG_fail;
4134 swig_obj[0] = args;
4135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4136 if (!SWIG_IsOK(res1)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4138 }
4139 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (wxString *)(arg1)->GetSource();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 {
4147 #if wxUSE_UNICODE
4148 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4149 #else
4150 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4151 #endif
4152 }
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj = 0;
4161 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4162 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4163 wxString arg3 ;
4164 void *argp1 = 0 ;
4165 int res1 = 0 ;
4166 void *argp2 = 0 ;
4167 int res2 = 0 ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 char * kwnames[] = {
4172 (char *) "self",(char *) "handler",(char *) "tags", NULL
4173 };
4174
4175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4177 if (!SWIG_IsOK(res1)) {
4178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4179 }
4180 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4181 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4182 if (!SWIG_IsOK(res2)) {
4183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4184 }
4185 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4186 {
4187 wxString* sptr = wxString_in_helper(obj2);
4188 if (sptr == NULL) SWIG_fail;
4189 arg3 = *sptr;
4190 delete sptr;
4191 }
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->PushTagHandler(arg2,arg3);
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 resultobj = SWIG_Py_Void();
4199 return resultobj;
4200 fail:
4201 return NULL;
4202 }
4203
4204
4205 SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4206 PyObject *resultobj = 0;
4207 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4208 void *argp1 = 0 ;
4209 int res1 = 0 ;
4210 PyObject *swig_obj[1] ;
4211
4212 if (!args) SWIG_fail;
4213 swig_obj[0] = args;
4214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4215 if (!SWIG_IsOK(res1)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4217 }
4218 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 (arg1)->PopTagHandler();
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_Py_Void();
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj = 0;
4234 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4235 wxHtmlTag *arg2 = 0 ;
4236 wxString result;
4237 void *argp1 = 0 ;
4238 int res1 = 0 ;
4239 void *argp2 = 0 ;
4240 int res2 = 0 ;
4241 PyObject * obj0 = 0 ;
4242 PyObject * obj1 = 0 ;
4243 char * kwnames[] = {
4244 (char *) "self",(char *) "tag", NULL
4245 };
4246
4247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4249 if (!SWIG_IsOK(res1)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4251 }
4252 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4253 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4254 if (!SWIG_IsOK(res2)) {
4255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4256 }
4257 if (!argp2) {
4258 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4259 }
4260 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 {
4268 #if wxUSE_UNICODE
4269 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4270 #else
4271 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4272 #endif
4273 }
4274 return resultobj;
4275 fail:
4276 return NULL;
4277 }
4278
4279
4280 SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4281 PyObject *obj;
4282 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4283 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4284 return SWIG_Py_Void();
4285 }
4286
4287 SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj = 0;
4289 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4290 wxHtmlWinParser *result = 0 ;
4291 void *argp1 = 0 ;
4292 int res1 = 0 ;
4293 PyObject * obj0 = 0 ;
4294 char * kwnames[] = {
4295 (char *) "wnd", NULL
4296 };
4297
4298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4299 if (obj0) {
4300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4301 if (!SWIG_IsOK(res1)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4303 }
4304 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4313 return resultobj;
4314 fail:
4315 return NULL;
4316 }
4317
4318
4319 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4320 PyObject *resultobj = 0;
4321 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4322 wxDC *arg2 = (wxDC *) 0 ;
4323 void *argp1 = 0 ;
4324 int res1 = 0 ;
4325 void *argp2 = 0 ;
4326 int res2 = 0 ;
4327 PyObject * obj0 = 0 ;
4328 PyObject * obj1 = 0 ;
4329 char * kwnames[] = {
4330 (char *) "self",(char *) "dc", NULL
4331 };
4332
4333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4335 if (!SWIG_IsOK(res1)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4337 }
4338 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4339 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4340 if (!SWIG_IsOK(res2)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4342 }
4343 arg2 = reinterpret_cast< wxDC * >(argp2);
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 (arg1)->SetDC(arg2);
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 resultobj = SWIG_Py_Void();
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4358 PyObject *resultobj = 0;
4359 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4360 wxDC *result = 0 ;
4361 void *argp1 = 0 ;
4362 int res1 = 0 ;
4363 PyObject *swig_obj[1] ;
4364
4365 if (!args) SWIG_fail;
4366 swig_obj[0] = args;
4367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4368 if (!SWIG_IsOK(res1)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4370 }
4371 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 result = (wxDC *)(arg1)->GetDC();
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 {
4379 resultobj = wxPyMake_wxObject(result, (bool)0);
4380 }
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4388 PyObject *resultobj = 0;
4389 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4390 int result;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 PyObject *swig_obj[1] ;
4394
4395 if (!args) SWIG_fail;
4396 swig_obj[0] = args;
4397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4398 if (!SWIG_IsOK(res1)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4400 }
4401 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (int)(arg1)->GetCharHeight();
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 resultobj = SWIG_From_int(static_cast< int >(result));
4409 return resultobj;
4410 fail:
4411 return NULL;
4412 }
4413
4414
4415 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4416 PyObject *resultobj = 0;
4417 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4418 int result;
4419 void *argp1 = 0 ;
4420 int res1 = 0 ;
4421 PyObject *swig_obj[1] ;
4422
4423 if (!args) SWIG_fail;
4424 swig_obj[0] = args;
4425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4426 if (!SWIG_IsOK(res1)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4428 }
4429 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 result = (int)(arg1)->GetCharWidth();
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 resultobj = SWIG_From_int(static_cast< int >(result));
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4444 PyObject *resultobj = 0;
4445 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4446 wxPyHtmlWindow *result = 0 ;
4447 void *argp1 = 0 ;
4448 int res1 = 0 ;
4449 PyObject *swig_obj[1] ;
4450
4451 if (!args) SWIG_fail;
4452 swig_obj[0] = args;
4453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4454 if (!SWIG_IsOK(res1)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4456 }
4457 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 {
4465 resultobj = wxPyMake_wxObject(result, (bool)0);
4466 }
4467 return resultobj;
4468 fail:
4469 return NULL;
4470 }
4471
4472
4473 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4474 PyObject *resultobj = 0;
4475 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4476 wxHtmlWindowInterface *result = 0 ;
4477 void *argp1 = 0 ;
4478 int res1 = 0 ;
4479 PyObject *swig_obj[1] ;
4480
4481 if (!args) SWIG_fail;
4482 swig_obj[0] = args;
4483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4484 if (!SWIG_IsOK(res1)) {
4485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4486 }
4487 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj = 0;
4503 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4504 wxString arg2 ;
4505 wxString arg3 ;
4506 PyObject *arg4 = (PyObject *) NULL ;
4507 void *argp1 = 0 ;
4508 int res1 = 0 ;
4509 PyObject * obj0 = 0 ;
4510 PyObject * obj1 = 0 ;
4511 PyObject * obj2 = 0 ;
4512 PyObject * obj3 = 0 ;
4513 char * kwnames[] = {
4514 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4515 };
4516
4517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4519 if (!SWIG_IsOK(res1)) {
4520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4521 }
4522 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4523 {
4524 wxString* sptr = wxString_in_helper(obj1);
4525 if (sptr == NULL) SWIG_fail;
4526 arg2 = *sptr;
4527 delete sptr;
4528 }
4529 {
4530 wxString* sptr = wxString_in_helper(obj2);
4531 if (sptr == NULL) SWIG_fail;
4532 arg3 = *sptr;
4533 delete sptr;
4534 }
4535 if (obj3) {
4536 arg4 = obj3;
4537 }
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 resultobj = SWIG_Py_Void();
4545 return resultobj;
4546 fail:
4547 return NULL;
4548 }
4549
4550
4551 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj = 0;
4553 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4554 int arg2 = (int) -1 ;
4555 wxString const &arg3_defvalue = wxPyEmptyString ;
4556 wxString *arg3 = (wxString *) &arg3_defvalue ;
4557 wxString const &arg4_defvalue = wxPyEmptyString ;
4558 wxString *arg4 = (wxString *) &arg4_defvalue ;
4559 void *argp1 = 0 ;
4560 int res1 = 0 ;
4561 int val2 ;
4562 int ecode2 = 0 ;
4563 bool temp3 = false ;
4564 bool temp4 = false ;
4565 PyObject * obj0 = 0 ;
4566 PyObject * obj1 = 0 ;
4567 PyObject * obj2 = 0 ;
4568 PyObject * obj3 = 0 ;
4569 char * kwnames[] = {
4570 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4571 };
4572
4573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4575 if (!SWIG_IsOK(res1)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4577 }
4578 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4579 if (obj1) {
4580 ecode2 = SWIG_AsVal_int(obj1, &val2);
4581 if (!SWIG_IsOK(ecode2)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4583 }
4584 arg2 = static_cast< int >(val2);
4585 }
4586 if (obj2) {
4587 {
4588 arg3 = wxString_in_helper(obj2);
4589 if (arg3 == NULL) SWIG_fail;
4590 temp3 = true;
4591 }
4592 }
4593 if (obj3) {
4594 {
4595 arg4 = wxString_in_helper(obj3);
4596 if (arg4 == NULL) SWIG_fail;
4597 temp4 = true;
4598 }
4599 }
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 resultobj = SWIG_Py_Void();
4607 {
4608 if (temp3)
4609 delete arg3;
4610 }
4611 {
4612 if (temp4)
4613 delete arg4;
4614 }
4615 return resultobj;
4616 fail:
4617 {
4618 if (temp3)
4619 delete arg3;
4620 }
4621 {
4622 if (temp4)
4623 delete arg4;
4624 }
4625 return NULL;
4626 }
4627
4628
4629 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4630 PyObject *resultobj = 0;
4631 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4632 wxHtmlContainerCell *result = 0 ;
4633 void *argp1 = 0 ;
4634 int res1 = 0 ;
4635 PyObject *swig_obj[1] ;
4636
4637 if (!args) SWIG_fail;
4638 swig_obj[0] = args;
4639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4640 if (!SWIG_IsOK(res1)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4642 }
4643 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4658 PyObject *resultobj = 0;
4659 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4660 wxHtmlContainerCell *result = 0 ;
4661 void *argp1 = 0 ;
4662 int res1 = 0 ;
4663 PyObject *swig_obj[1] ;
4664
4665 if (!args) SWIG_fail;
4666 swig_obj[0] = args;
4667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4668 if (!SWIG_IsOK(res1)) {
4669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4670 }
4671 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4675 wxPyEndAllowThreads(__tstate);
4676 if (PyErr_Occurred()) SWIG_fail;
4677 }
4678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4679 return resultobj;
4680 fail:
4681 return NULL;
4682 }
4683
4684
4685 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj = 0;
4687 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4688 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4689 wxHtmlContainerCell *result = 0 ;
4690 void *argp1 = 0 ;
4691 int res1 = 0 ;
4692 void *argp2 = 0 ;
4693 int res2 = 0 ;
4694 PyObject * obj0 = 0 ;
4695 PyObject * obj1 = 0 ;
4696 char * kwnames[] = {
4697 (char *) "self",(char *) "c", NULL
4698 };
4699
4700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4702 if (!SWIG_IsOK(res1)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4704 }
4705 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4706 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4707 if (!SWIG_IsOK(res2)) {
4708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4709 }
4710 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4725 PyObject *resultobj = 0;
4726 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4727 wxHtmlContainerCell *result = 0 ;
4728 void *argp1 = 0 ;
4729 int res1 = 0 ;
4730 PyObject *swig_obj[1] ;
4731
4732 if (!args) SWIG_fail;
4733 swig_obj[0] = args;
4734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4735 if (!SWIG_IsOK(res1)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4737 }
4738 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4753 PyObject *resultobj = 0;
4754 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4755 int result;
4756 void *argp1 = 0 ;
4757 int res1 = 0 ;
4758 PyObject *swig_obj[1] ;
4759
4760 if (!args) SWIG_fail;
4761 swig_obj[0] = args;
4762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4763 if (!SWIG_IsOK(res1)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4765 }
4766 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (int)(arg1)->GetFontSize();
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 resultobj = SWIG_From_int(static_cast< int >(result));
4774 return resultobj;
4775 fail:
4776 return NULL;
4777 }
4778
4779
4780 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4781 PyObject *resultobj = 0;
4782 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4783 int arg2 ;
4784 void *argp1 = 0 ;
4785 int res1 = 0 ;
4786 int val2 ;
4787 int ecode2 = 0 ;
4788 PyObject * obj0 = 0 ;
4789 PyObject * obj1 = 0 ;
4790 char * kwnames[] = {
4791 (char *) "self",(char *) "s", NULL
4792 };
4793
4794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4796 if (!SWIG_IsOK(res1)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4798 }
4799 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4800 ecode2 = SWIG_AsVal_int(obj1, &val2);
4801 if (!SWIG_IsOK(ecode2)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4803 }
4804 arg2 = static_cast< int >(val2);
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 (arg1)->SetFontSize(arg2);
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = SWIG_Py_Void();
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4819 PyObject *resultobj = 0;
4820 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4821 int result;
4822 void *argp1 = 0 ;
4823 int res1 = 0 ;
4824 PyObject *swig_obj[1] ;
4825
4826 if (!args) SWIG_fail;
4827 swig_obj[0] = args;
4828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4829 if (!SWIG_IsOK(res1)) {
4830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4831 }
4832 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (int)(arg1)->GetFontBold();
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 resultobj = SWIG_From_int(static_cast< int >(result));
4840 return resultobj;
4841 fail:
4842 return NULL;
4843 }
4844
4845
4846 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4847 PyObject *resultobj = 0;
4848 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4849 int arg2 ;
4850 void *argp1 = 0 ;
4851 int res1 = 0 ;
4852 int val2 ;
4853 int ecode2 = 0 ;
4854 PyObject * obj0 = 0 ;
4855 PyObject * obj1 = 0 ;
4856 char * kwnames[] = {
4857 (char *) "self",(char *) "x", NULL
4858 };
4859
4860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4862 if (!SWIG_IsOK(res1)) {
4863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4864 }
4865 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4866 ecode2 = SWIG_AsVal_int(obj1, &val2);
4867 if (!SWIG_IsOK(ecode2)) {
4868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4869 }
4870 arg2 = static_cast< int >(val2);
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 (arg1)->SetFontBold(arg2);
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 resultobj = SWIG_Py_Void();
4878 return resultobj;
4879 fail:
4880 return NULL;
4881 }
4882
4883
4884 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4885 PyObject *resultobj = 0;
4886 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4887 int result;
4888 void *argp1 = 0 ;
4889 int res1 = 0 ;
4890 PyObject *swig_obj[1] ;
4891
4892 if (!args) SWIG_fail;
4893 swig_obj[0] = args;
4894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4895 if (!SWIG_IsOK(res1)) {
4896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4897 }
4898 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 result = (int)(arg1)->GetFontItalic();
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_From_int(static_cast< int >(result));
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj = 0;
4914 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4915 int arg2 ;
4916 void *argp1 = 0 ;
4917 int res1 = 0 ;
4918 int val2 ;
4919 int ecode2 = 0 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 char * kwnames[] = {
4923 (char *) "self",(char *) "x", NULL
4924 };
4925
4926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4928 if (!SWIG_IsOK(res1)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4930 }
4931 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4932 ecode2 = SWIG_AsVal_int(obj1, &val2);
4933 if (!SWIG_IsOK(ecode2)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4935 }
4936 arg2 = static_cast< int >(val2);
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 (arg1)->SetFontItalic(arg2);
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 resultobj = SWIG_Py_Void();
4944 return resultobj;
4945 fail:
4946 return NULL;
4947 }
4948
4949
4950 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4951 PyObject *resultobj = 0;
4952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4953 int result;
4954 void *argp1 = 0 ;
4955 int res1 = 0 ;
4956 PyObject *swig_obj[1] ;
4957
4958 if (!args) SWIG_fail;
4959 swig_obj[0] = args;
4960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4961 if (!SWIG_IsOK(res1)) {
4962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4963 }
4964 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 result = (int)(arg1)->GetFontUnderlined();
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 resultobj = SWIG_From_int(static_cast< int >(result));
4972 return resultobj;
4973 fail:
4974 return NULL;
4975 }
4976
4977
4978 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4979 PyObject *resultobj = 0;
4980 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4981 int arg2 ;
4982 void *argp1 = 0 ;
4983 int res1 = 0 ;
4984 int val2 ;
4985 int ecode2 = 0 ;
4986 PyObject * obj0 = 0 ;
4987 PyObject * obj1 = 0 ;
4988 char * kwnames[] = {
4989 (char *) "self",(char *) "x", NULL
4990 };
4991
4992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4994 if (!SWIG_IsOK(res1)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4996 }
4997 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4998 ecode2 = SWIG_AsVal_int(obj1, &val2);
4999 if (!SWIG_IsOK(ecode2)) {
5000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5001 }
5002 arg2 = static_cast< int >(val2);
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 (arg1)->SetFontUnderlined(arg2);
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 resultobj = SWIG_Py_Void();
5010 return resultobj;
5011 fail:
5012 return NULL;
5013 }
5014
5015
5016 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5017 PyObject *resultobj = 0;
5018 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5019 int result;
5020 void *argp1 = 0 ;
5021 int res1 = 0 ;
5022 PyObject *swig_obj[1] ;
5023
5024 if (!args) SWIG_fail;
5025 swig_obj[0] = args;
5026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5027 if (!SWIG_IsOK(res1)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5029 }
5030 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5031 {
5032 PyThreadState* __tstate = wxPyBeginAllowThreads();
5033 result = (int)(arg1)->GetFontFixed();
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 resultobj = SWIG_From_int(static_cast< int >(result));
5038 return resultobj;
5039 fail:
5040 return NULL;
5041 }
5042
5043
5044 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj = 0;
5046 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5047 int arg2 ;
5048 void *argp1 = 0 ;
5049 int res1 = 0 ;
5050 int val2 ;
5051 int ecode2 = 0 ;
5052 PyObject * obj0 = 0 ;
5053 PyObject * obj1 = 0 ;
5054 char * kwnames[] = {
5055 (char *) "self",(char *) "x", NULL
5056 };
5057
5058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5060 if (!SWIG_IsOK(res1)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5062 }
5063 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5064 ecode2 = SWIG_AsVal_int(obj1, &val2);
5065 if (!SWIG_IsOK(ecode2)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5067 }
5068 arg2 = static_cast< int >(val2);
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 (arg1)->SetFontFixed(arg2);
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 resultobj = SWIG_Py_Void();
5076 return resultobj;
5077 fail:
5078 return NULL;
5079 }
5080
5081
5082 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5083 PyObject *resultobj = 0;
5084 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5085 int result;
5086 void *argp1 = 0 ;
5087 int res1 = 0 ;
5088 PyObject *swig_obj[1] ;
5089
5090 if (!args) SWIG_fail;
5091 swig_obj[0] = args;
5092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5093 if (!SWIG_IsOK(res1)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5095 }
5096 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 result = (int)(arg1)->GetAlign();
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 resultobj = SWIG_From_int(static_cast< int >(result));
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj = 0;
5112 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5113 int arg2 ;
5114 void *argp1 = 0 ;
5115 int res1 = 0 ;
5116 int val2 ;
5117 int ecode2 = 0 ;
5118 PyObject * obj0 = 0 ;
5119 PyObject * obj1 = 0 ;
5120 char * kwnames[] = {
5121 (char *) "self",(char *) "a", NULL
5122 };
5123
5124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5126 if (!SWIG_IsOK(res1)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5128 }
5129 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5130 ecode2 = SWIG_AsVal_int(obj1, &val2);
5131 if (!SWIG_IsOK(ecode2)) {
5132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5133 }
5134 arg2 = static_cast< int >(val2);
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->SetAlign(arg2);
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_Py_Void();
5142 return resultobj;
5143 fail:
5144 return NULL;
5145 }
5146
5147
5148 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5149 PyObject *resultobj = 0;
5150 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5151 wxColour result;
5152 void *argp1 = 0 ;
5153 int res1 = 0 ;
5154 PyObject *swig_obj[1] ;
5155
5156 if (!args) SWIG_fail;
5157 swig_obj[0] = args;
5158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5159 if (!SWIG_IsOK(res1)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5161 }
5162 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (arg1)->GetLinkColor();
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5170 return resultobj;
5171 fail:
5172 return NULL;
5173 }
5174
5175
5176 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5177 PyObject *resultobj = 0;
5178 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5179 wxColour *arg2 = 0 ;
5180 void *argp1 = 0 ;
5181 int res1 = 0 ;
5182 wxColour temp2 ;
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
5185 char * kwnames[] = {
5186 (char *) "self",(char *) "clr", NULL
5187 };
5188
5189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5191 if (!SWIG_IsOK(res1)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5193 }
5194 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5195 {
5196 arg2 = &temp2;
5197 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5198 }
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 (arg1)->SetLinkColor((wxColour const &)*arg2);
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = SWIG_Py_Void();
5206 return resultobj;
5207 fail:
5208 return NULL;
5209 }
5210
5211
5212 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5213 PyObject *resultobj = 0;
5214 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5215 wxColour result;
5216 void *argp1 = 0 ;
5217 int res1 = 0 ;
5218 PyObject *swig_obj[1] ;
5219
5220 if (!args) SWIG_fail;
5221 swig_obj[0] = args;
5222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5223 if (!SWIG_IsOK(res1)) {
5224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5225 }
5226 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 result = (arg1)->GetActualColor();
5230 wxPyEndAllowThreads(__tstate);
5231 if (PyErr_Occurred()) SWIG_fail;
5232 }
5233 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5234 return resultobj;
5235 fail:
5236 return NULL;
5237 }
5238
5239
5240 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5241 PyObject *resultobj = 0;
5242 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5243 wxColour *arg2 = 0 ;
5244 void *argp1 = 0 ;
5245 int res1 = 0 ;
5246 wxColour temp2 ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
5249 char * kwnames[] = {
5250 (char *) "self",(char *) "clr", NULL
5251 };
5252
5253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5255 if (!SWIG_IsOK(res1)) {
5256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5257 }
5258 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5259 {
5260 arg2 = &temp2;
5261 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5262 }
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 (arg1)->SetActualColor((wxColour const &)*arg2);
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = SWIG_Py_Void();
5270 return resultobj;
5271 fail:
5272 return NULL;
5273 }
5274
5275
5276 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj = 0;
5278 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5279 wxString *arg2 = 0 ;
5280 void *argp1 = 0 ;
5281 int res1 = 0 ;
5282 bool temp2 = false ;
5283 PyObject * obj0 = 0 ;
5284 PyObject * obj1 = 0 ;
5285 char * kwnames[] = {
5286 (char *) "self",(char *) "link", NULL
5287 };
5288
5289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5291 if (!SWIG_IsOK(res1)) {
5292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5293 }
5294 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5295 {
5296 arg2 = wxString_in_helper(obj1);
5297 if (arg2 == NULL) SWIG_fail;
5298 temp2 = true;
5299 }
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 (arg1)->SetLink((wxString const &)*arg2);
5303 wxPyEndAllowThreads(__tstate);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 resultobj = SWIG_Py_Void();
5307 {
5308 if (temp2)
5309 delete arg2;
5310 }
5311 return resultobj;
5312 fail:
5313 {
5314 if (temp2)
5315 delete arg2;
5316 }
5317 return NULL;
5318 }
5319
5320
5321 SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5322 PyObject *resultobj = 0;
5323 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5324 wxFont *result = 0 ;
5325 void *argp1 = 0 ;
5326 int res1 = 0 ;
5327 PyObject *swig_obj[1] ;
5328
5329 if (!args) SWIG_fail;
5330 swig_obj[0] = args;
5331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5332 if (!SWIG_IsOK(res1)) {
5333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5334 }
5335 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 result = (wxFont *)(arg1)->CreateCurrentFont();
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
5342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5343 return resultobj;
5344 fail:
5345 return NULL;
5346 }
5347
5348
5349 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5350 PyObject *resultobj = 0;
5351 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5352 SwigValueWrapper<wxHtmlLinkInfo > result;
5353 void *argp1 = 0 ;
5354 int res1 = 0 ;
5355 PyObject *swig_obj[1] ;
5356
5357 if (!args) SWIG_fail;
5358 swig_obj[0] = args;
5359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5360 if (!SWIG_IsOK(res1)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5362 }
5363 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 result = (arg1)->GetLink();
5367 wxPyEndAllowThreads(__tstate);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 }
5370 resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5371 return resultobj;
5372 fail:
5373 return NULL;
5374 }
5375
5376
5377 SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5378 PyObject *obj;
5379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5380 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5381 return SWIG_Py_Void();
5382 }
5383
5384 SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5385 return SWIG_Python_InitShadowInstance(args);
5386 }
5387
5388 SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5389 PyObject *resultobj = 0;
5390 wxPyHtmlTagHandler *result = 0 ;
5391
5392 if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5393 {
5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
5395 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5400 return resultobj;
5401 fail:
5402 return NULL;
5403 }
5404
5405
5406 SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj = 0;
5408 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5409 PyObject *arg2 = (PyObject *) 0 ;
5410 PyObject *arg3 = (PyObject *) 0 ;
5411 void *argp1 = 0 ;
5412 int res1 = 0 ;
5413 PyObject * obj0 = 0 ;
5414 PyObject * obj1 = 0 ;
5415 PyObject * obj2 = 0 ;
5416 char * kwnames[] = {
5417 (char *) "self",(char *) "self",(char *) "_class", NULL
5418 };
5419
5420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5422 if (!SWIG_IsOK(res1)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5424 }
5425 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5426 arg2 = obj1;
5427 arg3 = obj2;
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 (arg1)->_setCallbackInfo(arg2,arg3);
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 resultobj = SWIG_Py_Void();
5435 return resultobj;
5436 fail:
5437 return NULL;
5438 }
5439
5440
5441 SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj = 0;
5443 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5444 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5445 void *argp1 = 0 ;
5446 int res1 = 0 ;
5447 void *argp2 = 0 ;
5448 int res2 = 0 ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 char * kwnames[] = {
5452 (char *) "self",(char *) "parser", NULL
5453 };
5454
5455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5457 if (!SWIG_IsOK(res1)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5459 }
5460 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5461 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5462 if (!SWIG_IsOK(res2)) {
5463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5464 }
5465 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 (arg1)->SetParser(arg2);
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 resultobj = SWIG_Py_Void();
5473 return resultobj;
5474 fail:
5475 return NULL;
5476 }
5477
5478
5479 SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5480 PyObject *resultobj = 0;
5481 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5482 wxHtmlParser *result = 0 ;
5483 void *argp1 = 0 ;
5484 int res1 = 0 ;
5485 PyObject *swig_obj[1] ;
5486
5487 if (!args) SWIG_fail;
5488 swig_obj[0] = args;
5489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5490 if (!SWIG_IsOK(res1)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5492 }
5493 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 result = (wxHtmlParser *)(arg1)->GetParser();
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj = 0;
5509 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5510 wxHtmlTag *arg2 = 0 ;
5511 void *argp1 = 0 ;
5512 int res1 = 0 ;
5513 void *argp2 = 0 ;
5514 int res2 = 0 ;
5515 PyObject * obj0 = 0 ;
5516 PyObject * obj1 = 0 ;
5517 char * kwnames[] = {
5518 (char *) "self",(char *) "tag", NULL
5519 };
5520
5521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5523 if (!SWIG_IsOK(res1)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5525 }
5526 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5528 if (!SWIG_IsOK(res2)) {
5529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5530 }
5531 if (!argp2) {
5532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5533 }
5534 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 resultobj = SWIG_Py_Void();
5542 return resultobj;
5543 fail:
5544 return NULL;
5545 }
5546
5547
5548 SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5549 PyObject *obj;
5550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5551 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5552 return SWIG_Py_Void();
5553 }
5554
5555 SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5556 return SWIG_Python_InitShadowInstance(args);
5557 }
5558
5559 SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5560 PyObject *resultobj = 0;
5561 wxPyHtmlWinTagHandler *result = 0 ;
5562
5563 if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5571 return resultobj;
5572 fail:
5573 return NULL;
5574 }
5575
5576
5577 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj = 0;
5579 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5580 PyObject *arg2 = (PyObject *) 0 ;
5581 PyObject *arg3 = (PyObject *) 0 ;
5582 void *argp1 = 0 ;
5583 int res1 = 0 ;
5584 PyObject * obj0 = 0 ;
5585 PyObject * obj1 = 0 ;
5586 PyObject * obj2 = 0 ;
5587 char * kwnames[] = {
5588 (char *) "self",(char *) "self",(char *) "_class", NULL
5589 };
5590
5591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5593 if (!SWIG_IsOK(res1)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5595 }
5596 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5597 arg2 = obj1;
5598 arg3 = obj2;
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 (arg1)->_setCallbackInfo(arg2,arg3);
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = SWIG_Py_Void();
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj = 0;
5614 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5615 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5616 void *argp1 = 0 ;
5617 int res1 = 0 ;
5618 void *argp2 = 0 ;
5619 int res2 = 0 ;
5620 PyObject * obj0 = 0 ;
5621 PyObject * obj1 = 0 ;
5622 char * kwnames[] = {
5623 (char *) "self",(char *) "parser", NULL
5624 };
5625
5626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5628 if (!SWIG_IsOK(res1)) {
5629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5630 }
5631 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5632 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5633 if (!SWIG_IsOK(res2)) {
5634 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5635 }
5636 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 (arg1)->SetParser(arg2);
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 resultobj = SWIG_Py_Void();
5644 return resultobj;
5645 fail:
5646 return NULL;
5647 }
5648
5649
5650 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5651 PyObject *resultobj = 0;
5652 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5653 wxHtmlWinParser *result = 0 ;
5654 void *argp1 = 0 ;
5655 int res1 = 0 ;
5656 PyObject *swig_obj[1] ;
5657
5658 if (!args) SWIG_fail;
5659 swig_obj[0] = args;
5660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5661 if (!SWIG_IsOK(res1)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5663 }
5664 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5665 {
5666 PyThreadState* __tstate = wxPyBeginAllowThreads();
5667 result = (wxHtmlWinParser *)(arg1)->GetParser();
5668 wxPyEndAllowThreads(__tstate);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 }
5671 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj = 0;
5680 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5681 wxHtmlTag *arg2 = 0 ;
5682 void *argp1 = 0 ;
5683 int res1 = 0 ;
5684 void *argp2 = 0 ;
5685 int res2 = 0 ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 char * kwnames[] = {
5689 (char *) "self",(char *) "tag", NULL
5690 };
5691
5692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5694 if (!SWIG_IsOK(res1)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5696 }
5697 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5698 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5699 if (!SWIG_IsOK(res2)) {
5700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5701 }
5702 if (!argp2) {
5703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5704 }
5705 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 resultobj = SWIG_Py_Void();
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5720 PyObject *obj;
5721 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5723 return SWIG_Py_Void();
5724 }
5725
5726 SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5727 return SWIG_Python_InitShadowInstance(args);
5728 }
5729
5730 SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5731 PyObject *resultobj = 0;
5732 PyObject *arg1 = (PyObject *) 0 ;
5733 PyObject * obj0 = 0 ;
5734 char * kwnames[] = {
5735 (char *) "tagHandlerClass", NULL
5736 };
5737
5738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5739 arg1 = obj0;
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 wxHtmlWinParser_AddTagHandler(arg1);
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 resultobj = SWIG_Py_Void();
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5754 PyObject *resultobj = 0;
5755 wxHtmlSelection *result = 0 ;
5756
5757 if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (wxHtmlSelection *)new wxHtmlSelection();
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5772 PyObject *resultobj = 0;
5773 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5774 void *argp1 = 0 ;
5775 int res1 = 0 ;
5776 PyObject *swig_obj[1] ;
5777
5778 if (!args) SWIG_fail;
5779 swig_obj[0] = args;
5780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5781 if (!SWIG_IsOK(res1)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5783 }
5784 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 delete arg1;
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 resultobj = SWIG_Py_Void();
5793 return resultobj;
5794 fail:
5795 return NULL;
5796 }
5797
5798
5799 SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj = 0;
5801 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5802 wxPoint *arg2 = 0 ;
5803 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5804 wxPoint *arg4 = 0 ;
5805 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5806 void *argp1 = 0 ;
5807 int res1 = 0 ;
5808 wxPoint temp2 ;
5809 void *argp3 = 0 ;
5810 int res3 = 0 ;
5811 wxPoint temp4 ;
5812 void *argp5 = 0 ;
5813 int res5 = 0 ;
5814 PyObject * obj0 = 0 ;
5815 PyObject * obj1 = 0 ;
5816 PyObject * obj2 = 0 ;
5817 PyObject * obj3 = 0 ;
5818 PyObject * obj4 = 0 ;
5819 char * kwnames[] = {
5820 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5821 };
5822
5823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5825 if (!SWIG_IsOK(res1)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5827 }
5828 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5829 {
5830 arg2 = &temp2;
5831 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5832 }
5833 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5834 if (!SWIG_IsOK(res3)) {
5835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5836 }
5837 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5838 {
5839 arg4 = &temp4;
5840 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5841 }
5842 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5843 if (!SWIG_IsOK(res5)) {
5844 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5845 }
5846 arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 resultobj = SWIG_Py_Void();
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj = 0;
5862 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5863 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5864 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5865 void *argp1 = 0 ;
5866 int res1 = 0 ;
5867 void *argp2 = 0 ;
5868 int res2 = 0 ;
5869 void *argp3 = 0 ;
5870 int res3 = 0 ;
5871 PyObject * obj0 = 0 ;
5872 PyObject * obj1 = 0 ;
5873 PyObject * obj2 = 0 ;
5874 char * kwnames[] = {
5875 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5876 };
5877
5878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5880 if (!SWIG_IsOK(res1)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5882 }
5883 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5884 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5885 if (!SWIG_IsOK(res2)) {
5886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5887 }
5888 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5889 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5890 if (!SWIG_IsOK(res3)) {
5891 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5892 }
5893 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 resultobj = SWIG_Py_Void();
5901 return resultobj;
5902 fail:
5903 return NULL;
5904 }
5905
5906
5907 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5908 PyObject *resultobj = 0;
5909 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5910 wxHtmlCell *result = 0 ;
5911 void *argp1 = 0 ;
5912 int res1 = 0 ;
5913 PyObject *swig_obj[1] ;
5914
5915 if (!args) SWIG_fail;
5916 swig_obj[0] = args;
5917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5918 if (!SWIG_IsOK(res1)) {
5919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5920 }
5921 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5925 wxPyEndAllowThreads(__tstate);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 }
5928 {
5929 resultobj = wxPyMake_wxObject(result, 0);
5930 }
5931 return resultobj;
5932 fail:
5933 return NULL;
5934 }
5935
5936
5937 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5938 PyObject *resultobj = 0;
5939 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5940 wxHtmlCell *result = 0 ;
5941 void *argp1 = 0 ;
5942 int res1 = 0 ;
5943 PyObject *swig_obj[1] ;
5944
5945 if (!args) SWIG_fail;
5946 swig_obj[0] = args;
5947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5948 if (!SWIG_IsOK(res1)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5950 }
5951 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 {
5959 resultobj = wxPyMake_wxObject(result, 0);
5960 }
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5968 PyObject *resultobj = 0;
5969 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5970 wxPoint *result = 0 ;
5971 void *argp1 = 0 ;
5972 int res1 = 0 ;
5973 PyObject *swig_obj[1] ;
5974
5975 if (!args) SWIG_fail;
5976 swig_obj[0] = args;
5977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5978 if (!SWIG_IsOK(res1)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5980 }
5981 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 {
5985 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
5986 result = (wxPoint *) &_result_ref;
5987 }
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
5992 return resultobj;
5993 fail:
5994 return NULL;
5995 }
5996
5997
5998 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5999 PyObject *resultobj = 0;
6000 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6001 wxPoint *result = 0 ;
6002 void *argp1 = 0 ;
6003 int res1 = 0 ;
6004 PyObject *swig_obj[1] ;
6005
6006 if (!args) SWIG_fail;
6007 swig_obj[0] = args;
6008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6009 if (!SWIG_IsOK(res1)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6011 }
6012 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 {
6016 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
6017 result = (wxPoint *) &_result_ref;
6018 }
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6032 wxPoint *result = 0 ;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 {
6047 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6048 result = (wxPoint *) &_result_ref;
6049 }
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6054 return resultobj;
6055 fail:
6056 return NULL;
6057 }
6058
6059
6060 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6061 PyObject *resultobj = 0;
6062 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6063 wxPoint *result = 0 ;
6064 void *argp1 = 0 ;
6065 int res1 = 0 ;
6066 PyObject *swig_obj[1] ;
6067
6068 if (!args) SWIG_fail;
6069 swig_obj[0] = args;
6070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6071 if (!SWIG_IsOK(res1)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6073 }
6074 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 {
6078 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6079 result = (wxPoint *) &_result_ref;
6080 }
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6092 PyObject *resultobj = 0;
6093 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6094 wxPoint *arg2 = 0 ;
6095 void *argp1 = 0 ;
6096 int res1 = 0 ;
6097 wxPoint temp2 ;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj1 = 0 ;
6100 char * kwnames[] = {
6101 (char *) "self",(char *) "pos", NULL
6102 };
6103
6104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6106 if (!SWIG_IsOK(res1)) {
6107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6108 }
6109 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6110 {
6111 arg2 = &temp2;
6112 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = SWIG_Py_Void();
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj = 0;
6129 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6130 wxPoint *arg2 = 0 ;
6131 void *argp1 = 0 ;
6132 int res1 = 0 ;
6133 wxPoint temp2 ;
6134 PyObject * obj0 = 0 ;
6135 PyObject * obj1 = 0 ;
6136 char * kwnames[] = {
6137 (char *) "self",(char *) "pos", NULL
6138 };
6139
6140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6142 if (!SWIG_IsOK(res1)) {
6143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6144 }
6145 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6146 {
6147 arg2 = &temp2;
6148 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6149 }
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 resultobj = SWIG_Py_Void();
6157 return resultobj;
6158 fail:
6159 return NULL;
6160 }
6161
6162
6163 SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6164 PyObject *resultobj = 0;
6165 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6166 void *argp1 = 0 ;
6167 int res1 = 0 ;
6168 PyObject *swig_obj[1] ;
6169
6170 if (!args) SWIG_fail;
6171 swig_obj[0] = args;
6172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6173 if (!SWIG_IsOK(res1)) {
6174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6175 }
6176 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 (arg1)->ClearPrivPos();
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 resultobj = SWIG_Py_Void();
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6191 PyObject *resultobj = 0;
6192 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6193 bool result;
6194 void *argp1 = 0 ;
6195 int res1 = 0 ;
6196 PyObject *swig_obj[1] ;
6197
6198 if (!args) SWIG_fail;
6199 swig_obj[0] = args;
6200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6201 if (!SWIG_IsOK(res1)) {
6202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6203 }
6204 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 resultobj = SWIG_From_bool(static_cast< bool >(result));
6212 return resultobj;
6213 fail:
6214 return NULL;
6215 }
6216
6217
6218 SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6219 PyObject *obj;
6220 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6221 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6222 return SWIG_Py_Void();
6223 }
6224
6225 SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6226 return SWIG_Python_InitShadowInstance(args);
6227 }
6228
6229 SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6230 PyObject *resultobj = 0;
6231 wxHtmlRenderingState *result = 0 ;
6232
6233 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6237 wxPyEndAllowThreads(__tstate);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 }
6240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6248 PyObject *resultobj = 0;
6249 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6250 void *argp1 = 0 ;
6251 int res1 = 0 ;
6252 PyObject *swig_obj[1] ;
6253
6254 if (!args) SWIG_fail;
6255 swig_obj[0] = args;
6256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6257 if (!SWIG_IsOK(res1)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6259 }
6260 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 delete arg1;
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 resultobj = SWIG_Py_Void();
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj = 0;
6277 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6278 wxHtmlSelectionState arg2 ;
6279 void *argp1 = 0 ;
6280 int res1 = 0 ;
6281 int val2 ;
6282 int ecode2 = 0 ;
6283 PyObject * obj0 = 0 ;
6284 PyObject * obj1 = 0 ;
6285 char * kwnames[] = {
6286 (char *) "self",(char *) "s", NULL
6287 };
6288
6289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6291 if (!SWIG_IsOK(res1)) {
6292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6293 }
6294 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6295 ecode2 = SWIG_AsVal_int(obj1, &val2);
6296 if (!SWIG_IsOK(ecode2)) {
6297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6298 }
6299 arg2 = static_cast< wxHtmlSelectionState >(val2);
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 (arg1)->SetSelectionState(arg2);
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 resultobj = SWIG_Py_Void();
6307 return resultobj;
6308 fail:
6309 return NULL;
6310 }
6311
6312
6313 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6314 PyObject *resultobj = 0;
6315 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6316 wxHtmlSelectionState result;
6317 void *argp1 = 0 ;
6318 int res1 = 0 ;
6319 PyObject *swig_obj[1] ;
6320
6321 if (!args) SWIG_fail;
6322 swig_obj[0] = args;
6323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6324 if (!SWIG_IsOK(res1)) {
6325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6326 }
6327 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 resultobj = SWIG_From_int(static_cast< int >(result));
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj = 0;
6343 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6344 wxColour *arg2 = 0 ;
6345 void *argp1 = 0 ;
6346 int res1 = 0 ;
6347 wxColour temp2 ;
6348 PyObject * obj0 = 0 ;
6349 PyObject * obj1 = 0 ;
6350 char * kwnames[] = {
6351 (char *) "self",(char *) "c", NULL
6352 };
6353
6354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6356 if (!SWIG_IsOK(res1)) {
6357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6358 }
6359 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6360 {
6361 arg2 = &temp2;
6362 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6363 }
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->SetFgColour((wxColour const &)*arg2);
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 resultobj = SWIG_Py_Void();
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6378 PyObject *resultobj = 0;
6379 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6380 wxColour *result = 0 ;
6381 void *argp1 = 0 ;
6382 int res1 = 0 ;
6383 PyObject *swig_obj[1] ;
6384
6385 if (!args) SWIG_fail;
6386 swig_obj[0] = args;
6387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6388 if (!SWIG_IsOK(res1)) {
6389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6390 }
6391 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 {
6395 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6396 result = (wxColour *) &_result_ref;
6397 }
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6402 return resultobj;
6403 fail:
6404 return NULL;
6405 }
6406
6407
6408 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj = 0;
6410 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6411 wxColour *arg2 = 0 ;
6412 void *argp1 = 0 ;
6413 int res1 = 0 ;
6414 wxColour temp2 ;
6415 PyObject * obj0 = 0 ;
6416 PyObject * obj1 = 0 ;
6417 char * kwnames[] = {
6418 (char *) "self",(char *) "c", NULL
6419 };
6420
6421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6423 if (!SWIG_IsOK(res1)) {
6424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6425 }
6426 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6427 {
6428 arg2 = &temp2;
6429 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6430 }
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 (arg1)->SetBgColour((wxColour const &)*arg2);
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 resultobj = SWIG_Py_Void();
6438 return resultobj;
6439 fail:
6440 return NULL;
6441 }
6442
6443
6444 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6445 PyObject *resultobj = 0;
6446 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6447 wxColour *result = 0 ;
6448 void *argp1 = 0 ;
6449 int res1 = 0 ;
6450 PyObject *swig_obj[1] ;
6451
6452 if (!args) SWIG_fail;
6453 swig_obj[0] = args;
6454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6455 if (!SWIG_IsOK(res1)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6457 }
6458 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 {
6462 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6463 result = (wxColour *) &_result_ref;
6464 }
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6469 return resultobj;
6470 fail:
6471 return NULL;
6472 }
6473
6474
6475 SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6476 PyObject *obj;
6477 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6478 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6479 return SWIG_Py_Void();
6480 }
6481
6482 SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6483 return SWIG_Python_InitShadowInstance(args);
6484 }
6485
6486 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj = 0;
6488 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6489 wxColour *arg2 = 0 ;
6490 wxColour result;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 wxColour temp2 ;
6494 PyObject * obj0 = 0 ;
6495 PyObject * obj1 = 0 ;
6496 char * kwnames[] = {
6497 (char *) "self",(char *) "clr", NULL
6498 };
6499
6500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6502 if (!SWIG_IsOK(res1)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6504 }
6505 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6506 {
6507 arg2 = &temp2;
6508 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6509 }
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6524 PyObject *resultobj = 0;
6525 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6526 wxColour *arg2 = 0 ;
6527 wxColour result;
6528 void *argp1 = 0 ;
6529 int res1 = 0 ;
6530 wxColour temp2 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char * kwnames[] = {
6534 (char *) "self",(char *) "clr", NULL
6535 };
6536
6537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6539 if (!SWIG_IsOK(res1)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6541 }
6542 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6543 {
6544 arg2 = &temp2;
6545 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6546 }
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6561 PyObject *obj;
6562 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6563 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6564 return SWIG_Py_Void();
6565 }
6566
6567 SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6568 PyObject *obj;
6569 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6570 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6571 return SWIG_Py_Void();
6572 }
6573
6574 SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6575 PyObject *resultobj = 0;
6576 wxHtmlRenderingInfo *result = 0 ;
6577
6578 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6586 return resultobj;
6587 fail:
6588 return NULL;
6589 }
6590
6591
6592 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6593 PyObject *resultobj = 0;
6594 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6595 void *argp1 = 0 ;
6596 int res1 = 0 ;
6597 PyObject *swig_obj[1] ;
6598
6599 if (!args) SWIG_fail;
6600 swig_obj[0] = args;
6601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6602 if (!SWIG_IsOK(res1)) {
6603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6604 }
6605 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 delete arg1;
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 resultobj = SWIG_Py_Void();
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj = 0;
6622 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6623 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6624 void *argp1 = 0 ;
6625 int res1 = 0 ;
6626 void *argp2 = 0 ;
6627 int res2 = 0 ;
6628 PyObject * obj0 = 0 ;
6629 PyObject * obj1 = 0 ;
6630 char * kwnames[] = {
6631 (char *) "self",(char *) "s", NULL
6632 };
6633
6634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6636 if (!SWIG_IsOK(res1)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6638 }
6639 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6641 if (!SWIG_IsOK(res2)) {
6642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6643 }
6644 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 (arg1)->SetSelection(arg2);
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 resultobj = SWIG_Py_Void();
6652 return resultobj;
6653 fail:
6654 return NULL;
6655 }
6656
6657
6658 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6659 PyObject *resultobj = 0;
6660 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6661 wxHtmlSelection *result = 0 ;
6662 void *argp1 = 0 ;
6663 int res1 = 0 ;
6664 PyObject *swig_obj[1] ;
6665
6666 if (!args) SWIG_fail;
6667 swig_obj[0] = args;
6668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6669 if (!SWIG_IsOK(res1)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6671 }
6672 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj = 0;
6688 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6689 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6690 void *argp1 = 0 ;
6691 int res1 = 0 ;
6692 void *argp2 = 0 ;
6693 int res2 = 0 ;
6694 PyObject * obj0 = 0 ;
6695 PyObject * obj1 = 0 ;
6696 char * kwnames[] = {
6697 (char *) "self",(char *) "style", NULL
6698 };
6699
6700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6702 if (!SWIG_IsOK(res1)) {
6703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6704 }
6705 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6706 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6707 if (!SWIG_IsOK(res2)) {
6708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6709 }
6710 arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 (arg1)->SetStyle(arg2);
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_Py_Void();
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6725 PyObject *resultobj = 0;
6726 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6727 wxHtmlRenderingStyle *result = 0 ;
6728 void *argp1 = 0 ;
6729 int res1 = 0 ;
6730 PyObject *swig_obj[1] ;
6731
6732 if (!args) SWIG_fail;
6733 swig_obj[0] = args;
6734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6735 if (!SWIG_IsOK(res1)) {
6736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6737 }
6738 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 {
6742 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6743 result = (wxHtmlRenderingStyle *) &_result_ref;
6744 }
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6756 PyObject *resultobj = 0;
6757 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6758 wxHtmlRenderingState *result = 0 ;
6759 void *argp1 = 0 ;
6760 int res1 = 0 ;
6761 PyObject *swig_obj[1] ;
6762
6763 if (!args) SWIG_fail;
6764 swig_obj[0] = args;
6765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6766 if (!SWIG_IsOK(res1)) {
6767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6768 }
6769 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 {
6773 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6774 result = (wxHtmlRenderingState *) &_result_ref;
6775 }
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6780 return resultobj;
6781 fail:
6782 return NULL;
6783 }
6784
6785
6786 SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6787 PyObject *obj;
6788 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6789 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6790 return SWIG_Py_Void();
6791 }
6792
6793 SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6794 return SWIG_Python_InitShadowInstance(args);
6795 }
6796
6797 SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6798 PyObject *resultobj = 0;
6799 wxHtmlCell *result = 0 ;
6800
6801 if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 result = (wxHtmlCell *)new wxHtmlCell();
6805 wxPyEndAllowThreads(__tstate);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 }
6808 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6809 return resultobj;
6810 fail:
6811 return NULL;
6812 }
6813
6814
6815 SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6816 PyObject *resultobj = 0;
6817 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6818 void *argp1 = 0 ;
6819 int res1 = 0 ;
6820 PyObject *swig_obj[1] ;
6821
6822 if (!args) SWIG_fail;
6823 swig_obj[0] = args;
6824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6825 if (!SWIG_IsOK(res1)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6827 }
6828 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 delete arg1;
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 resultobj = SWIG_Py_Void();
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6844 PyObject *resultobj = 0;
6845 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6846 int result;
6847 void *argp1 = 0 ;
6848 int res1 = 0 ;
6849 PyObject *swig_obj[1] ;
6850
6851 if (!args) SWIG_fail;
6852 swig_obj[0] = args;
6853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6854 if (!SWIG_IsOK(res1)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6856 }
6857 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 result = (int)(arg1)->GetPosX();
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 resultobj = SWIG_From_int(static_cast< int >(result));
6865 return resultobj;
6866 fail:
6867 return NULL;
6868 }
6869
6870
6871 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6872 PyObject *resultobj = 0;
6873 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6874 int result;
6875 void *argp1 = 0 ;
6876 int res1 = 0 ;
6877 PyObject *swig_obj[1] ;
6878
6879 if (!args) SWIG_fail;
6880 swig_obj[0] = args;
6881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6882 if (!SWIG_IsOK(res1)) {
6883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6884 }
6885 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 result = (int)(arg1)->GetPosY();
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 resultobj = SWIG_From_int(static_cast< int >(result));
6893 return resultobj;
6894 fail:
6895 return NULL;
6896 }
6897
6898
6899 SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6900 PyObject *resultobj = 0;
6901 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6902 int result;
6903 void *argp1 = 0 ;
6904 int res1 = 0 ;
6905 PyObject *swig_obj[1] ;
6906
6907 if (!args) SWIG_fail;
6908 swig_obj[0] = args;
6909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6910 if (!SWIG_IsOK(res1)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6912 }
6913 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = (int)(arg1)->GetWidth();
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 resultobj = SWIG_From_int(static_cast< int >(result));
6921 return resultobj;
6922 fail:
6923 return NULL;
6924 }
6925
6926
6927 SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6928 PyObject *resultobj = 0;
6929 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6930 int result;
6931 void *argp1 = 0 ;
6932 int res1 = 0 ;
6933 PyObject *swig_obj[1] ;
6934
6935 if (!args) SWIG_fail;
6936 swig_obj[0] = args;
6937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6938 if (!SWIG_IsOK(res1)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6940 }
6941 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 result = (int)(arg1)->GetHeight();
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 resultobj = SWIG_From_int(static_cast< int >(result));
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6956 PyObject *resultobj = 0;
6957 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6958 int result;
6959 void *argp1 = 0 ;
6960 int res1 = 0 ;
6961 PyObject *swig_obj[1] ;
6962
6963 if (!args) SWIG_fail;
6964 swig_obj[0] = args;
6965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6966 if (!SWIG_IsOK(res1)) {
6967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6968 }
6969 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (int)(arg1)->GetDescent();
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 resultobj = SWIG_From_int(static_cast< int >(result));
6977 return resultobj;
6978 fail:
6979 return NULL;
6980 }
6981
6982
6983 SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6984 PyObject *resultobj = 0;
6985 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6986 int result;
6987 void *argp1 = 0 ;
6988 int res1 = 0 ;
6989 PyObject *swig_obj[1] ;
6990
6991 if (!args) SWIG_fail;
6992 swig_obj[0] = args;
6993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6994 if (!SWIG_IsOK(res1)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6996 }
6997 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = SWIG_From_int(static_cast< int >(result));
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7012 PyObject *resultobj = 0;
7013 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7014 wxString *result = 0 ;
7015 void *argp1 = 0 ;
7016 int res1 = 0 ;
7017 PyObject *swig_obj[1] ;
7018
7019 if (!args) SWIG_fail;
7020 swig_obj[0] = args;
7021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7022 if (!SWIG_IsOK(res1)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7024 }
7025 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 {
7029 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7030 result = (wxString *) &_result_ref;
7031 }
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
7036 #if wxUSE_UNICODE
7037 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7038 #else
7039 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7040 #endif
7041 }
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj = 0;
7050 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7051 wxString *arg2 = 0 ;
7052 void *argp1 = 0 ;
7053 int res1 = 0 ;
7054 bool temp2 = false ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 char * kwnames[] = {
7058 (char *) "self",(char *) "id", NULL
7059 };
7060
7061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7063 if (!SWIG_IsOK(res1)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7065 }
7066 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7067 {
7068 arg2 = wxString_in_helper(obj1);
7069 if (arg2 == NULL) SWIG_fail;
7070 temp2 = true;
7071 }
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 (arg1)->SetId((wxString const &)*arg2);
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 resultobj = SWIG_Py_Void();
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return resultobj;
7084 fail:
7085 {
7086 if (temp2)
7087 delete arg2;
7088 }
7089 return NULL;
7090 }
7091
7092
7093 SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj = 0;
7095 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7096 int arg2 = (int) 0 ;
7097 int arg3 = (int) 0 ;
7098 wxHtmlLinkInfo *result = 0 ;
7099 void *argp1 = 0 ;
7100 int res1 = 0 ;
7101 int val2 ;
7102 int ecode2 = 0 ;
7103 int val3 ;
7104 int ecode3 = 0 ;
7105 PyObject * obj0 = 0 ;
7106 PyObject * obj1 = 0 ;
7107 PyObject * obj2 = 0 ;
7108 char * kwnames[] = {
7109 (char *) "self",(char *) "x",(char *) "y", NULL
7110 };
7111
7112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7114 if (!SWIG_IsOK(res1)) {
7115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7116 }
7117 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7118 if (obj1) {
7119 ecode2 = SWIG_AsVal_int(obj1, &val2);
7120 if (!SWIG_IsOK(ecode2)) {
7121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7122 }
7123 arg2 = static_cast< int >(val2);
7124 }
7125 if (obj2) {
7126 ecode3 = SWIG_AsVal_int(obj2, &val3);
7127 if (!SWIG_IsOK(ecode3)) {
7128 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7129 }
7130 arg3 = static_cast< int >(val3);
7131 }
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7139 return resultobj;
7140 fail:
7141 return NULL;
7142 }
7143
7144
7145 SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7146 PyObject *resultobj = 0;
7147 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7148 wxHtmlCell *result = 0 ;
7149 void *argp1 = 0 ;
7150 int res1 = 0 ;
7151 PyObject *swig_obj[1] ;
7152
7153 if (!args) SWIG_fail;
7154 swig_obj[0] = args;
7155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7156 if (!SWIG_IsOK(res1)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7158 }
7159 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 result = (wxHtmlCell *)(arg1)->GetNext();
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 {
7167 resultobj = wxPyMake_wxObject(result, 0);
7168 }
7169 return resultobj;
7170 fail:
7171 return NULL;
7172 }
7173
7174
7175 SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7176 PyObject *resultobj = 0;
7177 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7178 wxHtmlContainerCell *result = 0 ;
7179 void *argp1 = 0 ;
7180 int res1 = 0 ;
7181 PyObject *swig_obj[1] ;
7182
7183 if (!args) SWIG_fail;
7184 swig_obj[0] = args;
7185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7186 if (!SWIG_IsOK(res1)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7188 }
7189 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (wxHtmlContainerCell *)(arg1)->GetParent();
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7197 return resultobj;
7198 fail:
7199 return NULL;
7200 }
7201
7202
7203 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7204 PyObject *resultobj = 0;
7205 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7206 wxHtmlCell *result = 0 ;
7207 void *argp1 = 0 ;
7208 int res1 = 0 ;
7209 PyObject *swig_obj[1] ;
7210
7211 if (!args) SWIG_fail;
7212 swig_obj[0] = args;
7213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7214 if (!SWIG_IsOK(res1)) {
7215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7216 }
7217 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 {
7225 resultobj = wxPyMake_wxObject(result, 0);
7226 }
7227 return resultobj;
7228 fail:
7229 return NULL;
7230 }
7231
7232
7233 SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj = 0;
7235 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7236 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7237 wxCursor result;
7238 void *argp1 = 0 ;
7239 int res1 = 0 ;
7240 void *argp2 = 0 ;
7241 int res2 = 0 ;
7242 PyObject * obj0 = 0 ;
7243 PyObject * obj1 = 0 ;
7244 char * kwnames[] = {
7245 (char *) "self",(char *) "window", NULL
7246 };
7247
7248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7250 if (!SWIG_IsOK(res1)) {
7251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7252 }
7253 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7254 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7255 if (!SWIG_IsOK(res2)) {
7256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7257 }
7258 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7266 return resultobj;
7267 fail:
7268 return NULL;
7269 }
7270
7271
7272 SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7273 PyObject *resultobj = 0;
7274 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7275 wxCursor result;
7276 void *argp1 = 0 ;
7277 int res1 = 0 ;
7278 PyObject *swig_obj[1] ;
7279
7280 if (!args) SWIG_fail;
7281 swig_obj[0] = args;
7282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7283 if (!SWIG_IsOK(res1)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7285 }
7286 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = ((wxHtmlCell const *)arg1)->GetCursor();
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7294 return resultobj;
7295 fail:
7296 return NULL;
7297 }
7298
7299
7300 SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7301 PyObject *resultobj = 0;
7302 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7303 bool result;
7304 void *argp1 = 0 ;
7305 int res1 = 0 ;
7306 PyObject *swig_obj[1] ;
7307
7308 if (!args) SWIG_fail;
7309 swig_obj[0] = args;
7310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7311 if (!SWIG_IsOK(res1)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7313 }
7314 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 {
7322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7323 }
7324 return resultobj;
7325 fail:
7326 return NULL;
7327 }
7328
7329
7330 SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj = 0;
7332 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7333 wxHtmlLinkInfo *arg2 = 0 ;
7334 void *argp1 = 0 ;
7335 int res1 = 0 ;
7336 void *argp2 = 0 ;
7337 int res2 = 0 ;
7338 PyObject * obj0 = 0 ;
7339 PyObject * obj1 = 0 ;
7340 char * kwnames[] = {
7341 (char *) "self",(char *) "link", NULL
7342 };
7343
7344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7346 if (!SWIG_IsOK(res1)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7348 }
7349 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7350 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7351 if (!SWIG_IsOK(res2)) {
7352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7353 }
7354 if (!argp2) {
7355 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7356 }
7357 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 resultobj = SWIG_Py_Void();
7365 return resultobj;
7366 fail:
7367 return NULL;
7368 }
7369
7370
7371 SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj = 0;
7373 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7374 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7375 int res1 = 0 ;
7376 int res2 = 0 ;
7377 PyObject * obj0 = 0 ;
7378 PyObject * obj1 = 0 ;
7379 char * kwnames[] = {
7380 (char *) "self",(char *) "cell", NULL
7381 };
7382
7383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7384 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7385 if (!SWIG_IsOK(res1)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7387 }
7388 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7389 if (!SWIG_IsOK(res2)) {
7390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7391 }
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 (arg1)->SetNext(arg2);
7395 wxPyEndAllowThreads(__tstate);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 resultobj = SWIG_Py_Void();
7399 return resultobj;
7400 fail:
7401 return NULL;
7402 }
7403
7404
7405 SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj = 0;
7407 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7408 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7409 void *argp1 = 0 ;
7410 int res1 = 0 ;
7411 void *argp2 = 0 ;
7412 int res2 = 0 ;
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 char * kwnames[] = {
7416 (char *) "self",(char *) "p", NULL
7417 };
7418
7419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7421 if (!SWIG_IsOK(res1)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7423 }
7424 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7425 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7426 if (!SWIG_IsOK(res2)) {
7427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7428 }
7429 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 (arg1)->SetParent(arg2);
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_Py_Void();
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7446 int arg2 ;
7447 int arg3 ;
7448 void *argp1 = 0 ;
7449 int res1 = 0 ;
7450 int val2 ;
7451 int ecode2 = 0 ;
7452 int val3 ;
7453 int ecode3 = 0 ;
7454 PyObject * obj0 = 0 ;
7455 PyObject * obj1 = 0 ;
7456 PyObject * obj2 = 0 ;
7457 char * kwnames[] = {
7458 (char *) "self",(char *) "x",(char *) "y", NULL
7459 };
7460
7461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7463 if (!SWIG_IsOK(res1)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7465 }
7466 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7467 ecode2 = SWIG_AsVal_int(obj1, &val2);
7468 if (!SWIG_IsOK(ecode2)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7470 }
7471 arg2 = static_cast< int >(val2);
7472 ecode3 = SWIG_AsVal_int(obj2, &val3);
7473 if (!SWIG_IsOK(ecode3)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7475 }
7476 arg3 = static_cast< int >(val3);
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 (arg1)->SetPos(arg2,arg3);
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 resultobj = SWIG_Py_Void();
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj = 0;
7492 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7493 int arg2 ;
7494 void *argp1 = 0 ;
7495 int res1 = 0 ;
7496 int val2 ;
7497 int ecode2 = 0 ;
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
7500 char * kwnames[] = {
7501 (char *) "self",(char *) "w", NULL
7502 };
7503
7504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7506 if (!SWIG_IsOK(res1)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7508 }
7509 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7510 ecode2 = SWIG_AsVal_int(obj1, &val2);
7511 if (!SWIG_IsOK(ecode2)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7513 }
7514 arg2 = static_cast< int >(val2);
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 (arg1)->Layout(arg2);
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 resultobj = SWIG_Py_Void();
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj = 0;
7530 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7531 wxDC *arg2 = 0 ;
7532 int arg3 ;
7533 int arg4 ;
7534 int arg5 ;
7535 int arg6 ;
7536 wxHtmlRenderingInfo *arg7 = 0 ;
7537 void *argp1 = 0 ;
7538 int res1 = 0 ;
7539 void *argp2 = 0 ;
7540 int res2 = 0 ;
7541 int val3 ;
7542 int ecode3 = 0 ;
7543 int val4 ;
7544 int ecode4 = 0 ;
7545 int val5 ;
7546 int ecode5 = 0 ;
7547 int val6 ;
7548 int ecode6 = 0 ;
7549 void *argp7 = 0 ;
7550 int res7 = 0 ;
7551 PyObject * obj0 = 0 ;
7552 PyObject * obj1 = 0 ;
7553 PyObject * obj2 = 0 ;
7554 PyObject * obj3 = 0 ;
7555 PyObject * obj4 = 0 ;
7556 PyObject * obj5 = 0 ;
7557 PyObject * obj6 = 0 ;
7558 char * kwnames[] = {
7559 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7560 };
7561
7562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7564 if (!SWIG_IsOK(res1)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7566 }
7567 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7568 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7569 if (!SWIG_IsOK(res2)) {
7570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7571 }
7572 if (!argp2) {
7573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7574 }
7575 arg2 = reinterpret_cast< wxDC * >(argp2);
7576 ecode3 = SWIG_AsVal_int(obj2, &val3);
7577 if (!SWIG_IsOK(ecode3)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7579 }
7580 arg3 = static_cast< int >(val3);
7581 ecode4 = SWIG_AsVal_int(obj3, &val4);
7582 if (!SWIG_IsOK(ecode4)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7584 }
7585 arg4 = static_cast< int >(val4);
7586 ecode5 = SWIG_AsVal_int(obj4, &val5);
7587 if (!SWIG_IsOK(ecode5)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7589 }
7590 arg5 = static_cast< int >(val5);
7591 ecode6 = SWIG_AsVal_int(obj5, &val6);
7592 if (!SWIG_IsOK(ecode6)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7594 }
7595 arg6 = static_cast< int >(val6);
7596 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7597 if (!SWIG_IsOK(res7)) {
7598 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7599 }
7600 if (!argp7) {
7601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7602 }
7603 arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = SWIG_Py_Void();
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj = 0;
7619 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7620 wxDC *arg2 = 0 ;
7621 int arg3 ;
7622 int arg4 ;
7623 wxHtmlRenderingInfo *arg5 = 0 ;
7624 void *argp1 = 0 ;
7625 int res1 = 0 ;
7626 void *argp2 = 0 ;
7627 int res2 = 0 ;
7628 int val3 ;
7629 int ecode3 = 0 ;
7630 int val4 ;
7631 int ecode4 = 0 ;
7632 void *argp5 = 0 ;
7633 int res5 = 0 ;
7634 PyObject * obj0 = 0 ;
7635 PyObject * obj1 = 0 ;
7636 PyObject * obj2 = 0 ;
7637 PyObject * obj3 = 0 ;
7638 PyObject * obj4 = 0 ;
7639 char * kwnames[] = {
7640 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7641 };
7642
7643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7645 if (!SWIG_IsOK(res1)) {
7646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7647 }
7648 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7649 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7650 if (!SWIG_IsOK(res2)) {
7651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7652 }
7653 if (!argp2) {
7654 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7655 }
7656 arg2 = reinterpret_cast< wxDC * >(argp2);
7657 ecode3 = SWIG_AsVal_int(obj2, &val3);
7658 if (!SWIG_IsOK(ecode3)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7660 }
7661 arg3 = static_cast< int >(val3);
7662 ecode4 = SWIG_AsVal_int(obj3, &val4);
7663 if (!SWIG_IsOK(ecode4)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7665 }
7666 arg4 = static_cast< int >(val4);
7667 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7668 if (!SWIG_IsOK(res5)) {
7669 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7670 }
7671 if (!argp5) {
7672 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7673 }
7674 arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 resultobj = SWIG_Py_Void();
7682 return resultobj;
7683 fail:
7684 return NULL;
7685 }
7686
7687
7688 SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7689 PyObject *resultobj = 0;
7690 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7691 int arg2 ;
7692 void *arg3 = (void *) 0 ;
7693 wxHtmlCell *result = 0 ;
7694 void *argp1 = 0 ;
7695 int res1 = 0 ;
7696 int val2 ;
7697 int ecode2 = 0 ;
7698 int res3 ;
7699 PyObject * obj0 = 0 ;
7700 PyObject * obj1 = 0 ;
7701 PyObject * obj2 = 0 ;
7702 char * kwnames[] = {
7703 (char *) "self",(char *) "condition",(char *) "param", NULL
7704 };
7705
7706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7708 if (!SWIG_IsOK(res1)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7710 }
7711 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7712 ecode2 = SWIG_AsVal_int(obj1, &val2);
7713 if (!SWIG_IsOK(ecode2)) {
7714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7715 }
7716 arg2 = static_cast< int >(val2);
7717 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7718 if (!SWIG_IsOK(res3)) {
7719 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 {
7728 resultobj = wxPyMake_wxObject(result, 0);
7729 }
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj = 0;
7738 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7739 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7740 wxPoint *arg3 = 0 ;
7741 wxMouseEvent *arg4 = 0 ;
7742 bool result;
7743 void *argp1 = 0 ;
7744 int res1 = 0 ;
7745 void *argp2 = 0 ;
7746 int res2 = 0 ;
7747 wxPoint temp3 ;
7748 void *argp4 = 0 ;
7749 int res4 = 0 ;
7750 PyObject * obj0 = 0 ;
7751 PyObject * obj1 = 0 ;
7752 PyObject * obj2 = 0 ;
7753 PyObject * obj3 = 0 ;
7754 char * kwnames[] = {
7755 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7756 };
7757
7758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7760 if (!SWIG_IsOK(res1)) {
7761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7762 }
7763 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7764 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7765 if (!SWIG_IsOK(res2)) {
7766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7767 }
7768 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7769 {
7770 arg3 = &temp3;
7771 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7772 }
7773 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7774 if (!SWIG_IsOK(res4)) {
7775 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7776 }
7777 if (!argp4) {
7778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7779 }
7780 arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 {
7788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7789 }
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj = 0;
7798 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7799 bool arg2 ;
7800 void *argp1 = 0 ;
7801 int res1 = 0 ;
7802 bool val2 ;
7803 int ecode2 = 0 ;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char * kwnames[] = {
7807 (char *) "self",(char *) "can", NULL
7808 };
7809
7810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",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_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7814 }
7815 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7816 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7817 if (!SWIG_IsOK(ecode2)) {
7818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7819 }
7820 arg2 = static_cast< bool >(val2);
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 (arg1)->SetCanLiveOnPagebreak(arg2);
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 resultobj = SWIG_Py_Void();
7828 return resultobj;
7829 fail:
7830 return NULL;
7831 }
7832
7833
7834 SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7835 PyObject *resultobj = 0;
7836 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7837 bool result;
7838 void *argp1 = 0 ;
7839 int res1 = 0 ;
7840 PyObject *swig_obj[1] ;
7841
7842 if (!args) SWIG_fail;
7843 swig_obj[0] = args;
7844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7845 if (!SWIG_IsOK(res1)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7847 }
7848 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 {
7856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7857 }
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7865 PyObject *resultobj = 0;
7866 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7867 bool result;
7868 void *argp1 = 0 ;
7869 int res1 = 0 ;
7870 PyObject *swig_obj[1] ;
7871
7872 if (!args) SWIG_fail;
7873 swig_obj[0] = args;
7874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7875 if (!SWIG_IsOK(res1)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7877 }
7878 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 {
7886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7887 }
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj = 0;
7896 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7897 int arg2 ;
7898 int arg3 ;
7899 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7900 wxHtmlCell *result = 0 ;
7901 void *argp1 = 0 ;
7902 int res1 = 0 ;
7903 int val2 ;
7904 int ecode2 = 0 ;
7905 int val3 ;
7906 int ecode3 = 0 ;
7907 unsigned int val4 ;
7908 int ecode4 = 0 ;
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
7911 PyObject * obj2 = 0 ;
7912 PyObject * obj3 = 0 ;
7913 char * kwnames[] = {
7914 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7915 };
7916
7917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7921 }
7922 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7923 ecode2 = SWIG_AsVal_int(obj1, &val2);
7924 if (!SWIG_IsOK(ecode2)) {
7925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7926 }
7927 arg2 = static_cast< int >(val2);
7928 ecode3 = SWIG_AsVal_int(obj2, &val3);
7929 if (!SWIG_IsOK(ecode3)) {
7930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7931 }
7932 arg3 = static_cast< int >(val3);
7933 if (obj3) {
7934 ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7935 if (!SWIG_IsOK(ecode4)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7937 }
7938 arg4 = static_cast< unsigned int >(val4);
7939 }
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 {
7947 resultobj = wxPyMake_wxObject(result, 0);
7948 }
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj = 0;
7957 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7958 wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
7959 wxPoint result;
7960 void *argp1 = 0 ;
7961 int res1 = 0 ;
7962 void *argp2 = 0 ;
7963 int res2 = 0 ;
7964 PyObject * obj0 = 0 ;
7965 PyObject * obj1 = 0 ;
7966 char * kwnames[] = {
7967 (char *) "self",(char *) "rootCell", NULL
7968 };
7969
7970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
7971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7972 if (!SWIG_IsOK(res1)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7974 }
7975 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7976 if (obj1) {
7977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7978 if (!SWIG_IsOK(res2)) {
7979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7980 }
7981 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
7982 }
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7997 PyObject *resultobj = 0;
7998 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7999 wxHtmlCell *result = 0 ;
8000 void *argp1 = 0 ;
8001 int res1 = 0 ;
8002 PyObject *swig_obj[1] ;
8003
8004 if (!args) SWIG_fail;
8005 swig_obj[0] = args;
8006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8007 if (!SWIG_IsOK(res1)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8009 }
8010 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 {
8018 resultobj = wxPyMake_wxObject(result, 0);
8019 }
8020 return resultobj;
8021 fail:
8022 return NULL;
8023 }
8024
8025
8026 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8027 PyObject *resultobj = 0;
8028 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8029 wxHtmlCell *result = 0 ;
8030 void *argp1 = 0 ;
8031 int res1 = 0 ;
8032 PyObject *swig_obj[1] ;
8033
8034 if (!args) SWIG_fail;
8035 swig_obj[0] = args;
8036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8037 if (!SWIG_IsOK(res1)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8039 }
8040 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 {
8048 resultobj = wxPyMake_wxObject(result, 0);
8049 }
8050 return resultobj;
8051 fail:
8052 return NULL;
8053 }
8054
8055
8056 SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8057 PyObject *resultobj = 0;
8058 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8059 wxHtmlCell *result = 0 ;
8060 void *argp1 = 0 ;
8061 int res1 = 0 ;
8062 PyObject *swig_obj[1] ;
8063
8064 if (!args) SWIG_fail;
8065 swig_obj[0] = args;
8066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8067 if (!SWIG_IsOK(res1)) {
8068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8069 }
8070 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 {
8078 resultobj = wxPyMake_wxObject(result, 0);
8079 }
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8087 PyObject *resultobj = 0;
8088 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8089 unsigned int result;
8090 void *argp1 = 0 ;
8091 int res1 = 0 ;
8092 PyObject *swig_obj[1] ;
8093
8094 if (!args) SWIG_fail;
8095 swig_obj[0] = args;
8096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8097 if (!SWIG_IsOK(res1)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8099 }
8100 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8108 return resultobj;
8109 fail:
8110 return NULL;
8111 }
8112
8113
8114 SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8115 PyObject *resultobj = 0;
8116 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8117 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8118 bool result;
8119 void *argp1 = 0 ;
8120 int res1 = 0 ;
8121 void *argp2 = 0 ;
8122 int res2 = 0 ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char * kwnames[] = {
8126 (char *) "self",(char *) "cell", NULL
8127 };
8128
8129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8131 if (!SWIG_IsOK(res1)) {
8132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8133 }
8134 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8135 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8136 if (!SWIG_IsOK(res2)) {
8137 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8138 }
8139 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8140 {
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 {
8147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8148 }
8149 return resultobj;
8150 fail:
8151 return NULL;
8152 }
8153
8154
8155 SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj = 0;
8157 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8158 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8159 wxString result;
8160 void *argp1 = 0 ;
8161 int res1 = 0 ;
8162 void *argp2 = 0 ;
8163 int res2 = 0 ;
8164 PyObject * obj0 = 0 ;
8165 PyObject * obj1 = 0 ;
8166 char * kwnames[] = {
8167 (char *) "self",(char *) "sel", NULL
8168 };
8169
8170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8172 if (!SWIG_IsOK(res1)) {
8173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8174 }
8175 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8176 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8177 if (!SWIG_IsOK(res2)) {
8178 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8179 }
8180 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 {
8188 #if wxUSE_UNICODE
8189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8190 #else
8191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8192 #endif
8193 }
8194 return resultobj;
8195 fail:
8196 return NULL;
8197 }
8198
8199
8200 SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8201 PyObject *obj;
8202 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8203 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8204 return SWIG_Py_Void();
8205 }
8206
8207 SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8208 return SWIG_Python_InitShadowInstance(args);
8209 }
8210
8211 SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj = 0;
8213 wxString *arg1 = 0 ;
8214 wxDC *arg2 = 0 ;
8215 wxHtmlWordCell *result = 0 ;
8216 bool temp1 = false ;
8217 void *argp2 = 0 ;
8218 int res2 = 0 ;
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj1 = 0 ;
8221 char * kwnames[] = {
8222 (char *) "word",(char *) "dc", NULL
8223 };
8224
8225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8226 {
8227 arg1 = wxString_in_helper(obj0);
8228 if (arg1 == NULL) SWIG_fail;
8229 temp1 = true;
8230 }
8231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8232 if (!SWIG_IsOK(res2)) {
8233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8234 }
8235 if (!argp2) {
8236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8237 }
8238 arg2 = reinterpret_cast< wxDC * >(argp2);
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8246 {
8247 if (temp1)
8248 delete arg1;
8249 }
8250 return resultobj;
8251 fail:
8252 {
8253 if (temp1)
8254 delete arg1;
8255 }
8256 return NULL;
8257 }
8258
8259
8260 SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj = 0;
8262 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8263 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8264 wxString result;
8265 void *argp1 = 0 ;
8266 int res1 = 0 ;
8267 void *argp2 = 0 ;
8268 int res2 = 0 ;
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
8271 char * kwnames[] = {
8272 (char *) "self",(char *) "sel", NULL
8273 };
8274
8275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8277 if (!SWIG_IsOK(res1)) {
8278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8279 }
8280 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8281 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8282 if (!SWIG_IsOK(res2)) {
8283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8284 }
8285 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 {
8293 #if wxUSE_UNICODE
8294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8295 #else
8296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8297 #endif
8298 }
8299 return resultobj;
8300 fail:
8301 return NULL;
8302 }
8303
8304
8305 SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8306 PyObject *resultobj = 0;
8307 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8308 bool result;
8309 void *argp1 = 0 ;
8310 int res1 = 0 ;
8311 PyObject *swig_obj[1] ;
8312
8313 if (!args) SWIG_fail;
8314 swig_obj[0] = args;
8315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8316 if (!SWIG_IsOK(res1)) {
8317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8318 }
8319 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 {
8327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8328 }
8329 return resultobj;
8330 fail:
8331 return NULL;
8332 }
8333
8334
8335 SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8336 PyObject *resultobj = 0;
8337 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8338 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8339 void *argp1 = 0 ;
8340 int res1 = 0 ;
8341 void *argp2 = 0 ;
8342 int res2 = 0 ;
8343 PyObject * obj0 = 0 ;
8344 PyObject * obj1 = 0 ;
8345 char * kwnames[] = {
8346 (char *) "self",(char *) "cell", NULL
8347 };
8348
8349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8351 if (!SWIG_IsOK(res1)) {
8352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8353 }
8354 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8355 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8356 if (!SWIG_IsOK(res2)) {
8357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8358 }
8359 arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 (arg1)->SetPreviousWord(arg2);
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 resultobj = SWIG_Py_Void();
8367 return resultobj;
8368 fail:
8369 return NULL;
8370 }
8371
8372
8373 SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8374 PyObject *obj;
8375 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8376 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8377 return SWIG_Py_Void();
8378 }
8379
8380 SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8381 return SWIG_Python_InitShadowInstance(args);
8382 }
8383
8384 SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8385 PyObject *resultobj = 0;
8386 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8387 wxHtmlContainerCell *result = 0 ;
8388 void *argp1 = 0 ;
8389 int res1 = 0 ;
8390 PyObject * obj0 = 0 ;
8391 char * kwnames[] = {
8392 (char *) "parent", NULL
8393 };
8394
8395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8397 if (!SWIG_IsOK(res1)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8399 }
8400 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8408 return resultobj;
8409 fail:
8410 return NULL;
8411 }
8412
8413
8414 SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj = 0;
8416 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8417 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8418 void *argp1 = 0 ;
8419 int res1 = 0 ;
8420 int res2 = 0 ;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 char * kwnames[] = {
8424 (char *) "self",(char *) "cell", NULL
8425 };
8426
8427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8429 if (!SWIG_IsOK(res1)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8431 }
8432 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8433 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8434 if (!SWIG_IsOK(res2)) {
8435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 (arg1)->InsertCell(arg2);
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 resultobj = SWIG_Py_Void();
8444 return resultobj;
8445 fail:
8446 return NULL;
8447 }
8448
8449
8450 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj = 0;
8452 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8453 int arg2 ;
8454 void *argp1 = 0 ;
8455 int res1 = 0 ;
8456 int val2 ;
8457 int ecode2 = 0 ;
8458 PyObject * obj0 = 0 ;
8459 PyObject * obj1 = 0 ;
8460 char * kwnames[] = {
8461 (char *) "self",(char *) "al", NULL
8462 };
8463
8464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8466 if (!SWIG_IsOK(res1)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8468 }
8469 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8470 ecode2 = SWIG_AsVal_int(obj1, &val2);
8471 if (!SWIG_IsOK(ecode2)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8473 }
8474 arg2 = static_cast< int >(val2);
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 (arg1)->SetAlignHor(arg2);
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_Py_Void();
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8489 PyObject *resultobj = 0;
8490 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8491 int result;
8492 void *argp1 = 0 ;
8493 int res1 = 0 ;
8494 PyObject *swig_obj[1] ;
8495
8496 if (!args) SWIG_fail;
8497 swig_obj[0] = args;
8498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8499 if (!SWIG_IsOK(res1)) {
8500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8501 }
8502 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 result = (int)(arg1)->GetAlignHor();
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 resultobj = SWIG_From_int(static_cast< int >(result));
8510 return resultobj;
8511 fail:
8512 return NULL;
8513 }
8514
8515
8516 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj = 0;
8518 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8519 int arg2 ;
8520 void *argp1 = 0 ;
8521 int res1 = 0 ;
8522 int val2 ;
8523 int ecode2 = 0 ;
8524 PyObject * obj0 = 0 ;
8525 PyObject * obj1 = 0 ;
8526 char * kwnames[] = {
8527 (char *) "self",(char *) "al", NULL
8528 };
8529
8530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8532 if (!SWIG_IsOK(res1)) {
8533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8534 }
8535 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8536 ecode2 = SWIG_AsVal_int(obj1, &val2);
8537 if (!SWIG_IsOK(ecode2)) {
8538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8539 }
8540 arg2 = static_cast< int >(val2);
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 (arg1)->SetAlignVer(arg2);
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 resultobj = SWIG_Py_Void();
8548 return resultobj;
8549 fail:
8550 return NULL;
8551 }
8552
8553
8554 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8555 PyObject *resultobj = 0;
8556 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8557 int result;
8558 void *argp1 = 0 ;
8559 int res1 = 0 ;
8560 PyObject *swig_obj[1] ;
8561
8562 if (!args) SWIG_fail;
8563 swig_obj[0] = args;
8564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8565 if (!SWIG_IsOK(res1)) {
8566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8567 }
8568 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (int)(arg1)->GetAlignVer();
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 resultobj = SWIG_From_int(static_cast< int >(result));
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj = 0;
8584 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8585 int arg2 ;
8586 int arg3 ;
8587 int arg4 = (int) wxHTML_UNITS_PIXELS ;
8588 void *argp1 = 0 ;
8589 int res1 = 0 ;
8590 int val2 ;
8591 int ecode2 = 0 ;
8592 int val3 ;
8593 int ecode3 = 0 ;
8594 int val4 ;
8595 int ecode4 = 0 ;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 PyObject * obj2 = 0 ;
8599 PyObject * obj3 = 0 ;
8600 char * kwnames[] = {
8601 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8602 };
8603
8604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8606 if (!SWIG_IsOK(res1)) {
8607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8608 }
8609 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8610 ecode2 = SWIG_AsVal_int(obj1, &val2);
8611 if (!SWIG_IsOK(ecode2)) {
8612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8613 }
8614 arg2 = static_cast< int >(val2);
8615 ecode3 = SWIG_AsVal_int(obj2, &val3);
8616 if (!SWIG_IsOK(ecode3)) {
8617 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8618 }
8619 arg3 = static_cast< int >(val3);
8620 if (obj3) {
8621 ecode4 = SWIG_AsVal_int(obj3, &val4);
8622 if (!SWIG_IsOK(ecode4)) {
8623 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8624 }
8625 arg4 = static_cast< int >(val4);
8626 }
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 (arg1)->SetIndent(arg2,arg3,arg4);
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 resultobj = SWIG_Py_Void();
8634 return resultobj;
8635 fail:
8636 return NULL;
8637 }
8638
8639
8640 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj = 0;
8642 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8643 int arg2 ;
8644 int result;
8645 void *argp1 = 0 ;
8646 int res1 = 0 ;
8647 int val2 ;
8648 int ecode2 = 0 ;
8649 PyObject * obj0 = 0 ;
8650 PyObject * obj1 = 0 ;
8651 char * kwnames[] = {
8652 (char *) "self",(char *) "ind", NULL
8653 };
8654
8655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) 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_GetIndent" "', 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_GetIndent" "', expected argument " "2"" of type '" "int""'");
8664 }
8665 arg2 = static_cast< int >(val2);
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (int)(arg1)->GetIndent(arg2);
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 resultobj = SWIG_From_int(static_cast< int >(result));
8673 return resultobj;
8674 fail:
8675 return NULL;
8676 }
8677
8678
8679 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj = 0;
8681 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8682 int arg2 ;
8683 int result;
8684 void *argp1 = 0 ;
8685 int res1 = 0 ;
8686 int val2 ;
8687 int ecode2 = 0 ;
8688 PyObject * obj0 = 0 ;
8689 PyObject * obj1 = 0 ;
8690 char * kwnames[] = {
8691 (char *) "self",(char *) "ind", NULL
8692 };
8693
8694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8696 if (!SWIG_IsOK(res1)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8698 }
8699 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8700 ecode2 = SWIG_AsVal_int(obj1, &val2);
8701 if (!SWIG_IsOK(ecode2)) {
8702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8703 }
8704 arg2 = static_cast< int >(val2);
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 result = (int)(arg1)->GetIndentUnits(arg2);
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 resultobj = SWIG_From_int(static_cast< int >(result));
8712 return resultobj;
8713 fail:
8714 return NULL;
8715 }
8716
8717
8718 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8719 PyObject *resultobj = 0;
8720 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8721 wxHtmlTag *arg2 = 0 ;
8722 void *argp1 = 0 ;
8723 int res1 = 0 ;
8724 void *argp2 = 0 ;
8725 int res2 = 0 ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 char * kwnames[] = {
8729 (char *) "self",(char *) "tag", NULL
8730 };
8731
8732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8734 if (!SWIG_IsOK(res1)) {
8735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8736 }
8737 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8738 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8739 if (!SWIG_IsOK(res2)) {
8740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8741 }
8742 if (!argp2) {
8743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8744 }
8745 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 resultobj = SWIG_Py_Void();
8753 return resultobj;
8754 fail:
8755 return NULL;
8756 }
8757
8758
8759 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj = 0;
8761 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8762 int arg2 ;
8763 int arg3 ;
8764 void *argp1 = 0 ;
8765 int res1 = 0 ;
8766 int val2 ;
8767 int ecode2 = 0 ;
8768 int val3 ;
8769 int ecode3 = 0 ;
8770 PyObject * obj0 = 0 ;
8771 PyObject * obj1 = 0 ;
8772 PyObject * obj2 = 0 ;
8773 char * kwnames[] = {
8774 (char *) "self",(char *) "w",(char *) "units", NULL
8775 };
8776
8777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8779 if (!SWIG_IsOK(res1)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8781 }
8782 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8783 ecode2 = SWIG_AsVal_int(obj1, &val2);
8784 if (!SWIG_IsOK(ecode2)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8786 }
8787 arg2 = static_cast< int >(val2);
8788 ecode3 = SWIG_AsVal_int(obj2, &val3);
8789 if (!SWIG_IsOK(ecode3)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8791 }
8792 arg3 = static_cast< int >(val3);
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 (arg1)->SetWidthFloat(arg2,arg3);
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 resultobj = SWIG_Py_Void();
8800 return resultobj;
8801 fail:
8802 return NULL;
8803 }
8804
8805
8806 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj = 0;
8808 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8809 wxHtmlTag *arg2 = 0 ;
8810 void *argp1 = 0 ;
8811 int res1 = 0 ;
8812 void *argp2 = 0 ;
8813 int res2 = 0 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 char * kwnames[] = {
8817 (char *) "self",(char *) "tag", NULL
8818 };
8819
8820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8822 if (!SWIG_IsOK(res1)) {
8823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8824 }
8825 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8826 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8827 if (!SWIG_IsOK(res2)) {
8828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8829 }
8830 if (!argp2) {
8831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8832 }
8833 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 resultobj = SWIG_Py_Void();
8841 return resultobj;
8842 fail:
8843 return NULL;
8844 }
8845
8846
8847 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj = 0;
8849 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8850 int arg2 ;
8851 int arg3 = (int) wxHTML_ALIGN_TOP ;
8852 void *argp1 = 0 ;
8853 int res1 = 0 ;
8854 int val2 ;
8855 int ecode2 = 0 ;
8856 int val3 ;
8857 int ecode3 = 0 ;
8858 PyObject * obj0 = 0 ;
8859 PyObject * obj1 = 0 ;
8860 PyObject * obj2 = 0 ;
8861 char * kwnames[] = {
8862 (char *) "self",(char *) "h",(char *) "align", NULL
8863 };
8864
8865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8867 if (!SWIG_IsOK(res1)) {
8868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8869 }
8870 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8871 ecode2 = SWIG_AsVal_int(obj1, &val2);
8872 if (!SWIG_IsOK(ecode2)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8874 }
8875 arg2 = static_cast< int >(val2);
8876 if (obj2) {
8877 ecode3 = SWIG_AsVal_int(obj2, &val3);
8878 if (!SWIG_IsOK(ecode3)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8880 }
8881 arg3 = static_cast< int >(val3);
8882 }
8883 {
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 (arg1)->SetMinHeight(arg2,arg3);
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 resultobj = SWIG_Py_Void();
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj = 0;
8898 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8899 wxColour *arg2 = 0 ;
8900 void *argp1 = 0 ;
8901 int res1 = 0 ;
8902 wxColour temp2 ;
8903 PyObject * obj0 = 0 ;
8904 PyObject * obj1 = 0 ;
8905 char * kwnames[] = {
8906 (char *) "self",(char *) "clr", NULL
8907 };
8908
8909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8911 if (!SWIG_IsOK(res1)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8913 }
8914 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8915 {
8916 arg2 = &temp2;
8917 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8918 }
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 resultobj = SWIG_Py_Void();
8926 return resultobj;
8927 fail:
8928 return NULL;
8929 }
8930
8931
8932 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8933 PyObject *resultobj = 0;
8934 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8935 wxColour result;
8936 void *argp1 = 0 ;
8937 int res1 = 0 ;
8938 PyObject *swig_obj[1] ;
8939
8940 if (!args) SWIG_fail;
8941 swig_obj[0] = args;
8942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8943 if (!SWIG_IsOK(res1)) {
8944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8945 }
8946 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (arg1)->GetBackgroundColour();
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8954 return resultobj;
8955 fail:
8956 return NULL;
8957 }
8958
8959
8960 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj = 0;
8962 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8963 wxColour *arg2 = 0 ;
8964 wxColour *arg3 = 0 ;
8965 void *argp1 = 0 ;
8966 int res1 = 0 ;
8967 wxColour temp2 ;
8968 wxColour temp3 ;
8969 PyObject * obj0 = 0 ;
8970 PyObject * obj1 = 0 ;
8971 PyObject * obj2 = 0 ;
8972 char * kwnames[] = {
8973 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8974 };
8975
8976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8978 if (!SWIG_IsOK(res1)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8980 }
8981 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8982 {
8983 arg2 = &temp2;
8984 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8985 }
8986 {
8987 arg3 = &temp3;
8988 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8989 }
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 resultobj = SWIG_Py_Void();
8997 return resultobj;
8998 fail:
8999 return NULL;
9000 }
9001
9002
9003 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9004 PyObject *resultobj = 0;
9005 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9006 wxHtmlCell *result = 0 ;
9007 void *argp1 = 0 ;
9008 int res1 = 0 ;
9009 PyObject *swig_obj[1] ;
9010
9011 if (!args) SWIG_fail;
9012 swig_obj[0] = args;
9013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9014 if (!SWIG_IsOK(res1)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9016 }
9017 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 result = (wxHtmlCell *)(arg1)->GetFirstChild();
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 {
9025 resultobj = wxPyMake_wxObject(result, 0);
9026 }
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9034 PyObject *obj;
9035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9036 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
9037 return SWIG_Py_Void();
9038 }
9039
9040 SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9041 return SWIG_Python_InitShadowInstance(args);
9042 }
9043
9044 SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj = 0;
9046 wxColour *arg1 = 0 ;
9047 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9048 wxHtmlColourCell *result = 0 ;
9049 wxColour temp1 ;
9050 int val2 ;
9051 int ecode2 = 0 ;
9052 PyObject * obj0 = 0 ;
9053 PyObject * obj1 = 0 ;
9054 char * kwnames[] = {
9055 (char *) "clr",(char *) "flags", NULL
9056 };
9057
9058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9059 {
9060 arg1 = &temp1;
9061 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9062 }
9063 if (obj1) {
9064 ecode2 = SWIG_AsVal_int(obj1, &val2);
9065 if (!SWIG_IsOK(ecode2)) {
9066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9067 }
9068 arg2 = static_cast< int >(val2);
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9077 return resultobj;
9078 fail:
9079 return NULL;
9080 }
9081
9082
9083 SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9084 PyObject *obj;
9085 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9086 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9087 return SWIG_Py_Void();
9088 }
9089
9090 SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9091 return SWIG_Python_InitShadowInstance(args);
9092 }
9093
9094 SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj = 0;
9096 wxFont *arg1 = (wxFont *) 0 ;
9097 wxHtmlFontCell *result = 0 ;
9098 void *argp1 = 0 ;
9099 int res1 = 0 ;
9100 PyObject * obj0 = 0 ;
9101 char * kwnames[] = {
9102 (char *) "font", NULL
9103 };
9104
9105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9107 if (!SWIG_IsOK(res1)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9109 }
9110 arg1 = reinterpret_cast< wxFont * >(argp1);
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9125 PyObject *obj;
9126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9127 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9128 return SWIG_Py_Void();
9129 }
9130
9131 SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9132 return SWIG_Python_InitShadowInstance(args);
9133 }
9134
9135 SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj = 0;
9137 wxWindow *arg1 = (wxWindow *) 0 ;
9138 int arg2 = (int) 0 ;
9139 wxHtmlWidgetCell *result = 0 ;
9140 void *argp1 = 0 ;
9141 int res1 = 0 ;
9142 int val2 ;
9143 int ecode2 = 0 ;
9144 PyObject * obj0 = 0 ;
9145 PyObject * obj1 = 0 ;
9146 char * kwnames[] = {
9147 (char *) "wnd",(char *) "w", NULL
9148 };
9149
9150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9152 if (!SWIG_IsOK(res1)) {
9153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9154 }
9155 arg1 = reinterpret_cast< wxWindow * >(argp1);
9156 if (obj1) {
9157 ecode2 = SWIG_AsVal_int(obj1, &val2);
9158 if (!SWIG_IsOK(ecode2)) {
9159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9160 }
9161 arg2 = static_cast< int >(val2);
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9177 PyObject *obj;
9178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9179 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9180 return SWIG_Py_Void();
9181 }
9182
9183 SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9184 return SWIG_Python_InitShadowInstance(args);
9185 }
9186
9187 SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9188 PyObject *resultobj = 0;
9189 wxPyHtmlFilter *result = 0 ;
9190
9191 if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9199 return resultobj;
9200 fail:
9201 return NULL;
9202 }
9203
9204
9205 SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9206 PyObject *resultobj = 0;
9207 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9208 PyObject *arg2 = (PyObject *) 0 ;
9209 PyObject *arg3 = (PyObject *) 0 ;
9210 void *argp1 = 0 ;
9211 int res1 = 0 ;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214 PyObject * obj2 = 0 ;
9215 char * kwnames[] = {
9216 (char *) "self",(char *) "self",(char *) "_class", NULL
9217 };
9218
9219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9221 if (!SWIG_IsOK(res1)) {
9222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9223 }
9224 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9225 arg2 = obj1;
9226 arg3 = obj2;
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 (arg1)->_setCallbackInfo(arg2,arg3);
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = SWIG_Py_Void();
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9241 PyObject *obj;
9242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9243 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9244 return SWIG_Py_Void();
9245 }
9246
9247 SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9248 return SWIG_Python_InitShadowInstance(args);
9249 }
9250
9251 SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9252 PyObject *resultobj = 0;
9253 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9254 void *argp1 = 0 ;
9255 int res1 = 0 ;
9256 PyObject *swig_obj[1] ;
9257
9258 if (!args) SWIG_fail;
9259 swig_obj[0] = args;
9260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9261 if (!SWIG_IsOK(res1)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9263 }
9264 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 delete arg1;
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 resultobj = SWIG_Py_Void();
9273 return resultobj;
9274 fail:
9275 return NULL;
9276 }
9277
9278
9279 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9280 PyObject *resultobj = 0;
9281 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9282 wxString *arg2 = 0 ;
9283 void *argp1 = 0 ;
9284 int res1 = 0 ;
9285 bool temp2 = false ;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 char * kwnames[] = {
9289 (char *) "self",(char *) "title", NULL
9290 };
9291
9292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9294 if (!SWIG_IsOK(res1)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9296 }
9297 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9298 {
9299 arg2 = wxString_in_helper(obj1);
9300 if (arg2 == NULL) SWIG_fail;
9301 temp2 = true;
9302 }
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 resultobj = SWIG_Py_Void();
9310 {
9311 if (temp2)
9312 delete arg2;
9313 }
9314 return resultobj;
9315 fail:
9316 {
9317 if (temp2)
9318 delete arg2;
9319 }
9320 return NULL;
9321 }
9322
9323
9324 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj = 0;
9326 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9327 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9328 wxPoint *arg3 = 0 ;
9329 wxPoint result;
9330 void *argp1 = 0 ;
9331 int res1 = 0 ;
9332 void *argp2 = 0 ;
9333 int res2 = 0 ;
9334 wxPoint temp3 ;
9335 PyObject * obj0 = 0 ;
9336 PyObject * obj1 = 0 ;
9337 PyObject * obj2 = 0 ;
9338 char * kwnames[] = {
9339 (char *) "self",(char *) "cell",(char *) "pos", NULL
9340 };
9341
9342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9344 if (!SWIG_IsOK(res1)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9346 }
9347 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9349 if (!SWIG_IsOK(res2)) {
9350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9351 }
9352 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9353 {
9354 arg3 = &temp3;
9355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9356 }
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9371 PyObject *resultobj = 0;
9372 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9373 wxWindow *result = 0 ;
9374 void *argp1 = 0 ;
9375 int res1 = 0 ;
9376 PyObject *swig_obj[1] ;
9377
9378 if (!args) SWIG_fail;
9379 swig_obj[0] = args;
9380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9381 if (!SWIG_IsOK(res1)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9383 }
9384 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 result = (wxWindow *)(arg1)->GetHTMLWindow();
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 {
9392 resultobj = wxPyMake_wxObject(result, 0);
9393 }
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9401 PyObject *resultobj = 0;
9402 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9403 wxColour result;
9404 void *argp1 = 0 ;
9405 int res1 = 0 ;
9406 PyObject *swig_obj[1] ;
9407
9408 if (!args) SWIG_fail;
9409 swig_obj[0] = args;
9410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9411 if (!SWIG_IsOK(res1)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9413 }
9414 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9422 return resultobj;
9423 fail:
9424 return NULL;
9425 }
9426
9427
9428 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9429 PyObject *resultobj = 0;
9430 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9431 wxColour *arg2 = 0 ;
9432 void *argp1 = 0 ;
9433 int res1 = 0 ;
9434 wxColour temp2 ;
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 char * kwnames[] = {
9438 (char *) "self",(char *) "clr", NULL
9439 };
9440
9441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9443 if (!SWIG_IsOK(res1)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9445 }
9446 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9447 {
9448 arg2 = &temp2;
9449 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9450 }
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_Py_Void();
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj = 0;
9466 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9467 wxBitmap *arg2 = 0 ;
9468 void *argp1 = 0 ;
9469 int res1 = 0 ;
9470 void *argp2 = 0 ;
9471 int res2 = 0 ;
9472 PyObject * obj0 = 0 ;
9473 PyObject * obj1 = 0 ;
9474 char * kwnames[] = {
9475 (char *) "self",(char *) "bmpBg", NULL
9476 };
9477
9478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9480 if (!SWIG_IsOK(res1)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9482 }
9483 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9484 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9485 if (!SWIG_IsOK(res2)) {
9486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9487 }
9488 if (!argp2) {
9489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9490 }
9491 arg2 = reinterpret_cast< wxBitmap * >(argp2);
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 resultobj = SWIG_Py_Void();
9499 return resultobj;
9500 fail:
9501 return NULL;
9502 }
9503
9504
9505 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj = 0;
9507 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9508 wxString *arg2 = 0 ;
9509 void *argp1 = 0 ;
9510 int res1 = 0 ;
9511 bool temp2 = false ;
9512 PyObject * obj0 = 0 ;
9513 PyObject * obj1 = 0 ;
9514 char * kwnames[] = {
9515 (char *) "self",(char *) "text", NULL
9516 };
9517
9518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9520 if (!SWIG_IsOK(res1)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9522 }
9523 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9524 {
9525 arg2 = wxString_in_helper(obj1);
9526 if (arg2 == NULL) SWIG_fail;
9527 temp2 = true;
9528 }
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 (arg1)->SetHTMLStatusText((wxString const &)*arg2);
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 resultobj = SWIG_Py_Void();
9536 {
9537 if (temp2)
9538 delete arg2;
9539 }
9540 return resultobj;
9541 fail:
9542 {
9543 if (temp2)
9544 delete arg2;
9545 }
9546 return NULL;
9547 }
9548
9549
9550 SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9551 PyObject *obj;
9552 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9553 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9554 return SWIG_Py_Void();
9555 }
9556
9557 SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj = 0;
9559 wxWindow *arg1 = (wxWindow *) 0 ;
9560 int arg2 = (int) -1 ;
9561 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9562 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9563 wxSize const &arg4_defvalue = wxDefaultSize ;
9564 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9565 int arg5 = (int) wxHW_DEFAULT_STYLE ;
9566 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9567 wxString *arg6 = (wxString *) &arg6_defvalue ;
9568 wxPyHtmlWindow *result = 0 ;
9569 void *argp1 = 0 ;
9570 int res1 = 0 ;
9571 int val2 ;
9572 int ecode2 = 0 ;
9573 wxPoint temp3 ;
9574 wxSize temp4 ;
9575 int val5 ;
9576 int ecode5 = 0 ;
9577 bool temp6 = false ;
9578 PyObject * obj0 = 0 ;
9579 PyObject * obj1 = 0 ;
9580 PyObject * obj2 = 0 ;
9581 PyObject * obj3 = 0 ;
9582 PyObject * obj4 = 0 ;
9583 PyObject * obj5 = 0 ;
9584 char * kwnames[] = {
9585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9586 };
9587
9588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9590 if (!SWIG_IsOK(res1)) {
9591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9592 }
9593 arg1 = reinterpret_cast< wxWindow * >(argp1);
9594 if (obj1) {
9595 ecode2 = SWIG_AsVal_int(obj1, &val2);
9596 if (!SWIG_IsOK(ecode2)) {
9597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9598 }
9599 arg2 = static_cast< int >(val2);
9600 }
9601 if (obj2) {
9602 {
9603 arg3 = &temp3;
9604 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9605 }
9606 }
9607 if (obj3) {
9608 {
9609 arg4 = &temp4;
9610 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9611 }
9612 }
9613 if (obj4) {
9614 ecode5 = SWIG_AsVal_int(obj4, &val5);
9615 if (!SWIG_IsOK(ecode5)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9617 }
9618 arg5 = static_cast< int >(val5);
9619 }
9620 if (obj5) {
9621 {
9622 arg6 = wxString_in_helper(obj5);
9623 if (arg6 == NULL) SWIG_fail;
9624 temp6 = true;
9625 }
9626 }
9627 {
9628 if (!wxPyCheckForApp()) SWIG_fail;
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9635 {
9636 if (temp6)
9637 delete arg6;
9638 }
9639 return resultobj;
9640 fail:
9641 {
9642 if (temp6)
9643 delete arg6;
9644 }
9645 return NULL;
9646 }
9647
9648
9649 SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9650 PyObject *resultobj = 0;
9651 wxPyHtmlWindow *result = 0 ;
9652
9653 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9654 {
9655 if (!wxPyCheckForApp()) SWIG_fail;
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj = 0;
9670 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9671 wxWindow *arg2 = (wxWindow *) 0 ;
9672 int arg3 = (int) -1 ;
9673 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9674 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9675 wxSize const &arg5_defvalue = wxDefaultSize ;
9676 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9677 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9678 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9679 wxString *arg7 = (wxString *) &arg7_defvalue ;
9680 bool result;
9681 void *argp1 = 0 ;
9682 int res1 = 0 ;
9683 void *argp2 = 0 ;
9684 int res2 = 0 ;
9685 int val3 ;
9686 int ecode3 = 0 ;
9687 wxPoint temp4 ;
9688 wxSize temp5 ;
9689 int val6 ;
9690 int ecode6 = 0 ;
9691 bool temp7 = false ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 PyObject * obj2 = 0 ;
9695 PyObject * obj3 = 0 ;
9696 PyObject * obj4 = 0 ;
9697 PyObject * obj5 = 0 ;
9698 PyObject * obj6 = 0 ;
9699 char * kwnames[] = {
9700 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9701 };
9702
9703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9705 if (!SWIG_IsOK(res1)) {
9706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9707 }
9708 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9709 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9710 if (!SWIG_IsOK(res2)) {
9711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9712 }
9713 arg2 = reinterpret_cast< wxWindow * >(argp2);
9714 if (obj2) {
9715 ecode3 = SWIG_AsVal_int(obj2, &val3);
9716 if (!SWIG_IsOK(ecode3)) {
9717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9718 }
9719 arg3 = static_cast< int >(val3);
9720 }
9721 if (obj3) {
9722 {
9723 arg4 = &temp4;
9724 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9725 }
9726 }
9727 if (obj4) {
9728 {
9729 arg5 = &temp5;
9730 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9731 }
9732 }
9733 if (obj5) {
9734 ecode6 = SWIG_AsVal_int(obj5, &val6);
9735 if (!SWIG_IsOK(ecode6)) {
9736 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9737 }
9738 arg6 = static_cast< int >(val6);
9739 }
9740 if (obj6) {
9741 {
9742 arg7 = wxString_in_helper(obj6);
9743 if (arg7 == NULL) SWIG_fail;
9744 temp7 = true;
9745 }
9746 }
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 {
9754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9755 }
9756 {
9757 if (temp7)
9758 delete arg7;
9759 }
9760 return resultobj;
9761 fail:
9762 {
9763 if (temp7)
9764 delete arg7;
9765 }
9766 return NULL;
9767 }
9768
9769
9770 SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj = 0;
9772 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9773 PyObject *arg2 = (PyObject *) 0 ;
9774 PyObject *arg3 = (PyObject *) 0 ;
9775 void *argp1 = 0 ;
9776 int res1 = 0 ;
9777 PyObject * obj0 = 0 ;
9778 PyObject * obj1 = 0 ;
9779 PyObject * obj2 = 0 ;
9780 char * kwnames[] = {
9781 (char *) "self",(char *) "self",(char *) "_class", NULL
9782 };
9783
9784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9786 if (!SWIG_IsOK(res1)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9788 }
9789 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9790 arg2 = obj1;
9791 arg3 = obj2;
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 (arg1)->_setCallbackInfo(arg2,arg3);
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 resultobj = SWIG_Py_Void();
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj = 0;
9807 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9808 wxString *arg2 = 0 ;
9809 bool result;
9810 void *argp1 = 0 ;
9811 int res1 = 0 ;
9812 bool temp2 = false ;
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 char * kwnames[] = {
9816 (char *) "self",(char *) "source", NULL
9817 };
9818
9819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9821 if (!SWIG_IsOK(res1)) {
9822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9823 }
9824 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9825 {
9826 arg2 = wxString_in_helper(obj1);
9827 if (arg2 == NULL) SWIG_fail;
9828 temp2 = true;
9829 }
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 {
9837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9838 }
9839 {
9840 if (temp2)
9841 delete arg2;
9842 }
9843 return resultobj;
9844 fail:
9845 {
9846 if (temp2)
9847 delete arg2;
9848 }
9849 return NULL;
9850 }
9851
9852
9853 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj = 0;
9855 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9856 wxString *arg2 = 0 ;
9857 bool result;
9858 void *argp1 = 0 ;
9859 int res1 = 0 ;
9860 bool temp2 = false ;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863 char * kwnames[] = {
9864 (char *) "self",(char *) "location", NULL
9865 };
9866
9867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9869 if (!SWIG_IsOK(res1)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9871 }
9872 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9873 {
9874 arg2 = wxString_in_helper(obj1);
9875 if (arg2 == NULL) SWIG_fail;
9876 temp2 = true;
9877 }
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 {
9885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9886 }
9887 {
9888 if (temp2)
9889 delete arg2;
9890 }
9891 return resultobj;
9892 fail:
9893 {
9894 if (temp2)
9895 delete arg2;
9896 }
9897 return NULL;
9898 }
9899
9900
9901 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj = 0;
9903 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9904 wxString *arg2 = 0 ;
9905 bool result;
9906 void *argp1 = 0 ;
9907 int res1 = 0 ;
9908 bool temp2 = false ;
9909 PyObject * obj0 = 0 ;
9910 PyObject * obj1 = 0 ;
9911 char * kwnames[] = {
9912 (char *) "self",(char *) "filename", NULL
9913 };
9914
9915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9917 if (!SWIG_IsOK(res1)) {
9918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9919 }
9920 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9921 {
9922 arg2 = wxString_in_helper(obj1);
9923 if (arg2 == NULL) SWIG_fail;
9924 temp2 = true;
9925 }
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9929 wxPyEndAllowThreads(__tstate);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 }
9932 {
9933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9934 }
9935 {
9936 if (temp2)
9937 delete arg2;
9938 }
9939 return resultobj;
9940 fail:
9941 {
9942 if (temp2)
9943 delete arg2;
9944 }
9945 return NULL;
9946 }
9947
9948
9949 SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj = 0;
9951 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9952 wxString *arg2 = 0 ;
9953 bool result;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 bool temp2 = false ;
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 char * kwnames[] = {
9960 (char *) "self",(char *) "source", NULL
9961 };
9962
9963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
9964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9965 if (!SWIG_IsOK(res1)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9967 }
9968 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9969 {
9970 arg2 = wxString_in_helper(obj1);
9971 if (arg2 == NULL) SWIG_fail;
9972 temp2 = true;
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 {
9981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9982 }
9983 {
9984 if (temp2)
9985 delete arg2;
9986 }
9987 return resultobj;
9988 fail:
9989 {
9990 if (temp2)
9991 delete arg2;
9992 }
9993 return NULL;
9994 }
9995
9996
9997 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9998 PyObject *resultobj = 0;
9999 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10000 wxString result;
10001 void *argp1 = 0 ;
10002 int res1 = 0 ;
10003 PyObject *swig_obj[1] ;
10004
10005 if (!args) SWIG_fail;
10006 swig_obj[0] = args;
10007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10008 if (!SWIG_IsOK(res1)) {
10009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10010 }
10011 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (arg1)->GetOpenedPage();
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 {
10019 #if wxUSE_UNICODE
10020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10021 #else
10022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10023 #endif
10024 }
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10032 PyObject *resultobj = 0;
10033 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10034 wxString result;
10035 void *argp1 = 0 ;
10036 int res1 = 0 ;
10037 PyObject *swig_obj[1] ;
10038
10039 if (!args) SWIG_fail;
10040 swig_obj[0] = args;
10041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10042 if (!SWIG_IsOK(res1)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10044 }
10045 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (arg1)->GetOpenedAnchor();
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 {
10053 #if wxUSE_UNICODE
10054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10055 #else
10056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10057 #endif
10058 }
10059 return resultobj;
10060 fail:
10061 return NULL;
10062 }
10063
10064
10065 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10066 PyObject *resultobj = 0;
10067 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10068 wxString result;
10069 void *argp1 = 0 ;
10070 int res1 = 0 ;
10071 PyObject *swig_obj[1] ;
10072
10073 if (!args) SWIG_fail;
10074 swig_obj[0] = args;
10075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10076 if (!SWIG_IsOK(res1)) {
10077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10078 }
10079 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = (arg1)->GetOpenedPageTitle();
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 {
10087 #if wxUSE_UNICODE
10088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10089 #else
10090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10091 #endif
10092 }
10093 return resultobj;
10094 fail:
10095 return NULL;
10096 }
10097
10098
10099 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj = 0;
10101 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10102 wxFrame *arg2 = (wxFrame *) 0 ;
10103 wxString *arg3 = 0 ;
10104 void *argp1 = 0 ;
10105 int res1 = 0 ;
10106 void *argp2 = 0 ;
10107 int res2 = 0 ;
10108 bool temp3 = false ;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 PyObject * obj2 = 0 ;
10112 char * kwnames[] = {
10113 (char *) "self",(char *) "frame",(char *) "format", NULL
10114 };
10115
10116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10118 if (!SWIG_IsOK(res1)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10120 }
10121 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10123 if (!SWIG_IsOK(res2)) {
10124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10125 }
10126 arg2 = reinterpret_cast< wxFrame * >(argp2);
10127 {
10128 arg3 = wxString_in_helper(obj2);
10129 if (arg3 == NULL) SWIG_fail;
10130 temp3 = true;
10131 }
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 resultobj = SWIG_Py_Void();
10139 {
10140 if (temp3)
10141 delete arg3;
10142 }
10143 return resultobj;
10144 fail:
10145 {
10146 if (temp3)
10147 delete arg3;
10148 }
10149 return NULL;
10150 }
10151
10152
10153 SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10154 PyObject *resultobj = 0;
10155 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10156 wxFrame *result = 0 ;
10157 void *argp1 = 0 ;
10158 int res1 = 0 ;
10159 PyObject *swig_obj[1] ;
10160
10161 if (!args) SWIG_fail;
10162 swig_obj[0] = args;
10163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10164 if (!SWIG_IsOK(res1)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10166 }
10167 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 result = (wxFrame *)(arg1)->GetRelatedFrame();
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 {
10175 resultobj = wxPyMake_wxObject(result, 0);
10176 }
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj = 0;
10185 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10186 int arg2 ;
10187 void *argp1 = 0 ;
10188 int res1 = 0 ;
10189 int val2 ;
10190 int ecode2 = 0 ;
10191 PyObject * obj0 = 0 ;
10192 PyObject * obj1 = 0 ;
10193 char * kwnames[] = {
10194 (char *) "self",(char *) "bar", NULL
10195 };
10196
10197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10199 if (!SWIG_IsOK(res1)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10201 }
10202 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10203 ecode2 = SWIG_AsVal_int(obj1, &val2);
10204 if (!SWIG_IsOK(ecode2)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10206 }
10207 arg2 = static_cast< int >(val2);
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetRelatedStatusBar(arg2);
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_Py_Void();
10215 return resultobj;
10216 fail:
10217 return NULL;
10218 }
10219
10220
10221 SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj = 0;
10223 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10224 wxString arg2 ;
10225 wxString arg3 ;
10226 PyObject *arg4 = (PyObject *) NULL ;
10227 void *argp1 = 0 ;
10228 int res1 = 0 ;
10229 PyObject * obj0 = 0 ;
10230 PyObject * obj1 = 0 ;
10231 PyObject * obj2 = 0 ;
10232 PyObject * obj3 = 0 ;
10233 char * kwnames[] = {
10234 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10235 };
10236
10237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10239 if (!SWIG_IsOK(res1)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10241 }
10242 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10243 {
10244 wxString* sptr = wxString_in_helper(obj1);
10245 if (sptr == NULL) SWIG_fail;
10246 arg2 = *sptr;
10247 delete sptr;
10248 }
10249 {
10250 wxString* sptr = wxString_in_helper(obj2);
10251 if (sptr == NULL) SWIG_fail;
10252 arg3 = *sptr;
10253 delete sptr;
10254 }
10255 if (obj3) {
10256 arg4 = obj3;
10257 }
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = SWIG_Py_Void();
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj = 0;
10273 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10274 int arg2 = (int) -1 ;
10275 wxString const &arg3_defvalue = wxPyEmptyString ;
10276 wxString *arg3 = (wxString *) &arg3_defvalue ;
10277 wxString const &arg4_defvalue = wxPyEmptyString ;
10278 wxString *arg4 = (wxString *) &arg4_defvalue ;
10279 void *argp1 = 0 ;
10280 int res1 = 0 ;
10281 int val2 ;
10282 int ecode2 = 0 ;
10283 bool temp3 = false ;
10284 bool temp4 = false ;
10285 PyObject * obj0 = 0 ;
10286 PyObject * obj1 = 0 ;
10287 PyObject * obj2 = 0 ;
10288 PyObject * obj3 = 0 ;
10289 char * kwnames[] = {
10290 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10291 };
10292
10293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10295 if (!SWIG_IsOK(res1)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10297 }
10298 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10299 if (obj1) {
10300 ecode2 = SWIG_AsVal_int(obj1, &val2);
10301 if (!SWIG_IsOK(ecode2)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10303 }
10304 arg2 = static_cast< int >(val2);
10305 }
10306 if (obj2) {
10307 {
10308 arg3 = wxString_in_helper(obj2);
10309 if (arg3 == NULL) SWIG_fail;
10310 temp3 = true;
10311 }
10312 }
10313 if (obj3) {
10314 {
10315 arg4 = wxString_in_helper(obj3);
10316 if (arg4 == NULL) SWIG_fail;
10317 temp4 = true;
10318 }
10319 }
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 resultobj = SWIG_Py_Void();
10327 {
10328 if (temp3)
10329 delete arg3;
10330 }
10331 {
10332 if (temp4)
10333 delete arg4;
10334 }
10335 return resultobj;
10336 fail:
10337 {
10338 if (temp3)
10339 delete arg3;
10340 }
10341 {
10342 if (temp4)
10343 delete arg4;
10344 }
10345 return NULL;
10346 }
10347
10348
10349 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj = 0;
10351 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10352 int arg2 ;
10353 void *argp1 = 0 ;
10354 int res1 = 0 ;
10355 int val2 ;
10356 int ecode2 = 0 ;
10357 PyObject * obj0 = 0 ;
10358 PyObject * obj1 = 0 ;
10359 char * kwnames[] = {
10360 (char *) "self",(char *) "b", NULL
10361 };
10362
10363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10365 if (!SWIG_IsOK(res1)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10367 }
10368 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10369 ecode2 = SWIG_AsVal_int(obj1, &val2);
10370 if (!SWIG_IsOK(ecode2)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10372 }
10373 arg2 = static_cast< int >(val2);
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 (arg1)->SetBorders(arg2);
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 resultobj = SWIG_Py_Void();
10381 return resultobj;
10382 fail:
10383 return NULL;
10384 }
10385
10386
10387 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj = 0;
10389 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10390 wxBitmap *arg2 = 0 ;
10391 void *argp1 = 0 ;
10392 int res1 = 0 ;
10393 void *argp2 = 0 ;
10394 int res2 = 0 ;
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 char * kwnames[] = {
10398 (char *) "self",(char *) "bmpBg", NULL
10399 };
10400
10401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
10402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10403 if (!SWIG_IsOK(res1)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10405 }
10406 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10407 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10408 if (!SWIG_IsOK(res2)) {
10409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10410 }
10411 if (!argp2) {
10412 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10413 }
10414 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 resultobj = SWIG_Py_Void();
10422 return resultobj;
10423 fail:
10424 return NULL;
10425 }
10426
10427
10428 SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj = 0;
10430 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10431 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10432 wxString arg3 = (wxString) wxPyEmptyString ;
10433 void *argp1 = 0 ;
10434 int res1 = 0 ;
10435 void *argp2 = 0 ;
10436 int res2 = 0 ;
10437 PyObject * obj0 = 0 ;
10438 PyObject * obj1 = 0 ;
10439 PyObject * obj2 = 0 ;
10440 char * kwnames[] = {
10441 (char *) "self",(char *) "cfg",(char *) "path", NULL
10442 };
10443
10444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10446 if (!SWIG_IsOK(res1)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10448 }
10449 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10450 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10451 if (!SWIG_IsOK(res2)) {
10452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10453 }
10454 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10455 if (obj2) {
10456 {
10457 wxString* sptr = wxString_in_helper(obj2);
10458 if (sptr == NULL) SWIG_fail;
10459 arg3 = *sptr;
10460 delete sptr;
10461 }
10462 }
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 (arg1)->ReadCustomization(arg2,arg3);
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 resultobj = SWIG_Py_Void();
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10477 PyObject *resultobj = 0;
10478 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10479 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10480 wxString arg3 = (wxString) wxPyEmptyString ;
10481 void *argp1 = 0 ;
10482 int res1 = 0 ;
10483 void *argp2 = 0 ;
10484 int res2 = 0 ;
10485 PyObject * obj0 = 0 ;
10486 PyObject * obj1 = 0 ;
10487 PyObject * obj2 = 0 ;
10488 char * kwnames[] = {
10489 (char *) "self",(char *) "cfg",(char *) "path", NULL
10490 };
10491
10492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10494 if (!SWIG_IsOK(res1)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10496 }
10497 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10499 if (!SWIG_IsOK(res2)) {
10500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10501 }
10502 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10503 if (obj2) {
10504 {
10505 wxString* sptr = wxString_in_helper(obj2);
10506 if (sptr == NULL) SWIG_fail;
10507 arg3 = *sptr;
10508 delete sptr;
10509 }
10510 }
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->WriteCustomization(arg2,arg3);
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = SWIG_Py_Void();
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10525 PyObject *resultobj = 0;
10526 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10527 bool result;
10528 void *argp1 = 0 ;
10529 int res1 = 0 ;
10530 PyObject *swig_obj[1] ;
10531
10532 if (!args) SWIG_fail;
10533 swig_obj[0] = args;
10534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10535 if (!SWIG_IsOK(res1)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10537 }
10538 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
10541 result = (bool)(arg1)->HistoryBack();
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 {
10546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10547 }
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10555 PyObject *resultobj = 0;
10556 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10557 bool result;
10558 void *argp1 = 0 ;
10559 int res1 = 0 ;
10560 PyObject *swig_obj[1] ;
10561
10562 if (!args) SWIG_fail;
10563 swig_obj[0] = args;
10564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10565 if (!SWIG_IsOK(res1)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10567 }
10568 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (bool)(arg1)->HistoryForward();
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 {
10576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10577 }
10578 return resultobj;
10579 fail:
10580 return NULL;
10581 }
10582
10583
10584 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10585 PyObject *resultobj = 0;
10586 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10587 bool result;
10588 void *argp1 = 0 ;
10589 int res1 = 0 ;
10590 PyObject *swig_obj[1] ;
10591
10592 if (!args) SWIG_fail;
10593 swig_obj[0] = args;
10594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10595 if (!SWIG_IsOK(res1)) {
10596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10597 }
10598 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 result = (bool)(arg1)->HistoryCanBack();
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 {
10606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10607 }
10608 return resultobj;
10609 fail:
10610 return NULL;
10611 }
10612
10613
10614 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10615 PyObject *resultobj = 0;
10616 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10617 bool result;
10618 void *argp1 = 0 ;
10619 int res1 = 0 ;
10620 PyObject *swig_obj[1] ;
10621
10622 if (!args) SWIG_fail;
10623 swig_obj[0] = args;
10624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10625 if (!SWIG_IsOK(res1)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10627 }
10628 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10629 {
10630 PyThreadState* __tstate = wxPyBeginAllowThreads();
10631 result = (bool)(arg1)->HistoryCanForward();
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 {
10636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10637 }
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10645 PyObject *resultobj = 0;
10646 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10647 void *argp1 = 0 ;
10648 int res1 = 0 ;
10649 PyObject *swig_obj[1] ;
10650
10651 if (!args) SWIG_fail;
10652 swig_obj[0] = args;
10653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10654 if (!SWIG_IsOK(res1)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10656 }
10657 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 (arg1)->HistoryClear();
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 resultobj = SWIG_Py_Void();
10665 return resultobj;
10666 fail:
10667 return NULL;
10668 }
10669
10670
10671 SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10672 PyObject *resultobj = 0;
10673 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10674 wxHtmlContainerCell *result = 0 ;
10675 void *argp1 = 0 ;
10676 int res1 = 0 ;
10677 PyObject *swig_obj[1] ;
10678
10679 if (!args) SWIG_fail;
10680 swig_obj[0] = args;
10681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10682 if (!SWIG_IsOK(res1)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10684 }
10685 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10700 PyObject *resultobj = 0;
10701 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10702 wxHtmlWinParser *result = 0 ;
10703 void *argp1 = 0 ;
10704 int res1 = 0 ;
10705 PyObject *swig_obj[1] ;
10706
10707 if (!args) SWIG_fail;
10708 swig_obj[0] = args;
10709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10710 if (!SWIG_IsOK(res1)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10712 }
10713 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (wxHtmlWinParser *)(arg1)->GetParser();
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj = 0;
10729 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10730 wxString *arg2 = 0 ;
10731 bool result;
10732 void *argp1 = 0 ;
10733 int res1 = 0 ;
10734 bool temp2 = false ;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char * kwnames[] = {
10738 (char *) "self",(char *) "anchor", NULL
10739 };
10740
10741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10743 if (!SWIG_IsOK(res1)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10745 }
10746 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10747 {
10748 arg2 = wxString_in_helper(obj1);
10749 if (arg2 == NULL) SWIG_fail;
10750 temp2 = true;
10751 }
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 {
10759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10760 }
10761 {
10762 if (temp2)
10763 delete arg2;
10764 }
10765 return resultobj;
10766 fail:
10767 {
10768 if (temp2)
10769 delete arg2;
10770 }
10771 return NULL;
10772 }
10773
10774
10775 SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj = 0;
10777 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10778 wxString *arg2 = 0 ;
10779 bool result;
10780 void *argp1 = 0 ;
10781 int res1 = 0 ;
10782 bool temp2 = false ;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 char * kwnames[] = {
10786 (char *) "self",(char *) "anchor", NULL
10787 };
10788
10789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10791 if (!SWIG_IsOK(res1)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10793 }
10794 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10795 {
10796 arg2 = wxString_in_helper(obj1);
10797 if (arg2 == NULL) SWIG_fail;
10798 temp2 = true;
10799 }
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 {
10807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10808 }
10809 {
10810 if (temp2)
10811 delete arg2;
10812 }
10813 return resultobj;
10814 fail:
10815 {
10816 if (temp2)
10817 delete arg2;
10818 }
10819 return NULL;
10820 }
10821
10822
10823 SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj = 0;
10825 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10826 void *argp1 = 0 ;
10827 int res1 = 0 ;
10828 PyObject * obj0 = 0 ;
10829 char * kwnames[] = {
10830 (char *) "filter", NULL
10831 };
10832
10833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10835 if (!SWIG_IsOK(res1)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10837 }
10838 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 wxPyHtmlWindow::AddFilter(arg1);
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_Py_Void();
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj = 0;
10854 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10855 wxPoint *arg2 = 0 ;
10856 void *argp1 = 0 ;
10857 int res1 = 0 ;
10858 wxPoint temp2 ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char * kwnames[] = {
10862 (char *) "self",(char *) "pos", NULL
10863 };
10864
10865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10867 if (!SWIG_IsOK(res1)) {
10868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10869 }
10870 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10871 {
10872 arg2 = &temp2;
10873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10874 }
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 (arg1)->SelectWord((wxPoint const &)*arg2);
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 resultobj = SWIG_Py_Void();
10882 return resultobj;
10883 fail:
10884 return NULL;
10885 }
10886
10887
10888 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj = 0;
10890 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10891 wxPoint *arg2 = 0 ;
10892 void *argp1 = 0 ;
10893 int res1 = 0 ;
10894 wxPoint temp2 ;
10895 PyObject * obj0 = 0 ;
10896 PyObject * obj1 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "self",(char *) "pos", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10905 }
10906 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10907 {
10908 arg2 = &temp2;
10909 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 (arg1)->SelectLine((wxPoint const &)*arg2);
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 resultobj = SWIG_Py_Void();
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10925 PyObject *resultobj = 0;
10926 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10927 void *argp1 = 0 ;
10928 int res1 = 0 ;
10929 PyObject *swig_obj[1] ;
10930
10931 if (!args) SWIG_fail;
10932 swig_obj[0] = args;
10933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10934 if (!SWIG_IsOK(res1)) {
10935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10936 }
10937 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 (arg1)->SelectAll();
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 resultobj = SWIG_Py_Void();
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10952 PyObject *resultobj = 0;
10953 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10954 wxString result;
10955 void *argp1 = 0 ;
10956 int res1 = 0 ;
10957 PyObject *swig_obj[1] ;
10958
10959 if (!args) SWIG_fail;
10960 swig_obj[0] = args;
10961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10962 if (!SWIG_IsOK(res1)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10964 }
10965 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (arg1)->SelectionToText();
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 {
10973 #if wxUSE_UNICODE
10974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10975 #else
10976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10977 #endif
10978 }
10979 return resultobj;
10980 fail:
10981 return NULL;
10982 }
10983
10984
10985 SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10986 PyObject *resultobj = 0;
10987 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10988 wxString result;
10989 void *argp1 = 0 ;
10990 int res1 = 0 ;
10991 PyObject *swig_obj[1] ;
10992
10993 if (!args) SWIG_fail;
10994 swig_obj[0] = args;
10995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10996 if (!SWIG_IsOK(res1)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10998 }
10999 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (arg1)->ToText();
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 {
11007 #if wxUSE_UNICODE
11008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11009 #else
11010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11011 #endif
11012 }
11013 return resultobj;
11014 fail:
11015 return NULL;
11016 }
11017
11018
11019 SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj = 0;
11021 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11022 wxHtmlLinkInfo *arg2 = 0 ;
11023 void *argp1 = 0 ;
11024 int res1 = 0 ;
11025 void *argp2 = 0 ;
11026 int res2 = 0 ;
11027 PyObject * obj0 = 0 ;
11028 PyObject * obj1 = 0 ;
11029 char * kwnames[] = {
11030 (char *) "self",(char *) "link", NULL
11031 };
11032
11033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
11034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11035 if (!SWIG_IsOK(res1)) {
11036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11037 }
11038 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
11040 if (!SWIG_IsOK(res2)) {
11041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11042 }
11043 if (!argp2) {
11044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11045 }
11046 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 resultobj = SWIG_Py_Void();
11054 return resultobj;
11055 fail:
11056 return NULL;
11057 }
11058
11059
11060 SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj = 0;
11062 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11063 wxString *arg2 = 0 ;
11064 void *argp1 = 0 ;
11065 int res1 = 0 ;
11066 bool temp2 = false ;
11067 PyObject * obj0 = 0 ;
11068 PyObject * obj1 = 0 ;
11069 char * kwnames[] = {
11070 (char *) "self",(char *) "title", NULL
11071 };
11072
11073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11075 if (!SWIG_IsOK(res1)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11077 }
11078 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11079 {
11080 arg2 = wxString_in_helper(obj1);
11081 if (arg2 == NULL) SWIG_fail;
11082 temp2 = true;
11083 }
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 (arg1)->OnSetTitle((wxString const &)*arg2);
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 resultobj = SWIG_Py_Void();
11091 {
11092 if (temp2)
11093 delete arg2;
11094 }
11095 return resultobj;
11096 fail:
11097 {
11098 if (temp2)
11099 delete arg2;
11100 }
11101 return NULL;
11102 }
11103
11104
11105 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11106 PyObject *resultobj = 0;
11107 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11108 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11109 int arg3 ;
11110 int arg4 ;
11111 void *argp1 = 0 ;
11112 int res1 = 0 ;
11113 void *argp2 = 0 ;
11114 int res2 = 0 ;
11115 int val3 ;
11116 int ecode3 = 0 ;
11117 int val4 ;
11118 int ecode4 = 0 ;
11119 PyObject * obj0 = 0 ;
11120 PyObject * obj1 = 0 ;
11121 PyObject * obj2 = 0 ;
11122 PyObject * obj3 = 0 ;
11123 char * kwnames[] = {
11124 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11125 };
11126
11127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11129 if (!SWIG_IsOK(res1)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11131 }
11132 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11134 if (!SWIG_IsOK(res2)) {
11135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11136 }
11137 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11138 ecode3 = SWIG_AsVal_int(obj2, &val3);
11139 if (!SWIG_IsOK(ecode3)) {
11140 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11141 }
11142 arg3 = static_cast< int >(val3);
11143 ecode4 = SWIG_AsVal_int(obj3, &val4);
11144 if (!SWIG_IsOK(ecode4)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11146 }
11147 arg4 = static_cast< int >(val4);
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 resultobj = SWIG_Py_Void();
11155 return resultobj;
11156 fail:
11157 return NULL;
11158 }
11159
11160
11161 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj = 0;
11163 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11164 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11165 int arg3 ;
11166 int arg4 ;
11167 wxMouseEvent *arg5 = 0 ;
11168 bool result;
11169 void *argp1 = 0 ;
11170 int res1 = 0 ;
11171 void *argp2 = 0 ;
11172 int res2 = 0 ;
11173 int val3 ;
11174 int ecode3 = 0 ;
11175 int val4 ;
11176 int ecode4 = 0 ;
11177 void *argp5 = 0 ;
11178 int res5 = 0 ;
11179 PyObject * obj0 = 0 ;
11180 PyObject * obj1 = 0 ;
11181 PyObject * obj2 = 0 ;
11182 PyObject * obj3 = 0 ;
11183 PyObject * obj4 = 0 ;
11184 char * kwnames[] = {
11185 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11186 };
11187
11188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11190 if (!SWIG_IsOK(res1)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11192 }
11193 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11195 if (!SWIG_IsOK(res2)) {
11196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11197 }
11198 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11199 ecode3 = SWIG_AsVal_int(obj2, &val3);
11200 if (!SWIG_IsOK(ecode3)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11202 }
11203 arg3 = static_cast< int >(val3);
11204 ecode4 = SWIG_AsVal_int(obj3, &val4);
11205 if (!SWIG_IsOK(ecode4)) {
11206 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11207 }
11208 arg4 = static_cast< int >(val4);
11209 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11210 if (!SWIG_IsOK(res5)) {
11211 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11212 }
11213 if (!argp5) {
11214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11215 }
11216 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 {
11224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11225 }
11226 return resultobj;
11227 fail:
11228 return NULL;
11229 }
11230
11231
11232 SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11233 PyObject *resultobj = 0;
11234 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11235 wxHtmlURLType arg2 ;
11236 wxString *arg3 = 0 ;
11237 wxString *arg4 = (wxString *) 0 ;
11238 wxHtmlOpeningStatus result;
11239 void *argp1 = 0 ;
11240 int res1 = 0 ;
11241 int val2 ;
11242 int ecode2 = 0 ;
11243 bool temp3 = false ;
11244 bool temp4 = false ;
11245 PyObject * obj0 = 0 ;
11246 PyObject * obj1 = 0 ;
11247 PyObject * obj2 = 0 ;
11248 PyObject * obj3 = 0 ;
11249 char * kwnames[] = {
11250 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11251 };
11252
11253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11255 if (!SWIG_IsOK(res1)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11257 }
11258 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11259 ecode2 = SWIG_AsVal_int(obj1, &val2);
11260 if (!SWIG_IsOK(ecode2)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11262 }
11263 arg2 = static_cast< wxHtmlURLType >(val2);
11264 {
11265 arg3 = wxString_in_helper(obj2);
11266 if (arg3 == NULL) SWIG_fail;
11267 temp3 = true;
11268 }
11269 {
11270 arg4 = wxString_in_helper(obj3);
11271 if (arg4 == NULL) SWIG_fail;
11272 temp4 = true;
11273 }
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 resultobj = SWIG_From_int(static_cast< int >(result));
11281 {
11282 if (temp3)
11283 delete arg3;
11284 }
11285 {
11286 if (temp4)
11287 delete arg4;
11288 }
11289 return resultobj;
11290 fail:
11291 {
11292 if (temp3)
11293 delete arg3;
11294 }
11295 {
11296 if (temp4)
11297 delete arg4;
11298 }
11299 return NULL;
11300 }
11301
11302
11303 SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj = 0;
11305 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11306 SwigValueWrapper<wxVisualAttributes > result;
11307 int val1 ;
11308 int ecode1 = 0 ;
11309 PyObject * obj0 = 0 ;
11310 char * kwnames[] = {
11311 (char *) "variant", NULL
11312 };
11313
11314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11315 if (obj0) {
11316 ecode1 = SWIG_AsVal_int(obj0, &val1);
11317 if (!SWIG_IsOK(ecode1)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11319 }
11320 arg1 = static_cast< wxWindowVariant >(val1);
11321 }
11322 {
11323 if (!wxPyCheckForApp()) SWIG_fail;
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj = 0;
11338 wxPyHtmlWindow::HTMLCursor arg1 ;
11339 wxCursor result;
11340 int val1 ;
11341 int ecode1 = 0 ;
11342 PyObject * obj0 = 0 ;
11343 char * kwnames[] = {
11344 (char *) "type", NULL
11345 };
11346
11347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11348 ecode1 = SWIG_AsVal_int(obj0, &val1);
11349 if (!SWIG_IsOK(ecode1)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11351 }
11352 arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11367 PyObject *obj;
11368 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11369 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11370 return SWIG_Py_Void();
11371 }
11372
11373 SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11374 return SWIG_Python_InitShadowInstance(args);
11375 }
11376
11377 SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11378 PyObject *resultobj = 0;
11379 wxHtmlDCRenderer *result = 0 ;
11380
11381 if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11382 {
11383 if (!wxPyCheckForApp()) SWIG_fail;
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11390 return resultobj;
11391 fail:
11392 return NULL;
11393 }
11394
11395
11396 SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11397 PyObject *resultobj = 0;
11398 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11399 void *argp1 = 0 ;
11400 int res1 = 0 ;
11401 PyObject *swig_obj[1] ;
11402
11403 if (!args) SWIG_fail;
11404 swig_obj[0] = args;
11405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11406 if (!SWIG_IsOK(res1)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11408 }
11409 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 delete arg1;
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 resultobj = SWIG_Py_Void();
11418 return resultobj;
11419 fail:
11420 return NULL;
11421 }
11422
11423
11424 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj = 0;
11426 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11427 wxDC *arg2 = (wxDC *) 0 ;
11428 int arg3 ;
11429 void *argp1 = 0 ;
11430 int res1 = 0 ;
11431 void *argp2 = 0 ;
11432 int res2 = 0 ;
11433 int val3 ;
11434 int ecode3 = 0 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 PyObject * obj2 = 0 ;
11438 char * kwnames[] = {
11439 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11440 };
11441
11442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11444 if (!SWIG_IsOK(res1)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11446 }
11447 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11448 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11449 if (!SWIG_IsOK(res2)) {
11450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11451 }
11452 arg2 = reinterpret_cast< wxDC * >(argp2);
11453 ecode3 = SWIG_AsVal_int(obj2, &val3);
11454 if (!SWIG_IsOK(ecode3)) {
11455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11456 }
11457 arg3 = static_cast< int >(val3);
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 (arg1)->SetDC(arg2,arg3);
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 resultobj = SWIG_Py_Void();
11465 return resultobj;
11466 fail:
11467 return NULL;
11468 }
11469
11470
11471 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj = 0;
11473 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11474 int arg2 ;
11475 int arg3 ;
11476 void *argp1 = 0 ;
11477 int res1 = 0 ;
11478 int val2 ;
11479 int ecode2 = 0 ;
11480 int val3 ;
11481 int ecode3 = 0 ;
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484 PyObject * obj2 = 0 ;
11485 char * kwnames[] = {
11486 (char *) "self",(char *) "width",(char *) "height", NULL
11487 };
11488
11489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11491 if (!SWIG_IsOK(res1)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11493 }
11494 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11495 ecode2 = SWIG_AsVal_int(obj1, &val2);
11496 if (!SWIG_IsOK(ecode2)) {
11497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11498 }
11499 arg2 = static_cast< int >(val2);
11500 ecode3 = SWIG_AsVal_int(obj2, &val3);
11501 if (!SWIG_IsOK(ecode3)) {
11502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11503 }
11504 arg3 = static_cast< int >(val3);
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->SetSize(arg2,arg3);
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 resultobj = SWIG_Py_Void();
11512 return resultobj;
11513 fail:
11514 return NULL;
11515 }
11516
11517
11518 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj = 0;
11520 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11521 wxString *arg2 = 0 ;
11522 wxString const &arg3_defvalue = wxPyEmptyString ;
11523 wxString *arg3 = (wxString *) &arg3_defvalue ;
11524 bool arg4 = (bool) true ;
11525 void *argp1 = 0 ;
11526 int res1 = 0 ;
11527 bool temp2 = false ;
11528 bool temp3 = false ;
11529 bool val4 ;
11530 int ecode4 = 0 ;
11531 PyObject * obj0 = 0 ;
11532 PyObject * obj1 = 0 ;
11533 PyObject * obj2 = 0 ;
11534 PyObject * obj3 = 0 ;
11535 char * kwnames[] = {
11536 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11537 };
11538
11539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11541 if (!SWIG_IsOK(res1)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11543 }
11544 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11545 {
11546 arg2 = wxString_in_helper(obj1);
11547 if (arg2 == NULL) SWIG_fail;
11548 temp2 = true;
11549 }
11550 if (obj2) {
11551 {
11552 arg3 = wxString_in_helper(obj2);
11553 if (arg3 == NULL) SWIG_fail;
11554 temp3 = true;
11555 }
11556 }
11557 if (obj3) {
11558 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11559 if (!SWIG_IsOK(ecode4)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11561 }
11562 arg4 = static_cast< bool >(val4);
11563 }
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11567 wxPyEndAllowThreads(__tstate);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 resultobj = SWIG_Py_Void();
11571 {
11572 if (temp2)
11573 delete arg2;
11574 }
11575 {
11576 if (temp3)
11577 delete arg3;
11578 }
11579 return resultobj;
11580 fail:
11581 {
11582 if (temp2)
11583 delete arg2;
11584 }
11585 {
11586 if (temp3)
11587 delete arg3;
11588 }
11589 return NULL;
11590 }
11591
11592
11593 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj = 0;
11595 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11596 wxString arg2 ;
11597 wxString arg3 ;
11598 PyObject *arg4 = (PyObject *) NULL ;
11599 void *argp1 = 0 ;
11600 int res1 = 0 ;
11601 PyObject * obj0 = 0 ;
11602 PyObject * obj1 = 0 ;
11603 PyObject * obj2 = 0 ;
11604 PyObject * obj3 = 0 ;
11605 char * kwnames[] = {
11606 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11607 };
11608
11609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11611 if (!SWIG_IsOK(res1)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11613 }
11614 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11615 {
11616 wxString* sptr = wxString_in_helper(obj1);
11617 if (sptr == NULL) SWIG_fail;
11618 arg2 = *sptr;
11619 delete sptr;
11620 }
11621 {
11622 wxString* sptr = wxString_in_helper(obj2);
11623 if (sptr == NULL) SWIG_fail;
11624 arg3 = *sptr;
11625 delete sptr;
11626 }
11627 if (obj3) {
11628 arg4 = obj3;
11629 }
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 resultobj = SWIG_Py_Void();
11637 return resultobj;
11638 fail:
11639 return NULL;
11640 }
11641
11642
11643 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj = 0;
11645 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11646 int arg2 = (int) -1 ;
11647 wxString const &arg3_defvalue = wxPyEmptyString ;
11648 wxString *arg3 = (wxString *) &arg3_defvalue ;
11649 wxString const &arg4_defvalue = wxPyEmptyString ;
11650 wxString *arg4 = (wxString *) &arg4_defvalue ;
11651 void *argp1 = 0 ;
11652 int res1 = 0 ;
11653 int val2 ;
11654 int ecode2 = 0 ;
11655 bool temp3 = false ;
11656 bool temp4 = false ;
11657 PyObject * obj0 = 0 ;
11658 PyObject * obj1 = 0 ;
11659 PyObject * obj2 = 0 ;
11660 PyObject * obj3 = 0 ;
11661 char * kwnames[] = {
11662 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11663 };
11664
11665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11667 if (!SWIG_IsOK(res1)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11669 }
11670 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11671 if (obj1) {
11672 ecode2 = SWIG_AsVal_int(obj1, &val2);
11673 if (!SWIG_IsOK(ecode2)) {
11674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11675 }
11676 arg2 = static_cast< int >(val2);
11677 }
11678 if (obj2) {
11679 {
11680 arg3 = wxString_in_helper(obj2);
11681 if (arg3 == NULL) SWIG_fail;
11682 temp3 = true;
11683 }
11684 }
11685 if (obj3) {
11686 {
11687 arg4 = wxString_in_helper(obj3);
11688 if (arg4 == NULL) SWIG_fail;
11689 temp4 = true;
11690 }
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 resultobj = SWIG_Py_Void();
11699 {
11700 if (temp3)
11701 delete arg3;
11702 }
11703 {
11704 if (temp4)
11705 delete arg4;
11706 }
11707 return resultobj;
11708 fail:
11709 {
11710 if (temp3)
11711 delete arg3;
11712 }
11713 {
11714 if (temp4)
11715 delete arg4;
11716 }
11717 return NULL;
11718 }
11719
11720
11721 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj = 0;
11723 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11724 int arg2 ;
11725 int arg3 ;
11726 wxArrayInt *arg4 = 0 ;
11727 int arg5 = (int) 0 ;
11728 int arg6 = (int) FALSE ;
11729 int arg7 = (int) INT_MAX ;
11730 int result;
11731 void *argp1 = 0 ;
11732 int res1 = 0 ;
11733 int val2 ;
11734 int ecode2 = 0 ;
11735 int val3 ;
11736 int ecode3 = 0 ;
11737 bool temp4 = false ;
11738 int val5 ;
11739 int ecode5 = 0 ;
11740 int val6 ;
11741 int ecode6 = 0 ;
11742 int val7 ;
11743 int ecode7 = 0 ;
11744 PyObject * obj0 = 0 ;
11745 PyObject * obj1 = 0 ;
11746 PyObject * obj2 = 0 ;
11747 PyObject * obj3 = 0 ;
11748 PyObject * obj4 = 0 ;
11749 PyObject * obj5 = 0 ;
11750 PyObject * obj6 = 0 ;
11751 char * kwnames[] = {
11752 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11753 };
11754
11755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11757 if (!SWIG_IsOK(res1)) {
11758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11759 }
11760 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11761 ecode2 = SWIG_AsVal_int(obj1, &val2);
11762 if (!SWIG_IsOK(ecode2)) {
11763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11764 }
11765 arg2 = static_cast< int >(val2);
11766 ecode3 = SWIG_AsVal_int(obj2, &val3);
11767 if (!SWIG_IsOK(ecode3)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11769 }
11770 arg3 = static_cast< int >(val3);
11771 {
11772 if (! PySequence_Check(obj3)) {
11773 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11774 SWIG_fail;
11775 }
11776 arg4 = new wxArrayInt;
11777 temp4 = true;
11778 int i, len=PySequence_Length(obj3);
11779 for (i=0; i<len; i++) {
11780 PyObject* item = PySequence_GetItem(obj3, i);
11781 PyObject* number = PyNumber_Int(item);
11782 arg4->Add(PyInt_AS_LONG(number));
11783 Py_DECREF(item);
11784 Py_DECREF(number);
11785 }
11786 }
11787 if (obj4) {
11788 ecode5 = SWIG_AsVal_int(obj4, &val5);
11789 if (!SWIG_IsOK(ecode5)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11791 }
11792 arg5 = static_cast< int >(val5);
11793 }
11794 if (obj5) {
11795 ecode6 = SWIG_AsVal_int(obj5, &val6);
11796 if (!SWIG_IsOK(ecode6)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11798 }
11799 arg6 = static_cast< int >(val6);
11800 }
11801 if (obj6) {
11802 ecode7 = SWIG_AsVal_int(obj6, &val7);
11803 if (!SWIG_IsOK(ecode7)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11805 }
11806 arg7 = static_cast< int >(val7);
11807 }
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = SWIG_From_int(static_cast< int >(result));
11815 {
11816 if (temp4) delete arg4;
11817 }
11818 return resultobj;
11819 fail:
11820 {
11821 if (temp4) delete arg4;
11822 }
11823 return NULL;
11824 }
11825
11826
11827 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11828 PyObject *resultobj = 0;
11829 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11830 int result;
11831 void *argp1 = 0 ;
11832 int res1 = 0 ;
11833 PyObject *swig_obj[1] ;
11834
11835 if (!args) SWIG_fail;
11836 swig_obj[0] = args;
11837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11838 if (!SWIG_IsOK(res1)) {
11839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11840 }
11841 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 result = (int)(arg1)->GetTotalHeight();
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 resultobj = SWIG_From_int(static_cast< int >(result));
11849 return resultobj;
11850 fail:
11851 return NULL;
11852 }
11853
11854
11855 SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11856 PyObject *obj;
11857 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11858 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11859 return SWIG_Py_Void();
11860 }
11861
11862 SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11863 return SWIG_Python_InitShadowInstance(args);
11864 }
11865
11866 SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj = 0;
11868 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11869 wxString *arg1 = (wxString *) &arg1_defvalue ;
11870 wxHtmlPrintout *result = 0 ;
11871 bool temp1 = false ;
11872 PyObject * obj0 = 0 ;
11873 char * kwnames[] = {
11874 (char *) "title", NULL
11875 };
11876
11877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11878 if (obj0) {
11879 {
11880 arg1 = wxString_in_helper(obj0);
11881 if (arg1 == NULL) SWIG_fail;
11882 temp1 = true;
11883 }
11884 }
11885 {
11886 if (!wxPyCheckForApp()) SWIG_fail;
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11893 {
11894 if (temp1)
11895 delete arg1;
11896 }
11897 return resultobj;
11898 fail:
11899 {
11900 if (temp1)
11901 delete arg1;
11902 }
11903 return NULL;
11904 }
11905
11906
11907 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj = 0;
11909 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11910 wxString *arg2 = 0 ;
11911 wxString const &arg3_defvalue = wxPyEmptyString ;
11912 wxString *arg3 = (wxString *) &arg3_defvalue ;
11913 bool arg4 = (bool) true ;
11914 void *argp1 = 0 ;
11915 int res1 = 0 ;
11916 bool temp2 = false ;
11917 bool temp3 = false ;
11918 bool val4 ;
11919 int ecode4 = 0 ;
11920 PyObject * obj0 = 0 ;
11921 PyObject * obj1 = 0 ;
11922 PyObject * obj2 = 0 ;
11923 PyObject * obj3 = 0 ;
11924 char * kwnames[] = {
11925 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11926 };
11927
11928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11930 if (!SWIG_IsOK(res1)) {
11931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11932 }
11933 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11934 {
11935 arg2 = wxString_in_helper(obj1);
11936 if (arg2 == NULL) SWIG_fail;
11937 temp2 = true;
11938 }
11939 if (obj2) {
11940 {
11941 arg3 = wxString_in_helper(obj2);
11942 if (arg3 == NULL) SWIG_fail;
11943 temp3 = true;
11944 }
11945 }
11946 if (obj3) {
11947 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11948 if (!SWIG_IsOK(ecode4)) {
11949 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11950 }
11951 arg4 = static_cast< bool >(val4);
11952 }
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 resultobj = SWIG_Py_Void();
11960 {
11961 if (temp2)
11962 delete arg2;
11963 }
11964 {
11965 if (temp3)
11966 delete arg3;
11967 }
11968 return resultobj;
11969 fail:
11970 {
11971 if (temp2)
11972 delete arg2;
11973 }
11974 {
11975 if (temp3)
11976 delete arg3;
11977 }
11978 return NULL;
11979 }
11980
11981
11982 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11983 PyObject *resultobj = 0;
11984 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11985 wxString *arg2 = 0 ;
11986 void *argp1 = 0 ;
11987 int res1 = 0 ;
11988 bool temp2 = false ;
11989 PyObject * obj0 = 0 ;
11990 PyObject * obj1 = 0 ;
11991 char * kwnames[] = {
11992 (char *) "self",(char *) "htmlfile", NULL
11993 };
11994
11995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
11996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11997 if (!SWIG_IsOK(res1)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11999 }
12000 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12001 {
12002 arg2 = wxString_in_helper(obj1);
12003 if (arg2 == NULL) SWIG_fail;
12004 temp2 = true;
12005 }
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 (arg1)->SetHtmlFile((wxString const &)*arg2);
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 resultobj = SWIG_Py_Void();
12013 {
12014 if (temp2)
12015 delete arg2;
12016 }
12017 return resultobj;
12018 fail:
12019 {
12020 if (temp2)
12021 delete arg2;
12022 }
12023 return NULL;
12024 }
12025
12026
12027 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj = 0;
12029 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12030 wxString *arg2 = 0 ;
12031 int arg3 = (int) wxPAGE_ALL ;
12032 void *argp1 = 0 ;
12033 int res1 = 0 ;
12034 bool temp2 = false ;
12035 int val3 ;
12036 int ecode3 = 0 ;
12037 PyObject * obj0 = 0 ;
12038 PyObject * obj1 = 0 ;
12039 PyObject * obj2 = 0 ;
12040 char * kwnames[] = {
12041 (char *) "self",(char *) "header",(char *) "pg", NULL
12042 };
12043
12044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12046 if (!SWIG_IsOK(res1)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12048 }
12049 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12050 {
12051 arg2 = wxString_in_helper(obj1);
12052 if (arg2 == NULL) SWIG_fail;
12053 temp2 = true;
12054 }
12055 if (obj2) {
12056 ecode3 = SWIG_AsVal_int(obj2, &val3);
12057 if (!SWIG_IsOK(ecode3)) {
12058 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12059 }
12060 arg3 = static_cast< int >(val3);
12061 }
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = SWIG_Py_Void();
12069 {
12070 if (temp2)
12071 delete arg2;
12072 }
12073 return resultobj;
12074 fail:
12075 {
12076 if (temp2)
12077 delete arg2;
12078 }
12079 return NULL;
12080 }
12081
12082
12083 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj = 0;
12085 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12086 wxString *arg2 = 0 ;
12087 int arg3 = (int) wxPAGE_ALL ;
12088 void *argp1 = 0 ;
12089 int res1 = 0 ;
12090 bool temp2 = false ;
12091 int val3 ;
12092 int ecode3 = 0 ;
12093 PyObject * obj0 = 0 ;
12094 PyObject * obj1 = 0 ;
12095 PyObject * obj2 = 0 ;
12096 char * kwnames[] = {
12097 (char *) "self",(char *) "footer",(char *) "pg", NULL
12098 };
12099
12100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12102 if (!SWIG_IsOK(res1)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12104 }
12105 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12106 {
12107 arg2 = wxString_in_helper(obj1);
12108 if (arg2 == NULL) SWIG_fail;
12109 temp2 = true;
12110 }
12111 if (obj2) {
12112 ecode3 = SWIG_AsVal_int(obj2, &val3);
12113 if (!SWIG_IsOK(ecode3)) {
12114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12115 }
12116 arg3 = static_cast< int >(val3);
12117 }
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 resultobj = SWIG_Py_Void();
12125 {
12126 if (temp2)
12127 delete arg2;
12128 }
12129 return resultobj;
12130 fail:
12131 {
12132 if (temp2)
12133 delete arg2;
12134 }
12135 return NULL;
12136 }
12137
12138
12139 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj = 0;
12141 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12142 wxString arg2 ;
12143 wxString arg3 ;
12144 PyObject *arg4 = (PyObject *) NULL ;
12145 void *argp1 = 0 ;
12146 int res1 = 0 ;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 PyObject * obj2 = 0 ;
12150 PyObject * obj3 = 0 ;
12151 char * kwnames[] = {
12152 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12153 };
12154
12155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12157 if (!SWIG_IsOK(res1)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12159 }
12160 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12161 {
12162 wxString* sptr = wxString_in_helper(obj1);
12163 if (sptr == NULL) SWIG_fail;
12164 arg2 = *sptr;
12165 delete sptr;
12166 }
12167 {
12168 wxString* sptr = wxString_in_helper(obj2);
12169 if (sptr == NULL) SWIG_fail;
12170 arg3 = *sptr;
12171 delete sptr;
12172 }
12173 if (obj3) {
12174 arg4 = obj3;
12175 }
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 resultobj = SWIG_Py_Void();
12183 return resultobj;
12184 fail:
12185 return NULL;
12186 }
12187
12188
12189 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj = 0;
12191 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12192 int arg2 = (int) -1 ;
12193 wxString const &arg3_defvalue = wxPyEmptyString ;
12194 wxString *arg3 = (wxString *) &arg3_defvalue ;
12195 wxString const &arg4_defvalue = wxPyEmptyString ;
12196 wxString *arg4 = (wxString *) &arg4_defvalue ;
12197 void *argp1 = 0 ;
12198 int res1 = 0 ;
12199 int val2 ;
12200 int ecode2 = 0 ;
12201 bool temp3 = false ;
12202 bool temp4 = false ;
12203 PyObject * obj0 = 0 ;
12204 PyObject * obj1 = 0 ;
12205 PyObject * obj2 = 0 ;
12206 PyObject * obj3 = 0 ;
12207 char * kwnames[] = {
12208 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12209 };
12210
12211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12213 if (!SWIG_IsOK(res1)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12215 }
12216 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12217 if (obj1) {
12218 ecode2 = SWIG_AsVal_int(obj1, &val2);
12219 if (!SWIG_IsOK(ecode2)) {
12220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12221 }
12222 arg2 = static_cast< int >(val2);
12223 }
12224 if (obj2) {
12225 {
12226 arg3 = wxString_in_helper(obj2);
12227 if (arg3 == NULL) SWIG_fail;
12228 temp3 = true;
12229 }
12230 }
12231 if (obj3) {
12232 {
12233 arg4 = wxString_in_helper(obj3);
12234 if (arg4 == NULL) SWIG_fail;
12235 temp4 = true;
12236 }
12237 }
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
12244 resultobj = SWIG_Py_Void();
12245 {
12246 if (temp3)
12247 delete arg3;
12248 }
12249 {
12250 if (temp4)
12251 delete arg4;
12252 }
12253 return resultobj;
12254 fail:
12255 {
12256 if (temp3)
12257 delete arg3;
12258 }
12259 {
12260 if (temp4)
12261 delete arg4;
12262 }
12263 return NULL;
12264 }
12265
12266
12267 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj = 0;
12269 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12270 float arg2 = (float) 25.2 ;
12271 float arg3 = (float) 25.2 ;
12272 float arg4 = (float) 25.2 ;
12273 float arg5 = (float) 25.2 ;
12274 float arg6 = (float) 5 ;
12275 void *argp1 = 0 ;
12276 int res1 = 0 ;
12277 float val2 ;
12278 int ecode2 = 0 ;
12279 float val3 ;
12280 int ecode3 = 0 ;
12281 float val4 ;
12282 int ecode4 = 0 ;
12283 float val5 ;
12284 int ecode5 = 0 ;
12285 float val6 ;
12286 int ecode6 = 0 ;
12287 PyObject * obj0 = 0 ;
12288 PyObject * obj1 = 0 ;
12289 PyObject * obj2 = 0 ;
12290 PyObject * obj3 = 0 ;
12291 PyObject * obj4 = 0 ;
12292 PyObject * obj5 = 0 ;
12293 char * kwnames[] = {
12294 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12295 };
12296
12297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12299 if (!SWIG_IsOK(res1)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12301 }
12302 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12303 if (obj1) {
12304 ecode2 = SWIG_AsVal_float(obj1, &val2);
12305 if (!SWIG_IsOK(ecode2)) {
12306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12307 }
12308 arg2 = static_cast< float >(val2);
12309 }
12310 if (obj2) {
12311 ecode3 = SWIG_AsVal_float(obj2, &val3);
12312 if (!SWIG_IsOK(ecode3)) {
12313 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12314 }
12315 arg3 = static_cast< float >(val3);
12316 }
12317 if (obj3) {
12318 ecode4 = SWIG_AsVal_float(obj3, &val4);
12319 if (!SWIG_IsOK(ecode4)) {
12320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12321 }
12322 arg4 = static_cast< float >(val4);
12323 }
12324 if (obj4) {
12325 ecode5 = SWIG_AsVal_float(obj4, &val5);
12326 if (!SWIG_IsOK(ecode5)) {
12327 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12328 }
12329 arg5 = static_cast< float >(val5);
12330 }
12331 if (obj5) {
12332 ecode6 = SWIG_AsVal_float(obj5, &val6);
12333 if (!SWIG_IsOK(ecode6)) {
12334 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12335 }
12336 arg6 = static_cast< float >(val6);
12337 }
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 resultobj = SWIG_Py_Void();
12345 return resultobj;
12346 fail:
12347 return NULL;
12348 }
12349
12350
12351 SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj = 0;
12353 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12354 void *argp1 = 0 ;
12355 int res1 = 0 ;
12356 PyObject * obj0 = 0 ;
12357 char * kwnames[] = {
12358 (char *) "filter", NULL
12359 };
12360
12361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12363 if (!SWIG_IsOK(res1)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12365 }
12366 arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 wxHtmlPrintout::AddFilter(arg1);
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = SWIG_Py_Void();
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12381 PyObject *resultobj = 0;
12382
12383 if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 wxHtmlPrintout::CleanUpStatics();
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 resultobj = SWIG_Py_Void();
12391 return resultobj;
12392 fail:
12393 return NULL;
12394 }
12395
12396
12397 SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12398 PyObject *obj;
12399 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12400 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12401 return SWIG_Py_Void();
12402 }
12403
12404 SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12405 return SWIG_Python_InitShadowInstance(args);
12406 }
12407
12408 SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj = 0;
12410 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12411 wxString *arg1 = (wxString *) &arg1_defvalue ;
12412 wxWindow *arg2 = (wxWindow *) NULL ;
12413 wxHtmlEasyPrinting *result = 0 ;
12414 bool temp1 = false ;
12415 void *argp2 = 0 ;
12416 int res2 = 0 ;
12417 PyObject * obj0 = 0 ;
12418 PyObject * obj1 = 0 ;
12419 char * kwnames[] = {
12420 (char *) "name",(char *) "parentWindow", NULL
12421 };
12422
12423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12424 if (obj0) {
12425 {
12426 arg1 = wxString_in_helper(obj0);
12427 if (arg1 == NULL) SWIG_fail;
12428 temp1 = true;
12429 }
12430 }
12431 if (obj1) {
12432 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12433 if (!SWIG_IsOK(res2)) {
12434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12435 }
12436 arg2 = reinterpret_cast< wxWindow * >(argp2);
12437 }
12438 {
12439 if (!wxPyCheckForApp()) SWIG_fail;
12440 PyThreadState* __tstate = wxPyBeginAllowThreads();
12441 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12446 {
12447 if (temp1)
12448 delete arg1;
12449 }
12450 return resultobj;
12451 fail:
12452 {
12453 if (temp1)
12454 delete arg1;
12455 }
12456 return NULL;
12457 }
12458
12459
12460 SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12461 PyObject *resultobj = 0;
12462 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12463 void *argp1 = 0 ;
12464 int res1 = 0 ;
12465 PyObject *swig_obj[1] ;
12466
12467 if (!args) SWIG_fail;
12468 swig_obj[0] = args;
12469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12470 if (!SWIG_IsOK(res1)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12472 }
12473 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 delete arg1;
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = SWIG_Py_Void();
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj = 0;
12490 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12491 wxString *arg2 = 0 ;
12492 void *argp1 = 0 ;
12493 int res1 = 0 ;
12494 bool temp2 = false ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 char * kwnames[] = {
12498 (char *) "self",(char *) "htmlfile", NULL
12499 };
12500
12501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12503 if (!SWIG_IsOK(res1)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12505 }
12506 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12507 {
12508 arg2 = wxString_in_helper(obj1);
12509 if (arg2 == NULL) SWIG_fail;
12510 temp2 = true;
12511 }
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 (arg1)->PreviewFile((wxString const &)*arg2);
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 resultobj = SWIG_Py_Void();
12519 {
12520 if (temp2)
12521 delete arg2;
12522 }
12523 return resultobj;
12524 fail:
12525 {
12526 if (temp2)
12527 delete arg2;
12528 }
12529 return NULL;
12530 }
12531
12532
12533 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj = 0;
12535 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12536 wxString *arg2 = 0 ;
12537 wxString const &arg3_defvalue = wxPyEmptyString ;
12538 wxString *arg3 = (wxString *) &arg3_defvalue ;
12539 void *argp1 = 0 ;
12540 int res1 = 0 ;
12541 bool temp2 = false ;
12542 bool temp3 = false ;
12543 PyObject * obj0 = 0 ;
12544 PyObject * obj1 = 0 ;
12545 PyObject * obj2 = 0 ;
12546 char * kwnames[] = {
12547 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12548 };
12549
12550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12552 if (!SWIG_IsOK(res1)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12554 }
12555 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12556 {
12557 arg2 = wxString_in_helper(obj1);
12558 if (arg2 == NULL) SWIG_fail;
12559 temp2 = true;
12560 }
12561 if (obj2) {
12562 {
12563 arg3 = wxString_in_helper(obj2);
12564 if (arg3 == NULL) SWIG_fail;
12565 temp3 = true;
12566 }
12567 }
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 resultobj = SWIG_Py_Void();
12575 {
12576 if (temp2)
12577 delete arg2;
12578 }
12579 {
12580 if (temp3)
12581 delete arg3;
12582 }
12583 return resultobj;
12584 fail:
12585 {
12586 if (temp2)
12587 delete arg2;
12588 }
12589 {
12590 if (temp3)
12591 delete arg3;
12592 }
12593 return NULL;
12594 }
12595
12596
12597 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj = 0;
12599 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12600 wxString *arg2 = 0 ;
12601 void *argp1 = 0 ;
12602 int res1 = 0 ;
12603 bool temp2 = false ;
12604 PyObject * obj0 = 0 ;
12605 PyObject * obj1 = 0 ;
12606 char * kwnames[] = {
12607 (char *) "self",(char *) "htmlfile", NULL
12608 };
12609
12610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12612 if (!SWIG_IsOK(res1)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12614 }
12615 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12616 {
12617 arg2 = wxString_in_helper(obj1);
12618 if (arg2 == NULL) SWIG_fail;
12619 temp2 = true;
12620 }
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 (arg1)->PrintFile((wxString const &)*arg2);
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = SWIG_Py_Void();
12628 {
12629 if (temp2)
12630 delete arg2;
12631 }
12632 return resultobj;
12633 fail:
12634 {
12635 if (temp2)
12636 delete arg2;
12637 }
12638 return NULL;
12639 }
12640
12641
12642 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj = 0;
12644 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12645 wxString *arg2 = 0 ;
12646 wxString const &arg3_defvalue = wxPyEmptyString ;
12647 wxString *arg3 = (wxString *) &arg3_defvalue ;
12648 void *argp1 = 0 ;
12649 int res1 = 0 ;
12650 bool temp2 = false ;
12651 bool temp3 = false ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 PyObject * obj2 = 0 ;
12655 char * kwnames[] = {
12656 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12657 };
12658
12659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12661 if (!SWIG_IsOK(res1)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12663 }
12664 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12665 {
12666 arg2 = wxString_in_helper(obj1);
12667 if (arg2 == NULL) SWIG_fail;
12668 temp2 = true;
12669 }
12670 if (obj2) {
12671 {
12672 arg3 = wxString_in_helper(obj2);
12673 if (arg3 == NULL) SWIG_fail;
12674 temp3 = true;
12675 }
12676 }
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 resultobj = SWIG_Py_Void();
12684 {
12685 if (temp2)
12686 delete arg2;
12687 }
12688 {
12689 if (temp3)
12690 delete arg3;
12691 }
12692 return resultobj;
12693 fail:
12694 {
12695 if (temp2)
12696 delete arg2;
12697 }
12698 {
12699 if (temp3)
12700 delete arg3;
12701 }
12702 return NULL;
12703 }
12704
12705
12706 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12707 PyObject *resultobj = 0;
12708 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12709 void *argp1 = 0 ;
12710 int res1 = 0 ;
12711 PyObject *swig_obj[1] ;
12712
12713 if (!args) SWIG_fail;
12714 swig_obj[0] = args;
12715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12716 if (!SWIG_IsOK(res1)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12718 }
12719 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 (arg1)->PageSetup();
12723 wxPyEndAllowThreads(__tstate);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 resultobj = SWIG_Py_Void();
12727 return resultobj;
12728 fail:
12729 return NULL;
12730 }
12731
12732
12733 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj = 0;
12735 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12736 wxString *arg2 = 0 ;
12737 int arg3 = (int) wxPAGE_ALL ;
12738 void *argp1 = 0 ;
12739 int res1 = 0 ;
12740 bool temp2 = false ;
12741 int val3 ;
12742 int ecode3 = 0 ;
12743 PyObject * obj0 = 0 ;
12744 PyObject * obj1 = 0 ;
12745 PyObject * obj2 = 0 ;
12746 char * kwnames[] = {
12747 (char *) "self",(char *) "header",(char *) "pg", NULL
12748 };
12749
12750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12752 if (!SWIG_IsOK(res1)) {
12753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12754 }
12755 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12756 {
12757 arg2 = wxString_in_helper(obj1);
12758 if (arg2 == NULL) SWIG_fail;
12759 temp2 = true;
12760 }
12761 if (obj2) {
12762 ecode3 = SWIG_AsVal_int(obj2, &val3);
12763 if (!SWIG_IsOK(ecode3)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12765 }
12766 arg3 = static_cast< int >(val3);
12767 }
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = SWIG_Py_Void();
12775 {
12776 if (temp2)
12777 delete arg2;
12778 }
12779 return resultobj;
12780 fail:
12781 {
12782 if (temp2)
12783 delete arg2;
12784 }
12785 return NULL;
12786 }
12787
12788
12789 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj = 0;
12791 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12792 wxString *arg2 = 0 ;
12793 int arg3 = (int) wxPAGE_ALL ;
12794 void *argp1 = 0 ;
12795 int res1 = 0 ;
12796 bool temp2 = false ;
12797 int val3 ;
12798 int ecode3 = 0 ;
12799 PyObject * obj0 = 0 ;
12800 PyObject * obj1 = 0 ;
12801 PyObject * obj2 = 0 ;
12802 char * kwnames[] = {
12803 (char *) "self",(char *) "footer",(char *) "pg", NULL
12804 };
12805
12806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12808 if (!SWIG_IsOK(res1)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12810 }
12811 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12812 {
12813 arg2 = wxString_in_helper(obj1);
12814 if (arg2 == NULL) SWIG_fail;
12815 temp2 = true;
12816 }
12817 if (obj2) {
12818 ecode3 = SWIG_AsVal_int(obj2, &val3);
12819 if (!SWIG_IsOK(ecode3)) {
12820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12821 }
12822 arg3 = static_cast< int >(val3);
12823 }
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 resultobj = SWIG_Py_Void();
12831 {
12832 if (temp2)
12833 delete arg2;
12834 }
12835 return resultobj;
12836 fail:
12837 {
12838 if (temp2)
12839 delete arg2;
12840 }
12841 return NULL;
12842 }
12843
12844
12845 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj = 0;
12847 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12848 wxString arg2 ;
12849 wxString arg3 ;
12850 PyObject *arg4 = (PyObject *) NULL ;
12851 void *argp1 = 0 ;
12852 int res1 = 0 ;
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
12855 PyObject * obj2 = 0 ;
12856 PyObject * obj3 = 0 ;
12857 char * kwnames[] = {
12858 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12859 };
12860
12861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12863 if (!SWIG_IsOK(res1)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12865 }
12866 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12867 {
12868 wxString* sptr = wxString_in_helper(obj1);
12869 if (sptr == NULL) SWIG_fail;
12870 arg2 = *sptr;
12871 delete sptr;
12872 }
12873 {
12874 wxString* sptr = wxString_in_helper(obj2);
12875 if (sptr == NULL) SWIG_fail;
12876 arg3 = *sptr;
12877 delete sptr;
12878 }
12879 if (obj3) {
12880 arg4 = obj3;
12881 }
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 resultobj = SWIG_Py_Void();
12889 return resultobj;
12890 fail:
12891 return NULL;
12892 }
12893
12894
12895 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12896 PyObject *resultobj = 0;
12897 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12898 int arg2 = (int) -1 ;
12899 wxString const &arg3_defvalue = wxPyEmptyString ;
12900 wxString *arg3 = (wxString *) &arg3_defvalue ;
12901 wxString const &arg4_defvalue = wxPyEmptyString ;
12902 wxString *arg4 = (wxString *) &arg4_defvalue ;
12903 void *argp1 = 0 ;
12904 int res1 = 0 ;
12905 int val2 ;
12906 int ecode2 = 0 ;
12907 bool temp3 = false ;
12908 bool temp4 = false ;
12909 PyObject * obj0 = 0 ;
12910 PyObject * obj1 = 0 ;
12911 PyObject * obj2 = 0 ;
12912 PyObject * obj3 = 0 ;
12913 char * kwnames[] = {
12914 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12915 };
12916
12917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12919 if (!SWIG_IsOK(res1)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12921 }
12922 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12923 if (obj1) {
12924 ecode2 = SWIG_AsVal_int(obj1, &val2);
12925 if (!SWIG_IsOK(ecode2)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12927 }
12928 arg2 = static_cast< int >(val2);
12929 }
12930 if (obj2) {
12931 {
12932 arg3 = wxString_in_helper(obj2);
12933 if (arg3 == NULL) SWIG_fail;
12934 temp3 = true;
12935 }
12936 }
12937 if (obj3) {
12938 {
12939 arg4 = wxString_in_helper(obj3);
12940 if (arg4 == NULL) SWIG_fail;
12941 temp4 = true;
12942 }
12943 }
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = SWIG_Py_Void();
12951 {
12952 if (temp3)
12953 delete arg3;
12954 }
12955 {
12956 if (temp4)
12957 delete arg4;
12958 }
12959 return resultobj;
12960 fail:
12961 {
12962 if (temp3)
12963 delete arg3;
12964 }
12965 {
12966 if (temp4)
12967 delete arg4;
12968 }
12969 return NULL;
12970 }
12971
12972
12973 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12974 PyObject *resultobj = 0;
12975 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12976 wxPrintData *result = 0 ;
12977 void *argp1 = 0 ;
12978 int res1 = 0 ;
12979 PyObject *swig_obj[1] ;
12980
12981 if (!args) SWIG_fail;
12982 swig_obj[0] = args;
12983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12984 if (!SWIG_IsOK(res1)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12986 }
12987 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 result = (wxPrintData *)(arg1)->GetPrintData();
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
12995 return resultobj;
12996 fail:
12997 return NULL;
12998 }
12999
13000
13001 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13002 PyObject *resultobj = 0;
13003 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13004 wxPageSetupDialogData *result = 0 ;
13005 void *argp1 = 0 ;
13006 int res1 = 0 ;
13007 PyObject *swig_obj[1] ;
13008
13009 if (!args) SWIG_fail;
13010 swig_obj[0] = args;
13011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13012 if (!SWIG_IsOK(res1)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13014 }
13015 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
13023 return resultobj;
13024 fail:
13025 return NULL;
13026 }
13027
13028
13029 SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13030 PyObject *obj;
13031 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13032 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
13033 return SWIG_Py_Void();
13034 }
13035
13036 SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13037 return SWIG_Python_InitShadowInstance(args);
13038 }
13039
13040 SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj = 0;
13042 wxString *arg1 = 0 ;
13043 wxString *arg2 = 0 ;
13044 wxString *arg3 = 0 ;
13045 wxString *arg4 = 0 ;
13046 wxHtmlBookRecord *result = 0 ;
13047 bool temp1 = false ;
13048 bool temp2 = false ;
13049 bool temp3 = false ;
13050 bool temp4 = false ;
13051 PyObject * obj0 = 0 ;
13052 PyObject * obj1 = 0 ;
13053 PyObject * obj2 = 0 ;
13054 PyObject * obj3 = 0 ;
13055 char * kwnames[] = {
13056 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13057 };
13058
13059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13060 {
13061 arg1 = wxString_in_helper(obj0);
13062 if (arg1 == NULL) SWIG_fail;
13063 temp1 = true;
13064 }
13065 {
13066 arg2 = wxString_in_helper(obj1);
13067 if (arg2 == NULL) SWIG_fail;
13068 temp2 = true;
13069 }
13070 {
13071 arg3 = wxString_in_helper(obj2);
13072 if (arg3 == NULL) SWIG_fail;
13073 temp3 = true;
13074 }
13075 {
13076 arg4 = wxString_in_helper(obj3);
13077 if (arg4 == NULL) SWIG_fail;
13078 temp4 = true;
13079 }
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
13086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13087 {
13088 if (temp1)
13089 delete arg1;
13090 }
13091 {
13092 if (temp2)
13093 delete arg2;
13094 }
13095 {
13096 if (temp3)
13097 delete arg3;
13098 }
13099 {
13100 if (temp4)
13101 delete arg4;
13102 }
13103 return resultobj;
13104 fail:
13105 {
13106 if (temp1)
13107 delete arg1;
13108 }
13109 {
13110 if (temp2)
13111 delete arg2;
13112 }
13113 {
13114 if (temp3)
13115 delete arg3;
13116 }
13117 {
13118 if (temp4)
13119 delete arg4;
13120 }
13121 return NULL;
13122 }
13123
13124
13125 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13126 PyObject *resultobj = 0;
13127 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13128 wxString result;
13129 void *argp1 = 0 ;
13130 int res1 = 0 ;
13131 PyObject *swig_obj[1] ;
13132
13133 if (!args) SWIG_fail;
13134 swig_obj[0] = args;
13135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13136 if (!SWIG_IsOK(res1)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13138 }
13139 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 result = (arg1)->GetBookFile();
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 {
13147 #if wxUSE_UNICODE
13148 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13149 #else
13150 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13151 #endif
13152 }
13153 return resultobj;
13154 fail:
13155 return NULL;
13156 }
13157
13158
13159 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13160 PyObject *resultobj = 0;
13161 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13162 wxString result;
13163 void *argp1 = 0 ;
13164 int res1 = 0 ;
13165 PyObject *swig_obj[1] ;
13166
13167 if (!args) SWIG_fail;
13168 swig_obj[0] = args;
13169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13170 if (!SWIG_IsOK(res1)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13172 }
13173 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (arg1)->GetTitle();
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 {
13181 #if wxUSE_UNICODE
13182 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13183 #else
13184 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13185 #endif
13186 }
13187 return resultobj;
13188 fail:
13189 return NULL;
13190 }
13191
13192
13193 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13194 PyObject *resultobj = 0;
13195 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13196 wxString result;
13197 void *argp1 = 0 ;
13198 int res1 = 0 ;
13199 PyObject *swig_obj[1] ;
13200
13201 if (!args) SWIG_fail;
13202 swig_obj[0] = args;
13203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13204 if (!SWIG_IsOK(res1)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13206 }
13207 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (arg1)->GetStart();
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 {
13215 #if wxUSE_UNICODE
13216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13217 #else
13218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13219 #endif
13220 }
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13228 PyObject *resultobj = 0;
13229 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13230 wxString result;
13231 void *argp1 = 0 ;
13232 int res1 = 0 ;
13233 PyObject *swig_obj[1] ;
13234
13235 if (!args) SWIG_fail;
13236 swig_obj[0] = args;
13237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13238 if (!SWIG_IsOK(res1)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13240 }
13241 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 result = (arg1)->GetBasePath();
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 {
13249 #if wxUSE_UNICODE
13250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13251 #else
13252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13253 #endif
13254 }
13255 return resultobj;
13256 fail:
13257 return NULL;
13258 }
13259
13260
13261 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj = 0;
13263 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13264 int arg2 ;
13265 int arg3 ;
13266 void *argp1 = 0 ;
13267 int res1 = 0 ;
13268 int val2 ;
13269 int ecode2 = 0 ;
13270 int val3 ;
13271 int ecode3 = 0 ;
13272 PyObject * obj0 = 0 ;
13273 PyObject * obj1 = 0 ;
13274 PyObject * obj2 = 0 ;
13275 char * kwnames[] = {
13276 (char *) "self",(char *) "start",(char *) "end", NULL
13277 };
13278
13279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13281 if (!SWIG_IsOK(res1)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13283 }
13284 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13285 ecode2 = SWIG_AsVal_int(obj1, &val2);
13286 if (!SWIG_IsOK(ecode2)) {
13287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13288 }
13289 arg2 = static_cast< int >(val2);
13290 ecode3 = SWIG_AsVal_int(obj2, &val3);
13291 if (!SWIG_IsOK(ecode3)) {
13292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13293 }
13294 arg3 = static_cast< int >(val3);
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 (arg1)->SetContentsRange(arg2,arg3);
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 resultobj = SWIG_Py_Void();
13302 return resultobj;
13303 fail:
13304 return NULL;
13305 }
13306
13307
13308 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13309 PyObject *resultobj = 0;
13310 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13311 int result;
13312 void *argp1 = 0 ;
13313 int res1 = 0 ;
13314 PyObject *swig_obj[1] ;
13315
13316 if (!args) SWIG_fail;
13317 swig_obj[0] = args;
13318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13319 if (!SWIG_IsOK(res1)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13321 }
13322 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 result = (int)(arg1)->GetContentsStart();
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 resultobj = SWIG_From_int(static_cast< int >(result));
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13337 PyObject *resultobj = 0;
13338 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13339 int result;
13340 void *argp1 = 0 ;
13341 int res1 = 0 ;
13342 PyObject *swig_obj[1] ;
13343
13344 if (!args) SWIG_fail;
13345 swig_obj[0] = args;
13346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13347 if (!SWIG_IsOK(res1)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13349 }
13350 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 result = (int)(arg1)->GetContentsEnd();
13354 wxPyEndAllowThreads(__tstate);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 }
13357 resultobj = SWIG_From_int(static_cast< int >(result));
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj = 0;
13366 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13367 wxString *arg2 = 0 ;
13368 void *argp1 = 0 ;
13369 int res1 = 0 ;
13370 bool temp2 = false ;
13371 PyObject * obj0 = 0 ;
13372 PyObject * obj1 = 0 ;
13373 char * kwnames[] = {
13374 (char *) "self",(char *) "title", NULL
13375 };
13376
13377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13379 if (!SWIG_IsOK(res1)) {
13380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13381 }
13382 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13383 {
13384 arg2 = wxString_in_helper(obj1);
13385 if (arg2 == NULL) SWIG_fail;
13386 temp2 = true;
13387 }
13388 {
13389 PyThreadState* __tstate = wxPyBeginAllowThreads();
13390 (arg1)->SetTitle((wxString const &)*arg2);
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 resultobj = SWIG_Py_Void();
13395 {
13396 if (temp2)
13397 delete arg2;
13398 }
13399 return resultobj;
13400 fail:
13401 {
13402 if (temp2)
13403 delete arg2;
13404 }
13405 return NULL;
13406 }
13407
13408
13409 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj = 0;
13411 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13412 wxString *arg2 = 0 ;
13413 void *argp1 = 0 ;
13414 int res1 = 0 ;
13415 bool temp2 = false ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 char * kwnames[] = {
13419 (char *) "self",(char *) "path", NULL
13420 };
13421
13422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13424 if (!SWIG_IsOK(res1)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13426 }
13427 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13428 {
13429 arg2 = wxString_in_helper(obj1);
13430 if (arg2 == NULL) SWIG_fail;
13431 temp2 = true;
13432 }
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 (arg1)->SetBasePath((wxString const &)*arg2);
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 resultobj = SWIG_Py_Void();
13440 {
13441 if (temp2)
13442 delete arg2;
13443 }
13444 return resultobj;
13445 fail:
13446 {
13447 if (temp2)
13448 delete arg2;
13449 }
13450 return NULL;
13451 }
13452
13453
13454 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj = 0;
13456 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13457 wxString *arg2 = 0 ;
13458 void *argp1 = 0 ;
13459 int res1 = 0 ;
13460 bool temp2 = false ;
13461 PyObject * obj0 = 0 ;
13462 PyObject * obj1 = 0 ;
13463 char * kwnames[] = {
13464 (char *) "self",(char *) "start", NULL
13465 };
13466
13467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
13468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13469 if (!SWIG_IsOK(res1)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13471 }
13472 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13473 {
13474 arg2 = wxString_in_helper(obj1);
13475 if (arg2 == NULL) SWIG_fail;
13476 temp2 = true;
13477 }
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 (arg1)->SetStart((wxString const &)*arg2);
13481 wxPyEndAllowThreads(__tstate);
13482 if (PyErr_Occurred()) SWIG_fail;
13483 }
13484 resultobj = SWIG_Py_Void();
13485 {
13486 if (temp2)
13487 delete arg2;
13488 }
13489 return resultobj;
13490 fail:
13491 {
13492 if (temp2)
13493 delete arg2;
13494 }
13495 return NULL;
13496 }
13497
13498
13499 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj = 0;
13501 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13502 wxString *arg2 = 0 ;
13503 wxString result;
13504 void *argp1 = 0 ;
13505 int res1 = 0 ;
13506 bool temp2 = false ;
13507 PyObject * obj0 = 0 ;
13508 PyObject * obj1 = 0 ;
13509 char * kwnames[] = {
13510 (char *) "self",(char *) "page", NULL
13511 };
13512
13513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13515 if (!SWIG_IsOK(res1)) {
13516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13517 }
13518 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13519 {
13520 arg2 = wxString_in_helper(obj1);
13521 if (arg2 == NULL) SWIG_fail;
13522 temp2 = true;
13523 }
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 {
13531 #if wxUSE_UNICODE
13532 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13533 #else
13534 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13535 #endif
13536 }
13537 {
13538 if (temp2)
13539 delete arg2;
13540 }
13541 return resultobj;
13542 fail:
13543 {
13544 if (temp2)
13545 delete arg2;
13546 }
13547 return NULL;
13548 }
13549
13550
13551 SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13552 PyObject *obj;
13553 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13554 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13555 return SWIG_Py_Void();
13556 }
13557
13558 SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13559 return SWIG_Python_InitShadowInstance(args);
13560 }
13561
13562 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13563 PyObject *resultobj = 0;
13564 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13565 bool result;
13566 void *argp1 = 0 ;
13567 int res1 = 0 ;
13568 PyObject *swig_obj[1] ;
13569
13570 if (!args) SWIG_fail;
13571 swig_obj[0] = args;
13572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13573 if (!SWIG_IsOK(res1)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13575 }
13576 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 result = (bool)(arg1)->Search();
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13585 }
13586 return resultobj;
13587 fail:
13588 return NULL;
13589 }
13590
13591
13592 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13593 PyObject *resultobj = 0;
13594 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13595 bool result;
13596 void *argp1 = 0 ;
13597 int res1 = 0 ;
13598 PyObject *swig_obj[1] ;
13599
13600 if (!args) SWIG_fail;
13601 swig_obj[0] = args;
13602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13603 if (!SWIG_IsOK(res1)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13605 }
13606 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (bool)(arg1)->IsActive();
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 {
13614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13615 }
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13623 PyObject *resultobj = 0;
13624 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13625 int result;
13626 void *argp1 = 0 ;
13627 int res1 = 0 ;
13628 PyObject *swig_obj[1] ;
13629
13630 if (!args) SWIG_fail;
13631 swig_obj[0] = args;
13632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13633 if (!SWIG_IsOK(res1)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13635 }
13636 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 result = (int)(arg1)->GetCurIndex();
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 resultobj = SWIG_From_int(static_cast< int >(result));
13644 return resultobj;
13645 fail:
13646 return NULL;
13647 }
13648
13649
13650 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13651 PyObject *resultobj = 0;
13652 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13653 int result;
13654 void *argp1 = 0 ;
13655 int res1 = 0 ;
13656 PyObject *swig_obj[1] ;
13657
13658 if (!args) SWIG_fail;
13659 swig_obj[0] = args;
13660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13661 if (!SWIG_IsOK(res1)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13663 }
13664 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (int)(arg1)->GetMaxIndex();
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 resultobj = SWIG_From_int(static_cast< int >(result));
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13679 PyObject *resultobj = 0;
13680 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13681 wxString *result = 0 ;
13682 void *argp1 = 0 ;
13683 int res1 = 0 ;
13684 PyObject *swig_obj[1] ;
13685
13686 if (!args) SWIG_fail;
13687 swig_obj[0] = args;
13688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13689 if (!SWIG_IsOK(res1)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13691 }
13692 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 {
13696 wxString const &_result_ref = (arg1)->GetName();
13697 result = (wxString *) &_result_ref;
13698 }
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 {
13703 #if wxUSE_UNICODE
13704 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13705 #else
13706 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13707 #endif
13708 }
13709 return resultobj;
13710 fail:
13711 return NULL;
13712 }
13713
13714
13715 SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13716 PyObject *obj;
13717 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13718 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13719 return SWIG_Py_Void();
13720 }
13721
13722 SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13723 PyObject *resultobj = 0;
13724 wxHtmlHelpData *result = 0 ;
13725
13726 if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 result = (wxHtmlHelpData *)new wxHtmlHelpData();
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13734 return resultobj;
13735 fail:
13736 return NULL;
13737 }
13738
13739
13740 SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13741 PyObject *resultobj = 0;
13742 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13743 void *argp1 = 0 ;
13744 int res1 = 0 ;
13745 PyObject *swig_obj[1] ;
13746
13747 if (!args) SWIG_fail;
13748 swig_obj[0] = args;
13749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13750 if (!SWIG_IsOK(res1)) {
13751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13752 }
13753 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 delete arg1;
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 resultobj = SWIG_Py_Void();
13762 return resultobj;
13763 fail:
13764 return NULL;
13765 }
13766
13767
13768 SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj = 0;
13770 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13771 wxString *arg2 = 0 ;
13772 void *argp1 = 0 ;
13773 int res1 = 0 ;
13774 bool temp2 = false ;
13775 PyObject * obj0 = 0 ;
13776 PyObject * obj1 = 0 ;
13777 char * kwnames[] = {
13778 (char *) "self",(char *) "path", NULL
13779 };
13780
13781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13783 if (!SWIG_IsOK(res1)) {
13784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13785 }
13786 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13787 {
13788 arg2 = wxString_in_helper(obj1);
13789 if (arg2 == NULL) SWIG_fail;
13790 temp2 = true;
13791 }
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 (arg1)->SetTempDir((wxString const &)*arg2);
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 resultobj = SWIG_Py_Void();
13799 {
13800 if (temp2)
13801 delete arg2;
13802 }
13803 return resultobj;
13804 fail:
13805 {
13806 if (temp2)
13807 delete arg2;
13808 }
13809 return NULL;
13810 }
13811
13812
13813 SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj = 0;
13815 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13816 wxString *arg2 = 0 ;
13817 bool result;
13818 void *argp1 = 0 ;
13819 int res1 = 0 ;
13820 bool temp2 = false ;
13821 PyObject * obj0 = 0 ;
13822 PyObject * obj1 = 0 ;
13823 char * kwnames[] = {
13824 (char *) "self",(char *) "book", NULL
13825 };
13826
13827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13829 if (!SWIG_IsOK(res1)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13831 }
13832 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13833 {
13834 arg2 = wxString_in_helper(obj1);
13835 if (arg2 == NULL) SWIG_fail;
13836 temp2 = true;
13837 }
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 {
13845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13846 }
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_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj = 0;
13863 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13864 wxString *arg2 = 0 ;
13865 wxString 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 *) "page", NULL
13873 };
13874
13875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",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_FindPageByName" "', 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 = (arg1)->FindPageByName((wxString const &)*arg2);
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 {
13893 #if wxUSE_UNICODE
13894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13895 #else
13896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13897 #endif
13898 }
13899 {
13900 if (temp2)
13901 delete arg2;
13902 }
13903 return resultobj;
13904 fail:
13905 {
13906 if (temp2)
13907 delete arg2;
13908 }
13909 return NULL;
13910 }
13911
13912
13913 SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj = 0;
13915 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13916 int arg2 ;
13917 wxString result;
13918 void *argp1 = 0 ;
13919 int res1 = 0 ;
13920 int val2 ;
13921 int ecode2 = 0 ;
13922 PyObject * obj0 = 0 ;
13923 PyObject * obj1 = 0 ;
13924 char * kwnames[] = {
13925 (char *) "self",(char *) "id", NULL
13926 };
13927
13928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
13929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13930 if (!SWIG_IsOK(res1)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13932 }
13933 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13934 ecode2 = SWIG_AsVal_int(obj1, &val2);
13935 if (!SWIG_IsOK(ecode2)) {
13936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13937 }
13938 arg2 = static_cast< int >(val2);
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (arg1)->FindPageById(arg2);
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 {
13946 #if wxUSE_UNICODE
13947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13948 #else
13949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13950 #endif
13951 }
13952 return resultobj;
13953 fail:
13954 return NULL;
13955 }
13956
13957
13958 SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13959 PyObject *resultobj = 0;
13960 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13961 wxHtmlBookRecArray *result = 0 ;
13962 void *argp1 = 0 ;
13963 int res1 = 0 ;
13964 PyObject *swig_obj[1] ;
13965
13966 if (!args) SWIG_fail;
13967 swig_obj[0] = args;
13968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13969 if (!SWIG_IsOK(res1)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13971 }
13972 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 {
13976 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
13977 result = (wxHtmlBookRecArray *) &_result_ref;
13978 }
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
13983 return resultobj;
13984 fail:
13985 return NULL;
13986 }
13987
13988
13989 SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13990 PyObject *obj;
13991 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13992 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
13993 return SWIG_Py_Void();
13994 }
13995
13996 SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13997 return SWIG_Python_InitShadowInstance(args);
13998 }
13999
14000 SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj = 0;
14002 wxWindow *arg1 = (wxWindow *) 0 ;
14003 int arg2 ;
14004 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14005 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14006 wxSize const &arg4_defvalue = wxDefaultSize ;
14007 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14008 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14009 int arg6 = (int) wxHF_DEFAULT_STYLE ;
14010 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
14011 wxHtmlHelpWindow *result = 0 ;
14012 void *argp1 = 0 ;
14013 int res1 = 0 ;
14014 int val2 ;
14015 int ecode2 = 0 ;
14016 wxPoint temp3 ;
14017 wxSize temp4 ;
14018 int val5 ;
14019 int ecode5 = 0 ;
14020 int val6 ;
14021 int ecode6 = 0 ;
14022 void *argp7 = 0 ;
14023 int res7 = 0 ;
14024 PyObject * obj0 = 0 ;
14025 PyObject * obj1 = 0 ;
14026 PyObject * obj2 = 0 ;
14027 PyObject * obj3 = 0 ;
14028 PyObject * obj4 = 0 ;
14029 PyObject * obj5 = 0 ;
14030 PyObject * obj6 = 0 ;
14031 char * kwnames[] = {
14032 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14033 };
14034
14035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14037 if (!SWIG_IsOK(res1)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14039 }
14040 arg1 = reinterpret_cast< wxWindow * >(argp1);
14041 ecode2 = SWIG_AsVal_int(obj1, &val2);
14042 if (!SWIG_IsOK(ecode2)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14044 }
14045 arg2 = static_cast< int >(val2);
14046 if (obj2) {
14047 {
14048 arg3 = &temp3;
14049 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14050 }
14051 }
14052 if (obj3) {
14053 {
14054 arg4 = &temp4;
14055 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14056 }
14057 }
14058 if (obj4) {
14059 ecode5 = SWIG_AsVal_int(obj4, &val5);
14060 if (!SWIG_IsOK(ecode5)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14062 }
14063 arg5 = static_cast< int >(val5);
14064 }
14065 if (obj5) {
14066 ecode6 = SWIG_AsVal_int(obj5, &val6);
14067 if (!SWIG_IsOK(ecode6)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14069 }
14070 arg6 = static_cast< int >(val6);
14071 }
14072 if (obj6) {
14073 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14074 if (!SWIG_IsOK(res7)) {
14075 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14076 }
14077 arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14078 }
14079 {
14080 if (!wxPyCheckForApp()) SWIG_fail;
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14087 return resultobj;
14088 fail:
14089 return NULL;
14090 }
14091
14092
14093 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14094 PyObject *resultobj = 0;
14095 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14096 wxHtmlHelpWindow *result = 0 ;
14097 void *argp1 = 0 ;
14098 int res1 = 0 ;
14099 PyObject * obj0 = 0 ;
14100 char * kwnames[] = {
14101 (char *) "data", NULL
14102 };
14103
14104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14105 if (obj0) {
14106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14107 if (!SWIG_IsOK(res1)) {
14108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14109 }
14110 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14111 }
14112 {
14113 if (!wxPyCheckForApp()) SWIG_fail;
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14127 PyObject *resultobj = 0;
14128 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14129 wxWindow *arg2 = (wxWindow *) 0 ;
14130 int arg3 ;
14131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14133 wxSize const &arg5_defvalue = wxDefaultSize ;
14134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14135 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14136 int arg7 = (int) wxHF_DEFAULT_STYLE ;
14137 bool result;
14138 void *argp1 = 0 ;
14139 int res1 = 0 ;
14140 void *argp2 = 0 ;
14141 int res2 = 0 ;
14142 int val3 ;
14143 int ecode3 = 0 ;
14144 wxPoint temp4 ;
14145 wxSize temp5 ;
14146 int val6 ;
14147 int ecode6 = 0 ;
14148 int val7 ;
14149 int ecode7 = 0 ;
14150 PyObject * obj0 = 0 ;
14151 PyObject * obj1 = 0 ;
14152 PyObject * obj2 = 0 ;
14153 PyObject * obj3 = 0 ;
14154 PyObject * obj4 = 0 ;
14155 PyObject * obj5 = 0 ;
14156 PyObject * obj6 = 0 ;
14157 char * kwnames[] = {
14158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14159 };
14160
14161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14163 if (!SWIG_IsOK(res1)) {
14164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14165 }
14166 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14168 if (!SWIG_IsOK(res2)) {
14169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14170 }
14171 arg2 = reinterpret_cast< wxWindow * >(argp2);
14172 ecode3 = SWIG_AsVal_int(obj2, &val3);
14173 if (!SWIG_IsOK(ecode3)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14175 }
14176 arg3 = static_cast< int >(val3);
14177 if (obj3) {
14178 {
14179 arg4 = &temp4;
14180 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14181 }
14182 }
14183 if (obj4) {
14184 {
14185 arg5 = &temp5;
14186 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14187 }
14188 }
14189 if (obj5) {
14190 ecode6 = SWIG_AsVal_int(obj5, &val6);
14191 if (!SWIG_IsOK(ecode6)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14193 }
14194 arg6 = static_cast< int >(val6);
14195 }
14196 if (obj6) {
14197 ecode7 = SWIG_AsVal_int(obj6, &val7);
14198 if (!SWIG_IsOK(ecode7)) {
14199 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14200 }
14201 arg7 = static_cast< int >(val7);
14202 }
14203 {
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14206 wxPyEndAllowThreads(__tstate);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
14209 {
14210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14211 }
14212 return resultobj;
14213 fail:
14214 return NULL;
14215 }
14216
14217
14218 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14219 PyObject *resultobj = 0;
14220 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14221 wxHtmlHelpData *result = 0 ;
14222 void *argp1 = 0 ;
14223 int res1 = 0 ;
14224 PyObject *swig_obj[1] ;
14225
14226 if (!args) SWIG_fail;
14227 swig_obj[0] = args;
14228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14229 if (!SWIG_IsOK(res1)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14231 }
14232 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (wxHtmlHelpData *)(arg1)->GetData();
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14240 return resultobj;
14241 fail:
14242 return NULL;
14243 }
14244
14245
14246 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14247 PyObject *resultobj = 0;
14248 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14249 wxHtmlHelpController *result = 0 ;
14250 void *argp1 = 0 ;
14251 int res1 = 0 ;
14252 PyObject *swig_obj[1] ;
14253
14254 if (!args) SWIG_fail;
14255 swig_obj[0] = args;
14256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14257 if (!SWIG_IsOK(res1)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14259 }
14260 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj = 0;
14276 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14277 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14278 void *argp1 = 0 ;
14279 int res1 = 0 ;
14280 int res2 = 0 ;
14281 PyObject * obj0 = 0 ;
14282 PyObject * obj1 = 0 ;
14283 char * kwnames[] = {
14284 (char *) "self",(char *) "controller", NULL
14285 };
14286
14287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14289 if (!SWIG_IsOK(res1)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14291 }
14292 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14293 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14294 if (!SWIG_IsOK(res2)) {
14295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14296 }
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 (arg1)->SetController(arg2);
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 resultobj = SWIG_Py_Void();
14304 return resultobj;
14305 fail:
14306 return NULL;
14307 }
14308
14309
14310 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14311 PyObject *resultobj = 0;
14312 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14313 wxString *arg2 = 0 ;
14314 bool result;
14315 void *argp1 = 0 ;
14316 int res1 = 0 ;
14317 bool temp2 = false ;
14318 PyObject * obj0 = 0 ;
14319 PyObject * obj1 = 0 ;
14320 char * kwnames[] = {
14321 (char *) "self",(char *) "x", NULL
14322 };
14323
14324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14326 if (!SWIG_IsOK(res1)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14328 }
14329 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14330 {
14331 arg2 = wxString_in_helper(obj1);
14332 if (arg2 == NULL) SWIG_fail;
14333 temp2 = true;
14334 }
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 result = (bool)(arg1)->Display((wxString const &)*arg2);
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 {
14342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14343 }
14344 {
14345 if (temp2)
14346 delete arg2;
14347 }
14348 return resultobj;
14349 fail:
14350 {
14351 if (temp2)
14352 delete arg2;
14353 }
14354 return NULL;
14355 }
14356
14357
14358 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj = 0;
14360 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14361 int arg2 ;
14362 bool result;
14363 void *argp1 = 0 ;
14364 int res1 = 0 ;
14365 int val2 ;
14366 int ecode2 = 0 ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 char * kwnames[] = {
14370 (char *) "self",(char *) "id", NULL
14371 };
14372
14373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14375 if (!SWIG_IsOK(res1)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14377 }
14378 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14379 ecode2 = SWIG_AsVal_int(obj1, &val2);
14380 if (!SWIG_IsOK(ecode2)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14382 }
14383 arg2 = static_cast< int >(val2);
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 result = (bool)(arg1)->Display(arg2);
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 {
14391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14392 }
14393 return resultobj;
14394 fail:
14395 return NULL;
14396 }
14397
14398
14399 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14400 PyObject *resultobj = 0;
14401 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14402 bool result;
14403 void *argp1 = 0 ;
14404 int res1 = 0 ;
14405 PyObject *swig_obj[1] ;
14406
14407 if (!args) SWIG_fail;
14408 swig_obj[0] = args;
14409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14410 if (!SWIG_IsOK(res1)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14412 }
14413 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14414 {
14415 PyThreadState* __tstate = wxPyBeginAllowThreads();
14416 result = (bool)(arg1)->DisplayContents();
14417 wxPyEndAllowThreads(__tstate);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 {
14421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14422 }
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14430 PyObject *resultobj = 0;
14431 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14432 bool result;
14433 void *argp1 = 0 ;
14434 int res1 = 0 ;
14435 PyObject *swig_obj[1] ;
14436
14437 if (!args) SWIG_fail;
14438 swig_obj[0] = args;
14439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14440 if (!SWIG_IsOK(res1)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14442 }
14443 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 result = (bool)(arg1)->DisplayIndex();
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 {
14451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14452 }
14453 return resultobj;
14454 fail:
14455 return NULL;
14456 }
14457
14458
14459 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj = 0;
14461 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14462 wxString *arg2 = 0 ;
14463 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14464 bool result;
14465 void *argp1 = 0 ;
14466 int res1 = 0 ;
14467 bool temp2 = false ;
14468 void *argp3 ;
14469 int res3 = 0 ;
14470 PyObject * obj0 = 0 ;
14471 PyObject * obj1 = 0 ;
14472 PyObject * obj2 = 0 ;
14473 char * kwnames[] = {
14474 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14475 };
14476
14477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14479 if (!SWIG_IsOK(res1)) {
14480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14481 }
14482 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14483 {
14484 arg2 = wxString_in_helper(obj1);
14485 if (arg2 == NULL) SWIG_fail;
14486 temp2 = true;
14487 }
14488 if (obj2) {
14489 {
14490 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14491 if (!SWIG_IsOK(res3)) {
14492 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14493 }
14494 if (!argp3) {
14495 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14496 } else {
14497 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14498 arg3 = *temp;
14499 if (SWIG_IsNewObj(res3)) delete temp;
14500 }
14501 }
14502 }
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 {
14510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14511 }
14512 {
14513 if (temp2)
14514 delete arg2;
14515 }
14516 return resultobj;
14517 fail:
14518 {
14519 if (temp2)
14520 delete arg2;
14521 }
14522 return NULL;
14523 }
14524
14525
14526 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14527 PyObject *resultobj = 0;
14528 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14529 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14530 wxString const &arg3_defvalue = wxEmptyString ;
14531 wxString *arg3 = (wxString *) &arg3_defvalue ;
14532 void *argp1 = 0 ;
14533 int res1 = 0 ;
14534 void *argp2 = 0 ;
14535 int res2 = 0 ;
14536 bool temp3 = false ;
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 PyObject * obj2 = 0 ;
14540 char * kwnames[] = {
14541 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14542 };
14543
14544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14546 if (!SWIG_IsOK(res1)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14548 }
14549 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14550 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14551 if (!SWIG_IsOK(res2)) {
14552 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14553 }
14554 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14555 if (obj2) {
14556 {
14557 arg3 = wxString_in_helper(obj2);
14558 if (arg3 == NULL) SWIG_fail;
14559 temp3 = true;
14560 }
14561 }
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 resultobj = SWIG_Py_Void();
14569 {
14570 if (temp3)
14571 delete arg3;
14572 }
14573 return resultobj;
14574 fail:
14575 {
14576 if (temp3)
14577 delete arg3;
14578 }
14579 return NULL;
14580 }
14581
14582
14583 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14584 PyObject *resultobj = 0;
14585 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14586 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14587 wxString const &arg3_defvalue = wxEmptyString ;
14588 wxString *arg3 = (wxString *) &arg3_defvalue ;
14589 void *argp1 = 0 ;
14590 int res1 = 0 ;
14591 void *argp2 = 0 ;
14592 int res2 = 0 ;
14593 bool temp3 = false ;
14594 PyObject * obj0 = 0 ;
14595 PyObject * obj1 = 0 ;
14596 PyObject * obj2 = 0 ;
14597 char * kwnames[] = {
14598 (char *) "self",(char *) "cfg",(char *) "path", NULL
14599 };
14600
14601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14603 if (!SWIG_IsOK(res1)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14605 }
14606 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14607 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14608 if (!SWIG_IsOK(res2)) {
14609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14610 }
14611 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14612 if (obj2) {
14613 {
14614 arg3 = wxString_in_helper(obj2);
14615 if (arg3 == NULL) SWIG_fail;
14616 temp3 = true;
14617 }
14618 }
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 resultobj = SWIG_Py_Void();
14626 {
14627 if (temp3)
14628 delete arg3;
14629 }
14630 return resultobj;
14631 fail:
14632 {
14633 if (temp3)
14634 delete arg3;
14635 }
14636 return NULL;
14637 }
14638
14639
14640 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj = 0;
14642 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14643 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14644 wxString const &arg3_defvalue = wxEmptyString ;
14645 wxString *arg3 = (wxString *) &arg3_defvalue ;
14646 void *argp1 = 0 ;
14647 int res1 = 0 ;
14648 void *argp2 = 0 ;
14649 int res2 = 0 ;
14650 bool temp3 = false ;
14651 PyObject * obj0 = 0 ;
14652 PyObject * obj1 = 0 ;
14653 PyObject * obj2 = 0 ;
14654 char * kwnames[] = {
14655 (char *) "self",(char *) "cfg",(char *) "path", NULL
14656 };
14657
14658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14660 if (!SWIG_IsOK(res1)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14662 }
14663 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14665 if (!SWIG_IsOK(res2)) {
14666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14667 }
14668 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14669 if (obj2) {
14670 {
14671 arg3 = wxString_in_helper(obj2);
14672 if (arg3 == NULL) SWIG_fail;
14673 temp3 = true;
14674 }
14675 }
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 resultobj = SWIG_Py_Void();
14683 {
14684 if (temp3)
14685 delete arg3;
14686 }
14687 return resultobj;
14688 fail:
14689 {
14690 if (temp3)
14691 delete arg3;
14692 }
14693 return NULL;
14694 }
14695
14696
14697 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14698 PyObject *resultobj = 0;
14699 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14700 void *argp1 = 0 ;
14701 int res1 = 0 ;
14702 PyObject *swig_obj[1] ;
14703
14704 if (!args) SWIG_fail;
14705 swig_obj[0] = args;
14706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14707 if (!SWIG_IsOK(res1)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14709 }
14710 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 (arg1)->NotifyPageChanged();
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 resultobj = SWIG_Py_Void();
14718 return resultobj;
14719 fail:
14720 return NULL;
14721 }
14722
14723
14724 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14725 PyObject *resultobj = 0;
14726 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14727 void *argp1 = 0 ;
14728 int res1 = 0 ;
14729 PyObject *swig_obj[1] ;
14730
14731 if (!args) SWIG_fail;
14732 swig_obj[0] = args;
14733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14734 if (!SWIG_IsOK(res1)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14736 }
14737 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 (arg1)->RefreshLists();
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
14744 resultobj = SWIG_Py_Void();
14745 return resultobj;
14746 fail:
14747 return NULL;
14748 }
14749
14750
14751 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14752 PyObject *resultobj = 0;
14753 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14754 wxHtmlWindow *result = 0 ;
14755 void *argp1 = 0 ;
14756 int res1 = 0 ;
14757 PyObject *swig_obj[1] ;
14758
14759 if (!args) SWIG_fail;
14760 swig_obj[0] = args;
14761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14762 if (!SWIG_IsOK(res1)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14764 }
14765 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 );
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14780 PyObject *resultobj = 0;
14781 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14782 wxSplitterWindow *result = 0 ;
14783 void *argp1 = 0 ;
14784 int res1 = 0 ;
14785 PyObject *swig_obj[1] ;
14786
14787 if (!args) SWIG_fail;
14788 swig_obj[0] = args;
14789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14790 if (!SWIG_IsOK(res1)) {
14791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14792 }
14793 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14801 return resultobj;
14802 fail:
14803 return NULL;
14804 }
14805
14806
14807 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14808 PyObject *resultobj = 0;
14809 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14810 wxToolBar *result = 0 ;
14811 void *argp1 = 0 ;
14812 int res1 = 0 ;
14813 PyObject *swig_obj[1] ;
14814
14815 if (!args) SWIG_fail;
14816 swig_obj[0] = args;
14817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14818 if (!SWIG_IsOK(res1)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14820 }
14821 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 {
14829 resultobj = wxPyMake_wxObject(result, (bool)0);
14830 }
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14838 PyObject *resultobj = 0;
14839 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14840 wxHtmlHelpFrameCfg *result = 0 ;
14841 void *argp1 = 0 ;
14842 int res1 = 0 ;
14843 PyObject *swig_obj[1] ;
14844
14845 if (!args) SWIG_fail;
14846 swig_obj[0] = args;
14847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14848 if (!SWIG_IsOK(res1)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14850 }
14851 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 {
14855 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14856 result = (wxHtmlHelpFrameCfg *) &_result_ref;
14857 }
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14869 PyObject *resultobj = 0;
14870 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14871 wxTreeCtrl *result = 0 ;
14872 void *argp1 = 0 ;
14873 int res1 = 0 ;
14874 PyObject *swig_obj[1] ;
14875
14876 if (!args) SWIG_fail;
14877 swig_obj[0] = args;
14878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14879 if (!SWIG_IsOK(res1)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14881 }
14882 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
14890 return resultobj;
14891 fail:
14892 return NULL;
14893 }
14894
14895
14896 SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14897 PyObject *obj;
14898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14899 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
14900 return SWIG_Py_Void();
14901 }
14902
14903 SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14904 return SWIG_Python_InitShadowInstance(args);
14905 }
14906
14907 SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14908 PyObject *resultobj = 0;
14909 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14910 int arg2 = (int) 0 ;
14911 wxHtmlWindowEvent *result = 0 ;
14912 int val1 ;
14913 int ecode1 = 0 ;
14914 int val2 ;
14915 int ecode2 = 0 ;
14916 PyObject * obj0 = 0 ;
14917 PyObject * obj1 = 0 ;
14918 char * kwnames[] = {
14919 (char *) "commandType",(char *) "id", NULL
14920 };
14921
14922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail;
14923 if (obj0) {
14924 ecode1 = SWIG_AsVal_int(obj0, &val1);
14925 if (!SWIG_IsOK(ecode1)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14927 }
14928 arg1 = static_cast< wxEventType >(val1);
14929 }
14930 if (obj1) {
14931 ecode2 = SWIG_AsVal_int(obj1, &val2);
14932 if (!SWIG_IsOK(ecode2)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14934 }
14935 arg2 = static_cast< int >(val2);
14936 }
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 );
14944 return resultobj;
14945 fail:
14946 return NULL;
14947 }
14948
14949
14950 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14951 PyObject *resultobj = 0;
14952 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
14953 wxString *arg2 = 0 ;
14954 void *argp1 = 0 ;
14955 int res1 = 0 ;
14956 bool temp2 = false ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 char * kwnames[] = {
14960 (char *) "self",(char *) "url", NULL
14961 };
14962
14963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
14964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
14965 if (!SWIG_IsOK(res1)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14967 }
14968 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
14969 {
14970 arg2 = wxString_in_helper(obj1);
14971 if (arg2 == NULL) SWIG_fail;
14972 temp2 = true;
14973 }
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 (arg1)->SetURL((wxString const &)*arg2);
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 resultobj = SWIG_Py_Void();
14981 {
14982 if (temp2)
14983 delete arg2;
14984 }
14985 return resultobj;
14986 fail:
14987 {
14988 if (temp2)
14989 delete arg2;
14990 }
14991 return NULL;
14992 }
14993
14994
14995 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14996 PyObject *resultobj = 0;
14997 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
14998 wxString *result = 0 ;
14999 void *argp1 = 0 ;
15000 int res1 = 0 ;
15001 PyObject *swig_obj[1] ;
15002
15003 if (!args) SWIG_fail;
15004 swig_obj[0] = args;
15005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15006 if (!SWIG_IsOK(res1)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15008 }
15009 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 {
15013 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
15014 result = (wxString *) &_result_ref;
15015 }
15016 wxPyEndAllowThreads(__tstate);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 }
15019 {
15020 #if wxUSE_UNICODE
15021 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15022 #else
15023 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15024 #endif
15025 }
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15033 PyObject *obj;
15034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15035 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj));
15036 return SWIG_Py_Void();
15037 }
15038
15039 SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15040 return SWIG_Python_InitShadowInstance(args);
15041 }
15042
15043 SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj = 0;
15045 wxWindow *arg1 = (wxWindow *) 0 ;
15046 int arg2 ;
15047 wxString const &arg3_defvalue = wxPyEmptyString ;
15048 wxString *arg3 = (wxString *) &arg3_defvalue ;
15049 int arg4 = (int) wxHF_DEFAULTSTYLE ;
15050 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15051 wxHtmlHelpFrame *result = 0 ;
15052 void *argp1 = 0 ;
15053 int res1 = 0 ;
15054 int val2 ;
15055 int ecode2 = 0 ;
15056 bool temp3 = false ;
15057 int val4 ;
15058 int ecode4 = 0 ;
15059 void *argp5 = 0 ;
15060 int res5 = 0 ;
15061 PyObject * obj0 = 0 ;
15062 PyObject * obj1 = 0 ;
15063 PyObject * obj2 = 0 ;
15064 PyObject * obj3 = 0 ;
15065 PyObject * obj4 = 0 ;
15066 char * kwnames[] = {
15067 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15068 };
15069
15070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15072 if (!SWIG_IsOK(res1)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15074 }
15075 arg1 = reinterpret_cast< wxWindow * >(argp1);
15076 ecode2 = SWIG_AsVal_int(obj1, &val2);
15077 if (!SWIG_IsOK(ecode2)) {
15078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15079 }
15080 arg2 = static_cast< int >(val2);
15081 if (obj2) {
15082 {
15083 arg3 = wxString_in_helper(obj2);
15084 if (arg3 == NULL) SWIG_fail;
15085 temp3 = true;
15086 }
15087 }
15088 if (obj3) {
15089 ecode4 = SWIG_AsVal_int(obj3, &val4);
15090 if (!SWIG_IsOK(ecode4)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15092 }
15093 arg4 = static_cast< int >(val4);
15094 }
15095 if (obj4) {
15096 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15097 if (!SWIG_IsOK(res5)) {
15098 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15099 }
15100 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15101 }
15102 {
15103 if (!wxPyCheckForApp()) SWIG_fail;
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15110 {
15111 if (temp3)
15112 delete arg3;
15113 }
15114 return resultobj;
15115 fail:
15116 {
15117 if (temp3)
15118 delete arg3;
15119 }
15120 return NULL;
15121 }
15122
15123
15124 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15125 PyObject *resultobj = 0;
15126 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15127 wxHtmlHelpFrame *result = 0 ;
15128 void *argp1 = 0 ;
15129 int res1 = 0 ;
15130 PyObject * obj0 = 0 ;
15131 char * kwnames[] = {
15132 (char *) "data", NULL
15133 };
15134
15135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15136 if (obj0) {
15137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15138 if (!SWIG_IsOK(res1)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15140 }
15141 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15142 }
15143 {
15144 if (!wxPyCheckForApp()) SWIG_fail;
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj = 0;
15159 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15160 wxWindow *arg2 = (wxWindow *) 0 ;
15161 int arg3 ;
15162 wxString const &arg4_defvalue = wxPyEmptyString ;
15163 wxString *arg4 = (wxString *) &arg4_defvalue ;
15164 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15165 bool result;
15166 void *argp1 = 0 ;
15167 int res1 = 0 ;
15168 void *argp2 = 0 ;
15169 int res2 = 0 ;
15170 int val3 ;
15171 int ecode3 = 0 ;
15172 bool temp4 = false ;
15173 int val5 ;
15174 int ecode5 = 0 ;
15175 PyObject * obj0 = 0 ;
15176 PyObject * obj1 = 0 ;
15177 PyObject * obj2 = 0 ;
15178 PyObject * obj3 = 0 ;
15179 PyObject * obj4 = 0 ;
15180 char * kwnames[] = {
15181 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15182 };
15183
15184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15186 if (!SWIG_IsOK(res1)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15188 }
15189 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15190 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15191 if (!SWIG_IsOK(res2)) {
15192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15193 }
15194 arg2 = reinterpret_cast< wxWindow * >(argp2);
15195 ecode3 = SWIG_AsVal_int(obj2, &val3);
15196 if (!SWIG_IsOK(ecode3)) {
15197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15198 }
15199 arg3 = static_cast< int >(val3);
15200 if (obj3) {
15201 {
15202 arg4 = wxString_in_helper(obj3);
15203 if (arg4 == NULL) SWIG_fail;
15204 temp4 = true;
15205 }
15206 }
15207 if (obj4) {
15208 ecode5 = SWIG_AsVal_int(obj4, &val5);
15209 if (!SWIG_IsOK(ecode5)) {
15210 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15211 }
15212 arg5 = static_cast< int >(val5);
15213 }
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 {
15221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15222 }
15223 {
15224 if (temp4)
15225 delete arg4;
15226 }
15227 return resultobj;
15228 fail:
15229 {
15230 if (temp4)
15231 delete arg4;
15232 }
15233 return NULL;
15234 }
15235
15236
15237 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15238 PyObject *resultobj = 0;
15239 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15240 wxHtmlHelpData *result = 0 ;
15241 void *argp1 = 0 ;
15242 int res1 = 0 ;
15243 PyObject *swig_obj[1] ;
15244
15245 if (!args) SWIG_fail;
15246 swig_obj[0] = args;
15247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15248 if (!SWIG_IsOK(res1)) {
15249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15250 }
15251 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 result = (wxHtmlHelpData *)(arg1)->GetData();
15255 wxPyEndAllowThreads(__tstate);
15256 if (PyErr_Occurred()) SWIG_fail;
15257 }
15258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15259 return resultobj;
15260 fail:
15261 return NULL;
15262 }
15263
15264
15265 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj = 0;
15267 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15268 wxString *arg2 = 0 ;
15269 void *argp1 = 0 ;
15270 int res1 = 0 ;
15271 bool temp2 = false ;
15272 PyObject * obj0 = 0 ;
15273 PyObject * obj1 = 0 ;
15274 char * kwnames[] = {
15275 (char *) "self",(char *) "format", NULL
15276 };
15277
15278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15280 if (!SWIG_IsOK(res1)) {
15281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15282 }
15283 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15284 {
15285 arg2 = wxString_in_helper(obj1);
15286 if (arg2 == NULL) SWIG_fail;
15287 temp2 = true;
15288 }
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 (arg1)->SetTitleFormat((wxString const &)*arg2);
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
15295 resultobj = SWIG_Py_Void();
15296 {
15297 if (temp2)
15298 delete arg2;
15299 }
15300 return resultobj;
15301 fail:
15302 {
15303 if (temp2)
15304 delete arg2;
15305 }
15306 return NULL;
15307 }
15308
15309
15310 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15311 PyObject *resultobj = 0;
15312 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15313 void *argp1 = 0 ;
15314 int res1 = 0 ;
15315 PyObject *swig_obj[1] ;
15316
15317 if (!args) SWIG_fail;
15318 swig_obj[0] = args;
15319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15320 if (!SWIG_IsOK(res1)) {
15321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15322 }
15323 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 (arg1)->AddGrabIfNeeded();
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 resultobj = SWIG_Py_Void();
15331 return resultobj;
15332 fail:
15333 return NULL;
15334 }
15335
15336
15337 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15338 PyObject *resultobj = 0;
15339 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15340 wxHtmlHelpController *result = 0 ;
15341 void *argp1 = 0 ;
15342 int res1 = 0 ;
15343 PyObject *swig_obj[1] ;
15344
15345 if (!args) SWIG_fail;
15346 swig_obj[0] = args;
15347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15348 if (!SWIG_IsOK(res1)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15350 }
15351 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15359 return resultobj;
15360 fail:
15361 return NULL;
15362 }
15363
15364
15365 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15366 PyObject *resultobj = 0;
15367 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15368 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15369 void *argp1 = 0 ;
15370 int res1 = 0 ;
15371 int res2 = 0 ;
15372 PyObject * obj0 = 0 ;
15373 PyObject * obj1 = 0 ;
15374 char * kwnames[] = {
15375 (char *) "self",(char *) "controller", NULL
15376 };
15377
15378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15380 if (!SWIG_IsOK(res1)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15382 }
15383 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15384 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15385 if (!SWIG_IsOK(res2)) {
15386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15387 }
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 (arg1)->SetController(arg2);
15391 wxPyEndAllowThreads(__tstate);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 resultobj = SWIG_Py_Void();
15395 return resultobj;
15396 fail:
15397 return NULL;
15398 }
15399
15400
15401 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15402 PyObject *resultobj = 0;
15403 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15404 wxHtmlHelpWindow *result = 0 ;
15405 void *argp1 = 0 ;
15406 int res1 = 0 ;
15407 PyObject *swig_obj[1] ;
15408
15409 if (!args) SWIG_fail;
15410 swig_obj[0] = args;
15411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15412 if (!SWIG_IsOK(res1)) {
15413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15414 }
15415 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 {
15423 resultobj = wxPyMake_wxObject(result, 0);
15424 }
15425 return resultobj;
15426 fail:
15427 return NULL;
15428 }
15429
15430
15431 SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15432 PyObject *obj;
15433 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15434 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15435 return SWIG_Py_Void();
15436 }
15437
15438 SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15439 return SWIG_Python_InitShadowInstance(args);
15440 }
15441
15442 SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj = 0;
15444 wxWindow *arg1 = (wxWindow *) 0 ;
15445 int arg2 ;
15446 wxString const &arg3_defvalue = wxPyEmptyString ;
15447 wxString *arg3 = (wxString *) &arg3_defvalue ;
15448 int arg4 = (int) wxHF_DEFAULT_STYLE ;
15449 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15450 wxHtmlHelpDialog *result = 0 ;
15451 void *argp1 = 0 ;
15452 int res1 = 0 ;
15453 int val2 ;
15454 int ecode2 = 0 ;
15455 bool temp3 = false ;
15456 int val4 ;
15457 int ecode4 = 0 ;
15458 void *argp5 = 0 ;
15459 int res5 = 0 ;
15460 PyObject * obj0 = 0 ;
15461 PyObject * obj1 = 0 ;
15462 PyObject * obj2 = 0 ;
15463 PyObject * obj3 = 0 ;
15464 PyObject * obj4 = 0 ;
15465 char * kwnames[] = {
15466 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15467 };
15468
15469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15471 if (!SWIG_IsOK(res1)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15473 }
15474 arg1 = reinterpret_cast< wxWindow * >(argp1);
15475 ecode2 = SWIG_AsVal_int(obj1, &val2);
15476 if (!SWIG_IsOK(ecode2)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15478 }
15479 arg2 = static_cast< int >(val2);
15480 if (obj2) {
15481 {
15482 arg3 = wxString_in_helper(obj2);
15483 if (arg3 == NULL) SWIG_fail;
15484 temp3 = true;
15485 }
15486 }
15487 if (obj3) {
15488 ecode4 = SWIG_AsVal_int(obj3, &val4);
15489 if (!SWIG_IsOK(ecode4)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15491 }
15492 arg4 = static_cast< int >(val4);
15493 }
15494 if (obj4) {
15495 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15496 if (!SWIG_IsOK(res5)) {
15497 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15498 }
15499 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15500 }
15501 {
15502 if (!wxPyCheckForApp()) SWIG_fail;
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15509 {
15510 if (temp3)
15511 delete arg3;
15512 }
15513 return resultobj;
15514 fail:
15515 {
15516 if (temp3)
15517 delete arg3;
15518 }
15519 return NULL;
15520 }
15521
15522
15523 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj = 0;
15525 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15526 wxHtmlHelpDialog *result = 0 ;
15527 void *argp1 = 0 ;
15528 int res1 = 0 ;
15529 PyObject * obj0 = 0 ;
15530 char * kwnames[] = {
15531 (char *) "data", NULL
15532 };
15533
15534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15535 if (obj0) {
15536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15537 if (!SWIG_IsOK(res1)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15539 }
15540 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15541 }
15542 {
15543 if (!wxPyCheckForApp()) SWIG_fail;
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15550 return resultobj;
15551 fail:
15552 return NULL;
15553 }
15554
15555
15556 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj = 0;
15558 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15559 wxWindow *arg2 = (wxWindow *) 0 ;
15560 int arg3 ;
15561 wxString const &arg4_defvalue = wxPyEmptyString ;
15562 wxString *arg4 = (wxString *) &arg4_defvalue ;
15563 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15564 bool result;
15565 void *argp1 = 0 ;
15566 int res1 = 0 ;
15567 void *argp2 = 0 ;
15568 int res2 = 0 ;
15569 int val3 ;
15570 int ecode3 = 0 ;
15571 bool temp4 = false ;
15572 int val5 ;
15573 int ecode5 = 0 ;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 PyObject * obj2 = 0 ;
15577 PyObject * obj3 = 0 ;
15578 PyObject * obj4 = 0 ;
15579 char * kwnames[] = {
15580 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15581 };
15582
15583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15585 if (!SWIG_IsOK(res1)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15587 }
15588 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15589 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15590 if (!SWIG_IsOK(res2)) {
15591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15592 }
15593 arg2 = reinterpret_cast< wxWindow * >(argp2);
15594 ecode3 = SWIG_AsVal_int(obj2, &val3);
15595 if (!SWIG_IsOK(ecode3)) {
15596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15597 }
15598 arg3 = static_cast< int >(val3);
15599 if (obj3) {
15600 {
15601 arg4 = wxString_in_helper(obj3);
15602 if (arg4 == NULL) SWIG_fail;
15603 temp4 = true;
15604 }
15605 }
15606 if (obj4) {
15607 ecode5 = SWIG_AsVal_int(obj4, &val5);
15608 if (!SWIG_IsOK(ecode5)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15610 }
15611 arg5 = static_cast< int >(val5);
15612 }
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 {
15620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15621 }
15622 {
15623 if (temp4)
15624 delete arg4;
15625 }
15626 return resultobj;
15627 fail:
15628 {
15629 if (temp4)
15630 delete arg4;
15631 }
15632 return NULL;
15633 }
15634
15635
15636 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15637 PyObject *resultobj = 0;
15638 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15639 wxHtmlHelpData *result = 0 ;
15640 void *argp1 = 0 ;
15641 int res1 = 0 ;
15642 PyObject *swig_obj[1] ;
15643
15644 if (!args) SWIG_fail;
15645 swig_obj[0] = args;
15646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15647 if (!SWIG_IsOK(res1)) {
15648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15649 }
15650 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = (wxHtmlHelpData *)(arg1)->GetData();
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15658 return resultobj;
15659 fail:
15660 return NULL;
15661 }
15662
15663
15664 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15665 PyObject *resultobj = 0;
15666 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15667 wxHtmlHelpController *result = 0 ;
15668 void *argp1 = 0 ;
15669 int res1 = 0 ;
15670 PyObject *swig_obj[1] ;
15671
15672 if (!args) SWIG_fail;
15673 swig_obj[0] = args;
15674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15675 if (!SWIG_IsOK(res1)) {
15676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15677 }
15678 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15686 return resultobj;
15687 fail:
15688 return NULL;
15689 }
15690
15691
15692 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj = 0;
15694 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15695 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15696 void *argp1 = 0 ;
15697 int res1 = 0 ;
15698 int res2 = 0 ;
15699 PyObject * obj0 = 0 ;
15700 PyObject * obj1 = 0 ;
15701 char * kwnames[] = {
15702 (char *) "self",(char *) "controller", NULL
15703 };
15704
15705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15707 if (!SWIG_IsOK(res1)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15709 }
15710 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15711 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15712 if (!SWIG_IsOK(res2)) {
15713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15714 }
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 (arg1)->SetController(arg2);
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = SWIG_Py_Void();
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15729 PyObject *resultobj = 0;
15730 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15731 wxHtmlHelpWindow *result = 0 ;
15732 void *argp1 = 0 ;
15733 int res1 = 0 ;
15734 PyObject *swig_obj[1] ;
15735
15736 if (!args) SWIG_fail;
15737 swig_obj[0] = args;
15738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15739 if (!SWIG_IsOK(res1)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15741 }
15742 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
15746 wxPyEndAllowThreads(__tstate);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 {
15750 resultobj = wxPyMake_wxObject(result, 0);
15751 }
15752 return resultobj;
15753 fail:
15754 return NULL;
15755 }
15756
15757
15758 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj = 0;
15760 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15761 wxString *arg2 = 0 ;
15762 void *argp1 = 0 ;
15763 int res1 = 0 ;
15764 bool temp2 = false ;
15765 PyObject * obj0 = 0 ;
15766 PyObject * obj1 = 0 ;
15767 char * kwnames[] = {
15768 (char *) "self",(char *) "format", NULL
15769 };
15770
15771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15773 if (!SWIG_IsOK(res1)) {
15774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15775 }
15776 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15777 {
15778 arg2 = wxString_in_helper(obj1);
15779 if (arg2 == NULL) SWIG_fail;
15780 temp2 = true;
15781 }
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 (arg1)->SetTitleFormat((wxString const &)*arg2);
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 resultobj = SWIG_Py_Void();
15789 {
15790 if (temp2)
15791 delete arg2;
15792 }
15793 return resultobj;
15794 fail:
15795 {
15796 if (temp2)
15797 delete arg2;
15798 }
15799 return NULL;
15800 }
15801
15802
15803 SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15804 PyObject *obj;
15805 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15806 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
15807 return SWIG_Py_Void();
15808 }
15809
15810 SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15811 return SWIG_Python_InitShadowInstance(args);
15812 }
15813
15814 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15815 PyObject *resultobj = 0;
15816 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15817 wxString *arg2 = 0 ;
15818 int arg3 ;
15819 bool result;
15820 void *argp1 = 0 ;
15821 int res1 = 0 ;
15822 bool temp2 = false ;
15823 int val3 ;
15824 int ecode3 = 0 ;
15825
15826 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
15827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15828 if (!SWIG_IsOK(res1)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15830 }
15831 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15832 {
15833 arg2 = wxString_in_helper(swig_obj[1]);
15834 if (arg2 == NULL) SWIG_fail;
15835 temp2 = true;
15836 }
15837 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
15838 if (!SWIG_IsOK(ecode3)) {
15839 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15840 }
15841 arg3 = static_cast< int >(val3);
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
15845 wxPyEndAllowThreads(__tstate);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 {
15849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15850 }
15851 {
15852 if (temp2)
15853 delete arg2;
15854 }
15855 return resultobj;
15856 fail:
15857 {
15858 if (temp2)
15859 delete arg2;
15860 }
15861 return NULL;
15862 }
15863
15864
15865 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15866 PyObject *resultobj = 0;
15867 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15868 wxString *arg2 = 0 ;
15869 bool result;
15870 void *argp1 = 0 ;
15871 int res1 = 0 ;
15872 bool temp2 = false ;
15873
15874 if ((nobjs < 2) || (nobjs > 2)) 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 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 {
15892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15893 }
15894 {
15895 if (temp2)
15896 delete arg2;
15897 }
15898 return resultobj;
15899 fail:
15900 {
15901 if (temp2)
15902 delete arg2;
15903 }
15904 return NULL;
15905 }
15906
15907
15908 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
15909 int argc;
15910 PyObject *argv[4];
15911
15912 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
15913 --argc;
15914 if (argc == 2) {
15915 return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
15916 }
15917 if (argc == 3) {
15918 return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
15919 }
15920
15921 fail:
15922 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15923 return NULL;
15924 }
15925
15926
15927 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj = 0;
15929 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15930 wxString *arg2 = 0 ;
15931 long arg3 = (long) 0 ;
15932 void *argp1 = 0 ;
15933 int res1 = 0 ;
15934 bool temp2 = false ;
15935 long val3 ;
15936 int ecode3 = 0 ;
15937 PyObject * obj0 = 0 ;
15938 PyObject * obj1 = 0 ;
15939 PyObject * obj2 = 0 ;
15940 char * kwnames[] = {
15941 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15942 };
15943
15944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15946 if (!SWIG_IsOK(res1)) {
15947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15948 }
15949 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15950 {
15951 arg2 = wxString_in_helper(obj1);
15952 if (arg2 == NULL) SWIG_fail;
15953 temp2 = true;
15954 }
15955 if (obj2) {
15956 ecode3 = SWIG_AsVal_long(obj2, &val3);
15957 if (!SWIG_IsOK(ecode3)) {
15958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15959 }
15960 arg3 = static_cast< long >(val3);
15961 }
15962 {
15963 PyThreadState* __tstate = wxPyBeginAllowThreads();
15964 (arg1)->SetViewer((wxString const &)*arg2,arg3);
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 resultobj = SWIG_Py_Void();
15969 {
15970 if (temp2)
15971 delete arg2;
15972 }
15973 return resultobj;
15974 fail:
15975 {
15976 if (temp2)
15977 delete arg2;
15978 }
15979 return NULL;
15980 }
15981
15982
15983 SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj = 0;
15985 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15986 wxString const &arg2_defvalue = wxEmptyString ;
15987 wxString *arg2 = (wxString *) &arg2_defvalue ;
15988 bool result;
15989 void *argp1 = 0 ;
15990 int res1 = 0 ;
15991 bool temp2 = false ;
15992 PyObject * obj0 = 0 ;
15993 PyObject * obj1 = 0 ;
15994 char * kwnames[] = {
15995 (char *) "self",(char *) "file", NULL
15996 };
15997
15998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
15999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16000 if (!SWIG_IsOK(res1)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16002 }
16003 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16004 if (obj1) {
16005 {
16006 arg2 = wxString_in_helper(obj1);
16007 if (arg2 == NULL) SWIG_fail;
16008 temp2 = true;
16009 }
16010 }
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 {
16018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16019 }
16020 {
16021 if (temp2)
16022 delete arg2;
16023 }
16024 return resultobj;
16025 fail:
16026 {
16027 if (temp2)
16028 delete arg2;
16029 }
16030 return NULL;
16031 }
16032
16033
16034 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16035 PyObject *resultobj = 0;
16036 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16037 bool result;
16038 void *argp1 = 0 ;
16039 int res1 = 0 ;
16040 PyObject *swig_obj[1] ;
16041
16042 if (!args) SWIG_fail;
16043 swig_obj[0] = args;
16044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16045 if (!SWIG_IsOK(res1)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16047 }
16048 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 result = (bool)(arg1)->DisplayContents();
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 {
16056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16057 }
16058 return resultobj;
16059 fail:
16060 return NULL;
16061 }
16062
16063
16064 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16065 PyObject *resultobj = 0;
16066 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16067 int arg2 ;
16068 bool result;
16069 void *argp1 = 0 ;
16070 int res1 = 0 ;
16071 int val2 ;
16072 int ecode2 = 0 ;
16073
16074 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16076 if (!SWIG_IsOK(res1)) {
16077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16078 }
16079 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16080 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16081 if (!SWIG_IsOK(ecode2)) {
16082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16083 }
16084 arg2 = static_cast< int >(val2);
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 result = (bool)(arg1)->DisplaySection(arg2);
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 {
16092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16093 }
16094 return resultobj;
16095 fail:
16096 return NULL;
16097 }
16098
16099
16100 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj = 0;
16102 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16103 int arg2 ;
16104 bool result;
16105 void *argp1 = 0 ;
16106 int res1 = 0 ;
16107 int val2 ;
16108 int ecode2 = 0 ;
16109 PyObject * obj0 = 0 ;
16110 PyObject * obj1 = 0 ;
16111 char * kwnames[] = {
16112 (char *) "self",(char *) "contextId", NULL
16113 };
16114
16115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16117 if (!SWIG_IsOK(res1)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16119 }
16120 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16121 ecode2 = SWIG_AsVal_int(obj1, &val2);
16122 if (!SWIG_IsOK(ecode2)) {
16123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16124 }
16125 arg2 = static_cast< int >(val2);
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (bool)(arg1)->DisplayContextPopup(arg2);
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 {
16133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16134 }
16135 return resultobj;
16136 fail:
16137 return NULL;
16138 }
16139
16140
16141 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj = 0;
16143 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16144 wxString *arg2 = 0 ;
16145 wxPoint *arg3 = 0 ;
16146 bool result;
16147 void *argp1 = 0 ;
16148 int res1 = 0 ;
16149 bool temp2 = false ;
16150 wxPoint temp3 ;
16151 PyObject * obj0 = 0 ;
16152 PyObject * obj1 = 0 ;
16153 PyObject * obj2 = 0 ;
16154 char * kwnames[] = {
16155 (char *) "self",(char *) "text",(char *) "pos", NULL
16156 };
16157
16158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16160 if (!SWIG_IsOK(res1)) {
16161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16162 }
16163 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16164 {
16165 arg2 = wxString_in_helper(obj1);
16166 if (arg2 == NULL) SWIG_fail;
16167 temp2 = true;
16168 }
16169 {
16170 arg3 = &temp3;
16171 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16172 }
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 {
16180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16181 }
16182 {
16183 if (temp2)
16184 delete arg2;
16185 }
16186 return resultobj;
16187 fail:
16188 {
16189 if (temp2)
16190 delete arg2;
16191 }
16192 return NULL;
16193 }
16194
16195
16196 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16197 PyObject *resultobj = 0;
16198 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16199 wxString *arg2 = 0 ;
16200 bool result;
16201 void *argp1 = 0 ;
16202 int res1 = 0 ;
16203 bool temp2 = false ;
16204
16205 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16207 if (!SWIG_IsOK(res1)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16209 }
16210 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16211 {
16212 arg2 = wxString_in_helper(swig_obj[1]);
16213 if (arg2 == NULL) SWIG_fail;
16214 temp2 = true;
16215 }
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 {
16223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16224 }
16225 {
16226 if (temp2)
16227 delete arg2;
16228 }
16229 return resultobj;
16230 fail:
16231 {
16232 if (temp2)
16233 delete arg2;
16234 }
16235 return NULL;
16236 }
16237
16238
16239 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16240 int argc;
16241 PyObject *argv[3];
16242
16243 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16244 --argc;
16245 if (argc == 2) {
16246 int _v = 0;
16247 {
16248 {
16249 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16250 }
16251 }
16252 if (!_v) goto check_1;
16253 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16254 }
16255 check_1:
16256
16257 if (argc == 2) {
16258 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16259 }
16260
16261 fail:
16262 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16263 return NULL;
16264 }
16265
16266
16267 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj = 0;
16269 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16270 long arg2 ;
16271 bool result;
16272 void *argp1 = 0 ;
16273 int res1 = 0 ;
16274 long val2 ;
16275 int ecode2 = 0 ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 char * kwnames[] = {
16279 (char *) "self",(char *) "blockNo", NULL
16280 };
16281
16282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16284 if (!SWIG_IsOK(res1)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16286 }
16287 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16288 ecode2 = SWIG_AsVal_long(obj1, &val2);
16289 if (!SWIG_IsOK(ecode2)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16291 }
16292 arg2 = static_cast< long >(val2);
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (bool)(arg1)->DisplayBlock(arg2);
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 {
16300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16301 }
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj = 0;
16310 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16311 wxString *arg2 = 0 ;
16312 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16313 bool result;
16314 void *argp1 = 0 ;
16315 int res1 = 0 ;
16316 bool temp2 = false ;
16317 void *argp3 ;
16318 int res3 = 0 ;
16319 PyObject * obj0 = 0 ;
16320 PyObject * obj1 = 0 ;
16321 PyObject * obj2 = 0 ;
16322 char * kwnames[] = {
16323 (char *) "self",(char *) "k",(char *) "mode", NULL
16324 };
16325
16326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16328 if (!SWIG_IsOK(res1)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16330 }
16331 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16332 {
16333 arg2 = wxString_in_helper(obj1);
16334 if (arg2 == NULL) SWIG_fail;
16335 temp2 = true;
16336 }
16337 if (obj2) {
16338 {
16339 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16340 if (!SWIG_IsOK(res3)) {
16341 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16342 }
16343 if (!argp3) {
16344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16345 } else {
16346 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16347 arg3 = *temp;
16348 if (SWIG_IsNewObj(res3)) delete temp;
16349 }
16350 }
16351 }
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 {
16359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16360 }
16361 {
16362 if (temp2)
16363 delete arg2;
16364 }
16365 return resultobj;
16366 fail:
16367 {
16368 if (temp2)
16369 delete arg2;
16370 }
16371 return NULL;
16372 }
16373
16374
16375 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj = 0;
16377 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16378 wxString *arg2 = 0 ;
16379 wxSize *arg3 = 0 ;
16380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16382 bool arg5 = (bool) false ;
16383 void *argp1 = 0 ;
16384 int res1 = 0 ;
16385 bool temp2 = false ;
16386 wxSize temp3 ;
16387 wxPoint temp4 ;
16388 bool val5 ;
16389 int ecode5 = 0 ;
16390 PyObject * obj0 = 0 ;
16391 PyObject * obj1 = 0 ;
16392 PyObject * obj2 = 0 ;
16393 PyObject * obj3 = 0 ;
16394 PyObject * obj4 = 0 ;
16395 char * kwnames[] = {
16396 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16397 };
16398
16399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16401 if (!SWIG_IsOK(res1)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16403 }
16404 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16405 {
16406 arg2 = wxString_in_helper(obj1);
16407 if (arg2 == NULL) SWIG_fail;
16408 temp2 = true;
16409 }
16410 {
16411 arg3 = &temp3;
16412 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16413 }
16414 if (obj3) {
16415 {
16416 arg4 = &temp4;
16417 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16418 }
16419 }
16420 if (obj4) {
16421 ecode5 = SWIG_AsVal_bool(obj4, &val5);
16422 if (!SWIG_IsOK(ecode5)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16424 }
16425 arg5 = static_cast< bool >(val5);
16426 }
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 resultobj = SWIG_Py_Void();
16434 {
16435 if (temp2)
16436 delete arg2;
16437 }
16438 return resultobj;
16439 fail:
16440 {
16441 if (temp2)
16442 delete arg2;
16443 }
16444 return NULL;
16445 }
16446
16447
16448 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj = 0;
16450 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16451 wxSize *arg2 = (wxSize *) NULL ;
16452 wxPoint *arg3 = (wxPoint *) NULL ;
16453 bool *arg4 = (bool *) NULL ;
16454 wxFrame *result = 0 ;
16455 void *argp1 = 0 ;
16456 int res1 = 0 ;
16457 void *argp2 = 0 ;
16458 int res2 = 0 ;
16459 void *argp3 = 0 ;
16460 int res3 = 0 ;
16461 void *argp4 = 0 ;
16462 int res4 = 0 ;
16463 PyObject * obj0 = 0 ;
16464 PyObject * obj1 = 0 ;
16465 PyObject * obj2 = 0 ;
16466 PyObject * obj3 = 0 ;
16467 char * kwnames[] = {
16468 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16469 };
16470
16471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16473 if (!SWIG_IsOK(res1)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16475 }
16476 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16477 if (obj1) {
16478 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
16479 if (!SWIG_IsOK(res2)) {
16480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16481 }
16482 arg2 = reinterpret_cast< wxSize * >(argp2);
16483 }
16484 if (obj2) {
16485 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
16486 if (!SWIG_IsOK(res3)) {
16487 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16488 }
16489 arg3 = reinterpret_cast< wxPoint * >(argp3);
16490 }
16491 if (obj3) {
16492 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
16493 if (!SWIG_IsOK(res4)) {
16494 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16495 }
16496 arg4 = reinterpret_cast< bool * >(argp4);
16497 }
16498 {
16499 PyThreadState* __tstate = wxPyBeginAllowThreads();
16500 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 {
16505 resultobj = wxPyMake_wxObject(result, 0);
16506 }
16507 return resultobj;
16508 fail:
16509 return NULL;
16510 }
16511
16512
16513 SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16514 PyObject *resultobj = 0;
16515 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16516 bool result;
16517 void *argp1 = 0 ;
16518 int res1 = 0 ;
16519 PyObject *swig_obj[1] ;
16520
16521 if (!args) SWIG_fail;
16522 swig_obj[0] = args;
16523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16524 if (!SWIG_IsOK(res1)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16526 }
16527 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 result = (bool)(arg1)->Quit();
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16536 }
16537 return resultobj;
16538 fail:
16539 return NULL;
16540 }
16541
16542
16543 SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16544 PyObject *resultobj = 0;
16545 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16546 void *argp1 = 0 ;
16547 int res1 = 0 ;
16548 PyObject *swig_obj[1] ;
16549
16550 if (!args) SWIG_fail;
16551 swig_obj[0] = args;
16552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16553 if (!SWIG_IsOK(res1)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16555 }
16556 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 (arg1)->OnQuit();
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 resultobj = SWIG_Py_Void();
16564 return resultobj;
16565 fail:
16566 return NULL;
16567 }
16568
16569
16570 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16571 PyObject *resultobj = 0;
16572 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16573 wxWindow *arg2 = (wxWindow *) 0 ;
16574 void *argp1 = 0 ;
16575 int res1 = 0 ;
16576 void *argp2 = 0 ;
16577 int res2 = 0 ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
16580 char * kwnames[] = {
16581 (char *) "self",(char *) "win", NULL
16582 };
16583
16584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16586 if (!SWIG_IsOK(res1)) {
16587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16588 }
16589 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16590 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16591 if (!SWIG_IsOK(res2)) {
16592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16593 }
16594 arg2 = reinterpret_cast< wxWindow * >(argp2);
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 (arg1)->SetParentWindow(arg2);
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 resultobj = SWIG_Py_Void();
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16609 PyObject *resultobj = 0;
16610 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16611 wxWindow *result = 0 ;
16612 void *argp1 = 0 ;
16613 int res1 = 0 ;
16614 PyObject *swig_obj[1] ;
16615
16616 if (!args) SWIG_fail;
16617 swig_obj[0] = args;
16618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16619 if (!SWIG_IsOK(res1)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16621 }
16622 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 {
16630 resultobj = wxPyMake_wxObject(result, 0);
16631 }
16632 return resultobj;
16633 fail:
16634 return NULL;
16635 }
16636
16637
16638 SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16639 PyObject *obj;
16640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16641 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16642 return SWIG_Py_Void();
16643 }
16644
16645 SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj = 0;
16647 int arg1 = (int) wxHF_DEFAULT_STYLE ;
16648 wxWindow *arg2 = (wxWindow *) NULL ;
16649 wxHtmlHelpController *result = 0 ;
16650 int val1 ;
16651 int ecode1 = 0 ;
16652 void *argp2 = 0 ;
16653 int res2 = 0 ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 char * kwnames[] = {
16657 (char *) "style",(char *) "parentWindow", NULL
16658 };
16659
16660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16661 if (obj0) {
16662 ecode1 = SWIG_AsVal_int(obj0, &val1);
16663 if (!SWIG_IsOK(ecode1)) {
16664 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16665 }
16666 arg1 = static_cast< int >(val1);
16667 }
16668 if (obj1) {
16669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16670 if (!SWIG_IsOK(res2)) {
16671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16672 }
16673 arg2 = reinterpret_cast< wxWindow * >(argp2);
16674 }
16675 {
16676 if (!wxPyCheckForApp()) SWIG_fail;
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16683 return resultobj;
16684 fail:
16685 return NULL;
16686 }
16687
16688
16689 SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16690 PyObject *resultobj = 0;
16691 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16692 void *argp1 = 0 ;
16693 int res1 = 0 ;
16694 PyObject *swig_obj[1] ;
16695
16696 if (!args) SWIG_fail;
16697 swig_obj[0] = args;
16698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16699 if (!SWIG_IsOK(res1)) {
16700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16701 }
16702 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 delete arg1;
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 resultobj = SWIG_Py_Void();
16711 return resultobj;
16712 fail:
16713 return NULL;
16714 }
16715
16716
16717 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16718 PyObject *resultobj = 0;
16719 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16720 wxHtmlHelpWindow *result = 0 ;
16721 void *argp1 = 0 ;
16722 int res1 = 0 ;
16723 PyObject *swig_obj[1] ;
16724
16725 if (!args) SWIG_fail;
16726 swig_obj[0] = args;
16727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16728 if (!SWIG_IsOK(res1)) {
16729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16730 }
16731 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 {
16739 resultobj = wxPyMake_wxObject(result, 0);
16740 }
16741 return resultobj;
16742 fail:
16743 return NULL;
16744 }
16745
16746
16747 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16748 PyObject *resultobj = 0;
16749 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16750 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
16751 void *argp1 = 0 ;
16752 int res1 = 0 ;
16753 void *argp2 = 0 ;
16754 int res2 = 0 ;
16755 PyObject * obj0 = 0 ;
16756 PyObject * obj1 = 0 ;
16757 char * kwnames[] = {
16758 (char *) "self",(char *) "helpWindow", NULL
16759 };
16760
16761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16763 if (!SWIG_IsOK(res1)) {
16764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16765 }
16766 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
16768 if (!SWIG_IsOK(res2)) {
16769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16770 }
16771 arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
16772 {
16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
16774 (arg1)->SetHelpWindow(arg2);
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 resultobj = SWIG_Py_Void();
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16786 PyObject *resultobj = 0;
16787 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16788 wxHtmlHelpFrame *result = 0 ;
16789 void *argp1 = 0 ;
16790 int res1 = 0 ;
16791 PyObject *swig_obj[1] ;
16792
16793 if (!args) SWIG_fail;
16794 swig_obj[0] = args;
16795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16796 if (!SWIG_IsOK(res1)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16798 }
16799 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
16803 wxPyEndAllowThreads(__tstate);
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
16806 {
16807 resultobj = wxPyMake_wxObject(result, 0);
16808 }
16809 return resultobj;
16810 fail:
16811 return NULL;
16812 }
16813
16814
16815 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16816 PyObject *resultobj = 0;
16817 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16818 wxHtmlHelpDialog *result = 0 ;
16819 void *argp1 = 0 ;
16820 int res1 = 0 ;
16821 PyObject *swig_obj[1] ;
16822
16823 if (!args) SWIG_fail;
16824 swig_obj[0] = args;
16825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16826 if (!SWIG_IsOK(res1)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16828 }
16829 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
16837 resultobj = wxPyMake_wxObject(result, 0);
16838 }
16839 return resultobj;
16840 fail:
16841 return NULL;
16842 }
16843
16844
16845 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj = 0;
16847 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16848 wxString *arg2 = 0 ;
16849 void *argp1 = 0 ;
16850 int res1 = 0 ;
16851 bool temp2 = false ;
16852 PyObject * obj0 = 0 ;
16853 PyObject * obj1 = 0 ;
16854 char * kwnames[] = {
16855 (char *) "self",(char *) "format", NULL
16856 };
16857
16858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
16859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16860 if (!SWIG_IsOK(res1)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16862 }
16863 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16864 {
16865 arg2 = wxString_in_helper(obj1);
16866 if (arg2 == NULL) SWIG_fail;
16867 temp2 = true;
16868 }
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 (arg1)->SetTitleFormat((wxString const &)*arg2);
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 resultobj = SWIG_Py_Void();
16876 {
16877 if (temp2)
16878 delete arg2;
16879 }
16880 return resultobj;
16881 fail:
16882 {
16883 if (temp2)
16884 delete arg2;
16885 }
16886 return NULL;
16887 }
16888
16889
16890 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj = 0;
16892 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16893 wxString *arg2 = 0 ;
16894 void *argp1 = 0 ;
16895 int res1 = 0 ;
16896 bool temp2 = false ;
16897 PyObject * obj0 = 0 ;
16898 PyObject * obj1 = 0 ;
16899 char * kwnames[] = {
16900 (char *) "self",(char *) "path", NULL
16901 };
16902
16903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
16904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16905 if (!SWIG_IsOK(res1)) {
16906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16907 }
16908 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16909 {
16910 arg2 = wxString_in_helper(obj1);
16911 if (arg2 == NULL) SWIG_fail;
16912 temp2 = true;
16913 }
16914 {
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 (arg1)->SetTempDir((wxString const &)*arg2);
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 resultobj = SWIG_Py_Void();
16921 {
16922 if (temp2)
16923 delete arg2;
16924 }
16925 return resultobj;
16926 fail:
16927 {
16928 if (temp2)
16929 delete arg2;
16930 }
16931 return NULL;
16932 }
16933
16934
16935 SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj = 0;
16937 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16938 wxString *arg2 = 0 ;
16939 int arg3 = (int) false ;
16940 bool result;
16941 void *argp1 = 0 ;
16942 int res1 = 0 ;
16943 bool temp2 = false ;
16944 int val3 ;
16945 int ecode3 = 0 ;
16946 PyObject * obj0 = 0 ;
16947 PyObject * obj1 = 0 ;
16948 PyObject * obj2 = 0 ;
16949 char * kwnames[] = {
16950 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16951 };
16952
16953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16957 }
16958 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16959 {
16960 arg2 = wxString_in_helper(obj1);
16961 if (arg2 == NULL) SWIG_fail;
16962 temp2 = true;
16963 }
16964 if (obj2) {
16965 ecode3 = SWIG_AsVal_int(obj2, &val3);
16966 if (!SWIG_IsOK(ecode3)) {
16967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16968 }
16969 arg3 = static_cast< int >(val3);
16970 }
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 {
16978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16979 }
16980 {
16981 if (temp2)
16982 delete arg2;
16983 }
16984 return resultobj;
16985 fail:
16986 {
16987 if (temp2)
16988 delete arg2;
16989 }
16990 return NULL;
16991 }
16992
16993
16994 SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj = 0;
16996 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16997 wxString *arg2 = 0 ;
16998 void *argp1 = 0 ;
16999 int res1 = 0 ;
17000 bool temp2 = false ;
17001 PyObject * obj0 = 0 ;
17002 PyObject * obj1 = 0 ;
17003 char * kwnames[] = {
17004 (char *) "self",(char *) "x", NULL
17005 };
17006
17007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17009 if (!SWIG_IsOK(res1)) {
17010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17011 }
17012 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17013 {
17014 arg2 = wxString_in_helper(obj1);
17015 if (arg2 == NULL) SWIG_fail;
17016 temp2 = true;
17017 }
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 (arg1)->Display((wxString const &)*arg2);
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 resultobj = SWIG_Py_Void();
17025 {
17026 if (temp2)
17027 delete arg2;
17028 }
17029 return resultobj;
17030 fail:
17031 {
17032 if (temp2)
17033 delete arg2;
17034 }
17035 return NULL;
17036 }
17037
17038
17039 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17040 PyObject *resultobj = 0;
17041 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17042 int arg2 ;
17043 void *argp1 = 0 ;
17044 int res1 = 0 ;
17045 int val2 ;
17046 int ecode2 = 0 ;
17047 PyObject * obj0 = 0 ;
17048 PyObject * obj1 = 0 ;
17049 char * kwnames[] = {
17050 (char *) "self",(char *) "id", NULL
17051 };
17052
17053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17055 if (!SWIG_IsOK(res1)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17057 }
17058 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17059 ecode2 = SWIG_AsVal_int(obj1, &val2);
17060 if (!SWIG_IsOK(ecode2)) {
17061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17062 }
17063 arg2 = static_cast< int >(val2);
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 (arg1)->Display(arg2);
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = SWIG_Py_Void();
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17078 PyObject *resultobj = 0;
17079 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17080 void *argp1 = 0 ;
17081 int res1 = 0 ;
17082 PyObject *swig_obj[1] ;
17083
17084 if (!args) SWIG_fail;
17085 swig_obj[0] = args;
17086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17087 if (!SWIG_IsOK(res1)) {
17088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17089 }
17090 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 (arg1)->DisplayContents();
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 resultobj = SWIG_Py_Void();
17098 return resultobj;
17099 fail:
17100 return NULL;
17101 }
17102
17103
17104 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17105 PyObject *resultobj = 0;
17106 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17107 void *argp1 = 0 ;
17108 int res1 = 0 ;
17109 PyObject *swig_obj[1] ;
17110
17111 if (!args) SWIG_fail;
17112 swig_obj[0] = args;
17113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17114 if (!SWIG_IsOK(res1)) {
17115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17116 }
17117 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->DisplayIndex();
17121 wxPyEndAllowThreads(__tstate);
17122 if (PyErr_Occurred()) SWIG_fail;
17123 }
17124 resultobj = SWIG_Py_Void();
17125 return resultobj;
17126 fail:
17127 return NULL;
17128 }
17129
17130
17131 SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17132 PyObject *resultobj = 0;
17133 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17134 wxString *arg2 = 0 ;
17135 bool result;
17136 void *argp1 = 0 ;
17137 int res1 = 0 ;
17138 bool temp2 = false ;
17139 PyObject * obj0 = 0 ;
17140 PyObject * obj1 = 0 ;
17141 char * kwnames[] = {
17142 (char *) "self",(char *) "keyword", NULL
17143 };
17144
17145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17147 if (!SWIG_IsOK(res1)) {
17148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17149 }
17150 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17151 {
17152 arg2 = wxString_in_helper(obj1);
17153 if (arg2 == NULL) SWIG_fail;
17154 temp2 = true;
17155 }
17156 {
17157 PyThreadState* __tstate = wxPyBeginAllowThreads();
17158 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17159 wxPyEndAllowThreads(__tstate);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 {
17163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17164 }
17165 {
17166 if (temp2)
17167 delete arg2;
17168 }
17169 return resultobj;
17170 fail:
17171 {
17172 if (temp2)
17173 delete arg2;
17174 }
17175 return NULL;
17176 }
17177
17178
17179 SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj = 0;
17181 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17182 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17183 wxString const &arg3_defvalue = wxPyEmptyString ;
17184 wxString *arg3 = (wxString *) &arg3_defvalue ;
17185 void *argp1 = 0 ;
17186 int res1 = 0 ;
17187 void *argp2 = 0 ;
17188 int res2 = 0 ;
17189 bool temp3 = false ;
17190 PyObject * obj0 = 0 ;
17191 PyObject * obj1 = 0 ;
17192 PyObject * obj2 = 0 ;
17193 char * kwnames[] = {
17194 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17195 };
17196
17197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17199 if (!SWIG_IsOK(res1)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17201 }
17202 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17204 if (!SWIG_IsOK(res2)) {
17205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17206 }
17207 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17208 if (obj2) {
17209 {
17210 arg3 = wxString_in_helper(obj2);
17211 if (arg3 == NULL) SWIG_fail;
17212 temp3 = true;
17213 }
17214 }
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
17218 wxPyEndAllowThreads(__tstate);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 }
17221 resultobj = SWIG_Py_Void();
17222 {
17223 if (temp3)
17224 delete arg3;
17225 }
17226 return resultobj;
17227 fail:
17228 {
17229 if (temp3)
17230 delete arg3;
17231 }
17232 return NULL;
17233 }
17234
17235
17236 SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj = 0;
17238 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17239 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17240 wxString arg3 = (wxString) wxPyEmptyString ;
17241 void *argp1 = 0 ;
17242 int res1 = 0 ;
17243 void *argp2 = 0 ;
17244 int res2 = 0 ;
17245 PyObject * obj0 = 0 ;
17246 PyObject * obj1 = 0 ;
17247 PyObject * obj2 = 0 ;
17248 char * kwnames[] = {
17249 (char *) "self",(char *) "cfg",(char *) "path", NULL
17250 };
17251
17252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17254 if (!SWIG_IsOK(res1)) {
17255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17256 }
17257 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17259 if (!SWIG_IsOK(res2)) {
17260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17261 }
17262 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17263 if (obj2) {
17264 {
17265 wxString* sptr = wxString_in_helper(obj2);
17266 if (sptr == NULL) SWIG_fail;
17267 arg3 = *sptr;
17268 delete sptr;
17269 }
17270 }
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->ReadCustomization(arg2,arg3);
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 resultobj = SWIG_Py_Void();
17278 return resultobj;
17279 fail:
17280 return NULL;
17281 }
17282
17283
17284 SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(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_WriteCustomization",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_WriteCustomization" "', 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_WriteCustomization" "', 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)->WriteCustomization(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_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17333 PyObject *resultobj = 0;
17334 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17335 void *argp1 = 0 ;
17336 int res1 = 0 ;
17337 PyObject *swig_obj[1] ;
17338
17339 if (!args) SWIG_fail;
17340 swig_obj[0] = args;
17341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17342 if (!SWIG_IsOK(res1)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17344 }
17345 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->MakeModalIfNeeded();
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 resultobj = SWIG_Py_Void();
17353 return resultobj;
17354 fail:
17355 return NULL;
17356 }
17357
17358
17359 SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17360 PyObject *resultobj = 0;
17361 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17362 wxWindow *result = 0 ;
17363 void *argp1 = 0 ;
17364 int res1 = 0 ;
17365 PyObject *swig_obj[1] ;
17366
17367 if (!args) SWIG_fail;
17368 swig_obj[0] = args;
17369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17370 if (!SWIG_IsOK(res1)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17372 }
17373 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17374 {
17375 PyThreadState* __tstate = wxPyBeginAllowThreads();
17376 result = (wxWindow *)(arg1)->FindTopLevelWindow();
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 {
17381 resultobj = wxPyMake_wxObject(result, 0);
17382 }
17383 return resultobj;
17384 fail:
17385 return NULL;
17386 }
17387
17388
17389 SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17390 PyObject *obj;
17391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17392 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17393 return SWIG_Py_Void();
17394 }
17395
17396 SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17397 return SWIG_Python_InitShadowInstance(args);
17398 }
17399
17400 SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj = 0;
17402 wxWindow *arg1 = (wxWindow *) 0 ;
17403 wxString *arg2 = 0 ;
17404 wxString const &arg3_defvalue = wxEmptyString ;
17405 wxString *arg3 = (wxString *) &arg3_defvalue ;
17406 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17407 wxHtmlModalHelp *result = 0 ;
17408 void *argp1 = 0 ;
17409 int res1 = 0 ;
17410 bool temp2 = false ;
17411 bool temp3 = false ;
17412 int val4 ;
17413 int ecode4 = 0 ;
17414 PyObject * obj0 = 0 ;
17415 PyObject * obj1 = 0 ;
17416 PyObject * obj2 = 0 ;
17417 PyObject * obj3 = 0 ;
17418 char * kwnames[] = {
17419 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17420 };
17421
17422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17424 if (!SWIG_IsOK(res1)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17426 }
17427 arg1 = reinterpret_cast< wxWindow * >(argp1);
17428 {
17429 arg2 = wxString_in_helper(obj1);
17430 if (arg2 == NULL) SWIG_fail;
17431 temp2 = true;
17432 }
17433 if (obj2) {
17434 {
17435 arg3 = wxString_in_helper(obj2);
17436 if (arg3 == NULL) SWIG_fail;
17437 temp3 = true;
17438 }
17439 }
17440 if (obj3) {
17441 ecode4 = SWIG_AsVal_int(obj3, &val4);
17442 if (!SWIG_IsOK(ecode4)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17444 }
17445 arg4 = static_cast< int >(val4);
17446 }
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17454 {
17455 if (temp2)
17456 delete arg2;
17457 }
17458 {
17459 if (temp3)
17460 delete arg3;
17461 }
17462 return resultobj;
17463 fail:
17464 {
17465 if (temp2)
17466 delete arg2;
17467 }
17468 {
17469 if (temp3)
17470 delete arg3;
17471 }
17472 return NULL;
17473 }
17474
17475
17476 SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17477 PyObject *obj;
17478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17479 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17480 return SWIG_Py_Void();
17481 }
17482
17483 SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17484 return SWIG_Python_InitShadowInstance(args);
17485 }
17486
17487 static PyMethodDef SwigMethods[] = {
17488 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17489 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17490 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17491 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17492 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
17493 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17494 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17495 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
17496 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17497 { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
17498 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17499 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
17500 { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17501 { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17502 { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17503 { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17504 { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
17505 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17506 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
17507 { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
17508 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17509 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
17510 { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
17511 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
17512 { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
17513 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17514 { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
17515 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17516 { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
17517 { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
17518 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17519 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17520 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17521 { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17522 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17523 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
17524 { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
17525 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
17526 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17527 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17528 { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17529 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
17530 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
17531 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17532 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
17533 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
17534 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
17535 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
17536 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
17537 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17538 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
17539 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
17540 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
17541 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
17542 { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
17543 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17544 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
17545 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
17546 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
17547 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17548 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17549 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17550 { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
17551 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
17552 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17553 { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
17554 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17555 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17556 { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
17557 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17558 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
17559 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17560 { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
17561 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17562 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17563 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
17564 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17565 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
17566 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
17567 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17568 { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17569 { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
17570 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17571 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
17572 { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17573 { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17574 { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17575 { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17576 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17577 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
17578 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17579 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17580 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17581 { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
17582 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
17583 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17584 { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17585 { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
17586 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
17587 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
17588 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17589 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
17590 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17591 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
17592 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
17593 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
17594 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17595 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17596 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17597 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17598 { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17599 { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
17600 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17601 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
17602 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17603 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17604 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
17605 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
17606 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17607 { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17608 { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17609 { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17610 { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17611 { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17612 { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17613 { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17614 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17615 { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
17616 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17617 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17618 { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17619 { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17620 { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
17621 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17622 { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
17623 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
17624 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17625 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17626 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17627 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17628 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17629 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17630 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17631 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
17632 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
17633 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
17634 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17635 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
17636 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
17637 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17638 { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
17639 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17640 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17641 { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
17642 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17643 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17644 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
17645 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
17646 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
17647 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17648 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
17649 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
17650 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
17651 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
17652 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17653 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17654 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
17655 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
17656 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
17657 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
17658 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17659 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17660 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17661 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17662 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17663 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17664 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17665 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17666 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
17667 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
17668 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
17669 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
17670 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
17671 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17672 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
17673 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
17674 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17675 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
17676 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
17677 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17678 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
17679 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17680 { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
17681 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17682 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
17683 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
17684 { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17685 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17686 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17687 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17688 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17689 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17690 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17691 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17692 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
17693 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17694 { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
17695 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17697 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17698 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17699 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17700 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
17701 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17702 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17703 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
17704 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17705 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
17706 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
17707 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17708 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17709 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
17710 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17711 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17712 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17713 { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
17714 { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
17715 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
17716 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
17717 { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
17718 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
17719 { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
17720 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17721 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17722 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17723 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
17724 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
17725 { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
17726 { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
17727 { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
17728 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17729 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17730 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
17731 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17732 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
17733 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
17734 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17735 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
17736 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
17737 { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
17738 { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
17739 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17740 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17741 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17742 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17743 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17744 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
17745 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
17746 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
17747 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
17748 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
17749 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17750 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
17751 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17752 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17753 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17754 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17755 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17756 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17757 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
17758 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
17759 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
17760 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
17761 { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
17762 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
17763 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
17764 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
17765 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
17766 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
17767 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17768 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17769 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17770 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17771 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
17772 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
17773 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
17774 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
17775 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17776 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
17777 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
17778 { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
17779 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
17780 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
17781 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
17782 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
17783 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17784 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
17785 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17786 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
17787 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
17788 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
17789 { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
17790 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
17791 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
17792 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
17793 { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
17794 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
17795 { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
17796 { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
17797 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17798 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17799 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
17800 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
17801 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
17802 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
17803 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
17804 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17805 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17806 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17807 { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
17808 { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
17809 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17810 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17811 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17812 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
17813 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
17814 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17815 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17816 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17817 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17818 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
17819 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
17820 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
17821 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
17822 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
17823 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
17824 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
17825 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
17826 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
17827 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17828 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
17829 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL},
17830 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
17831 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL},
17832 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17833 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17834 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17835 { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
17836 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17837 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
17838 { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
17839 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17840 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
17841 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
17842 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
17843 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17844 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17845 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17846 { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
17847 { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
17848 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17849 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
17850 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17851 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
17852 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
17853 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
17854 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
17855 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17856 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
17857 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17858 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17859 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
17860 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
17861 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17862 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17863 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17864 { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
17865 { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
17866 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17867 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
17868 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
17869 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
17870 { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
17871 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
17872 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17873 { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
17874 { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
17875 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17876 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17877 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17878 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17879 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17880 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
17881 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
17882 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17883 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17884 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17885 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17886 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
17887 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
17888 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
17889 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
17890 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
17891 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
17892 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
17893 { NULL, NULL, 0, NULL }
17894 };
17895
17896
17897 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17898
17899 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
17900 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
17901 }
17902 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17903 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17904 }
17905 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17906 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17907 }
17908 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17909 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17910 }
17911 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17912 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17913 }
17914 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17915 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17916 }
17917 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17918 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17919 }
17920 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
17921 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
17922 }
17923 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17924 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17925 }
17926 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17927 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17928 }
17929 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
17930 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
17931 }
17932 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17933 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17934 }
17935 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17936 return (void *)((wxEvent *) ((wxPyEvent *) x));
17937 }
17938 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
17939 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
17940 }
17941 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17942 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17943 }
17944 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17945 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17946 }
17947 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17948 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17949 }
17950 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17951 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17952 }
17953 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17954 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17955 }
17956 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17957 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17958 }
17959 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17960 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17961 }
17962 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17963 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17964 }
17965 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
17966 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
17967 }
17968 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
17969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
17970 }
17971 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17972 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17973 }
17974 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17975 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17976 }
17977 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17979 }
17980 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17981 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17982 }
17983 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17984 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17985 }
17986 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
17987 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17988 }
17989 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
17990 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
17991 }
17992 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
17993 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
17994 }
17995 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
17996 return (void *)((wxEvent *) ((wxFocusEvent *) x));
17997 }
17998 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
17999 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18000 }
18001 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18002 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18003 }
18004 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18005 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18006 }
18007 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18008 return (void *)((wxEvent *) ((wxShowEvent *) x));
18009 }
18010 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
18011 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18012 }
18013 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18014 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18015 }
18016 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18017 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18018 }
18019 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18020 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18021 }
18022 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18023 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18024 }
18025 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18026 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18027 }
18028 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18029 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18030 }
18031 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18032 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18033 }
18034 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18035 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18036 }
18037 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18038 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18039 }
18040 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18041 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18042 }
18043 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18044 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18045 }
18046 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18047 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18048 }
18049 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
18050 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18051 }
18052 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
18053 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
18054 }
18055 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18057 }
18058 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18059 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18060 }
18061 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18062 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18063 }
18064 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18065 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18066 }
18067 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18068 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18069 }
18070 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18071 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18072 }
18073 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18074 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18075 }
18076 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18077 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18078 }
18079 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18080 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18081 }
18082 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18083 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18084 }
18085 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18086 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18087 }
18088 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18089 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18090 }
18091 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18093 }
18094 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18096 }
18097 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18099 }
18100 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18101 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18102 }
18103 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18104 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18105 }
18106 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18107 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18108 }
18109 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18110 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18111 }
18112 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18113 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18114 }
18115 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18117 }
18118 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18119 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18120 }
18121 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18122 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
18123 }
18124 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18125 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
18126 }
18127 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18128 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
18129 }
18130 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18131 return (void *)((wxEvtHandler *) ((wxWindow *) x));
18132 }
18133 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18134 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18135 }
18136 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18137 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
18138 }
18139 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18140 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
18141 }
18142 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18143 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18144 }
18145 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18146 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18147 }
18148 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
18150 }
18151 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18153 }
18154 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18155 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18156 }
18157 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18158 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18159 }
18160 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18161 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18162 }
18163 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18164 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18165 }
18166 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18168 }
18169 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18170 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
18171 }
18172 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18173 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18174 }
18175 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18176 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18177 }
18178 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18179 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18180 }
18181 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18182 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18183 }
18184 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18185 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18186 }
18187 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18188 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18189 }
18190 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18191 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18192 }
18193 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18194 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18195 }
18196 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18198 }
18199 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18201 }
18202 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18204 }
18205 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18207 }
18208 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18209 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18210 }
18211 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18212 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18213 }
18214 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18215 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18216 }
18217 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18218 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
18219 }
18220 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
18221 return (void *)((wxFrame *) ((wxProgressDialog *) x));
18222 }
18223 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18224 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
18225 }
18226 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18227 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18228 }
18229 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18230 return (void *)((wxFrame *) ((wxMiniFrame *) x));
18231 }
18232 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18233 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
18234 }
18235 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18236 return (void *)((wxFrame *) ((wxSplashScreen *) x));
18237 }
18238 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18239 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
18240 }
18241 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18242 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
18243 }
18244 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18246 }
18247 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18249 }
18250 static void *_p_wxEventTo_p_wxObject(void *x) {
18251 return (void *)((wxObject *) ((wxEvent *) x));
18252 }
18253 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
18255 }
18256 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18257 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18258 }
18259 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18260 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18261 }
18262 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18263 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
18264 }
18265 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18267 }
18268 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18270 }
18271 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18272 return (void *)((wxObject *) ((wxHtmlTag *) x));
18273 }
18274 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18275 return (void *)((wxObject *) ((wxMenuItem *) x));
18276 }
18277 static void *_p_wxImageTo_p_wxObject(void *x) {
18278 return (void *)((wxObject *) ((wxImage *) x));
18279 }
18280 static void *_p_wxPySizerTo_p_wxObject(void *x) {
18281 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18282 }
18283 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18284 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
18285 }
18286 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18287 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18288 }
18289 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18290 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
18291 }
18292 static void *_p_wxPyAppTo_p_wxObject(void *x) {
18293 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18294 }
18295 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18297 }
18298 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18300 }
18301 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18302 return (void *)((wxObject *) ((wxFindReplaceData *) x));
18303 }
18304 static void *_p_wxValidatorTo_p_wxObject(void *x) {
18305 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18306 }
18307 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18308 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18309 }
18310 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18311 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18312 }
18313 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18314 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18315 }
18316 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18317 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18318 }
18319 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18320 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
18321 }
18322 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18324 }
18325 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18326 return (void *)((wxObject *) ((wxPrintDialogData *) x));
18327 }
18328 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18329 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
18330 }
18331 static void *_p_wxPrinterTo_p_wxObject(void *x) {
18332 return (void *)((wxObject *) ((wxPrinter *) x));
18333 }
18334 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18336 }
18337 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18338 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
18339 }
18340 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18341 return (void *)((wxObject *) ((wxHtmlParser *) x));
18342 }
18343 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18344 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18345 }
18346 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18347 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18348 }
18349 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18350 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18351 }
18352 static void *_p_wxControlTo_p_wxObject(void *x) {
18353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18354 }
18355 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18357 }
18358 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18359 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18360 }
18361 static void *_p_wxColourDataTo_p_wxObject(void *x) {
18362 return (void *)((wxObject *) ((wxColourData *) x));
18363 }
18364 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18365 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18366 }
18367 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18368 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18369 }
18370 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18371 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18372 }
18373 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18374 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18375 }
18376 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18377 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18378 }
18379 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18380 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18381 }
18382 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18383 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18384 }
18385 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18386 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18387 }
18388 static void *_p_wxDateEventTo_p_wxObject(void *x) {
18389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
18390 }
18391 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18392 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
18393 }
18394 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18395 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
18396 }
18397 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18398 return (void *)((wxObject *) ((wxPyPrintout *) x));
18399 }
18400 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18402 }
18403 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18404 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
18405 }
18406 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18407 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18408 }
18409 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18410 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18411 }
18412 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18413 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18414 }
18415 static void *_p_wxSashEventTo_p_wxObject(void *x) {
18416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
18417 }
18418 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18420 }
18421 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18423 }
18424 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18425 return (void *)((wxObject *) ((wxPrintData *) x));
18426 }
18427 static void *_p_wxFontDataTo_p_wxObject(void *x) {
18428 return (void *)((wxObject *) ((wxFontData *) x));
18429 }
18430 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18432 }
18433 static void *_p_wxFrameTo_p_wxObject(void *x) {
18434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18435 }
18436 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18438 }
18439 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18440 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18441 }
18442 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18444 }
18445 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18446 return (void *)((wxObject *) ((wxFileSystem *) x));
18447 }
18448 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18449 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
18450 }
18451 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18452 return (void *)((wxObject *) ((wxPrintPreview *) x));
18453 }
18454 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18455 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18456 }
18457 static void *_p_wxSizerTo_p_wxObject(void *x) {
18458 return (void *)((wxObject *) ((wxSizer *) x));
18459 }
18460 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18461 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18462 }
18463 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18464 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18465 }
18466 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18467 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18468 }
18469 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18470 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
18471 }
18472 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18473 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18474 }
18475 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18476 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18477 }
18478 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
18479 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
18480 }
18481 static void *_p_wxFSFileTo_p_wxObject(void *x) {
18482 return (void *)((wxObject *) ((wxFSFile *) x));
18483 }
18484 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18486 }
18487 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18488 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18489 }
18490 static void *_p_wxMenuTo_p_wxObject(void *x) {
18491 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18492 }
18493 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18494 return (void *)((wxObject *) ((wxSizerItem *) x));
18495 }
18496 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18497 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18498 }
18499 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18501 }
18502 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18503 return (void *)((wxObject *) ((wxPrintDialog *) x));
18504 }
18505 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18506 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
18507 }
18508 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18510 }
18511 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18513 }
18514 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18516 }
18517 static void *_p_wxDialogTo_p_wxObject(void *x) {
18518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18519 }
18520 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18522 }
18523 static void *_p_wxPyEventTo_p_wxObject(void *x) {
18524 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18525 }
18526 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18527 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18528 }
18529 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18530 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
18531 }
18532 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18533 return (void *)((wxObject *) ((wxEvtHandler *) x));
18534 }
18535 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18536 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18537 }
18538 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18539 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18540 }
18541 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18542 return (void *)((wxObject *) ((wxImageHandler *) x));
18543 }
18544 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18545 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
18546 }
18547 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18548 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18549 }
18550 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18551 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18552 }
18553 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18554 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18555 }
18556 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18557 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18558 }
18559 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18560 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18561 }
18562 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18563 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18564 }
18565 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18566 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18567 }
18568 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18569 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18570 }
18571 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18572 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18573 }
18574 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
18575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18576 }
18577 static void *_p_wxShowEventTo_p_wxObject(void *x) {
18578 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18579 }
18580 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
18582 }
18583 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18585 }
18586 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18588 }
18589 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
18591 }
18592 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18594 }
18595 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18597 }
18598 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18600 }
18601 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
18603 }
18604 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18606 }
18607 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
18609 }
18610 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
18612 }
18613 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
18615 }
18616 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
18618 }
18619 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18621 }
18622 static void *_p_wxWindowTo_p_wxObject(void *x) {
18623 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18624 }
18625 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18626 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
18627 }
18628 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18629 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
18630 }
18631 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18633 }
18634 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18636 }
18637 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18639 }
18640 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18642 }
18643 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18645 }
18646 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18648 }
18649 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18651 }
18652 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18654 }
18655 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18656 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
18657 }
18658 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
18660 }
18661 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18662 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18663 }
18664 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18665 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18666 }
18667 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18668 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18669 }
18670 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18671 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18672 }
18673 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18674 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
18675 }
18676 static void *_p_wxPanelTo_p_wxObject(void *x) {
18677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
18678 }
18679 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
18680 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
18681 }
18682 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18683 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
18684 }
18685 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
18686 return (void *)((wxObject *) ((wxHtmlCell *) x));
18687 }
18688 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18689 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
18690 }
18691 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18692 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
18693 }
18694 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18695 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
18696 }
18697 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18698 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
18699 }
18700 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
18701 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
18702 }
18703 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
18704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
18705 }
18706 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18708 }
18709 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18710 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18711 }
18712 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18713 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18714 }
18715 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
18716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18717 }
18718 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
18719 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
18720 }
18721 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
18723 }
18724 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
18725 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18726 }
18727 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
18728 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18729 }
18730 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
18731 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
18732 }
18733 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18734 return (void *)((wxWindow *) ((wxMenuBar *) x));
18735 }
18736 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
18737 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18738 }
18739 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
18740 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18741 }
18742 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
18743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18744 }
18745 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
18746 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18747 }
18748 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
18749 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18750 }
18751 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
18752 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18753 }
18754 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
18755 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18756 }
18757 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
18758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18759 }
18760 static void *_p_wxPanelTo_p_wxWindow(void *x) {
18761 return (void *)((wxWindow *) ((wxPanel *) x));
18762 }
18763 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
18764 return (void *)((wxWindow *) ((wxStatusBar *) x));
18765 }
18766 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
18767 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
18768 }
18769 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
18770 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18771 }
18772 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
18773 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18774 }
18775 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
18776 return (void *)((wxWindow *) ((wxPopupWindow *) x));
18777 }
18778 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
18779 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
18780 }
18781 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
18782 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
18783 }
18784 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
18785 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
18786 }
18787 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
18788 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
18789 }
18790 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
18791 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
18792 }
18793 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
18794 return (void *)((wxWindow *) ((wxSashWindow *) x));
18795 }
18796 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
18797 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
18798 }
18799 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
18800 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18801 }
18802 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
18803 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18804 }
18805 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
18806 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
18807 }
18808 static void *_p_wxControlTo_p_wxWindow(void *x) {
18809 return (void *)((wxWindow *) ((wxControl *) x));
18810 }
18811 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
18812 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18813 }
18814 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
18815 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18816 }
18817 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
18818 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18819 }
18820 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18821 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18822 }
18823 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
18824 return (void *)((wxWindow *) ((wxPyWindow *) x));
18825 }
18826 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
18827 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18828 }
18829 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
18830 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18831 }
18832 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
18833 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18834 }
18835 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
18836 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
18837 }
18838 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
18839 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18840 }
18841 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
18842 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18843 }
18844 static void *_p_wxFrameTo_p_wxWindow(void *x) {
18845 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
18846 }
18847 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
18848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18849 }
18850 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
18851 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18852 }
18853 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
18854 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18855 }
18856 static void *_p_wxDialogTo_p_wxWindow(void *x) {
18857 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
18858 }
18859 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
18860 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18861 }
18862 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
18863 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18864 }
18865 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
18866 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18867 }
18868 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
18869 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18870 }
18871 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
18872 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
18873 }
18874 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
18875 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
18876 }
18877 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
18878 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
18879 }
18880 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
18881 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
18882 }
18883 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
18884 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
18885 }
18886 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
18887 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
18888 }
18889 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
18890 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
18891 }
18892 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
18893 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
18894 }
18895 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
18896 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
18897 }
18898 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
18899 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
18900 }
18901 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
18902 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
18903 }
18904 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
18905 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
18906 }
18907 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
18908 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
18909 }
18910 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
18911 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18912 }
18913 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
18914 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
18915 }
18916 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18917 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
18918 }
18919 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18920 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
18921 }
18922 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
18923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
18924 }
18925 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
18926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
18927 }
18928 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
18929 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
18930 }
18931 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18932 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
18933 }
18934 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18935 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18936 }
18937 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
18938 return (void *)((wxDialog *) ((wxColourDialog *) x));
18939 }
18940 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
18941 return (void *)((wxDialog *) ((wxDirDialog *) x));
18942 }
18943 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
18944 return (void *)((wxDialog *) ((wxFontDialog *) x));
18945 }
18946 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
18947 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
18948 }
18949 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
18950 return (void *)((wxDialog *) ((wxFileDialog *) x));
18951 }
18952 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
18953 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
18954 }
18955 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
18956 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
18957 }
18958 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
18959 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
18960 }
18961 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
18962 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18963 }
18964 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
18965 return (void *)((wxDialog *) ((wxMessageDialog *) x));
18966 }
18967 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
18968 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
18969 }
18970 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
18971 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
18972 }
18973 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
18974 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
18975 }
18976 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
18977 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18978 }
18979 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
18980 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18981 }
18982 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
18983 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18984 }
18985 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
18986 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18987 }
18988 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
18989 return (void *)((wxPanel *) ((wxPyPanel *) x));
18990 }
18991 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
18992 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
18993 }
18994 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
18995 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
18996 }
18997 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
18998 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18999 }
19000 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19001 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
19002 }
19003 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19004 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
19005 }
19006 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19007 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
19008 }
19009 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19010 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19011 }
19012 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19013 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
19014 }
19015 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
19016 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
19017 }
19018 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19019 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
19020 }
19021 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19022 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
19023 }
19024 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19025 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19026 }
19027 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19028 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19029 }
19030 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19031 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19032 }
19033 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19034 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
19035 }
19036 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19037 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19038 }
19039 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
19040 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
19041 }
19042 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19043 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19044 }
19045 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19046 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
19047 }
19048 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19049 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19050 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};
19051 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19052 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19053 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19054 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19055 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19056 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19057 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19058 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19059 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19060 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19061 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19062 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19063 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19064 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19065 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19066 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19067 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19068 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19069 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19070 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19071 static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19072 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19073 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19074 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19075 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19076 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19077 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19078 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19079 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19080 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19081 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19082 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19083 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19084 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19085 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19086 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19087 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19088 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19089 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19090 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19091 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19092 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19093 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19094 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19095 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19096 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19097 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19102 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19103 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19104 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19105 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19106 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19108 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19109 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19110 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19111 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19112 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19113 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19117 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19125 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19126 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19138 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19150 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19151 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19152 static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19153 static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19154 static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19155 static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19156 static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19157 static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19158 static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19159 static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19160 static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19161 static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19162 static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19163 static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19164 static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19165 static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19166 static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19167 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19168 static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19169 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19170 static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19171 static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19172 static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19173 static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19174 static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19175 static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19176 static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19177 static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19178 static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19179 static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19180 static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19181 static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19182 static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19183 static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19184 static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19185 static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19186 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19187 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19188 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19190 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19191 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19192 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19193 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19194 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19195 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19196 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
19197 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19198 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19199 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19200 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19201 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19202 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19203 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19204 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19205 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19206 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19207 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
19208 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19209 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19210 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
19211 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19212 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19213 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19214 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19215 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19216 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19217 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19218 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19219 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19220 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19221 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19222 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19223 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19224 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19225 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19226 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19229 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19230 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19231 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19232 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19233 static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19234 static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19235 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19236 static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19237 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19238 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19239 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19240 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19241 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19242 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19243 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19244 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19245 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19246
19247 static swig_type_info *swig_type_initial[] = {
19248 &_swigt__p_bool,
19249 &_swigt__p_char,
19250 &_swigt__p_form_ops_t,
19251 &_swigt__p_int,
19252 &_swigt__p_unsigned_char,
19253 &_swigt__p_unsigned_int,
19254 &_swigt__p_unsigned_long,
19255 &_swigt__p_wxANIHandler,
19256 &_swigt__p_wxAcceleratorTable,
19257 &_swigt__p_wxActivateEvent,
19258 &_swigt__p_wxArrayInt,
19259 &_swigt__p_wxBMPHandler,
19260 &_swigt__p_wxBitmap,
19261 &_swigt__p_wxBoxSizer,
19262 &_swigt__p_wxCURHandler,
19263 &_swigt__p_wxCalculateLayoutEvent,
19264 &_swigt__p_wxChildFocusEvent,
19265 &_swigt__p_wxClipboardTextEvent,
19266 &_swigt__p_wxCloseEvent,
19267 &_swigt__p_wxColour,
19268 &_swigt__p_wxColourData,
19269 &_swigt__p_wxColourDialog,
19270 &_swigt__p_wxCommandEvent,
19271 &_swigt__p_wxConfigBase,
19272 &_swigt__p_wxContextMenuEvent,
19273 &_swigt__p_wxControl,
19274 &_swigt__p_wxControlWithItems,
19275 &_swigt__p_wxCursor,
19276 &_swigt__p_wxDC,
19277 &_swigt__p_wxDateEvent,
19278 &_swigt__p_wxDefaultHtmlRenderingStyle,
19279 &_swigt__p_wxDialog,
19280 &_swigt__p_wxDirDialog,
19281 &_swigt__p_wxDisplayChangedEvent,
19282 &_swigt__p_wxDropFilesEvent,
19283 &_swigt__p_wxDuplexMode,
19284 &_swigt__p_wxEraseEvent,
19285 &_swigt__p_wxEvent,
19286 &_swigt__p_wxEvtHandler,
19287 &_swigt__p_wxFSFile,
19288 &_swigt__p_wxFileDialog,
19289 &_swigt__p_wxFileSystem,
19290 &_swigt__p_wxFindDialogEvent,
19291 &_swigt__p_wxFindReplaceData,
19292 &_swigt__p_wxFindReplaceDialog,
19293 &_swigt__p_wxFlexGridSizer,
19294 &_swigt__p_wxFocusEvent,
19295 &_swigt__p_wxFont,
19296 &_swigt__p_wxFontData,
19297 &_swigt__p_wxFontDialog,
19298 &_swigt__p_wxFrame,
19299 &_swigt__p_wxGBSizerItem,
19300 &_swigt__p_wxGIFHandler,
19301 &_swigt__p_wxGridBagSizer,
19302 &_swigt__p_wxGridSizer,
19303 &_swigt__p_wxHelpControllerBase,
19304 &_swigt__p_wxHelpSearchMode,
19305 &_swigt__p_wxHtmlBookRecArray,
19306 &_swigt__p_wxHtmlBookRecord,
19307 &_swigt__p_wxHtmlCell,
19308 &_swigt__p_wxHtmlColourCell,
19309 &_swigt__p_wxHtmlContainerCell,
19310 &_swigt__p_wxHtmlDCRenderer,
19311 &_swigt__p_wxHtmlEasyPrinting,
19312 &_swigt__p_wxHtmlFilter,
19313 &_swigt__p_wxHtmlFontCell,
19314 &_swigt__p_wxHtmlHelpController,
19315 &_swigt__p_wxHtmlHelpData,
19316 &_swigt__p_wxHtmlHelpDialog,
19317 &_swigt__p_wxHtmlHelpFrame,
19318 &_swigt__p_wxHtmlHelpFrameCfg,
19319 &_swigt__p_wxHtmlHelpWindow,
19320 &_swigt__p_wxHtmlLinkInfo,
19321 &_swigt__p_wxHtmlModalHelp,
19322 &_swigt__p_wxHtmlParser,
19323 &_swigt__p_wxHtmlPrintout,
19324 &_swigt__p_wxHtmlRenderingInfo,
19325 &_swigt__p_wxHtmlRenderingState,
19326 &_swigt__p_wxHtmlRenderingStyle,
19327 &_swigt__p_wxHtmlSearchStatus,
19328 &_swigt__p_wxHtmlSelection,
19329 &_swigt__p_wxHtmlTag,
19330 &_swigt__p_wxHtmlTagHandler,
19331 &_swigt__p_wxHtmlWidgetCell,
19332 &_swigt__p_wxHtmlWinParser,
19333 &_swigt__p_wxHtmlWindow,
19334 &_swigt__p_wxHtmlWindowEvent,
19335 &_swigt__p_wxHtmlWindowInterface,
19336 &_swigt__p_wxHtmlWordCell,
19337 &_swigt__p_wxICOHandler,
19338 &_swigt__p_wxIconizeEvent,
19339 &_swigt__p_wxIdleEvent,
19340 &_swigt__p_wxImage,
19341 &_swigt__p_wxImageHandler,
19342 &_swigt__p_wxIndividualLayoutConstraint,
19343 &_swigt__p_wxInitDialogEvent,
19344 &_swigt__p_wxJPEGHandler,
19345 &_swigt__p_wxKeyEvent,
19346 &_swigt__p_wxLayoutAlgorithm,
19347 &_swigt__p_wxLayoutConstraints,
19348 &_swigt__p_wxMDIChildFrame,
19349 &_swigt__p_wxMDIClientWindow,
19350 &_swigt__p_wxMDIParentFrame,
19351 &_swigt__p_wxMaximizeEvent,
19352 &_swigt__p_wxMenu,
19353 &_swigt__p_wxMenuBar,
19354 &_swigt__p_wxMenuEvent,
19355 &_swigt__p_wxMenuItem,
19356 &_swigt__p_wxMessageDialog,
19357 &_swigt__p_wxMiniFrame,
19358 &_swigt__p_wxMouseCaptureChangedEvent,
19359 &_swigt__p_wxMouseEvent,
19360 &_swigt__p_wxMoveEvent,
19361 &_swigt__p_wxMultiChoiceDialog,
19362 &_swigt__p_wxNavigationKeyEvent,
19363 &_swigt__p_wxNcPaintEvent,
19364 &_swigt__p_wxNotifyEvent,
19365 &_swigt__p_wxObject,
19366 &_swigt__p_wxPCXHandler,
19367 &_swigt__p_wxPNGHandler,
19368 &_swigt__p_wxPNMHandler,
19369 &_swigt__p_wxPageSetupDialog,
19370 &_swigt__p_wxPageSetupDialogData,
19371 &_swigt__p_wxPaintEvent,
19372 &_swigt__p_wxPaletteChangedEvent,
19373 &_swigt__p_wxPanel,
19374 &_swigt__p_wxPaperSize,
19375 &_swigt__p_wxPasswordEntryDialog,
19376 &_swigt__p_wxPoint,
19377 &_swigt__p_wxPopupWindow,
19378 &_swigt__p_wxPreviewCanvas,
19379 &_swigt__p_wxPreviewControlBar,
19380 &_swigt__p_wxPreviewFrame,
19381 &_swigt__p_wxPrintData,
19382 &_swigt__p_wxPrintDialog,
19383 &_swigt__p_wxPrintDialogData,
19384 &_swigt__p_wxPrintPreview,
19385 &_swigt__p_wxPrinter,
19386 &_swigt__p_wxProgressDialog,
19387 &_swigt__p_wxPyApp,
19388 &_swigt__p_wxPyCommandEvent,
19389 &_swigt__p_wxPyEvent,
19390 &_swigt__p_wxPyHtmlFilter,
19391 &_swigt__p_wxPyHtmlListBox,
19392 &_swigt__p_wxPyHtmlTagHandler,
19393 &_swigt__p_wxPyHtmlWinTagHandler,
19394 &_swigt__p_wxPyHtmlWindow,
19395 &_swigt__p_wxPyImageHandler,
19396 &_swigt__p_wxPyPanel,
19397 &_swigt__p_wxPyPopupTransientWindow,
19398 &_swigt__p_wxPyPreviewControlBar,
19399 &_swigt__p_wxPyPreviewFrame,
19400 &_swigt__p_wxPyPrintPreview,
19401 &_swigt__p_wxPyPrintout,
19402 &_swigt__p_wxPyScrolledWindow,
19403 &_swigt__p_wxPySizer,
19404 &_swigt__p_wxPyTaskBarIcon,
19405 &_swigt__p_wxPyVListBox,
19406 &_swigt__p_wxPyVScrolledWindow,
19407 &_swigt__p_wxPyValidator,
19408 &_swigt__p_wxPyWindow,
19409 &_swigt__p_wxQueryLayoutInfoEvent,
19410 &_swigt__p_wxQueryNewPaletteEvent,
19411 &_swigt__p_wxSashEvent,
19412 &_swigt__p_wxSashLayoutWindow,
19413 &_swigt__p_wxSashWindow,
19414 &_swigt__p_wxScrollEvent,
19415 &_swigt__p_wxScrollWinEvent,
19416 &_swigt__p_wxScrolledWindow,
19417 &_swigt__p_wxSetCursorEvent,
19418 &_swigt__p_wxShowEvent,
19419 &_swigt__p_wxSingleChoiceDialog,
19420 &_swigt__p_wxSize,
19421 &_swigt__p_wxSizeEvent,
19422 &_swigt__p_wxSizer,
19423 &_swigt__p_wxSizerItem,
19424 &_swigt__p_wxSplashScreen,
19425 &_swigt__p_wxSplashScreenWindow,
19426 &_swigt__p_wxSplitterEvent,
19427 &_swigt__p_wxSplitterWindow,
19428 &_swigt__p_wxStaticBoxSizer,
19429 &_swigt__p_wxStatusBar,
19430 &_swigt__p_wxStdDialogButtonSizer,
19431 &_swigt__p_wxString,
19432 &_swigt__p_wxSysColourChangedEvent,
19433 &_swigt__p_wxTIFFHandler,
19434 &_swigt__p_wxTaskBarIconEvent,
19435 &_swigt__p_wxTextEntryDialog,
19436 &_swigt__p_wxTipWindow,
19437 &_swigt__p_wxTopLevelWindow,
19438 &_swigt__p_wxTreeCtrl,
19439 &_swigt__p_wxUpdateUIEvent,
19440 &_swigt__p_wxValidator,
19441 &_swigt__p_wxVisualAttributes,
19442 &_swigt__p_wxWindow,
19443 &_swigt__p_wxWindowCreateEvent,
19444 &_swigt__p_wxWindowDestroyEvent,
19445 &_swigt__p_wxXPMHandler,
19446 };
19447
19448 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
19449 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19450 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19451 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19452 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19453 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19454 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
19455 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
19456 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19457 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19458 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19459 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19460 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
19461 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
19462 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19463 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19464 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19465 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19466 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
19467 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
19468 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19469 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
19470 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}};
19471 static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19472 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19473 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19474 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19475 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19476 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19477 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19478 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19479 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19480 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19481 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19482 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19483 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19484 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
19485 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}};
19486 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19487 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19489 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19490 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19492 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19493 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19500 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19501 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
19509 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
19515 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}};
19516 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
19552 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}};
19553 static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19556 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}};
19557 static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19571 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}};
19572 static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19575 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}};
19576 static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19579 static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19580 static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19587 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}};
19588 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19594 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19598 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19611 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
19627 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_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
19629 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}};
19630 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19634 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}};
19635 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19637 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}};
19638 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}};
19639 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
19646
19647 static swig_cast_info *swig_cast_initial[] = {
19648 _swigc__p_bool,
19649 _swigc__p_char,
19650 _swigc__p_form_ops_t,
19651 _swigc__p_int,
19652 _swigc__p_unsigned_char,
19653 _swigc__p_unsigned_int,
19654 _swigc__p_unsigned_long,
19655 _swigc__p_wxANIHandler,
19656 _swigc__p_wxAcceleratorTable,
19657 _swigc__p_wxActivateEvent,
19658 _swigc__p_wxArrayInt,
19659 _swigc__p_wxBMPHandler,
19660 _swigc__p_wxBitmap,
19661 _swigc__p_wxBoxSizer,
19662 _swigc__p_wxCURHandler,
19663 _swigc__p_wxCalculateLayoutEvent,
19664 _swigc__p_wxChildFocusEvent,
19665 _swigc__p_wxClipboardTextEvent,
19666 _swigc__p_wxCloseEvent,
19667 _swigc__p_wxColour,
19668 _swigc__p_wxColourData,
19669 _swigc__p_wxColourDialog,
19670 _swigc__p_wxCommandEvent,
19671 _swigc__p_wxConfigBase,
19672 _swigc__p_wxContextMenuEvent,
19673 _swigc__p_wxControl,
19674 _swigc__p_wxControlWithItems,
19675 _swigc__p_wxCursor,
19676 _swigc__p_wxDC,
19677 _swigc__p_wxDateEvent,
19678 _swigc__p_wxDefaultHtmlRenderingStyle,
19679 _swigc__p_wxDialog,
19680 _swigc__p_wxDirDialog,
19681 _swigc__p_wxDisplayChangedEvent,
19682 _swigc__p_wxDropFilesEvent,
19683 _swigc__p_wxDuplexMode,
19684 _swigc__p_wxEraseEvent,
19685 _swigc__p_wxEvent,
19686 _swigc__p_wxEvtHandler,
19687 _swigc__p_wxFSFile,
19688 _swigc__p_wxFileDialog,
19689 _swigc__p_wxFileSystem,
19690 _swigc__p_wxFindDialogEvent,
19691 _swigc__p_wxFindReplaceData,
19692 _swigc__p_wxFindReplaceDialog,
19693 _swigc__p_wxFlexGridSizer,
19694 _swigc__p_wxFocusEvent,
19695 _swigc__p_wxFont,
19696 _swigc__p_wxFontData,
19697 _swigc__p_wxFontDialog,
19698 _swigc__p_wxFrame,
19699 _swigc__p_wxGBSizerItem,
19700 _swigc__p_wxGIFHandler,
19701 _swigc__p_wxGridBagSizer,
19702 _swigc__p_wxGridSizer,
19703 _swigc__p_wxHelpControllerBase,
19704 _swigc__p_wxHelpSearchMode,
19705 _swigc__p_wxHtmlBookRecArray,
19706 _swigc__p_wxHtmlBookRecord,
19707 _swigc__p_wxHtmlCell,
19708 _swigc__p_wxHtmlColourCell,
19709 _swigc__p_wxHtmlContainerCell,
19710 _swigc__p_wxHtmlDCRenderer,
19711 _swigc__p_wxHtmlEasyPrinting,
19712 _swigc__p_wxHtmlFilter,
19713 _swigc__p_wxHtmlFontCell,
19714 _swigc__p_wxHtmlHelpController,
19715 _swigc__p_wxHtmlHelpData,
19716 _swigc__p_wxHtmlHelpDialog,
19717 _swigc__p_wxHtmlHelpFrame,
19718 _swigc__p_wxHtmlHelpFrameCfg,
19719 _swigc__p_wxHtmlHelpWindow,
19720 _swigc__p_wxHtmlLinkInfo,
19721 _swigc__p_wxHtmlModalHelp,
19722 _swigc__p_wxHtmlParser,
19723 _swigc__p_wxHtmlPrintout,
19724 _swigc__p_wxHtmlRenderingInfo,
19725 _swigc__p_wxHtmlRenderingState,
19726 _swigc__p_wxHtmlRenderingStyle,
19727 _swigc__p_wxHtmlSearchStatus,
19728 _swigc__p_wxHtmlSelection,
19729 _swigc__p_wxHtmlTag,
19730 _swigc__p_wxHtmlTagHandler,
19731 _swigc__p_wxHtmlWidgetCell,
19732 _swigc__p_wxHtmlWinParser,
19733 _swigc__p_wxHtmlWindow,
19734 _swigc__p_wxHtmlWindowEvent,
19735 _swigc__p_wxHtmlWindowInterface,
19736 _swigc__p_wxHtmlWordCell,
19737 _swigc__p_wxICOHandler,
19738 _swigc__p_wxIconizeEvent,
19739 _swigc__p_wxIdleEvent,
19740 _swigc__p_wxImage,
19741 _swigc__p_wxImageHandler,
19742 _swigc__p_wxIndividualLayoutConstraint,
19743 _swigc__p_wxInitDialogEvent,
19744 _swigc__p_wxJPEGHandler,
19745 _swigc__p_wxKeyEvent,
19746 _swigc__p_wxLayoutAlgorithm,
19747 _swigc__p_wxLayoutConstraints,
19748 _swigc__p_wxMDIChildFrame,
19749 _swigc__p_wxMDIClientWindow,
19750 _swigc__p_wxMDIParentFrame,
19751 _swigc__p_wxMaximizeEvent,
19752 _swigc__p_wxMenu,
19753 _swigc__p_wxMenuBar,
19754 _swigc__p_wxMenuEvent,
19755 _swigc__p_wxMenuItem,
19756 _swigc__p_wxMessageDialog,
19757 _swigc__p_wxMiniFrame,
19758 _swigc__p_wxMouseCaptureChangedEvent,
19759 _swigc__p_wxMouseEvent,
19760 _swigc__p_wxMoveEvent,
19761 _swigc__p_wxMultiChoiceDialog,
19762 _swigc__p_wxNavigationKeyEvent,
19763 _swigc__p_wxNcPaintEvent,
19764 _swigc__p_wxNotifyEvent,
19765 _swigc__p_wxObject,
19766 _swigc__p_wxPCXHandler,
19767 _swigc__p_wxPNGHandler,
19768 _swigc__p_wxPNMHandler,
19769 _swigc__p_wxPageSetupDialog,
19770 _swigc__p_wxPageSetupDialogData,
19771 _swigc__p_wxPaintEvent,
19772 _swigc__p_wxPaletteChangedEvent,
19773 _swigc__p_wxPanel,
19774 _swigc__p_wxPaperSize,
19775 _swigc__p_wxPasswordEntryDialog,
19776 _swigc__p_wxPoint,
19777 _swigc__p_wxPopupWindow,
19778 _swigc__p_wxPreviewCanvas,
19779 _swigc__p_wxPreviewControlBar,
19780 _swigc__p_wxPreviewFrame,
19781 _swigc__p_wxPrintData,
19782 _swigc__p_wxPrintDialog,
19783 _swigc__p_wxPrintDialogData,
19784 _swigc__p_wxPrintPreview,
19785 _swigc__p_wxPrinter,
19786 _swigc__p_wxProgressDialog,
19787 _swigc__p_wxPyApp,
19788 _swigc__p_wxPyCommandEvent,
19789 _swigc__p_wxPyEvent,
19790 _swigc__p_wxPyHtmlFilter,
19791 _swigc__p_wxPyHtmlListBox,
19792 _swigc__p_wxPyHtmlTagHandler,
19793 _swigc__p_wxPyHtmlWinTagHandler,
19794 _swigc__p_wxPyHtmlWindow,
19795 _swigc__p_wxPyImageHandler,
19796 _swigc__p_wxPyPanel,
19797 _swigc__p_wxPyPopupTransientWindow,
19798 _swigc__p_wxPyPreviewControlBar,
19799 _swigc__p_wxPyPreviewFrame,
19800 _swigc__p_wxPyPrintPreview,
19801 _swigc__p_wxPyPrintout,
19802 _swigc__p_wxPyScrolledWindow,
19803 _swigc__p_wxPySizer,
19804 _swigc__p_wxPyTaskBarIcon,
19805 _swigc__p_wxPyVListBox,
19806 _swigc__p_wxPyVScrolledWindow,
19807 _swigc__p_wxPyValidator,
19808 _swigc__p_wxPyWindow,
19809 _swigc__p_wxQueryLayoutInfoEvent,
19810 _swigc__p_wxQueryNewPaletteEvent,
19811 _swigc__p_wxSashEvent,
19812 _swigc__p_wxSashLayoutWindow,
19813 _swigc__p_wxSashWindow,
19814 _swigc__p_wxScrollEvent,
19815 _swigc__p_wxScrollWinEvent,
19816 _swigc__p_wxScrolledWindow,
19817 _swigc__p_wxSetCursorEvent,
19818 _swigc__p_wxShowEvent,
19819 _swigc__p_wxSingleChoiceDialog,
19820 _swigc__p_wxSize,
19821 _swigc__p_wxSizeEvent,
19822 _swigc__p_wxSizer,
19823 _swigc__p_wxSizerItem,
19824 _swigc__p_wxSplashScreen,
19825 _swigc__p_wxSplashScreenWindow,
19826 _swigc__p_wxSplitterEvent,
19827 _swigc__p_wxSplitterWindow,
19828 _swigc__p_wxStaticBoxSizer,
19829 _swigc__p_wxStatusBar,
19830 _swigc__p_wxStdDialogButtonSizer,
19831 _swigc__p_wxString,
19832 _swigc__p_wxSysColourChangedEvent,
19833 _swigc__p_wxTIFFHandler,
19834 _swigc__p_wxTaskBarIconEvent,
19835 _swigc__p_wxTextEntryDialog,
19836 _swigc__p_wxTipWindow,
19837 _swigc__p_wxTopLevelWindow,
19838 _swigc__p_wxTreeCtrl,
19839 _swigc__p_wxUpdateUIEvent,
19840 _swigc__p_wxValidator,
19841 _swigc__p_wxVisualAttributes,
19842 _swigc__p_wxWindow,
19843 _swigc__p_wxWindowCreateEvent,
19844 _swigc__p_wxWindowDestroyEvent,
19845 _swigc__p_wxXPMHandler,
19846 };
19847
19848
19849 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19850
19851 static swig_const_info swig_const_table[] = {
19852 {0, 0, 0, 0.0, 0, 0}};
19853
19854 #ifdef __cplusplus
19855 }
19856 #endif
19857 /* -----------------------------------------------------------------------------
19858 * Type initialization:
19859 * This problem is tough by the requirement that no dynamic
19860 * memory is used. Also, since swig_type_info structures store pointers to
19861 * swig_cast_info structures and swig_cast_info structures store pointers back
19862 * to swig_type_info structures, we need some lookup code at initialization.
19863 * The idea is that swig generates all the structures that are needed.
19864 * The runtime then collects these partially filled structures.
19865 * The SWIG_InitializeModule function takes these initial arrays out of
19866 * swig_module, and does all the lookup, filling in the swig_module.types
19867 * array with the correct data and linking the correct swig_cast_info
19868 * structures together.
19869 *
19870 * The generated swig_type_info structures are assigned staticly to an initial
19871 * array. We just loop though that array, and handle each type individually.
19872 * First we lookup if this type has been already loaded, and if so, use the
19873 * loaded structure instead of the generated one. Then we have to fill in the
19874 * cast linked list. The cast data is initially stored in something like a
19875 * two-dimensional array. Each row corresponds to a type (there are the same
19876 * number of rows as there are in the swig_type_initial array). Each entry in
19877 * a column is one of the swig_cast_info structures for that type.
19878 * The cast_initial array is actually an array of arrays, because each row has
19879 * a variable number of columns. So to actually build the cast linked list,
19880 * we find the array of casts associated with the type, and loop through it
19881 * adding the casts to the list. The one last trick we need to do is making
19882 * sure the type pointer in the swig_cast_info struct is correct.
19883 *
19884 * First off, we lookup the cast->type name to see if it is already loaded.
19885 * There are three cases to handle:
19886 * 1) If the cast->type has already been loaded AND the type we are adding
19887 * casting info to has not been loaded (it is in this module), THEN we
19888 * replace the cast->type pointer with the type pointer that has already
19889 * been loaded.
19890 * 2) If BOTH types (the one we are adding casting info to, and the
19891 * cast->type) are loaded, THEN the cast info has already been loaded by
19892 * the previous module so we just ignore it.
19893 * 3) Finally, if cast->type has not already been loaded, then we add that
19894 * swig_cast_info to the linked list (because the cast->type) pointer will
19895 * be correct.
19896 * ----------------------------------------------------------------------------- */
19897
19898 #ifdef __cplusplus
19899 extern "C" {
19900 #if 0
19901 } /* c-mode */
19902 #endif
19903 #endif
19904
19905 #if 0
19906 #define SWIGRUNTIME_DEBUG
19907 #endif
19908
19909 SWIGRUNTIME void
19910 SWIG_InitializeModule(void *clientdata) {
19911 size_t i;
19912 swig_module_info *module_head;
19913 static int init_run = 0;
19914
19915 clientdata = clientdata;
19916
19917 if (init_run) return;
19918 init_run = 1;
19919
19920 /* Initialize the swig_module */
19921 swig_module.type_initial = swig_type_initial;
19922 swig_module.cast_initial = swig_cast_initial;
19923
19924 /* Try and load any already created modules */
19925 module_head = SWIG_GetModule(clientdata);
19926 if (module_head) {
19927 swig_module.next = module_head->next;
19928 module_head->next = &swig_module;
19929 } else {
19930 /* This is the first module loaded */
19931 swig_module.next = &swig_module;
19932 SWIG_SetModule(clientdata, &swig_module);
19933 }
19934
19935 /* Now work on filling in swig_module.types */
19936 #ifdef SWIGRUNTIME_DEBUG
19937 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
19938 #endif
19939 for (i = 0; i < swig_module.size; ++i) {
19940 swig_type_info *type = 0;
19941 swig_type_info *ret;
19942 swig_cast_info *cast;
19943
19944 #ifdef SWIGRUNTIME_DEBUG
19945 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
19946 #endif
19947
19948 /* if there is another module already loaded */
19949 if (swig_module.next != &swig_module) {
19950 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
19951 }
19952 if (type) {
19953 /* Overwrite clientdata field */
19954 #ifdef SWIGRUNTIME_DEBUG
19955 printf("SWIG_InitializeModule: found type %s\n", type->name);
19956 #endif
19957 if (swig_module.type_initial[i]->clientdata) {
19958 type->clientdata = swig_module.type_initial[i]->clientdata;
19959 #ifdef SWIGRUNTIME_DEBUG
19960 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
19961 #endif
19962 }
19963 } else {
19964 type = swig_module.type_initial[i];
19965 }
19966
19967 /* Insert casting types */
19968 cast = swig_module.cast_initial[i];
19969 while (cast->type) {
19970 /* Don't need to add information already in the list */
19971 ret = 0;
19972 #ifdef SWIGRUNTIME_DEBUG
19973 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
19974 #endif
19975 if (swig_module.next != &swig_module) {
19976 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
19977 #ifdef SWIGRUNTIME_DEBUG
19978 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
19979 #endif
19980 }
19981 if (ret) {
19982 if (type == swig_module.type_initial[i]) {
19983 #ifdef SWIGRUNTIME_DEBUG
19984 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
19985 #endif
19986 cast->type = ret;
19987 ret = 0;
19988 } else {
19989 /* Check for casting already in the list */
19990 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
19991 #ifdef SWIGRUNTIME_DEBUG
19992 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
19993 #endif
19994 if (!ocast) ret = 0;
19995 }
19996 }
19997
19998 if (!ret) {
19999 #ifdef SWIGRUNTIME_DEBUG
20000 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20001 #endif
20002 if (type->cast) {
20003 type->cast->prev = cast;
20004 cast->next = type->cast;
20005 }
20006 type->cast = cast;
20007 }
20008 cast++;
20009 }
20010 /* Set entry in modules->types array equal to the type */
20011 swig_module.types[i] = type;
20012 }
20013 swig_module.types[i] = 0;
20014
20015 #ifdef SWIGRUNTIME_DEBUG
20016 printf("**** SWIG_InitializeModule: Cast List ******\n");
20017 for (i = 0; i < swig_module.size; ++i) {
20018 int j = 0;
20019 swig_cast_info *cast = swig_module.cast_initial[i];
20020 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20021 while (cast->type) {
20022 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20023 cast++;
20024 ++j;
20025 }
20026 printf("---- Total casts: %d\n",j);
20027 }
20028 printf("**** SWIG_InitializeModule: Cast List ******\n");
20029 #endif
20030 }
20031
20032 /* This function will propagate the clientdata field of type to
20033 * any new swig_type_info structures that have been added into the list
20034 * of equivalent types. It is like calling
20035 * SWIG_TypeClientData(type, clientdata) a second time.
20036 */
20037 SWIGRUNTIME void
20038 SWIG_PropagateClientData(void) {
20039 size_t i;
20040 swig_cast_info *equiv;
20041 static int init_run = 0;
20042
20043 if (init_run) return;
20044 init_run = 1;
20045
20046 for (i = 0; i < swig_module.size; i++) {
20047 if (swig_module.types[i]->clientdata) {
20048 equiv = swig_module.types[i]->cast;
20049 while (equiv) {
20050 if (!equiv->converter) {
20051 if (equiv->type && !equiv->type->clientdata)
20052 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20053 }
20054 equiv = equiv->next;
20055 }
20056 }
20057 }
20058 }
20059
20060 #ifdef __cplusplus
20061 #if 0
20062 {
20063 /* c-mode */
20064 #endif
20065 }
20066 #endif
20067
20068
20069
20070 #ifdef __cplusplus
20071 extern "C" {
20072 #endif
20073
20074 /* Python-specific SWIG API */
20075 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20076 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20077 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20078
20079 /* -----------------------------------------------------------------------------
20080 * global variable support code.
20081 * ----------------------------------------------------------------------------- */
20082
20083 typedef struct swig_globalvar {
20084 char *name; /* Name of global variable */
20085 PyObject *(*get_attr)(void); /* Return the current value */
20086 int (*set_attr)(PyObject *); /* Set the value */
20087 struct swig_globalvar *next;
20088 } swig_globalvar;
20089
20090 typedef struct swig_varlinkobject {
20091 PyObject_HEAD
20092 swig_globalvar *vars;
20093 } swig_varlinkobject;
20094
20095 SWIGINTERN PyObject *
20096 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
20097 return PyString_FromString("<Swig global variables>");
20098 }
20099
20100 SWIGINTERN PyObject *
20101 swig_varlink_str(swig_varlinkobject *v) {
20102 PyObject *str = PyString_FromString("(");
20103 swig_globalvar *var;
20104 for (var = v->vars; var; var=var->next) {
20105 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
20106 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
20107 }
20108 PyString_ConcatAndDel(&str,PyString_FromString(")"));
20109 return str;
20110 }
20111
20112 SWIGINTERN int
20113 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
20114 PyObject *str = swig_varlink_str(v);
20115 fprintf(fp,"Swig global variables ");
20116 fprintf(fp,"%s\n", PyString_AsString(str));
20117 Py_DECREF(str);
20118 return 0;
20119 }
20120
20121 SWIGINTERN void
20122 swig_varlink_dealloc(swig_varlinkobject *v) {
20123 swig_globalvar *var = v->vars;
20124 while (var) {
20125 swig_globalvar *n = var->next;
20126 free(var->name);
20127 free(var);
20128 var = n;
20129 }
20130 }
20131
20132 SWIGINTERN PyObject *
20133 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20134 PyObject *res = NULL;
20135 swig_globalvar *var = v->vars;
20136 while (var) {
20137 if (strcmp(var->name,n) == 0) {
20138 res = (*var->get_attr)();
20139 break;
20140 }
20141 var = var->next;
20142 }
20143 if (res == NULL && !PyErr_Occurred()) {
20144 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20145 }
20146 return res;
20147 }
20148
20149 SWIGINTERN int
20150 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20151 int res = 1;
20152 swig_globalvar *var = v->vars;
20153 while (var) {
20154 if (strcmp(var->name,n) == 0) {
20155 res = (*var->set_attr)(p);
20156 break;
20157 }
20158 var = var->next;
20159 }
20160 if (res == 1 && !PyErr_Occurred()) {
20161 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20162 }
20163 return res;
20164 }
20165
20166 SWIGINTERN PyTypeObject*
20167 swig_varlink_type(void) {
20168 static char varlink__doc__[] = "Swig var link object";
20169 static PyTypeObject varlink_type;
20170 static int type_init = 0;
20171 if (!type_init) {
20172 const PyTypeObject tmp
20173 = {
20174 PyObject_HEAD_INIT(NULL)
20175 0, /* Number of items in variable part (ob_size) */
20176 (char *)"swigvarlink", /* Type name (tp_name) */
20177 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20178 0, /* Itemsize (tp_itemsize) */
20179 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
20180 (printfunc) swig_varlink_print, /* Print (tp_print) */
20181 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20182 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20183 0, /* tp_compare */
20184 (reprfunc) swig_varlink_repr, /* tp_repr */
20185 0, /* tp_as_number */
20186 0, /* tp_as_sequence */
20187 0, /* tp_as_mapping */
20188 0, /* tp_hash */
20189 0, /* tp_call */
20190 (reprfunc)swig_varlink_str, /* tp_str */
20191 0, /* tp_getattro */
20192 0, /* tp_setattro */
20193 0, /* tp_as_buffer */
20194 0, /* tp_flags */
20195 varlink__doc__, /* tp_doc */
20196 0, /* tp_traverse */
20197 0, /* tp_clear */
20198 0, /* tp_richcompare */
20199 0, /* tp_weaklistoffset */
20200 #if PY_VERSION_HEX >= 0x02020000
20201 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20202 #endif
20203 #if PY_VERSION_HEX >= 0x02030000
20204 0, /* tp_del */
20205 #endif
20206 #ifdef COUNT_ALLOCS
20207 0,0,0,0 /* tp_alloc -> tp_next */
20208 #endif
20209 };
20210 varlink_type = tmp;
20211 varlink_type.ob_type = &PyType_Type;
20212 type_init = 1;
20213 }
20214 return &varlink_type;
20215 }
20216
20217 /* Create a variable linking object for use later */
20218 SWIGINTERN PyObject *
20219 SWIG_Python_newvarlink(void) {
20220 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20221 if (result) {
20222 result->vars = 0;
20223 }
20224 return ((PyObject*) result);
20225 }
20226
20227 SWIGINTERN void
20228 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
20229 swig_varlinkobject *v = (swig_varlinkobject *) p;
20230 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20231 if (gv) {
20232 size_t size = strlen(name)+1;
20233 gv->name = (char *)malloc(size);
20234 if (gv->name) {
20235 strncpy(gv->name,name,size);
20236 gv->get_attr = get_attr;
20237 gv->set_attr = set_attr;
20238 gv->next = v->vars;
20239 }
20240 }
20241 v->vars = gv;
20242 }
20243
20244 SWIGINTERN PyObject *
20245 SWIG_globals() {
20246 static PyObject *_SWIG_globals = 0;
20247 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
20248 return _SWIG_globals;
20249 }
20250
20251 /* -----------------------------------------------------------------------------
20252 * constants/methods manipulation
20253 * ----------------------------------------------------------------------------- */
20254
20255 /* Install Constants */
20256 SWIGINTERN void
20257 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20258 PyObject *obj = 0;
20259 size_t i;
20260 for (i = 0; constants[i].type; ++i) {
20261 switch(constants[i].type) {
20262 case SWIG_PY_POINTER:
20263 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20264 break;
20265 case SWIG_PY_BINARY:
20266 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20267 break;
20268 default:
20269 obj = 0;
20270 break;
20271 }
20272 if (obj) {
20273 PyDict_SetItemString(d, constants[i].name, obj);
20274 Py_DECREF(obj);
20275 }
20276 }
20277 }
20278
20279 /* -----------------------------------------------------------------------------*/
20280 /* Fix SwigMethods to carry the callback ptrs when needed */
20281 /* -----------------------------------------------------------------------------*/
20282
20283 SWIGINTERN void
20284 SWIG_Python_FixMethods(PyMethodDef *methods,
20285 swig_const_info *const_table,
20286 swig_type_info **types,
20287 swig_type_info **types_initial) {
20288 size_t i;
20289 for (i = 0; methods[i].ml_name; ++i) {
20290 char *c = methods[i].ml_doc;
20291 if (c && (c = strstr(c, "swig_ptr: "))) {
20292 int j;
20293 swig_const_info *ci = 0;
20294 char *name = c + 10;
20295 for (j = 0; const_table[j].type; ++j) {
20296 if (strncmp(const_table[j].name, name,
20297 strlen(const_table[j].name)) == 0) {
20298 ci = &(const_table[j]);
20299 break;
20300 }
20301 }
20302 if (ci) {
20303 size_t shift = (ci->ptype) - types;
20304 swig_type_info *ty = types_initial[shift];
20305 size_t ldoc = (c - methods[i].ml_doc);
20306 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20307 char *ndoc = (char*)malloc(ldoc + lptr + 10);
20308 if (ndoc) {
20309 char *buff = ndoc;
20310 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20311 if (ptr) {
20312 strncpy(buff, methods[i].ml_doc, ldoc);
20313 buff += ldoc;
20314 strncpy(buff, "swig_ptr: ", 10);
20315 buff += 10;
20316 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20317 methods[i].ml_doc = ndoc;
20318 }
20319 }
20320 }
20321 }
20322 }
20323 }
20324
20325 #ifdef __cplusplus
20326 }
20327 #endif
20328
20329 /* -----------------------------------------------------------------------------*
20330 * Partial Init method
20331 * -----------------------------------------------------------------------------*/
20332
20333 #ifdef __cplusplus
20334 extern "C"
20335 #endif
20336 SWIGEXPORT void SWIG_init(void) {
20337 PyObject *m, *d;
20338
20339 /* Fix SwigMethods to carry the callback ptrs when needed */
20340 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
20341
20342 m = Py_InitModule((char *) SWIG_name, SwigMethods);
20343 d = PyModule_GetDict(m);
20344
20345 SWIG_InitializeModule(0);
20346 SWIG_InstallConstants(d,swig_const_table);
20347
20348
20349 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
20350 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
20351 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
20352 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
20353 SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
20354 SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
20355 SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
20356 SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
20357 SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
20358 SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
20359 SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
20360 SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
20361 SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
20362 SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
20363 SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
20364 SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
20365 SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
20366 SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
20367 SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
20368 SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
20369 SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
20370 SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
20371 SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
20372 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1)));
20373 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2)));
20374 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3)));
20375 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4)));
20376 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5)));
20377 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6)));
20378 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7)));
20379 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
20380 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
20381 SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
20382 SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
20383 SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
20384 SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
20385 SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
20386 SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
20387 SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
20388 SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
20389 SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
20390 SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
20391 SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
20392 SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
20393 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
20394 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
20395 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
20396 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
20397 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
20398 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
20399 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
20400 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
20401 SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
20402 SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
20403 SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
20404 SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
20405 SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
20406 SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
20407 SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
20408 SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
20409 SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
20410 SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
20411 SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
20412 SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
20413 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
20414 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
20415 SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
20416 SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
20417 SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
20418 SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
20419 SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
20420 SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
20421 SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
20422 SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
20423 SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
20424 SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
20425 SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
20426 SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
20427 SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
20428 SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
20429 SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
20430 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
20431 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
20432 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
20433 SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
20434 SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
20435 SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
20436 SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
20437 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
20438 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
20439 SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
20440 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
20441 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
20442 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
20443 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
20444 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
20445 SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
20446
20447 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20448 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20449 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20450 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
20451
20452 }
20453