]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/html_wrap.cpp
protect gs_allThreads with a mutex (modified patch 1518719)
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxCursor swig_types[27]
2494 #define SWIGTYPE_p_wxDC swig_types[28]
2495 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2497 #define SWIGTYPE_p_wxDialog swig_types[31]
2498 #define SWIGTYPE_p_wxDirDialog swig_types[32]
2499 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2505 #define SWIGTYPE_p_wxFSFile swig_types[39]
2506 #define SWIGTYPE_p_wxFileDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceData swig_types[43]
2510 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
2511 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFontData swig_types[48]
2515 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2516 #define SWIGTYPE_p_wxFrame swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2519 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2520 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
2522 #define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
2523 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
2524 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
2525 #define SWIGTYPE_p_wxHtmlCell swig_types[59]
2526 #define SWIGTYPE_p_wxHtmlColourCell swig_types[60]
2527 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[61]
2528 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[62]
2529 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[63]
2530 #define SWIGTYPE_p_wxHtmlFilter swig_types[64]
2531 #define SWIGTYPE_p_wxHtmlFontCell swig_types[65]
2532 #define SWIGTYPE_p_wxHtmlHelpController swig_types[66]
2533 #define SWIGTYPE_p_wxHtmlHelpData swig_types[67]
2534 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[68]
2535 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[69]
2536 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[70]
2537 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[71]
2538 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[72]
2539 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[73]
2540 #define SWIGTYPE_p_wxHtmlParser swig_types[74]
2541 #define SWIGTYPE_p_wxHtmlPrintout swig_types[75]
2542 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[76]
2543 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[77]
2544 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[78]
2545 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[79]
2546 #define SWIGTYPE_p_wxHtmlSelection swig_types[80]
2547 #define SWIGTYPE_p_wxHtmlTag swig_types[81]
2548 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[82]
2549 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[83]
2550 #define SWIGTYPE_p_wxHtmlWinParser swig_types[84]
2551 #define SWIGTYPE_p_wxHtmlWindow swig_types[85]
2552 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[86]
2553 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
2554 #define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
2555 #define SWIGTYPE_p_wxICOHandler swig_types[89]
2556 #define SWIGTYPE_p_wxIconizeEvent swig_types[90]
2557 #define SWIGTYPE_p_wxIdleEvent swig_types[91]
2558 #define SWIGTYPE_p_wxImage swig_types[92]
2559 #define SWIGTYPE_p_wxImageHandler swig_types[93]
2560 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
2561 #define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
2562 #define SWIGTYPE_p_wxJPEGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
2565 #define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
2566 #define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
2567 #define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
2568 #define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMenu swig_types[104]
2571 #define SWIGTYPE_p_wxMenuBar swig_types[105]
2572 #define SWIGTYPE_p_wxMenuEvent swig_types[106]
2573 #define SWIGTYPE_p_wxMenuItem swig_types[107]
2574 #define SWIGTYPE_p_wxMessageDialog swig_types[108]
2575 #define SWIGTYPE_p_wxMiniFrame swig_types[109]
2576 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMouseEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMoveEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114]
2581 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115]
2582 #define SWIGTYPE_p_wxNcPaintEvent swig_types[116]
2583 #define SWIGTYPE_p_wxNotifyEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[118]
2585 #define SWIGTYPE_p_wxObject swig_types[119]
2586 #define SWIGTYPE_p_wxPCXHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPNGHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPNMHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPageSetupDialog swig_types[123]
2590 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[124]
2591 #define SWIGTYPE_p_wxPaintEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126]
2593 #define SWIGTYPE_p_wxPanel swig_types[127]
2594 #define SWIGTYPE_p_wxPaperSize swig_types[128]
2595 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129]
2596 #define SWIGTYPE_p_wxPoint swig_types[130]
2597 #define SWIGTYPE_p_wxPopupWindow swig_types[131]
2598 #define SWIGTYPE_p_wxPreviewCanvas swig_types[132]
2599 #define SWIGTYPE_p_wxPreviewControlBar swig_types[133]
2600 #define SWIGTYPE_p_wxPreviewFrame swig_types[134]
2601 #define SWIGTYPE_p_wxPrintData swig_types[135]
2602 #define SWIGTYPE_p_wxPrintDialog swig_types[136]
2603 #define SWIGTYPE_p_wxPrintDialogData swig_types[137]
2604 #define SWIGTYPE_p_wxPrintPreview swig_types[138]
2605 #define SWIGTYPE_p_wxPrinter swig_types[139]
2606 #define SWIGTYPE_p_wxProgressDialog swig_types[140]
2607 #define SWIGTYPE_p_wxPyApp swig_types[141]
2608 #define SWIGTYPE_p_wxPyCommandEvent swig_types[142]
2609 #define SWIGTYPE_p_wxPyEvent swig_types[143]
2610 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[144]
2611 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[145]
2612 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[148]
2615 #define SWIGTYPE_p_wxPyImageHandler swig_types[149]
2616 #define SWIGTYPE_p_wxPyPanel swig_types[150]
2617 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151]
2618 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152]
2619 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[153]
2620 #define SWIGTYPE_p_wxPyPrintPreview swig_types[154]
2621 #define SWIGTYPE_p_wxPyPrintout swig_types[155]
2622 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[156]
2623 #define SWIGTYPE_p_wxPySizer swig_types[157]
2624 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158]
2625 #define SWIGTYPE_p_wxPyVListBox swig_types[159]
2626 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[160]
2627 #define SWIGTYPE_p_wxPyValidator swig_types[161]
2628 #define SWIGTYPE_p_wxPyWindow swig_types[162]
2629 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[163]
2630 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSashEvent swig_types[165]
2632 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[166]
2633 #define SWIGTYPE_p_wxSashWindow swig_types[167]
2634 #define SWIGTYPE_p_wxScrollEvent swig_types[168]
2635 #define SWIGTYPE_p_wxScrollWinEvent swig_types[169]
2636 #define SWIGTYPE_p_wxScrolledWindow swig_types[170]
2637 #define SWIGTYPE_p_wxSetCursorEvent swig_types[171]
2638 #define SWIGTYPE_p_wxShowEvent swig_types[172]
2639 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[173]
2640 #define SWIGTYPE_p_wxSize swig_types[174]
2641 #define SWIGTYPE_p_wxSizeEvent swig_types[175]
2642 #define SWIGTYPE_p_wxSizer swig_types[176]
2643 #define SWIGTYPE_p_wxSizerItem swig_types[177]
2644 #define SWIGTYPE_p_wxSplashScreen swig_types[178]
2645 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179]
2646 #define SWIGTYPE_p_wxSplitterEvent swig_types[180]
2647 #define SWIGTYPE_p_wxSplitterWindow swig_types[181]
2648 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[182]
2649 #define SWIGTYPE_p_wxStatusBar swig_types[183]
2650 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[184]
2651 #define SWIGTYPE_p_wxString swig_types[185]
2652 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[186]
2653 #define SWIGTYPE_p_wxTIFFHandler swig_types[187]
2654 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[188]
2655 #define SWIGTYPE_p_wxTextEntryDialog swig_types[189]
2656 #define SWIGTYPE_p_wxTipWindow swig_types[190]
2657 #define SWIGTYPE_p_wxTopLevelWindow swig_types[191]
2658 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[192]
2659 #define SWIGTYPE_p_wxValidator swig_types[193]
2660 #define SWIGTYPE_p_wxVisualAttributes swig_types[194]
2661 #define SWIGTYPE_p_wxWindow swig_types[195]
2662 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[196]
2663 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[197]
2664 #define SWIGTYPE_p_wxXPMHandler swig_types[198]
2665 static swig_type_info *swig_types[200];
2666 static swig_module_info swig_module = {swig_types, 199, 0, 0, 0, 0};
2667 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2668 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2669
2670 /* -------- TYPES TABLE (END) -------- */
2671
2672 #if (PY_VERSION_HEX <= 0x02000000)
2673 # if !defined(SWIG_PYTHON_CLASSIC)
2674 # error "This python version requires to use swig with the '-classic' option"
2675 # endif
2676 #endif
2677 #if (PY_VERSION_HEX <= 0x02020000)
2678 # error "This python version requires to use swig with the '-nomodern' option"
2679 #endif
2680 #if (PY_VERSION_HEX <= 0x02020000)
2681 # error "This python version requires to use swig with the '-nomodernargs' option"
2682 #endif
2683 #ifndef METH_O
2684 # error "This python version requires to use swig with the '-nofastunpack' option"
2685 #endif
2686
2687 /*-----------------------------------------------
2688 @(target):= _html.so
2689 ------------------------------------------------*/
2690 #define SWIG_init init_html
2691
2692 #define SWIG_name "_html"
2693
2694 #define SWIGVERSION 0x010329
2695
2696
2697 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2698 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2699
2700
2701 #include <stdexcept>
2702
2703
2704 namespace swig {
2705 class PyObject_ptr {
2706 protected:
2707 PyObject *_obj;
2708
2709 public:
2710 PyObject_ptr() :_obj(0)
2711 {
2712 }
2713
2714 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2715 {
2716 Py_XINCREF(_obj);
2717 }
2718
2719 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2720 {
2721 if (initial_ref) Py_XINCREF(_obj);
2722 }
2723
2724 PyObject_ptr & operator=(const PyObject_ptr& item)
2725 {
2726 Py_XINCREF(item._obj);
2727 Py_XDECREF(_obj);
2728 _obj = item._obj;
2729 return *this;
2730 }
2731
2732 ~PyObject_ptr()
2733 {
2734 Py_XDECREF(_obj);
2735 }
2736
2737 operator PyObject *() const
2738 {
2739 return _obj;
2740 }
2741
2742 PyObject *operator->() const
2743 {
2744 return _obj;
2745 }
2746 };
2747 }
2748
2749
2750 namespace swig {
2751 struct PyObject_var : PyObject_ptr {
2752 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2753
2754 PyObject_var & operator = (PyObject* obj)
2755 {
2756 Py_XDECREF(_obj);
2757 _obj = obj;
2758 return *this;
2759 }
2760 };
2761 }
2762
2763
2764 #include "wx/wxPython/wxPython.h"
2765 #include "wx/wxPython/pyclasses.h"
2766 #include "wx/wxPython/pyistream.h"
2767 #include "wx/wxPython/printfw.h"
2768
2769 #include <wx/html/htmlwin.h>
2770 #include <wx/html/htmprint.h>
2771 #include <wx/html/helpctrl.h>
2772 #include <wx/html/helpwnd.h>
2773 #include <wx/html/helpfrm.h>
2774 #include <wx/html/helpdlg.h>
2775
2776
2777 static const wxString wxPyEmptyString(wxEmptyString);
2778 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2779 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2780 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
2781
2782 #define SWIG_From_long PyInt_FromLong
2783
2784
2785 SWIGINTERNINLINE PyObject *
2786 SWIG_From_int (int value)
2787 {
2788 return SWIG_From_long (value);
2789 }
2790
2791
2792 #include <limits.h>
2793 #ifndef LLONG_MIN
2794 # define LLONG_MIN LONG_LONG_MIN
2795 #endif
2796 #ifndef LLONG_MAX
2797 # define LLONG_MAX LONG_LONG_MAX
2798 #endif
2799 #ifndef ULLONG_MAX
2800 # define ULLONG_MAX ULONG_LONG_MAX
2801 #endif
2802
2803
2804 SWIGINTERN int
2805 SWIG_AsVal_long (PyObject* obj, long* val)
2806 {
2807 if (PyNumber_Check(obj)) {
2808 if (val) *val = PyInt_AsLong(obj);
2809 return SWIG_OK;
2810 }
2811 return SWIG_TypeError;
2812 }
2813
2814
2815 SWIGINTERN int
2816 SWIG_AsVal_int (PyObject * obj, int *val)
2817 {
2818 long v;
2819 int res = SWIG_AsVal_long (obj, &v);
2820 if (SWIG_IsOK(res)) {
2821 if ((v < INT_MIN || v > INT_MAX)) {
2822 return SWIG_OverflowError;
2823 } else {
2824 if (val) *val = static_cast< int >(v);
2825 }
2826 }
2827 return res;
2828 }
2829
2830 SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
2831 int* temp = NULL;
2832 if (sizes) temp = int_LIST_helper(sizes);
2833 self->SetFonts(normal_face, fixed_face, temp);
2834 if (temp)
2835 delete [] temp;
2836 }
2837
2838 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
2839 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
2840 public:
2841 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2842
2843 wxHtmlParser* GetParser() { return m_Parser; }
2844 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
2845
2846 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2847 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2848
2849 PYPRIVATE;
2850 };
2851
2852 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
2853
2854 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
2855 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
2856
2857
2858 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
2859 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
2860 public:
2861 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2862
2863 wxHtmlWinParser* GetParser() { return m_WParser; }
2864 void ParseInner(const wxHtmlTag& tag)
2865 { wxHtmlWinTagHandler::ParseInner(tag); }
2866
2867 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2868 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2869
2870 PYPRIVATE;
2871 };
2872
2873 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
2874
2875 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
2876 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
2877
2878
2879
2880 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
2881 public:
2882 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
2883 m_tagHandlerClass = thc;
2884 Py_INCREF(m_tagHandlerClass);
2885 RegisterModule(this);
2886 wxHtmlWinParser::AddModule(this);
2887 }
2888
2889 void OnExit() {
2890 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2891 Py_DECREF(m_tagHandlerClass);
2892 m_tagHandlerClass = NULL;
2893 for (size_t x=0; x < m_objArray.GetCount(); x++) {
2894 PyObject* obj = (PyObject*)m_objArray.Item(x);
2895 Py_DECREF(obj);
2896 }
2897 wxPyEndBlockThreads(blocked);
2898 };
2899
2900 void FillHandlersTable(wxHtmlWinParser *parser) {
2901 // Wave our magic wand... (if it works it's a miracle! ;-)
2902
2903 // First, make a new instance of the tag handler
2904 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2905 PyObject* arg = PyTuple_New(0);
2906 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
2907 Py_DECREF(arg);
2908
2909 // now figure out where it's C++ object is...
2910 wxPyHtmlWinTagHandler* thPtr;
2911 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
2912 wxPyEndBlockThreads(blocked);
2913 return;
2914 }
2915 wxPyEndBlockThreads(blocked);
2916
2917 // add it,
2918 parser->AddTagHandler(thPtr);
2919
2920 // and track it.
2921 m_objArray.Add(obj);
2922 }
2923
2924 private:
2925 PyObject* m_tagHandlerClass;
2926 wxArrayPtrVoid m_objArray;
2927
2928 };
2929
2930
2931 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
2932 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2933 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2934 new wxPyHtmlTagsModule(tagHandlerClass);
2935 }
2936
2937
2938 SWIGINTERNINLINE PyObject*
2939 SWIG_From_bool (bool value)
2940 {
2941 return PyBool_FromLong(value ? 1 : 0);
2942 }
2943
2944
2945 SWIGINTERN int
2946 SWIG_AsVal_bool (PyObject *obj, bool *val)
2947 {
2948 if (obj == Py_True) {
2949 if (val) *val = true;
2950 return SWIG_OK;
2951 } else if (obj == Py_False) {
2952 if (val) *val = false;
2953 return SWIG_OK;
2954 } else {
2955 long v = 0;
2956 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2957 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2958 return res;
2959 }
2960 }
2961
2962
2963 SWIGINTERN int
2964 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2965 {
2966 long v = 0;
2967 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2968 return SWIG_TypeError;
2969 }
2970 else if (val)
2971 *val = (unsigned long)v;
2972 return SWIG_OK;
2973 }
2974
2975
2976 SWIGINTERN int
2977 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2978 {
2979 unsigned long v;
2980 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2981 if (SWIG_IsOK(res)) {
2982 if ((v > UINT_MAX)) {
2983 return SWIG_OverflowError;
2984 } else {
2985 if (val) *val = static_cast< unsigned int >(v);
2986 }
2987 }
2988 return res;
2989 }
2990
2991
2992 SWIGINTERNINLINE PyObject*
2993 SWIG_From_unsigned_SS_long (unsigned long value)
2994 {
2995 return (value > LONG_MAX) ?
2996 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2997 }
2998
2999
3000 SWIGINTERNINLINE PyObject *
3001 SWIG_From_unsigned_SS_int (unsigned int value)
3002 {
3003 return SWIG_From_unsigned_SS_long (value);
3004 }
3005
3006 // here's the C++ version
3007 class wxPyHtmlFilter : public wxHtmlFilter {
3008 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
3009 public:
3010 wxPyHtmlFilter() : wxHtmlFilter() {}
3011
3012 // returns True if this filter is able to open&read given file
3013 virtual bool CanRead(const wxFSFile& file) const {
3014 bool rval = false;
3015 bool found;
3016 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3017 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
3018 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3019 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3020 Py_DECREF(obj);
3021 }
3022 wxPyEndBlockThreads(blocked);
3023 return rval;
3024 }
3025
3026
3027 // Reads given file and returns HTML document.
3028 // Returns empty string if opening failed
3029 virtual wxString ReadFile(const wxFSFile& file) const {
3030 wxString rval;
3031 bool found;
3032 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3033 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
3034 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
3035 PyObject* ro;
3036 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
3037 Py_DECREF(obj);
3038 if (ro) {
3039 rval = Py2wxString(ro);
3040 Py_DECREF(ro);
3041 }
3042 }
3043 wxPyEndBlockThreads(blocked);
3044 return rval;
3045 }
3046
3047 PYPRIVATE;
3048 };
3049
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
3051
3052
3053 class wxPyHtmlWindow : public wxHtmlWindow {
3054 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
3055 public:
3056 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
3057 const wxPoint& pos = wxDefaultPosition,
3058 const wxSize& size = wxDefaultSize,
3059 long style = wxHW_DEFAULT_STYLE,
3060 const wxString& name = wxPyHtmlWindowNameStr)
3061 : wxHtmlWindow(parent, id, pos, size, style, name) {};
3062 wxPyHtmlWindow() : wxHtmlWindow() {};
3063
3064 bool ScrollToAnchor(const wxString& anchor) {
3065 return wxHtmlWindow::ScrollToAnchor(anchor);
3066 }
3067
3068 bool HasAnchor(const wxString& anchor) {
3069 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
3070 return c!=NULL;
3071 }
3072
3073 void OnLinkClicked(const wxHtmlLinkInfo& link);
3074
3075 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
3076 const wxString& url,
3077 wxString *redirect) const;
3078
3079 DEC_PYCALLBACK__STRING(OnSetTitle);
3080 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
3081 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
3082
3083 PYPRIVATE;
3084 };
3085
3086 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
3087 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
3088 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
3089 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
3090
3091
3092 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
3093 bool found;
3094 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3095 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3096 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3097 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3098 Py_DECREF(obj);
3099 }
3100 wxPyEndBlockThreads(blocked);
3101 if (! found)
3102 wxHtmlWindow::OnLinkClicked(link);
3103 }
3104
3105
3106 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
3107 const wxString& url,
3108 wxString *redirect) const {
3109 bool found;
3110 wxHtmlOpeningStatus rval;
3111 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3112 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
3113 PyObject* ro;
3114 PyObject* s = wx2PyString(url);
3115 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
3116 Py_DECREF(s);
3117 if (PyString_Check(ro)
3118 #if PYTHON_API_VERSION >= 1009
3119 || PyUnicode_Check(ro)
3120 #endif
3121 ) {
3122 *redirect = Py2wxString(ro);
3123 rval = wxHTML_REDIRECT;
3124 }
3125 else {
3126 PyObject* num = PyNumber_Int(ro);
3127 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
3128 Py_DECREF(num);
3129 }
3130 Py_DECREF(ro);
3131 }
3132 wxPyEndBlockThreads(blocked);
3133 if (! found)
3134 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
3135 return rval;
3136 }
3137
3138
3139
3140 SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3141 int* temp = NULL;
3142 if (sizes) temp = int_LIST_helper(sizes);
3143 self->SetFonts(normal_face, fixed_face, temp);
3144 if (temp)
3145 delete [] temp;
3146 }
3147 SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3148 int* temp = NULL;
3149 if (sizes) temp = int_LIST_helper(sizes);
3150 self->SetFonts(normal_face, fixed_face, temp);
3151 if (temp)
3152 delete [] temp;
3153 }
3154 SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3155 int* temp = NULL;
3156 if (sizes) temp = int_LIST_helper(sizes);
3157 self->SetFonts(normal_face, fixed_face, temp);
3158 if (temp)
3159 delete [] temp;
3160 }
3161
3162 #include <float.h>
3163
3164
3165 SWIGINTERN int
3166 SWIG_AsVal_double (PyObject *obj, double* val)
3167 {
3168 if (PyNumber_Check(obj)) {
3169 if (val) *val = PyFloat_AsDouble(obj);
3170 return SWIG_OK;
3171 }
3172 return SWIG_TypeError;
3173 }
3174
3175
3176 SWIGINTERN int
3177 SWIG_AsVal_float (PyObject * obj, float *val)
3178 {
3179 double v;
3180 int res = SWIG_AsVal_double (obj, &v);
3181 if (SWIG_IsOK(res)) {
3182 if ((v < -FLT_MAX || v > FLT_MAX)) {
3183 return SWIG_OverflowError;
3184 } else {
3185 if (val) *val = static_cast< float >(v);
3186 }
3187 }
3188 return res;
3189 }
3190
3191 SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
3192 int* temp = NULL;
3193 if (sizes) temp = int_LIST_helper(sizes);
3194 self->SetFonts(normal_face, fixed_face, temp);
3195 if (temp)
3196 delete [] temp;
3197 }
3198
3199 typedef wxTreeCtrl wxPyTreeCtrl;
3200
3201 #ifdef __cplusplus
3202 extern "C" {
3203 #endif
3204 SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3205 SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3206 return 1;
3207 }
3208
3209
3210 SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3211 PyObject *pyobj = 0;
3212
3213 {
3214 #if wxUSE_UNICODE
3215 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3216 #else
3217 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3218 #endif
3219 }
3220 return pyobj;
3221 }
3222
3223
3224 SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3225 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3226 return 1;
3227 }
3228
3229
3230 SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3231 PyObject *pyobj = 0;
3232
3233 {
3234 #if wxUSE_UNICODE
3235 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3236 #else
3237 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3238 #endif
3239 }
3240 return pyobj;
3241 }
3242
3243
3244 SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3245 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3246 return 1;
3247 }
3248
3249
3250 SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3251 PyObject *pyobj = 0;
3252
3253 {
3254 #if wxUSE_UNICODE
3255 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3256 #else
3257 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3258 #endif
3259 }
3260 return pyobj;
3261 }
3262
3263
3264 SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3265 PyObject *resultobj = 0;
3266 wxString *arg1 = 0 ;
3267 wxString const &arg2_defvalue = wxPyEmptyString ;
3268 wxString *arg2 = (wxString *) &arg2_defvalue ;
3269 wxHtmlLinkInfo *result = 0 ;
3270 bool temp1 = false ;
3271 bool temp2 = false ;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 char * kwnames[] = {
3275 (char *) "href",(char *) "target", NULL
3276 };
3277
3278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3279 {
3280 arg1 = wxString_in_helper(obj0);
3281 if (arg1 == NULL) SWIG_fail;
3282 temp1 = true;
3283 }
3284 if (obj1) {
3285 {
3286 arg2 = wxString_in_helper(obj1);
3287 if (arg2 == NULL) SWIG_fail;
3288 temp2 = true;
3289 }
3290 }
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3298 {
3299 if (temp1)
3300 delete arg1;
3301 }
3302 {
3303 if (temp2)
3304 delete arg2;
3305 }
3306 return resultobj;
3307 fail:
3308 {
3309 if (temp1)
3310 delete arg1;
3311 }
3312 {
3313 if (temp2)
3314 delete arg2;
3315 }
3316 return NULL;
3317 }
3318
3319
3320 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3321 PyObject *resultobj = 0;
3322 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3323 wxString result;
3324 void *argp1 = 0 ;
3325 int res1 = 0 ;
3326 PyObject *swig_obj[1] ;
3327
3328 if (!args) SWIG_fail;
3329 swig_obj[0] = args;
3330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3331 if (!SWIG_IsOK(res1)) {
3332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3333 }
3334 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (arg1)->GetHref();
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 {
3342 #if wxUSE_UNICODE
3343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3344 #else
3345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3346 #endif
3347 }
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3355 PyObject *resultobj = 0;
3356 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3357 wxString result;
3358 void *argp1 = 0 ;
3359 int res1 = 0 ;
3360 PyObject *swig_obj[1] ;
3361
3362 if (!args) SWIG_fail;
3363 swig_obj[0] = args;
3364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3365 if (!SWIG_IsOK(res1)) {
3366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3367 }
3368 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = (arg1)->GetTarget();
3372 wxPyEndAllowThreads(__tstate);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 {
3376 #if wxUSE_UNICODE
3377 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3378 #else
3379 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3380 #endif
3381 }
3382 return resultobj;
3383 fail:
3384 return NULL;
3385 }
3386
3387
3388 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3389 PyObject *resultobj = 0;
3390 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3391 wxMouseEvent *result = 0 ;
3392 void *argp1 = 0 ;
3393 int res1 = 0 ;
3394 PyObject *swig_obj[1] ;
3395
3396 if (!args) SWIG_fail;
3397 swig_obj[0] = args;
3398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3399 if (!SWIG_IsOK(res1)) {
3400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3401 }
3402 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (wxMouseEvent *)(arg1)->GetEvent();
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 {
3410 resultobj = wxPyMake_wxObject(result, (bool)0);
3411 }
3412 return resultobj;
3413 fail:
3414 return NULL;
3415 }
3416
3417
3418 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3419 PyObject *resultobj = 0;
3420 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3421 wxHtmlCell *result = 0 ;
3422 void *argp1 = 0 ;
3423 int res1 = 0 ;
3424 PyObject *swig_obj[1] ;
3425
3426 if (!args) SWIG_fail;
3427 swig_obj[0] = args;
3428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3429 if (!SWIG_IsOK(res1)) {
3430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3431 }
3432 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3440 return resultobj;
3441 fail:
3442 return NULL;
3443 }
3444
3445
3446 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj = 0;
3448 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3449 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3450 void *argp1 = 0 ;
3451 int res1 = 0 ;
3452 void *argp2 = 0 ;
3453 int res2 = 0 ;
3454 PyObject * obj0 = 0 ;
3455 PyObject * obj1 = 0 ;
3456 char * kwnames[] = {
3457 (char *) "self",(char *) "e", NULL
3458 };
3459
3460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3462 if (!SWIG_IsOK(res1)) {
3463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3464 }
3465 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3466 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3467 if (!SWIG_IsOK(res2)) {
3468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3469 }
3470 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 (arg1)->SetEvent((wxMouseEvent const *)arg2);
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 resultobj = SWIG_Py_Void();
3478 return resultobj;
3479 fail:
3480 return NULL;
3481 }
3482
3483
3484 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj = 0;
3486 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3487 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3488 void *argp1 = 0 ;
3489 int res1 = 0 ;
3490 void *argp2 = 0 ;
3491 int res2 = 0 ;
3492 PyObject * obj0 = 0 ;
3493 PyObject * obj1 = 0 ;
3494 char * kwnames[] = {
3495 (char *) "self",(char *) "e", NULL
3496 };
3497
3498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3500 if (!SWIG_IsOK(res1)) {
3501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3502 }
3503 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3504 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3505 if (!SWIG_IsOK(res2)) {
3506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3507 }
3508 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 resultobj = SWIG_Py_Void();
3516 return resultobj;
3517 fail:
3518 return NULL;
3519 }
3520
3521
3522 SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3523 PyObject *obj;
3524 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3525 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3526 return SWIG_Py_Void();
3527 }
3528
3529 SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3530 return SWIG_Python_InitShadowInstance(args);
3531 }
3532
3533 SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3534 PyObject *resultobj = 0;
3535 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3536 wxString result;
3537 void *argp1 = 0 ;
3538 int res1 = 0 ;
3539 PyObject *swig_obj[1] ;
3540
3541 if (!args) SWIG_fail;
3542 swig_obj[0] = args;
3543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3544 if (!SWIG_IsOK(res1)) {
3545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3546 }
3547 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 result = (arg1)->GetName();
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 {
3555 #if wxUSE_UNICODE
3556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3557 #else
3558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3559 #endif
3560 }
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj = 0;
3569 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3570 wxString *arg2 = 0 ;
3571 bool result;
3572 void *argp1 = 0 ;
3573 int res1 = 0 ;
3574 bool temp2 = false ;
3575 PyObject * obj0 = 0 ;
3576 PyObject * obj1 = 0 ;
3577 char * kwnames[] = {
3578 (char *) "self",(char *) "par", NULL
3579 };
3580
3581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3583 if (!SWIG_IsOK(res1)) {
3584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3585 }
3586 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3587 {
3588 arg2 = wxString_in_helper(obj1);
3589 if (arg2 == NULL) SWIG_fail;
3590 temp2 = true;
3591 }
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 {
3599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3600 }
3601 {
3602 if (temp2)
3603 delete arg2;
3604 }
3605 return resultobj;
3606 fail:
3607 {
3608 if (temp2)
3609 delete arg2;
3610 }
3611 return NULL;
3612 }
3613
3614
3615 SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3616 PyObject *resultobj = 0;
3617 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3618 wxString *arg2 = 0 ;
3619 int arg3 = (int) false ;
3620 wxString result;
3621 void *argp1 = 0 ;
3622 int res1 = 0 ;
3623 bool temp2 = false ;
3624 int val3 ;
3625 int ecode3 = 0 ;
3626 PyObject * obj0 = 0 ;
3627 PyObject * obj1 = 0 ;
3628 PyObject * obj2 = 0 ;
3629 char * kwnames[] = {
3630 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3631 };
3632
3633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3635 if (!SWIG_IsOK(res1)) {
3636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3637 }
3638 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3639 {
3640 arg2 = wxString_in_helper(obj1);
3641 if (arg2 == NULL) SWIG_fail;
3642 temp2 = true;
3643 }
3644 if (obj2) {
3645 ecode3 = SWIG_AsVal_int(obj2, &val3);
3646 if (!SWIG_IsOK(ecode3)) {
3647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3648 }
3649 arg3 = static_cast< int >(val3);
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 {
3658 #if wxUSE_UNICODE
3659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3660 #else
3661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3662 #endif
3663 }
3664 {
3665 if (temp2)
3666 delete arg2;
3667 }
3668 return resultobj;
3669 fail:
3670 {
3671 if (temp2)
3672 delete arg2;
3673 }
3674 return NULL;
3675 }
3676
3677
3678 SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3679 PyObject *resultobj = 0;
3680 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3681 wxString result;
3682 void *argp1 = 0 ;
3683 int res1 = 0 ;
3684 PyObject *swig_obj[1] ;
3685
3686 if (!args) SWIG_fail;
3687 swig_obj[0] = args;
3688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3689 if (!SWIG_IsOK(res1)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3691 }
3692 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 result = (arg1)->GetAllParams();
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 {
3700 #if wxUSE_UNICODE
3701 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3702 #else
3703 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3704 #endif
3705 }
3706 return resultobj;
3707 fail:
3708 return NULL;
3709 }
3710
3711
3712 SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3713 PyObject *resultobj = 0;
3714 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3715 bool result;
3716 void *argp1 = 0 ;
3717 int res1 = 0 ;
3718 PyObject *swig_obj[1] ;
3719
3720 if (!args) SWIG_fail;
3721 swig_obj[0] = args;
3722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3723 if (!SWIG_IsOK(res1)) {
3724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3725 }
3726 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = (bool)(arg1)->HasEnding();
3730 wxPyEndAllowThreads(__tstate);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
3733 {
3734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3735 }
3736 return resultobj;
3737 fail:
3738 return NULL;
3739 }
3740
3741
3742 SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3743 PyObject *resultobj = 0;
3744 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3745 int result;
3746 void *argp1 = 0 ;
3747 int res1 = 0 ;
3748 PyObject *swig_obj[1] ;
3749
3750 if (!args) SWIG_fail;
3751 swig_obj[0] = args;
3752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3753 if (!SWIG_IsOK(res1)) {
3754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3755 }
3756 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3757 {
3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
3759 result = (int)(arg1)->GetBeginPos();
3760 wxPyEndAllowThreads(__tstate);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
3763 resultobj = SWIG_From_int(static_cast< int >(result));
3764 return resultobj;
3765 fail:
3766 return NULL;
3767 }
3768
3769
3770 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3771 PyObject *resultobj = 0;
3772 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3773 int result;
3774 void *argp1 = 0 ;
3775 int res1 = 0 ;
3776 PyObject *swig_obj[1] ;
3777
3778 if (!args) SWIG_fail;
3779 swig_obj[0] = args;
3780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3781 if (!SWIG_IsOK(res1)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3783 }
3784 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = (int)(arg1)->GetEndPos1();
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 resultobj = SWIG_From_int(static_cast< int >(result));
3792 return resultobj;
3793 fail:
3794 return NULL;
3795 }
3796
3797
3798 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3799 PyObject *resultobj = 0;
3800 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3801 int result;
3802 void *argp1 = 0 ;
3803 int res1 = 0 ;
3804 PyObject *swig_obj[1] ;
3805
3806 if (!args) SWIG_fail;
3807 swig_obj[0] = args;
3808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3809 if (!SWIG_IsOK(res1)) {
3810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3811 }
3812 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 result = (int)(arg1)->GetEndPos2();
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 resultobj = SWIG_From_int(static_cast< int >(result));
3820 return resultobj;
3821 fail:
3822 return NULL;
3823 }
3824
3825
3826 SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3827 PyObject *obj;
3828 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3829 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3830 return SWIG_Py_Void();
3831 }
3832
3833 SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj = 0;
3835 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3836 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3837 void *argp1 = 0 ;
3838 int res1 = 0 ;
3839 void *argp2 = 0 ;
3840 int res2 = 0 ;
3841 PyObject * obj0 = 0 ;
3842 PyObject * obj1 = 0 ;
3843 char * kwnames[] = {
3844 (char *) "self",(char *) "fs", NULL
3845 };
3846
3847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3849 if (!SWIG_IsOK(res1)) {
3850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3851 }
3852 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3853 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3854 if (!SWIG_IsOK(res2)) {
3855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3856 }
3857 arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 (arg1)->SetFS(arg2);
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = SWIG_Py_Void();
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3872 PyObject *resultobj = 0;
3873 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3874 wxFileSystem *result = 0 ;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 PyObject *swig_obj[1] ;
3878
3879 if (!args) SWIG_fail;
3880 swig_obj[0] = args;
3881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3882 if (!SWIG_IsOK(res1)) {
3883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3884 }
3885 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 result = (wxFileSystem *)(arg1)->GetFS();
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 {
3893 resultobj = wxPyMake_wxObject(result, (bool)0);
3894 }
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj = 0;
3903 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3904 wxString *arg2 = 0 ;
3905 wxObject *result = 0 ;
3906 void *argp1 = 0 ;
3907 int res1 = 0 ;
3908 bool temp2 = false ;
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj1 = 0 ;
3911 char * kwnames[] = {
3912 (char *) "self",(char *) "source", NULL
3913 };
3914
3915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3917 if (!SWIG_IsOK(res1)) {
3918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3919 }
3920 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3921 {
3922 arg2 = wxString_in_helper(obj1);
3923 if (arg2 == NULL) SWIG_fail;
3924 temp2 = true;
3925 }
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 {
3933 resultobj = wxPyMake_wxObject(result, (bool)0);
3934 }
3935 {
3936 if (temp2)
3937 delete arg2;
3938 }
3939 return resultobj;
3940 fail:
3941 {
3942 if (temp2)
3943 delete arg2;
3944 }
3945 return NULL;
3946 }
3947
3948
3949 SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj = 0;
3951 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3952 wxString *arg2 = 0 ;
3953 void *argp1 = 0 ;
3954 int res1 = 0 ;
3955 bool temp2 = false ;
3956 PyObject * obj0 = 0 ;
3957 PyObject * obj1 = 0 ;
3958 char * kwnames[] = {
3959 (char *) "self",(char *) "source", NULL
3960 };
3961
3962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3964 if (!SWIG_IsOK(res1)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3966 }
3967 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3968 {
3969 arg2 = wxString_in_helper(obj1);
3970 if (arg2 == NULL) SWIG_fail;
3971 temp2 = true;
3972 }
3973 {
3974 PyThreadState* __tstate = wxPyBeginAllowThreads();
3975 (arg1)->InitParser((wxString const &)*arg2);
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 resultobj = SWIG_Py_Void();
3980 {
3981 if (temp2)
3982 delete arg2;
3983 }
3984 return resultobj;
3985 fail:
3986 {
3987 if (temp2)
3988 delete arg2;
3989 }
3990 return NULL;
3991 }
3992
3993
3994 SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3995 PyObject *resultobj = 0;
3996 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3997 void *argp1 = 0 ;
3998 int res1 = 0 ;
3999 PyObject *swig_obj[1] ;
4000
4001 if (!args) SWIG_fail;
4002 swig_obj[0] = args;
4003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4004 if (!SWIG_IsOK(res1)) {
4005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4006 }
4007 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 (arg1)->DoneParser();
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_Py_Void();
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj = 0;
4023 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4024 int arg2 ;
4025 int arg3 ;
4026 void *argp1 = 0 ;
4027 int res1 = 0 ;
4028 int val2 ;
4029 int ecode2 = 0 ;
4030 int val3 ;
4031 int ecode3 = 0 ;
4032 PyObject * obj0 = 0 ;
4033 PyObject * obj1 = 0 ;
4034 PyObject * obj2 = 0 ;
4035 char * kwnames[] = {
4036 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4037 };
4038
4039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4041 if (!SWIG_IsOK(res1)) {
4042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4043 }
4044 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4045 ecode2 = SWIG_AsVal_int(obj1, &val2);
4046 if (!SWIG_IsOK(ecode2)) {
4047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4048 }
4049 arg2 = static_cast< int >(val2);
4050 ecode3 = SWIG_AsVal_int(obj2, &val3);
4051 if (!SWIG_IsOK(ecode3)) {
4052 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4053 }
4054 arg3 = static_cast< int >(val3);
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 (arg1)->DoParsing(arg2,arg3);
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 resultobj = SWIG_Py_Void();
4062 return resultobj;
4063 fail:
4064 return NULL;
4065 }
4066
4067
4068 SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4069 PyObject *resultobj = 0;
4070 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4071 void *argp1 = 0 ;
4072 int res1 = 0 ;
4073 PyObject *swig_obj[1] ;
4074
4075 if (!args) SWIG_fail;
4076 swig_obj[0] = args;
4077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4078 if (!SWIG_IsOK(res1)) {
4079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4080 }
4081 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 (arg1)->StopParsing();
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 resultobj = SWIG_Py_Void();
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4096 PyObject *resultobj = 0;
4097 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4098 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4099 void *argp1 = 0 ;
4100 int res1 = 0 ;
4101 void *argp2 = 0 ;
4102 int res2 = 0 ;
4103 PyObject * obj0 = 0 ;
4104 PyObject * obj1 = 0 ;
4105 char * kwnames[] = {
4106 (char *) "self",(char *) "handler", NULL
4107 };
4108
4109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4111 if (!SWIG_IsOK(res1)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4113 }
4114 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4115 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4116 if (!SWIG_IsOK(res2)) {
4117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4118 }
4119 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 (arg1)->AddTagHandler(arg2);
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 resultobj = SWIG_Py_Void();
4127 return resultobj;
4128 fail:
4129 return NULL;
4130 }
4131
4132
4133 SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4134 PyObject *resultobj = 0;
4135 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4136 wxString *result = 0 ;
4137 void *argp1 = 0 ;
4138 int res1 = 0 ;
4139 PyObject *swig_obj[1] ;
4140
4141 if (!args) SWIG_fail;
4142 swig_obj[0] = args;
4143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4144 if (!SWIG_IsOK(res1)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4146 }
4147 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (wxString *)(arg1)->GetSource();
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 {
4155 #if wxUSE_UNICODE
4156 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4157 #else
4158 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4159 #endif
4160 }
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj = 0;
4169 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4170 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4171 wxString arg3 ;
4172 void *argp1 = 0 ;
4173 int res1 = 0 ;
4174 void *argp2 = 0 ;
4175 int res2 = 0 ;
4176 PyObject * obj0 = 0 ;
4177 PyObject * obj1 = 0 ;
4178 PyObject * obj2 = 0 ;
4179 char * kwnames[] = {
4180 (char *) "self",(char *) "handler",(char *) "tags", NULL
4181 };
4182
4183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4185 if (!SWIG_IsOK(res1)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4187 }
4188 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4189 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4190 if (!SWIG_IsOK(res2)) {
4191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4192 }
4193 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4194 {
4195 wxString* sptr = wxString_in_helper(obj2);
4196 if (sptr == NULL) SWIG_fail;
4197 arg3 = *sptr;
4198 delete sptr;
4199 }
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->PushTagHandler(arg2,arg3);
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 resultobj = SWIG_Py_Void();
4207 return resultobj;
4208 fail:
4209 return NULL;
4210 }
4211
4212
4213 SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4214 PyObject *resultobj = 0;
4215 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4216 void *argp1 = 0 ;
4217 int res1 = 0 ;
4218 PyObject *swig_obj[1] ;
4219
4220 if (!args) SWIG_fail;
4221 swig_obj[0] = args;
4222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4223 if (!SWIG_IsOK(res1)) {
4224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4225 }
4226 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 (arg1)->PopTagHandler();
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_Py_Void();
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj = 0;
4242 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4243 wxHtmlTag *arg2 = 0 ;
4244 wxString result;
4245 void *argp1 = 0 ;
4246 int res1 = 0 ;
4247 void *argp2 = 0 ;
4248 int res2 = 0 ;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
4251 char * kwnames[] = {
4252 (char *) "self",(char *) "tag", NULL
4253 };
4254
4255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4257 if (!SWIG_IsOK(res1)) {
4258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4259 }
4260 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4261 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4262 if (!SWIG_IsOK(res2)) {
4263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4264 }
4265 if (!argp2) {
4266 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4267 }
4268 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4269 {
4270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4271 result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 {
4276 #if wxUSE_UNICODE
4277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4278 #else
4279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4280 #endif
4281 }
4282 return resultobj;
4283 fail:
4284 return NULL;
4285 }
4286
4287
4288 SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4289 PyObject *obj;
4290 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4291 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4292 return SWIG_Py_Void();
4293 }
4294
4295 SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj = 0;
4297 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4298 wxHtmlWinParser *result = 0 ;
4299 void *argp1 = 0 ;
4300 int res1 = 0 ;
4301 PyObject * obj0 = 0 ;
4302 char * kwnames[] = {
4303 (char *) "wnd", NULL
4304 };
4305
4306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4307 if (obj0) {
4308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4309 if (!SWIG_IsOK(res1)) {
4310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4311 }
4312 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4313 }
4314 {
4315 PyThreadState* __tstate = wxPyBeginAllowThreads();
4316 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4317 wxPyEndAllowThreads(__tstate);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4328 PyObject *resultobj = 0;
4329 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4330 wxDC *arg2 = (wxDC *) 0 ;
4331 void *argp1 = 0 ;
4332 int res1 = 0 ;
4333 void *argp2 = 0 ;
4334 int res2 = 0 ;
4335 PyObject * obj0 = 0 ;
4336 PyObject * obj1 = 0 ;
4337 char * kwnames[] = {
4338 (char *) "self",(char *) "dc", NULL
4339 };
4340
4341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4343 if (!SWIG_IsOK(res1)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4345 }
4346 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4348 if (!SWIG_IsOK(res2)) {
4349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4350 }
4351 arg2 = reinterpret_cast< wxDC * >(argp2);
4352 {
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
4354 (arg1)->SetDC(arg2);
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 resultobj = SWIG_Py_Void();
4359 return resultobj;
4360 fail:
4361 return NULL;
4362 }
4363
4364
4365 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4366 PyObject *resultobj = 0;
4367 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4368 wxDC *result = 0 ;
4369 void *argp1 = 0 ;
4370 int res1 = 0 ;
4371 PyObject *swig_obj[1] ;
4372
4373 if (!args) SWIG_fail;
4374 swig_obj[0] = args;
4375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4376 if (!SWIG_IsOK(res1)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4378 }
4379 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 result = (wxDC *)(arg1)->GetDC();
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 {
4387 resultobj = wxPyMake_wxObject(result, (bool)0);
4388 }
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4396 PyObject *resultobj = 0;
4397 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4398 int result;
4399 void *argp1 = 0 ;
4400 int res1 = 0 ;
4401 PyObject *swig_obj[1] ;
4402
4403 if (!args) SWIG_fail;
4404 swig_obj[0] = args;
4405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4408 }
4409 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4410 {
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 result = (int)(arg1)->GetCharHeight();
4413 wxPyEndAllowThreads(__tstate);
4414 if (PyErr_Occurred()) SWIG_fail;
4415 }
4416 resultobj = SWIG_From_int(static_cast< int >(result));
4417 return resultobj;
4418 fail:
4419 return NULL;
4420 }
4421
4422
4423 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4424 PyObject *resultobj = 0;
4425 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4426 int result;
4427 void *argp1 = 0 ;
4428 int res1 = 0 ;
4429 PyObject *swig_obj[1] ;
4430
4431 if (!args) SWIG_fail;
4432 swig_obj[0] = args;
4433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4434 if (!SWIG_IsOK(res1)) {
4435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4436 }
4437 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 result = (int)(arg1)->GetCharWidth();
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 resultobj = SWIG_From_int(static_cast< int >(result));
4445 return resultobj;
4446 fail:
4447 return NULL;
4448 }
4449
4450
4451 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4452 PyObject *resultobj = 0;
4453 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4454 wxPyHtmlWindow *result = 0 ;
4455 void *argp1 = 0 ;
4456 int res1 = 0 ;
4457 PyObject *swig_obj[1] ;
4458
4459 if (!args) SWIG_fail;
4460 swig_obj[0] = args;
4461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4462 if (!SWIG_IsOK(res1)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4464 }
4465 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 {
4473 resultobj = wxPyMake_wxObject(result, (bool)0);
4474 }
4475 return resultobj;
4476 fail:
4477 return NULL;
4478 }
4479
4480
4481 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4482 PyObject *resultobj = 0;
4483 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4484 wxHtmlWindowInterface *result = 0 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 PyObject *swig_obj[1] ;
4488
4489 if (!args) SWIG_fail;
4490 swig_obj[0] = args;
4491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4492 if (!SWIG_IsOK(res1)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4494 }
4495 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4503 return resultobj;
4504 fail:
4505 return NULL;
4506 }
4507
4508
4509 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4510 PyObject *resultobj = 0;
4511 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4512 wxString arg2 ;
4513 wxString arg3 ;
4514 PyObject *arg4 = (PyObject *) NULL ;
4515 void *argp1 = 0 ;
4516 int res1 = 0 ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 PyObject * obj2 = 0 ;
4520 PyObject * obj3 = 0 ;
4521 char * kwnames[] = {
4522 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4523 };
4524
4525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4527 if (!SWIG_IsOK(res1)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4529 }
4530 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4531 {
4532 wxString* sptr = wxString_in_helper(obj1);
4533 if (sptr == NULL) SWIG_fail;
4534 arg2 = *sptr;
4535 delete sptr;
4536 }
4537 {
4538 wxString* sptr = wxString_in_helper(obj2);
4539 if (sptr == NULL) SWIG_fail;
4540 arg3 = *sptr;
4541 delete sptr;
4542 }
4543 if (obj3) {
4544 arg4 = obj3;
4545 }
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 resultobj = SWIG_Py_Void();
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj = 0;
4561 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4562 int arg2 = (int) -1 ;
4563 wxString const &arg3_defvalue = wxPyEmptyString ;
4564 wxString *arg3 = (wxString *) &arg3_defvalue ;
4565 wxString const &arg4_defvalue = wxPyEmptyString ;
4566 wxString *arg4 = (wxString *) &arg4_defvalue ;
4567 void *argp1 = 0 ;
4568 int res1 = 0 ;
4569 int val2 ;
4570 int ecode2 = 0 ;
4571 bool temp3 = false ;
4572 bool temp4 = false ;
4573 PyObject * obj0 = 0 ;
4574 PyObject * obj1 = 0 ;
4575 PyObject * obj2 = 0 ;
4576 PyObject * obj3 = 0 ;
4577 char * kwnames[] = {
4578 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4579 };
4580
4581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4583 if (!SWIG_IsOK(res1)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4585 }
4586 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4587 if (obj1) {
4588 ecode2 = SWIG_AsVal_int(obj1, &val2);
4589 if (!SWIG_IsOK(ecode2)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4591 }
4592 arg2 = static_cast< int >(val2);
4593 }
4594 if (obj2) {
4595 {
4596 arg3 = wxString_in_helper(obj2);
4597 if (arg3 == NULL) SWIG_fail;
4598 temp3 = true;
4599 }
4600 }
4601 if (obj3) {
4602 {
4603 arg4 = wxString_in_helper(obj3);
4604 if (arg4 == NULL) SWIG_fail;
4605 temp4 = true;
4606 }
4607 }
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 resultobj = SWIG_Py_Void();
4615 {
4616 if (temp3)
4617 delete arg3;
4618 }
4619 {
4620 if (temp4)
4621 delete arg4;
4622 }
4623 return resultobj;
4624 fail:
4625 {
4626 if (temp3)
4627 delete arg3;
4628 }
4629 {
4630 if (temp4)
4631 delete arg4;
4632 }
4633 return NULL;
4634 }
4635
4636
4637 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4638 PyObject *resultobj = 0;
4639 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4640 wxHtmlContainerCell *result = 0 ;
4641 void *argp1 = 0 ;
4642 int res1 = 0 ;
4643 PyObject *swig_obj[1] ;
4644
4645 if (!args) SWIG_fail;
4646 swig_obj[0] = args;
4647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4648 if (!SWIG_IsOK(res1)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4650 }
4651 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4652 {
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4666 PyObject *resultobj = 0;
4667 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4668 wxHtmlContainerCell *result = 0 ;
4669 void *argp1 = 0 ;
4670 int res1 = 0 ;
4671 PyObject *swig_obj[1] ;
4672
4673 if (!args) SWIG_fail;
4674 swig_obj[0] = args;
4675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4676 if (!SWIG_IsOK(res1)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4678 }
4679 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj = 0;
4695 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4696 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4697 wxHtmlContainerCell *result = 0 ;
4698 void *argp1 = 0 ;
4699 int res1 = 0 ;
4700 void *argp2 = 0 ;
4701 int res2 = 0 ;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4704 char * kwnames[] = {
4705 (char *) "self",(char *) "c", NULL
4706 };
4707
4708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4710 if (!SWIG_IsOK(res1)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4712 }
4713 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4715 if (!SWIG_IsOK(res2)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4717 }
4718 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4733 PyObject *resultobj = 0;
4734 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4735 wxHtmlContainerCell *result = 0 ;
4736 void *argp1 = 0 ;
4737 int res1 = 0 ;
4738 PyObject *swig_obj[1] ;
4739
4740 if (!args) SWIG_fail;
4741 swig_obj[0] = args;
4742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4743 if (!SWIG_IsOK(res1)) {
4744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4745 }
4746 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4761 PyObject *resultobj = 0;
4762 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4763 int result;
4764 void *argp1 = 0 ;
4765 int res1 = 0 ;
4766 PyObject *swig_obj[1] ;
4767
4768 if (!args) SWIG_fail;
4769 swig_obj[0] = args;
4770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4771 if (!SWIG_IsOK(res1)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4773 }
4774 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 result = (int)(arg1)->GetFontSize();
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 resultobj = SWIG_From_int(static_cast< int >(result));
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj = 0;
4790 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4791 int arg2 ;
4792 void *argp1 = 0 ;
4793 int res1 = 0 ;
4794 int val2 ;
4795 int ecode2 = 0 ;
4796 PyObject * obj0 = 0 ;
4797 PyObject * obj1 = 0 ;
4798 char * kwnames[] = {
4799 (char *) "self",(char *) "s", NULL
4800 };
4801
4802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4804 if (!SWIG_IsOK(res1)) {
4805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4806 }
4807 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4808 ecode2 = SWIG_AsVal_int(obj1, &val2);
4809 if (!SWIG_IsOK(ecode2)) {
4810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4811 }
4812 arg2 = static_cast< int >(val2);
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 (arg1)->SetFontSize(arg2);
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 resultobj = SWIG_Py_Void();
4820 return resultobj;
4821 fail:
4822 return NULL;
4823 }
4824
4825
4826 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4827 PyObject *resultobj = 0;
4828 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4829 int result;
4830 void *argp1 = 0 ;
4831 int res1 = 0 ;
4832 PyObject *swig_obj[1] ;
4833
4834 if (!args) SWIG_fail;
4835 swig_obj[0] = args;
4836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4837 if (!SWIG_IsOK(res1)) {
4838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4839 }
4840 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 result = (int)(arg1)->GetFontBold();
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 resultobj = SWIG_From_int(static_cast< int >(result));
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj = 0;
4856 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4857 int arg2 ;
4858 void *argp1 = 0 ;
4859 int res1 = 0 ;
4860 int val2 ;
4861 int ecode2 = 0 ;
4862 PyObject * obj0 = 0 ;
4863 PyObject * obj1 = 0 ;
4864 char * kwnames[] = {
4865 (char *) "self",(char *) "x", NULL
4866 };
4867
4868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4870 if (!SWIG_IsOK(res1)) {
4871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4872 }
4873 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4874 ecode2 = SWIG_AsVal_int(obj1, &val2);
4875 if (!SWIG_IsOK(ecode2)) {
4876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4877 }
4878 arg2 = static_cast< int >(val2);
4879 {
4880 PyThreadState* __tstate = wxPyBeginAllowThreads();
4881 (arg1)->SetFontBold(arg2);
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 resultobj = SWIG_Py_Void();
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4893 PyObject *resultobj = 0;
4894 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4895 int result;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 PyObject *swig_obj[1] ;
4899
4900 if (!args) SWIG_fail;
4901 swig_obj[0] = args;
4902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4903 if (!SWIG_IsOK(res1)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4905 }
4906 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (int)(arg1)->GetFontItalic();
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 resultobj = SWIG_From_int(static_cast< int >(result));
4914 return resultobj;
4915 fail:
4916 return NULL;
4917 }
4918
4919
4920 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4921 PyObject *resultobj = 0;
4922 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4923 int arg2 ;
4924 void *argp1 = 0 ;
4925 int res1 = 0 ;
4926 int val2 ;
4927 int ecode2 = 0 ;
4928 PyObject * obj0 = 0 ;
4929 PyObject * obj1 = 0 ;
4930 char * kwnames[] = {
4931 (char *) "self",(char *) "x", NULL
4932 };
4933
4934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4938 }
4939 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4940 ecode2 = SWIG_AsVal_int(obj1, &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 (arg1)->SetFontItalic(arg2);
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 resultobj = SWIG_Py_Void();
4952 return resultobj;
4953 fail:
4954 return NULL;
4955 }
4956
4957
4958 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4959 PyObject *resultobj = 0;
4960 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4961 int result;
4962 void *argp1 = 0 ;
4963 int res1 = 0 ;
4964 PyObject *swig_obj[1] ;
4965
4966 if (!args) SWIG_fail;
4967 swig_obj[0] = args;
4968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4969 if (!SWIG_IsOK(res1)) {
4970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4971 }
4972 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (int)(arg1)->GetFontUnderlined();
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 resultobj = SWIG_From_int(static_cast< int >(result));
4980 return resultobj;
4981 fail:
4982 return NULL;
4983 }
4984
4985
4986 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj = 0;
4988 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4989 int arg2 ;
4990 void *argp1 = 0 ;
4991 int res1 = 0 ;
4992 int val2 ;
4993 int ecode2 = 0 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 char * kwnames[] = {
4997 (char *) "self",(char *) "x", NULL
4998 };
4999
5000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
5001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5004 }
5005 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5006 ecode2 = SWIG_AsVal_int(obj1, &val2);
5007 if (!SWIG_IsOK(ecode2)) {
5008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5009 }
5010 arg2 = static_cast< int >(val2);
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->SetFontUnderlined(arg2);
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 resultobj = SWIG_Py_Void();
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5025 PyObject *resultobj = 0;
5026 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5027 int result;
5028 void *argp1 = 0 ;
5029 int res1 = 0 ;
5030 PyObject *swig_obj[1] ;
5031
5032 if (!args) SWIG_fail;
5033 swig_obj[0] = args;
5034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5035 if (!SWIG_IsOK(res1)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5037 }
5038 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (int)(arg1)->GetFontFixed();
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 resultobj = SWIG_From_int(static_cast< int >(result));
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj = 0;
5054 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5055 int arg2 ;
5056 void *argp1 = 0 ;
5057 int res1 = 0 ;
5058 int val2 ;
5059 int ecode2 = 0 ;
5060 PyObject * obj0 = 0 ;
5061 PyObject * obj1 = 0 ;
5062 char * kwnames[] = {
5063 (char *) "self",(char *) "x", NULL
5064 };
5065
5066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5068 if (!SWIG_IsOK(res1)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5070 }
5071 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5072 ecode2 = SWIG_AsVal_int(obj1, &val2);
5073 if (!SWIG_IsOK(ecode2)) {
5074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5075 }
5076 arg2 = static_cast< int >(val2);
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->SetFontFixed(arg2);
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 resultobj = SWIG_Py_Void();
5084 return resultobj;
5085 fail:
5086 return NULL;
5087 }
5088
5089
5090 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5091 PyObject *resultobj = 0;
5092 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5093 int result;
5094 void *argp1 = 0 ;
5095 int res1 = 0 ;
5096 PyObject *swig_obj[1] ;
5097
5098 if (!args) SWIG_fail;
5099 swig_obj[0] = args;
5100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5101 if (!SWIG_IsOK(res1)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5103 }
5104 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (int)(arg1)->GetAlign();
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 resultobj = SWIG_From_int(static_cast< int >(result));
5112 return resultobj;
5113 fail:
5114 return NULL;
5115 }
5116
5117
5118 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj = 0;
5120 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5121 int arg2 ;
5122 void *argp1 = 0 ;
5123 int res1 = 0 ;
5124 int val2 ;
5125 int ecode2 = 0 ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 char * kwnames[] = {
5129 (char *) "self",(char *) "a", NULL
5130 };
5131
5132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5134 if (!SWIG_IsOK(res1)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5136 }
5137 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5138 ecode2 = SWIG_AsVal_int(obj1, &val2);
5139 if (!SWIG_IsOK(ecode2)) {
5140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5141 }
5142 arg2 = static_cast< int >(val2);
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->SetAlign(arg2);
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 resultobj = SWIG_Py_Void();
5150 return resultobj;
5151 fail:
5152 return NULL;
5153 }
5154
5155
5156 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5157 PyObject *resultobj = 0;
5158 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5159 wxColour result;
5160 void *argp1 = 0 ;
5161 int res1 = 0 ;
5162 PyObject *swig_obj[1] ;
5163
5164 if (!args) SWIG_fail;
5165 swig_obj[0] = args;
5166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5167 if (!SWIG_IsOK(res1)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5169 }
5170 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (arg1)->GetLinkColor();
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5178 return resultobj;
5179 fail:
5180 return NULL;
5181 }
5182
5183
5184 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj = 0;
5186 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5187 wxColour *arg2 = 0 ;
5188 void *argp1 = 0 ;
5189 int res1 = 0 ;
5190 wxColour temp2 ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 char * kwnames[] = {
5194 (char *) "self",(char *) "clr", NULL
5195 };
5196
5197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5199 if (!SWIG_IsOK(res1)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5201 }
5202 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5203 {
5204 arg2 = &temp2;
5205 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5206 }
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 (arg1)->SetLinkColor((wxColour const &)*arg2);
5210 wxPyEndAllowThreads(__tstate);
5211 if (PyErr_Occurred()) SWIG_fail;
5212 }
5213 resultobj = SWIG_Py_Void();
5214 return resultobj;
5215 fail:
5216 return NULL;
5217 }
5218
5219
5220 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5221 PyObject *resultobj = 0;
5222 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5223 wxColour result;
5224 void *argp1 = 0 ;
5225 int res1 = 0 ;
5226 PyObject *swig_obj[1] ;
5227
5228 if (!args) SWIG_fail;
5229 swig_obj[0] = args;
5230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5231 if (!SWIG_IsOK(res1)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5233 }
5234 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (arg1)->GetActualColor();
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5242 return resultobj;
5243 fail:
5244 return NULL;
5245 }
5246
5247
5248 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj = 0;
5250 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5251 wxColour *arg2 = 0 ;
5252 void *argp1 = 0 ;
5253 int res1 = 0 ;
5254 wxColour temp2 ;
5255 PyObject * obj0 = 0 ;
5256 PyObject * obj1 = 0 ;
5257 char * kwnames[] = {
5258 (char *) "self",(char *) "clr", NULL
5259 };
5260
5261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5263 if (!SWIG_IsOK(res1)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5265 }
5266 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5267 {
5268 arg2 = &temp2;
5269 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5270 }
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 (arg1)->SetActualColor((wxColour const &)*arg2);
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 resultobj = SWIG_Py_Void();
5278 return resultobj;
5279 fail:
5280 return NULL;
5281 }
5282
5283
5284 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj = 0;
5286 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5287 wxString *arg2 = 0 ;
5288 void *argp1 = 0 ;
5289 int res1 = 0 ;
5290 bool temp2 = false ;
5291 PyObject * obj0 = 0 ;
5292 PyObject * obj1 = 0 ;
5293 char * kwnames[] = {
5294 (char *) "self",(char *) "link", NULL
5295 };
5296
5297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5299 if (!SWIG_IsOK(res1)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5301 }
5302 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5303 {
5304 arg2 = wxString_in_helper(obj1);
5305 if (arg2 == NULL) SWIG_fail;
5306 temp2 = true;
5307 }
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 (arg1)->SetLink((wxString const &)*arg2);
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 resultobj = SWIG_Py_Void();
5315 {
5316 if (temp2)
5317 delete arg2;
5318 }
5319 return resultobj;
5320 fail:
5321 {
5322 if (temp2)
5323 delete arg2;
5324 }
5325 return NULL;
5326 }
5327
5328
5329 SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5330 PyObject *resultobj = 0;
5331 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5332 wxFont *result = 0 ;
5333 void *argp1 = 0 ;
5334 int res1 = 0 ;
5335 PyObject *swig_obj[1] ;
5336
5337 if (!args) SWIG_fail;
5338 swig_obj[0] = args;
5339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5340 if (!SWIG_IsOK(res1)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5342 }
5343 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (wxFont *)(arg1)->CreateCurrentFont();
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5358 PyObject *resultobj = 0;
5359 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5360 SwigValueWrapper<wxHtmlLinkInfo > result;
5361 void *argp1 = 0 ;
5362 int res1 = 0 ;
5363 PyObject *swig_obj[1] ;
5364
5365 if (!args) SWIG_fail;
5366 swig_obj[0] = args;
5367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5368 if (!SWIG_IsOK(res1)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5370 }
5371 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (arg1)->GetLink();
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5379 return resultobj;
5380 fail:
5381 return NULL;
5382 }
5383
5384
5385 SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5386 PyObject *obj;
5387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5388 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5389 return SWIG_Py_Void();
5390 }
5391
5392 SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5393 return SWIG_Python_InitShadowInstance(args);
5394 }
5395
5396 SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5397 PyObject *resultobj = 0;
5398 wxPyHtmlTagHandler *result = 0 ;
5399
5400 if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5401 {
5402 PyThreadState* __tstate = wxPyBeginAllowThreads();
5403 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5408 return resultobj;
5409 fail:
5410 return NULL;
5411 }
5412
5413
5414 SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5415 PyObject *resultobj = 0;
5416 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5417 PyObject *arg2 = (PyObject *) 0 ;
5418 PyObject *arg3 = (PyObject *) 0 ;
5419 void *argp1 = 0 ;
5420 int res1 = 0 ;
5421 PyObject * obj0 = 0 ;
5422 PyObject * obj1 = 0 ;
5423 PyObject * obj2 = 0 ;
5424 char * kwnames[] = {
5425 (char *) "self",(char *) "self",(char *) "_class", NULL
5426 };
5427
5428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5430 if (!SWIG_IsOK(res1)) {
5431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5432 }
5433 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5434 arg2 = obj1;
5435 arg3 = obj2;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->_setCallbackInfo(arg2,arg3);
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
5442 resultobj = SWIG_Py_Void();
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5450 PyObject *resultobj = 0;
5451 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5452 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5453 void *argp1 = 0 ;
5454 int res1 = 0 ;
5455 void *argp2 = 0 ;
5456 int res2 = 0 ;
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 char * kwnames[] = {
5460 (char *) "self",(char *) "parser", NULL
5461 };
5462
5463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5465 if (!SWIG_IsOK(res1)) {
5466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5467 }
5468 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5469 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5470 if (!SWIG_IsOK(res2)) {
5471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5472 }
5473 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 (arg1)->SetParser(arg2);
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 resultobj = SWIG_Py_Void();
5481 return resultobj;
5482 fail:
5483 return NULL;
5484 }
5485
5486
5487 SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5488 PyObject *resultobj = 0;
5489 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5490 wxHtmlParser *result = 0 ;
5491 void *argp1 = 0 ;
5492 int res1 = 0 ;
5493 PyObject *swig_obj[1] ;
5494
5495 if (!args) SWIG_fail;
5496 swig_obj[0] = args;
5497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5498 if (!SWIG_IsOK(res1)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5500 }
5501 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 result = (wxHtmlParser *)(arg1)->GetParser();
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5509 return resultobj;
5510 fail:
5511 return NULL;
5512 }
5513
5514
5515 SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5516 PyObject *resultobj = 0;
5517 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5518 wxHtmlTag *arg2 = 0 ;
5519 void *argp1 = 0 ;
5520 int res1 = 0 ;
5521 void *argp2 = 0 ;
5522 int res2 = 0 ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 char * kwnames[] = {
5526 (char *) "self",(char *) "tag", NULL
5527 };
5528
5529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5531 if (!SWIG_IsOK(res1)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5533 }
5534 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5535 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5536 if (!SWIG_IsOK(res2)) {
5537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5538 }
5539 if (!argp2) {
5540 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5541 }
5542 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 resultobj = SWIG_Py_Void();
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5557 PyObject *obj;
5558 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5559 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5560 return SWIG_Py_Void();
5561 }
5562
5563 SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5564 return SWIG_Python_InitShadowInstance(args);
5565 }
5566
5567 SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5568 PyObject *resultobj = 0;
5569 wxPyHtmlWinTagHandler *result = 0 ;
5570
5571 if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5579 return resultobj;
5580 fail:
5581 return NULL;
5582 }
5583
5584
5585 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj = 0;
5587 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5588 PyObject *arg2 = (PyObject *) 0 ;
5589 PyObject *arg3 = (PyObject *) 0 ;
5590 void *argp1 = 0 ;
5591 int res1 = 0 ;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 PyObject * obj2 = 0 ;
5595 char * kwnames[] = {
5596 (char *) "self",(char *) "self",(char *) "_class", NULL
5597 };
5598
5599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5601 if (!SWIG_IsOK(res1)) {
5602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5603 }
5604 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5605 arg2 = obj1;
5606 arg3 = obj2;
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
5609 (arg1)->_setCallbackInfo(arg2,arg3);
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 resultobj = SWIG_Py_Void();
5614 return resultobj;
5615 fail:
5616 return NULL;
5617 }
5618
5619
5620 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5621 PyObject *resultobj = 0;
5622 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5623 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5624 void *argp1 = 0 ;
5625 int res1 = 0 ;
5626 void *argp2 = 0 ;
5627 int res2 = 0 ;
5628 PyObject * obj0 = 0 ;
5629 PyObject * obj1 = 0 ;
5630 char * kwnames[] = {
5631 (char *) "self",(char *) "parser", NULL
5632 };
5633
5634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5636 if (!SWIG_IsOK(res1)) {
5637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5638 }
5639 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5641 if (!SWIG_IsOK(res2)) {
5642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5643 }
5644 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->SetParser(arg2);
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 resultobj = SWIG_Py_Void();
5652 return resultobj;
5653 fail:
5654 return NULL;
5655 }
5656
5657
5658 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5659 PyObject *resultobj = 0;
5660 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5661 wxHtmlWinParser *result = 0 ;
5662 void *argp1 = 0 ;
5663 int res1 = 0 ;
5664 PyObject *swig_obj[1] ;
5665
5666 if (!args) SWIG_fail;
5667 swig_obj[0] = args;
5668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5669 if (!SWIG_IsOK(res1)) {
5670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5671 }
5672 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 result = (wxHtmlWinParser *)(arg1)->GetParser();
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5680 return resultobj;
5681 fail:
5682 return NULL;
5683 }
5684
5685
5686 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj = 0;
5688 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5689 wxHtmlTag *arg2 = 0 ;
5690 void *argp1 = 0 ;
5691 int res1 = 0 ;
5692 void *argp2 = 0 ;
5693 int res2 = 0 ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 char * kwnames[] = {
5697 (char *) "self",(char *) "tag", NULL
5698 };
5699
5700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5702 if (!SWIG_IsOK(res1)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5704 }
5705 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5706 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5707 if (!SWIG_IsOK(res2)) {
5708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5709 }
5710 if (!argp2) {
5711 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5712 }
5713 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 resultobj = SWIG_Py_Void();
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5728 PyObject *obj;
5729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5730 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5731 return SWIG_Py_Void();
5732 }
5733
5734 SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5735 return SWIG_Python_InitShadowInstance(args);
5736 }
5737
5738 SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj = 0;
5740 PyObject *arg1 = (PyObject *) 0 ;
5741 PyObject * obj0 = 0 ;
5742 char * kwnames[] = {
5743 (char *) "tagHandlerClass", NULL
5744 };
5745
5746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5747 arg1 = obj0;
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 wxHtmlWinParser_AddTagHandler(arg1);
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 resultobj = SWIG_Py_Void();
5755 return resultobj;
5756 fail:
5757 return NULL;
5758 }
5759
5760
5761 SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5762 PyObject *resultobj = 0;
5763 wxHtmlSelection *result = 0 ;
5764
5765 if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 result = (wxHtmlSelection *)new wxHtmlSelection();
5769 wxPyEndAllowThreads(__tstate);
5770 if (PyErr_Occurred()) SWIG_fail;
5771 }
5772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5773 return resultobj;
5774 fail:
5775 return NULL;
5776 }
5777
5778
5779 SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5780 PyObject *resultobj = 0;
5781 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5782 void *argp1 = 0 ;
5783 int res1 = 0 ;
5784 PyObject *swig_obj[1] ;
5785
5786 if (!args) SWIG_fail;
5787 swig_obj[0] = args;
5788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5789 if (!SWIG_IsOK(res1)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5791 }
5792 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 delete arg1;
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = SWIG_Py_Void();
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj = 0;
5809 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5810 wxPoint *arg2 = 0 ;
5811 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5812 wxPoint *arg4 = 0 ;
5813 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5814 void *argp1 = 0 ;
5815 int res1 = 0 ;
5816 wxPoint temp2 ;
5817 void *argp3 = 0 ;
5818 int res3 = 0 ;
5819 wxPoint temp4 ;
5820 void *argp5 = 0 ;
5821 int res5 = 0 ;
5822 PyObject * obj0 = 0 ;
5823 PyObject * obj1 = 0 ;
5824 PyObject * obj2 = 0 ;
5825 PyObject * obj3 = 0 ;
5826 PyObject * obj4 = 0 ;
5827 char * kwnames[] = {
5828 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5829 };
5830
5831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5833 if (!SWIG_IsOK(res1)) {
5834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5835 }
5836 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5837 {
5838 arg2 = &temp2;
5839 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5840 }
5841 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5842 if (!SWIG_IsOK(res3)) {
5843 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5844 }
5845 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5846 {
5847 arg4 = &temp4;
5848 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5849 }
5850 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5851 if (!SWIG_IsOK(res5)) {
5852 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5853 }
5854 arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 resultobj = SWIG_Py_Void();
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj = 0;
5870 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5871 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5872 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 void *argp2 = 0 ;
5876 int res2 = 0 ;
5877 void *argp3 = 0 ;
5878 int res3 = 0 ;
5879 PyObject * obj0 = 0 ;
5880 PyObject * obj1 = 0 ;
5881 PyObject * obj2 = 0 ;
5882 char * kwnames[] = {
5883 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5884 };
5885
5886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5888 if (!SWIG_IsOK(res1)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5890 }
5891 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5893 if (!SWIG_IsOK(res2)) {
5894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5895 }
5896 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5897 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5898 if (!SWIG_IsOK(res3)) {
5899 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5900 }
5901 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5902 {
5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
5904 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 resultobj = SWIG_Py_Void();
5909 return resultobj;
5910 fail:
5911 return NULL;
5912 }
5913
5914
5915 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5916 PyObject *resultobj = 0;
5917 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5918 wxHtmlCell *result = 0 ;
5919 void *argp1 = 0 ;
5920 int res1 = 0 ;
5921 PyObject *swig_obj[1] ;
5922
5923 if (!args) SWIG_fail;
5924 swig_obj[0] = args;
5925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5926 if (!SWIG_IsOK(res1)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5928 }
5929 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 {
5937 resultobj = wxPyMake_wxObject(result, 0);
5938 }
5939 return resultobj;
5940 fail:
5941 return NULL;
5942 }
5943
5944
5945 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5946 PyObject *resultobj = 0;
5947 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5948 wxHtmlCell *result = 0 ;
5949 void *argp1 = 0 ;
5950 int res1 = 0 ;
5951 PyObject *swig_obj[1] ;
5952
5953 if (!args) SWIG_fail;
5954 swig_obj[0] = args;
5955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5956 if (!SWIG_IsOK(res1)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5958 }
5959 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 {
5967 resultobj = wxPyMake_wxObject(result, 0);
5968 }
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5976 PyObject *resultobj = 0;
5977 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5978 wxPoint *result = 0 ;
5979 void *argp1 = 0 ;
5980 int res1 = 0 ;
5981 PyObject *swig_obj[1] ;
5982
5983 if (!args) SWIG_fail;
5984 swig_obj[0] = args;
5985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5986 if (!SWIG_IsOK(res1)) {
5987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5988 }
5989 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 {
5993 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
5994 result = (wxPoint *) &_result_ref;
5995 }
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6007 PyObject *resultobj = 0;
6008 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6009 wxPoint *result = 0 ;
6010 void *argp1 = 0 ;
6011 int res1 = 0 ;
6012 PyObject *swig_obj[1] ;
6013
6014 if (!args) SWIG_fail;
6015 swig_obj[0] = args;
6016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6017 if (!SWIG_IsOK(res1)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6019 }
6020 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 {
6024 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
6025 result = (wxPoint *) &_result_ref;
6026 }
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6038 PyObject *resultobj = 0;
6039 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6040 wxPoint *result = 0 ;
6041 void *argp1 = 0 ;
6042 int res1 = 0 ;
6043 PyObject *swig_obj[1] ;
6044
6045 if (!args) SWIG_fail;
6046 swig_obj[0] = args;
6047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6048 if (!SWIG_IsOK(res1)) {
6049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6050 }
6051 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 {
6055 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6056 result = (wxPoint *) &_result_ref;
6057 }
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6069 PyObject *resultobj = 0;
6070 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6071 wxPoint *result = 0 ;
6072 void *argp1 = 0 ;
6073 int res1 = 0 ;
6074 PyObject *swig_obj[1] ;
6075
6076 if (!args) SWIG_fail;
6077 swig_obj[0] = args;
6078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6079 if (!SWIG_IsOK(res1)) {
6080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6081 }
6082 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 {
6086 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6087 result = (wxPoint *) &_result_ref;
6088 }
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj = 0;
6101 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6102 wxPoint *arg2 = 0 ;
6103 void *argp1 = 0 ;
6104 int res1 = 0 ;
6105 wxPoint temp2 ;
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 char * kwnames[] = {
6109 (char *) "self",(char *) "pos", NULL
6110 };
6111
6112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6114 if (!SWIG_IsOK(res1)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6116 }
6117 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6118 {
6119 arg2 = &temp2;
6120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6121 }
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 resultobj = SWIG_Py_Void();
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj = 0;
6137 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6138 wxPoint *arg2 = 0 ;
6139 void *argp1 = 0 ;
6140 int res1 = 0 ;
6141 wxPoint temp2 ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 char * kwnames[] = {
6145 (char *) "self",(char *) "pos", NULL
6146 };
6147
6148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6150 if (!SWIG_IsOK(res1)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6152 }
6153 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6154 {
6155 arg2 = &temp2;
6156 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6157 }
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 resultobj = SWIG_Py_Void();
6165 return resultobj;
6166 fail:
6167 return NULL;
6168 }
6169
6170
6171 SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6172 PyObject *resultobj = 0;
6173 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6174 void *argp1 = 0 ;
6175 int res1 = 0 ;
6176 PyObject *swig_obj[1] ;
6177
6178 if (!args) SWIG_fail;
6179 swig_obj[0] = args;
6180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6181 if (!SWIG_IsOK(res1)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6183 }
6184 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 (arg1)->ClearPrivPos();
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 resultobj = SWIG_Py_Void();
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6199 PyObject *resultobj = 0;
6200 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6201 bool result;
6202 void *argp1 = 0 ;
6203 int res1 = 0 ;
6204 PyObject *swig_obj[1] ;
6205
6206 if (!args) SWIG_fail;
6207 swig_obj[0] = args;
6208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6209 if (!SWIG_IsOK(res1)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6211 }
6212 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 resultobj = SWIG_From_bool(static_cast< bool >(result));
6220 return resultobj;
6221 fail:
6222 return NULL;
6223 }
6224
6225
6226 SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6227 PyObject *obj;
6228 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6229 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6230 return SWIG_Py_Void();
6231 }
6232
6233 SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 return SWIG_Python_InitShadowInstance(args);
6235 }
6236
6237 SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6238 PyObject *resultobj = 0;
6239 wxHtmlRenderingState *result = 0 ;
6240
6241 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6256 PyObject *resultobj = 0;
6257 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6258 void *argp1 = 0 ;
6259 int res1 = 0 ;
6260 PyObject *swig_obj[1] ;
6261
6262 if (!args) SWIG_fail;
6263 swig_obj[0] = args;
6264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6265 if (!SWIG_IsOK(res1)) {
6266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6267 }
6268 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 delete arg1;
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 resultobj = SWIG_Py_Void();
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj = 0;
6285 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6286 wxHtmlSelectionState arg2 ;
6287 void *argp1 = 0 ;
6288 int res1 = 0 ;
6289 int val2 ;
6290 int ecode2 = 0 ;
6291 PyObject * obj0 = 0 ;
6292 PyObject * obj1 = 0 ;
6293 char * kwnames[] = {
6294 (char *) "self",(char *) "s", NULL
6295 };
6296
6297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6299 if (!SWIG_IsOK(res1)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6301 }
6302 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6303 ecode2 = SWIG_AsVal_int(obj1, &val2);
6304 if (!SWIG_IsOK(ecode2)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6306 }
6307 arg2 = static_cast< wxHtmlSelectionState >(val2);
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 (arg1)->SetSelectionState(arg2);
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 resultobj = SWIG_Py_Void();
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6322 PyObject *resultobj = 0;
6323 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6324 wxHtmlSelectionState result;
6325 void *argp1 = 0 ;
6326 int res1 = 0 ;
6327 PyObject *swig_obj[1] ;
6328
6329 if (!args) SWIG_fail;
6330 swig_obj[0] = args;
6331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6332 if (!SWIG_IsOK(res1)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6334 }
6335 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 resultobj = SWIG_From_int(static_cast< int >(result));
6343 return resultobj;
6344 fail:
6345 return NULL;
6346 }
6347
6348
6349 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj = 0;
6351 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6352 wxColour *arg2 = 0 ;
6353 void *argp1 = 0 ;
6354 int res1 = 0 ;
6355 wxColour temp2 ;
6356 PyObject * obj0 = 0 ;
6357 PyObject * obj1 = 0 ;
6358 char * kwnames[] = {
6359 (char *) "self",(char *) "c", NULL
6360 };
6361
6362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6364 if (!SWIG_IsOK(res1)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6366 }
6367 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6368 {
6369 arg2 = &temp2;
6370 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6371 }
6372 {
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 (arg1)->SetFgColour((wxColour const &)*arg2);
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 resultobj = SWIG_Py_Void();
6379 return resultobj;
6380 fail:
6381 return NULL;
6382 }
6383
6384
6385 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6386 PyObject *resultobj = 0;
6387 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6388 wxColour *result = 0 ;
6389 void *argp1 = 0 ;
6390 int res1 = 0 ;
6391 PyObject *swig_obj[1] ;
6392
6393 if (!args) SWIG_fail;
6394 swig_obj[0] = args;
6395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6396 if (!SWIG_IsOK(res1)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6398 }
6399 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 {
6403 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6404 result = (wxColour *) &_result_ref;
6405 }
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6410 return resultobj;
6411 fail:
6412 return NULL;
6413 }
6414
6415
6416 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj = 0;
6418 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6419 wxColour *arg2 = 0 ;
6420 void *argp1 = 0 ;
6421 int res1 = 0 ;
6422 wxColour temp2 ;
6423 PyObject * obj0 = 0 ;
6424 PyObject * obj1 = 0 ;
6425 char * kwnames[] = {
6426 (char *) "self",(char *) "c", NULL
6427 };
6428
6429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6431 if (!SWIG_IsOK(res1)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6433 }
6434 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6435 {
6436 arg2 = &temp2;
6437 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6438 }
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 (arg1)->SetBgColour((wxColour const &)*arg2);
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = SWIG_Py_Void();
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6453 PyObject *resultobj = 0;
6454 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6455 wxColour *result = 0 ;
6456 void *argp1 = 0 ;
6457 int res1 = 0 ;
6458 PyObject *swig_obj[1] ;
6459
6460 if (!args) SWIG_fail;
6461 swig_obj[0] = args;
6462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6463 if (!SWIG_IsOK(res1)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6465 }
6466 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 {
6470 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6471 result = (wxColour *) &_result_ref;
6472 }
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6477 return resultobj;
6478 fail:
6479 return NULL;
6480 }
6481
6482
6483 SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6484 PyObject *obj;
6485 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6486 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6487 return SWIG_Py_Void();
6488 }
6489
6490 SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6491 return SWIG_Python_InitShadowInstance(args);
6492 }
6493
6494 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj = 0;
6496 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6497 wxColour *arg2 = 0 ;
6498 wxColour result;
6499 void *argp1 = 0 ;
6500 int res1 = 0 ;
6501 wxColour temp2 ;
6502 PyObject * obj0 = 0 ;
6503 PyObject * obj1 = 0 ;
6504 char * kwnames[] = {
6505 (char *) "self",(char *) "clr", NULL
6506 };
6507
6508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6510 if (!SWIG_IsOK(res1)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6512 }
6513 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6514 {
6515 arg2 = &temp2;
6516 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6517 }
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj = 0;
6533 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6534 wxColour *arg2 = 0 ;
6535 wxColour result;
6536 void *argp1 = 0 ;
6537 int res1 = 0 ;
6538 wxColour temp2 ;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 char * kwnames[] = {
6542 (char *) "self",(char *) "clr", NULL
6543 };
6544
6545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6547 if (!SWIG_IsOK(res1)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6549 }
6550 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6551 {
6552 arg2 = &temp2;
6553 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6569 PyObject *obj;
6570 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6571 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6572 return SWIG_Py_Void();
6573 }
6574
6575 SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6576 PyObject *obj;
6577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6578 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6579 return SWIG_Py_Void();
6580 }
6581
6582 SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6583 PyObject *resultobj = 0;
6584 wxHtmlRenderingInfo *result = 0 ;
6585
6586 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6601 PyObject *resultobj = 0;
6602 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6603 void *argp1 = 0 ;
6604 int res1 = 0 ;
6605 PyObject *swig_obj[1] ;
6606
6607 if (!args) SWIG_fail;
6608 swig_obj[0] = args;
6609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6610 if (!SWIG_IsOK(res1)) {
6611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6612 }
6613 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 delete arg1;
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 resultobj = SWIG_Py_Void();
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj = 0;
6630 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6631 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6632 void *argp1 = 0 ;
6633 int res1 = 0 ;
6634 void *argp2 = 0 ;
6635 int res2 = 0 ;
6636 PyObject * obj0 = 0 ;
6637 PyObject * obj1 = 0 ;
6638 char * kwnames[] = {
6639 (char *) "self",(char *) "s", NULL
6640 };
6641
6642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6644 if (!SWIG_IsOK(res1)) {
6645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6646 }
6647 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6649 if (!SWIG_IsOK(res2)) {
6650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6651 }
6652 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 (arg1)->SetSelection(arg2);
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 resultobj = SWIG_Py_Void();
6660 return resultobj;
6661 fail:
6662 return NULL;
6663 }
6664
6665
6666 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6667 PyObject *resultobj = 0;
6668 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6669 wxHtmlSelection *result = 0 ;
6670 void *argp1 = 0 ;
6671 int res1 = 0 ;
6672 PyObject *swig_obj[1] ;
6673
6674 if (!args) SWIG_fail;
6675 swig_obj[0] = args;
6676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6677 if (!SWIG_IsOK(res1)) {
6678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6679 }
6680 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj = 0;
6696 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6697 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6698 void *argp1 = 0 ;
6699 int res1 = 0 ;
6700 void *argp2 = 0 ;
6701 int res2 = 0 ;
6702 PyObject * obj0 = 0 ;
6703 PyObject * obj1 = 0 ;
6704 char * kwnames[] = {
6705 (char *) "self",(char *) "style", NULL
6706 };
6707
6708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6710 if (!SWIG_IsOK(res1)) {
6711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6712 }
6713 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6715 if (!SWIG_IsOK(res2)) {
6716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6717 }
6718 arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 (arg1)->SetStyle(arg2);
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = SWIG_Py_Void();
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6733 PyObject *resultobj = 0;
6734 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6735 wxHtmlRenderingStyle *result = 0 ;
6736 void *argp1 = 0 ;
6737 int res1 = 0 ;
6738 PyObject *swig_obj[1] ;
6739
6740 if (!args) SWIG_fail;
6741 swig_obj[0] = args;
6742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6743 if (!SWIG_IsOK(res1)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6745 }
6746 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 {
6750 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6751 result = (wxHtmlRenderingStyle *) &_result_ref;
6752 }
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6764 PyObject *resultobj = 0;
6765 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6766 wxHtmlRenderingState *result = 0 ;
6767 void *argp1 = 0 ;
6768 int res1 = 0 ;
6769 PyObject *swig_obj[1] ;
6770
6771 if (!args) SWIG_fail;
6772 swig_obj[0] = args;
6773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6774 if (!SWIG_IsOK(res1)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6776 }
6777 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 {
6781 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6782 result = (wxHtmlRenderingState *) &_result_ref;
6783 }
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6788 return resultobj;
6789 fail:
6790 return NULL;
6791 }
6792
6793
6794 SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6795 PyObject *obj;
6796 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6797 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6798 return SWIG_Py_Void();
6799 }
6800
6801 SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6802 return SWIG_Python_InitShadowInstance(args);
6803 }
6804
6805 SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6806 PyObject *resultobj = 0;
6807 wxHtmlCell *result = 0 ;
6808
6809 if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 result = (wxHtmlCell *)new wxHtmlCell();
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6824 PyObject *resultobj = 0;
6825 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6826 void *argp1 = 0 ;
6827 int res1 = 0 ;
6828 PyObject *swig_obj[1] ;
6829
6830 if (!args) SWIG_fail;
6831 swig_obj[0] = args;
6832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6833 if (!SWIG_IsOK(res1)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6835 }
6836 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 delete arg1;
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 resultobj = SWIG_Py_Void();
6845 return resultobj;
6846 fail:
6847 return NULL;
6848 }
6849
6850
6851 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6852 PyObject *resultobj = 0;
6853 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6854 int result;
6855 void *argp1 = 0 ;
6856 int res1 = 0 ;
6857 PyObject *swig_obj[1] ;
6858
6859 if (!args) SWIG_fail;
6860 swig_obj[0] = args;
6861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6862 if (!SWIG_IsOK(res1)) {
6863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6864 }
6865 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (int)(arg1)->GetPosX();
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 resultobj = SWIG_From_int(static_cast< int >(result));
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6880 PyObject *resultobj = 0;
6881 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6882 int result;
6883 void *argp1 = 0 ;
6884 int res1 = 0 ;
6885 PyObject *swig_obj[1] ;
6886
6887 if (!args) SWIG_fail;
6888 swig_obj[0] = args;
6889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6890 if (!SWIG_IsOK(res1)) {
6891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6892 }
6893 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 result = (int)(arg1)->GetPosY();
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = SWIG_From_int(static_cast< int >(result));
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6908 PyObject *resultobj = 0;
6909 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6910 int result;
6911 void *argp1 = 0 ;
6912 int res1 = 0 ;
6913 PyObject *swig_obj[1] ;
6914
6915 if (!args) SWIG_fail;
6916 swig_obj[0] = args;
6917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6918 if (!SWIG_IsOK(res1)) {
6919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6920 }
6921 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (int)(arg1)->GetWidth();
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 resultobj = SWIG_From_int(static_cast< int >(result));
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6936 PyObject *resultobj = 0;
6937 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6938 int result;
6939 void *argp1 = 0 ;
6940 int res1 = 0 ;
6941 PyObject *swig_obj[1] ;
6942
6943 if (!args) SWIG_fail;
6944 swig_obj[0] = args;
6945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6946 if (!SWIG_IsOK(res1)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6948 }
6949 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (int)(arg1)->GetHeight();
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 resultobj = SWIG_From_int(static_cast< int >(result));
6957 return resultobj;
6958 fail:
6959 return NULL;
6960 }
6961
6962
6963 SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6964 PyObject *resultobj = 0;
6965 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6966 int result;
6967 void *argp1 = 0 ;
6968 int res1 = 0 ;
6969 PyObject *swig_obj[1] ;
6970
6971 if (!args) SWIG_fail;
6972 swig_obj[0] = args;
6973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6974 if (!SWIG_IsOK(res1)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6976 }
6977 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 result = (int)(arg1)->GetDescent();
6981 wxPyEndAllowThreads(__tstate);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 resultobj = SWIG_From_int(static_cast< int >(result));
6985 return resultobj;
6986 fail:
6987 return NULL;
6988 }
6989
6990
6991 SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6992 PyObject *resultobj = 0;
6993 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6994 int result;
6995 void *argp1 = 0 ;
6996 int res1 = 0 ;
6997 PyObject *swig_obj[1] ;
6998
6999 if (!args) SWIG_fail;
7000 swig_obj[0] = args;
7001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7002 if (!SWIG_IsOK(res1)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7004 }
7005 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 resultobj = SWIG_From_int(static_cast< int >(result));
7013 return resultobj;
7014 fail:
7015 return NULL;
7016 }
7017
7018
7019 SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7020 PyObject *resultobj = 0;
7021 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7022 wxString *result = 0 ;
7023 void *argp1 = 0 ;
7024 int res1 = 0 ;
7025 PyObject *swig_obj[1] ;
7026
7027 if (!args) SWIG_fail;
7028 swig_obj[0] = args;
7029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7030 if (!SWIG_IsOK(res1)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7032 }
7033 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 {
7037 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7038 result = (wxString *) &_result_ref;
7039 }
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 {
7044 #if wxUSE_UNICODE
7045 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7046 #else
7047 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7048 #endif
7049 }
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj = 0;
7058 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7059 wxString *arg2 = 0 ;
7060 void *argp1 = 0 ;
7061 int res1 = 0 ;
7062 bool temp2 = false ;
7063 PyObject * obj0 = 0 ;
7064 PyObject * obj1 = 0 ;
7065 char * kwnames[] = {
7066 (char *) "self",(char *) "id", NULL
7067 };
7068
7069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7071 if (!SWIG_IsOK(res1)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7073 }
7074 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7075 {
7076 arg2 = wxString_in_helper(obj1);
7077 if (arg2 == NULL) SWIG_fail;
7078 temp2 = true;
7079 }
7080 {
7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7082 (arg1)->SetId((wxString const &)*arg2);
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 resultobj = SWIG_Py_Void();
7087 {
7088 if (temp2)
7089 delete arg2;
7090 }
7091 return resultobj;
7092 fail:
7093 {
7094 if (temp2)
7095 delete arg2;
7096 }
7097 return NULL;
7098 }
7099
7100
7101 SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7102 PyObject *resultobj = 0;
7103 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7104 int arg2 = (int) 0 ;
7105 int arg3 = (int) 0 ;
7106 wxHtmlLinkInfo *result = 0 ;
7107 void *argp1 = 0 ;
7108 int res1 = 0 ;
7109 int val2 ;
7110 int ecode2 = 0 ;
7111 int val3 ;
7112 int ecode3 = 0 ;
7113 PyObject * obj0 = 0 ;
7114 PyObject * obj1 = 0 ;
7115 PyObject * obj2 = 0 ;
7116 char * kwnames[] = {
7117 (char *) "self",(char *) "x",(char *) "y", NULL
7118 };
7119
7120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7122 if (!SWIG_IsOK(res1)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7124 }
7125 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7126 if (obj1) {
7127 ecode2 = SWIG_AsVal_int(obj1, &val2);
7128 if (!SWIG_IsOK(ecode2)) {
7129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7130 }
7131 arg2 = static_cast< int >(val2);
7132 }
7133 if (obj2) {
7134 ecode3 = SWIG_AsVal_int(obj2, &val3);
7135 if (!SWIG_IsOK(ecode3)) {
7136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7137 }
7138 arg3 = static_cast< int >(val3);
7139 }
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7147 return resultobj;
7148 fail:
7149 return NULL;
7150 }
7151
7152
7153 SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7154 PyObject *resultobj = 0;
7155 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7156 wxHtmlCell *result = 0 ;
7157 void *argp1 = 0 ;
7158 int res1 = 0 ;
7159 PyObject *swig_obj[1] ;
7160
7161 if (!args) SWIG_fail;
7162 swig_obj[0] = args;
7163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7164 if (!SWIG_IsOK(res1)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7166 }
7167 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = (wxHtmlCell *)(arg1)->GetNext();
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 {
7175 resultobj = wxPyMake_wxObject(result, 0);
7176 }
7177 return resultobj;
7178 fail:
7179 return NULL;
7180 }
7181
7182
7183 SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7184 PyObject *resultobj = 0;
7185 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7186 wxHtmlContainerCell *result = 0 ;
7187 void *argp1 = 0 ;
7188 int res1 = 0 ;
7189 PyObject *swig_obj[1] ;
7190
7191 if (!args) SWIG_fail;
7192 swig_obj[0] = args;
7193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7194 if (!SWIG_IsOK(res1)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7196 }
7197 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 result = (wxHtmlContainerCell *)(arg1)->GetParent();
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
7204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7212 PyObject *resultobj = 0;
7213 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7214 wxHtmlCell *result = 0 ;
7215 void *argp1 = 0 ;
7216 int res1 = 0 ;
7217 PyObject *swig_obj[1] ;
7218
7219 if (!args) SWIG_fail;
7220 swig_obj[0] = args;
7221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7222 if (!SWIG_IsOK(res1)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7224 }
7225 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 {
7233 resultobj = wxPyMake_wxObject(result, 0);
7234 }
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj = 0;
7243 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7244 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7245 wxCursor result;
7246 void *argp1 = 0 ;
7247 int res1 = 0 ;
7248 void *argp2 = 0 ;
7249 int res2 = 0 ;
7250 PyObject * obj0 = 0 ;
7251 PyObject * obj1 = 0 ;
7252 char * kwnames[] = {
7253 (char *) "self",(char *) "window", NULL
7254 };
7255
7256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7258 if (!SWIG_IsOK(res1)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7260 }
7261 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7262 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7263 if (!SWIG_IsOK(res2)) {
7264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7265 }
7266 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7281 PyObject *resultobj = 0;
7282 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7283 wxCursor result;
7284 void *argp1 = 0 ;
7285 int res1 = 0 ;
7286 PyObject *swig_obj[1] ;
7287
7288 if (!args) SWIG_fail;
7289 swig_obj[0] = args;
7290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7291 if (!SWIG_IsOK(res1)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7293 }
7294 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = ((wxHtmlCell const *)arg1)->GetCursor();
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7309 PyObject *resultobj = 0;
7310 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7311 bool result;
7312 void *argp1 = 0 ;
7313 int res1 = 0 ;
7314 PyObject *swig_obj[1] ;
7315
7316 if (!args) SWIG_fail;
7317 swig_obj[0] = args;
7318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7319 if (!SWIG_IsOK(res1)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7321 }
7322 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 {
7330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7331 }
7332 return resultobj;
7333 fail:
7334 return NULL;
7335 }
7336
7337
7338 SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7339 PyObject *resultobj = 0;
7340 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7341 wxHtmlLinkInfo *arg2 = 0 ;
7342 void *argp1 = 0 ;
7343 int res1 = 0 ;
7344 void *argp2 = 0 ;
7345 int res2 = 0 ;
7346 PyObject * obj0 = 0 ;
7347 PyObject * obj1 = 0 ;
7348 char * kwnames[] = {
7349 (char *) "self",(char *) "link", NULL
7350 };
7351
7352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7354 if (!SWIG_IsOK(res1)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7356 }
7357 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7358 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7359 if (!SWIG_IsOK(res2)) {
7360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7361 }
7362 if (!argp2) {
7363 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7364 }
7365 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 resultobj = SWIG_Py_Void();
7373 return resultobj;
7374 fail:
7375 return NULL;
7376 }
7377
7378
7379 SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj = 0;
7381 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7382 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7383 int res1 = 0 ;
7384 int res2 = 0 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char * kwnames[] = {
7388 (char *) "self",(char *) "cell", NULL
7389 };
7390
7391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7392 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7393 if (!SWIG_IsOK(res1)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7395 }
7396 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7397 if (!SWIG_IsOK(res2)) {
7398 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7399 }
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 (arg1)->SetNext(arg2);
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 resultobj = SWIG_Py_Void();
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7414 PyObject *resultobj = 0;
7415 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7416 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7417 void *argp1 = 0 ;
7418 int res1 = 0 ;
7419 void *argp2 = 0 ;
7420 int res2 = 0 ;
7421 PyObject * obj0 = 0 ;
7422 PyObject * obj1 = 0 ;
7423 char * kwnames[] = {
7424 (char *) "self",(char *) "p", NULL
7425 };
7426
7427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7429 if (!SWIG_IsOK(res1)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7431 }
7432 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7434 if (!SWIG_IsOK(res2)) {
7435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7436 }
7437 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 (arg1)->SetParent(arg2);
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 resultobj = SWIG_Py_Void();
7445 return resultobj;
7446 fail:
7447 return NULL;
7448 }
7449
7450
7451 SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj = 0;
7453 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7454 int arg2 ;
7455 int arg3 ;
7456 void *argp1 = 0 ;
7457 int res1 = 0 ;
7458 int val2 ;
7459 int ecode2 = 0 ;
7460 int val3 ;
7461 int ecode3 = 0 ;
7462 PyObject * obj0 = 0 ;
7463 PyObject * obj1 = 0 ;
7464 PyObject * obj2 = 0 ;
7465 char * kwnames[] = {
7466 (char *) "self",(char *) "x",(char *) "y", NULL
7467 };
7468
7469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7471 if (!SWIG_IsOK(res1)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7473 }
7474 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7475 ecode2 = SWIG_AsVal_int(obj1, &val2);
7476 if (!SWIG_IsOK(ecode2)) {
7477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7478 }
7479 arg2 = static_cast< int >(val2);
7480 ecode3 = SWIG_AsVal_int(obj2, &val3);
7481 if (!SWIG_IsOK(ecode3)) {
7482 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7483 }
7484 arg3 = static_cast< int >(val3);
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 (arg1)->SetPos(arg2,arg3);
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 resultobj = SWIG_Py_Void();
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj = 0;
7500 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7501 int arg2 ;
7502 void *argp1 = 0 ;
7503 int res1 = 0 ;
7504 int val2 ;
7505 int ecode2 = 0 ;
7506 PyObject * obj0 = 0 ;
7507 PyObject * obj1 = 0 ;
7508 char * kwnames[] = {
7509 (char *) "self",(char *) "w", NULL
7510 };
7511
7512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7514 if (!SWIG_IsOK(res1)) {
7515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7516 }
7517 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7518 ecode2 = SWIG_AsVal_int(obj1, &val2);
7519 if (!SWIG_IsOK(ecode2)) {
7520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7521 }
7522 arg2 = static_cast< int >(val2);
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 (arg1)->Layout(arg2);
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 resultobj = SWIG_Py_Void();
7530 return resultobj;
7531 fail:
7532 return NULL;
7533 }
7534
7535
7536 SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj = 0;
7538 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7539 wxDC *arg2 = 0 ;
7540 int arg3 ;
7541 int arg4 ;
7542 int arg5 ;
7543 int arg6 ;
7544 wxHtmlRenderingInfo *arg7 = 0 ;
7545 void *argp1 = 0 ;
7546 int res1 = 0 ;
7547 void *argp2 = 0 ;
7548 int res2 = 0 ;
7549 int val3 ;
7550 int ecode3 = 0 ;
7551 int val4 ;
7552 int ecode4 = 0 ;
7553 int val5 ;
7554 int ecode5 = 0 ;
7555 int val6 ;
7556 int ecode6 = 0 ;
7557 void *argp7 = 0 ;
7558 int res7 = 0 ;
7559 PyObject * obj0 = 0 ;
7560 PyObject * obj1 = 0 ;
7561 PyObject * obj2 = 0 ;
7562 PyObject * obj3 = 0 ;
7563 PyObject * obj4 = 0 ;
7564 PyObject * obj5 = 0 ;
7565 PyObject * obj6 = 0 ;
7566 char * kwnames[] = {
7567 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7568 };
7569
7570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7572 if (!SWIG_IsOK(res1)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7574 }
7575 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7576 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7577 if (!SWIG_IsOK(res2)) {
7578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7579 }
7580 if (!argp2) {
7581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7582 }
7583 arg2 = reinterpret_cast< wxDC * >(argp2);
7584 ecode3 = SWIG_AsVal_int(obj2, &val3);
7585 if (!SWIG_IsOK(ecode3)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7587 }
7588 arg3 = static_cast< int >(val3);
7589 ecode4 = SWIG_AsVal_int(obj3, &val4);
7590 if (!SWIG_IsOK(ecode4)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7592 }
7593 arg4 = static_cast< int >(val4);
7594 ecode5 = SWIG_AsVal_int(obj4, &val5);
7595 if (!SWIG_IsOK(ecode5)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7597 }
7598 arg5 = static_cast< int >(val5);
7599 ecode6 = SWIG_AsVal_int(obj5, &val6);
7600 if (!SWIG_IsOK(ecode6)) {
7601 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7602 }
7603 arg6 = static_cast< int >(val6);
7604 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7605 if (!SWIG_IsOK(res7)) {
7606 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7607 }
7608 if (!argp7) {
7609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7610 }
7611 arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 resultobj = SWIG_Py_Void();
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj = 0;
7627 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7628 wxDC *arg2 = 0 ;
7629 int arg3 ;
7630 int arg4 ;
7631 wxHtmlRenderingInfo *arg5 = 0 ;
7632 void *argp1 = 0 ;
7633 int res1 = 0 ;
7634 void *argp2 = 0 ;
7635 int res2 = 0 ;
7636 int val3 ;
7637 int ecode3 = 0 ;
7638 int val4 ;
7639 int ecode4 = 0 ;
7640 void *argp5 = 0 ;
7641 int res5 = 0 ;
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 PyObject * obj2 = 0 ;
7645 PyObject * obj3 = 0 ;
7646 PyObject * obj4 = 0 ;
7647 char * kwnames[] = {
7648 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7649 };
7650
7651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7653 if (!SWIG_IsOK(res1)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7655 }
7656 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7657 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7658 if (!SWIG_IsOK(res2)) {
7659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7660 }
7661 if (!argp2) {
7662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7663 }
7664 arg2 = reinterpret_cast< wxDC * >(argp2);
7665 ecode3 = SWIG_AsVal_int(obj2, &val3);
7666 if (!SWIG_IsOK(ecode3)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7668 }
7669 arg3 = static_cast< int >(val3);
7670 ecode4 = SWIG_AsVal_int(obj3, &val4);
7671 if (!SWIG_IsOK(ecode4)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7673 }
7674 arg4 = static_cast< int >(val4);
7675 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7676 if (!SWIG_IsOK(res5)) {
7677 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7678 }
7679 if (!argp5) {
7680 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7681 }
7682 arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 resultobj = SWIG_Py_Void();
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj = 0;
7698 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7699 int arg2 ;
7700 void *arg3 = (void *) 0 ;
7701 wxHtmlCell *result = 0 ;
7702 void *argp1 = 0 ;
7703 int res1 = 0 ;
7704 int val2 ;
7705 int ecode2 = 0 ;
7706 int res3 ;
7707 PyObject * obj0 = 0 ;
7708 PyObject * obj1 = 0 ;
7709 PyObject * obj2 = 0 ;
7710 char * kwnames[] = {
7711 (char *) "self",(char *) "condition",(char *) "param", NULL
7712 };
7713
7714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7716 if (!SWIG_IsOK(res1)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7718 }
7719 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7720 ecode2 = SWIG_AsVal_int(obj1, &val2);
7721 if (!SWIG_IsOK(ecode2)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7723 }
7724 arg2 = static_cast< int >(val2);
7725 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7726 if (!SWIG_IsOK(res3)) {
7727 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7728 }
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 {
7736 resultobj = wxPyMake_wxObject(result, 0);
7737 }
7738 return resultobj;
7739 fail:
7740 return NULL;
7741 }
7742
7743
7744 SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7745 PyObject *resultobj = 0;
7746 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7747 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7748 wxPoint *arg3 = 0 ;
7749 wxMouseEvent *arg4 = 0 ;
7750 bool result;
7751 void *argp1 = 0 ;
7752 int res1 = 0 ;
7753 void *argp2 = 0 ;
7754 int res2 = 0 ;
7755 wxPoint temp3 ;
7756 void *argp4 = 0 ;
7757 int res4 = 0 ;
7758 PyObject * obj0 = 0 ;
7759 PyObject * obj1 = 0 ;
7760 PyObject * obj2 = 0 ;
7761 PyObject * obj3 = 0 ;
7762 char * kwnames[] = {
7763 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7764 };
7765
7766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7768 if (!SWIG_IsOK(res1)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7770 }
7771 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7772 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7773 if (!SWIG_IsOK(res2)) {
7774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7775 }
7776 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7777 {
7778 arg3 = &temp3;
7779 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7780 }
7781 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7782 if (!SWIG_IsOK(res4)) {
7783 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7784 }
7785 if (!argp4) {
7786 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7787 }
7788 arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 {
7796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7797 }
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj = 0;
7806 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7807 bool arg2 ;
7808 void *argp1 = 0 ;
7809 int res1 = 0 ;
7810 bool val2 ;
7811 int ecode2 = 0 ;
7812 PyObject * obj0 = 0 ;
7813 PyObject * obj1 = 0 ;
7814 char * kwnames[] = {
7815 (char *) "self",(char *) "can", NULL
7816 };
7817
7818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7820 if (!SWIG_IsOK(res1)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7822 }
7823 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7824 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7825 if (!SWIG_IsOK(ecode2)) {
7826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7827 }
7828 arg2 = static_cast< bool >(val2);
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 (arg1)->SetCanLiveOnPagebreak(arg2);
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 resultobj = SWIG_Py_Void();
7836 return resultobj;
7837 fail:
7838 return NULL;
7839 }
7840
7841
7842 SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7843 PyObject *resultobj = 0;
7844 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7845 bool result;
7846 void *argp1 = 0 ;
7847 int res1 = 0 ;
7848 PyObject *swig_obj[1] ;
7849
7850 if (!args) SWIG_fail;
7851 swig_obj[0] = args;
7852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7853 if (!SWIG_IsOK(res1)) {
7854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7855 }
7856 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 {
7864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7865 }
7866 return resultobj;
7867 fail:
7868 return NULL;
7869 }
7870
7871
7872 SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7873 PyObject *resultobj = 0;
7874 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7875 bool result;
7876 void *argp1 = 0 ;
7877 int res1 = 0 ;
7878 PyObject *swig_obj[1] ;
7879
7880 if (!args) SWIG_fail;
7881 swig_obj[0] = args;
7882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7883 if (!SWIG_IsOK(res1)) {
7884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7885 }
7886 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 {
7894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7895 }
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj = 0;
7904 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7905 int arg2 ;
7906 int arg3 ;
7907 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7908 wxHtmlCell *result = 0 ;
7909 void *argp1 = 0 ;
7910 int res1 = 0 ;
7911 int val2 ;
7912 int ecode2 = 0 ;
7913 int val3 ;
7914 int ecode3 = 0 ;
7915 unsigned int val4 ;
7916 int ecode4 = 0 ;
7917 PyObject * obj0 = 0 ;
7918 PyObject * obj1 = 0 ;
7919 PyObject * obj2 = 0 ;
7920 PyObject * obj3 = 0 ;
7921 char * kwnames[] = {
7922 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7923 };
7924
7925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7927 if (!SWIG_IsOK(res1)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7929 }
7930 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7931 ecode2 = SWIG_AsVal_int(obj1, &val2);
7932 if (!SWIG_IsOK(ecode2)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7934 }
7935 arg2 = static_cast< int >(val2);
7936 ecode3 = SWIG_AsVal_int(obj2, &val3);
7937 if (!SWIG_IsOK(ecode3)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7939 }
7940 arg3 = static_cast< int >(val3);
7941 if (obj3) {
7942 ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7943 if (!SWIG_IsOK(ecode4)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7945 }
7946 arg4 = static_cast< unsigned int >(val4);
7947 }
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 resultobj = wxPyMake_wxObject(result, 0);
7956 }
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj = 0;
7965 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7966 wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
7967 wxPoint result;
7968 void *argp1 = 0 ;
7969 int res1 = 0 ;
7970 void *argp2 = 0 ;
7971 int res2 = 0 ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 char * kwnames[] = {
7975 (char *) "self",(char *) "rootCell", NULL
7976 };
7977
7978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
7979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7980 if (!SWIG_IsOK(res1)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7982 }
7983 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7984 if (obj1) {
7985 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7986 if (!SWIG_IsOK(res2)) {
7987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7988 }
7989 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
7990 }
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
7998 return resultobj;
7999 fail:
8000 return NULL;
8001 }
8002
8003
8004 SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8005 PyObject *resultobj = 0;
8006 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8007 wxHtmlCell *result = 0 ;
8008 void *argp1 = 0 ;
8009 int res1 = 0 ;
8010 PyObject *swig_obj[1] ;
8011
8012 if (!args) SWIG_fail;
8013 swig_obj[0] = args;
8014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8015 if (!SWIG_IsOK(res1)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8017 }
8018 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 {
8026 resultobj = wxPyMake_wxObject(result, 0);
8027 }
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8035 PyObject *resultobj = 0;
8036 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8037 wxHtmlCell *result = 0 ;
8038 void *argp1 = 0 ;
8039 int res1 = 0 ;
8040 PyObject *swig_obj[1] ;
8041
8042 if (!args) SWIG_fail;
8043 swig_obj[0] = args;
8044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8045 if (!SWIG_IsOK(res1)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8047 }
8048 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 {
8056 resultobj = wxPyMake_wxObject(result, 0);
8057 }
8058 return resultobj;
8059 fail:
8060 return NULL;
8061 }
8062
8063
8064 SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8065 PyObject *resultobj = 0;
8066 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8067 wxHtmlCell *result = 0 ;
8068 void *argp1 = 0 ;
8069 int res1 = 0 ;
8070 PyObject *swig_obj[1] ;
8071
8072 if (!args) SWIG_fail;
8073 swig_obj[0] = args;
8074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8075 if (!SWIG_IsOK(res1)) {
8076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8077 }
8078 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 {
8086 resultobj = wxPyMake_wxObject(result, 0);
8087 }
8088 return resultobj;
8089 fail:
8090 return NULL;
8091 }
8092
8093
8094 SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8095 PyObject *resultobj = 0;
8096 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8097 unsigned int result;
8098 void *argp1 = 0 ;
8099 int res1 = 0 ;
8100 PyObject *swig_obj[1] ;
8101
8102 if (!args) SWIG_fail;
8103 swig_obj[0] = args;
8104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8105 if (!SWIG_IsOK(res1)) {
8106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8107 }
8108 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8116 return resultobj;
8117 fail:
8118 return NULL;
8119 }
8120
8121
8122 SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj = 0;
8124 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8125 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8126 bool result;
8127 void *argp1 = 0 ;
8128 int res1 = 0 ;
8129 void *argp2 = 0 ;
8130 int res2 = 0 ;
8131 PyObject * obj0 = 0 ;
8132 PyObject * obj1 = 0 ;
8133 char * kwnames[] = {
8134 (char *) "self",(char *) "cell", NULL
8135 };
8136
8137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8139 if (!SWIG_IsOK(res1)) {
8140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8141 }
8142 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8143 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8144 if (!SWIG_IsOK(res2)) {
8145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8146 }
8147 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8148 {
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 {
8155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8156 }
8157 return resultobj;
8158 fail:
8159 return NULL;
8160 }
8161
8162
8163 SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj = 0;
8165 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8166 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8167 wxString result;
8168 void *argp1 = 0 ;
8169 int res1 = 0 ;
8170 void *argp2 = 0 ;
8171 int res2 = 0 ;
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 char * kwnames[] = {
8175 (char *) "self",(char *) "sel", NULL
8176 };
8177
8178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8180 if (!SWIG_IsOK(res1)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8182 }
8183 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8185 if (!SWIG_IsOK(res2)) {
8186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8187 }
8188 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 {
8196 #if wxUSE_UNICODE
8197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8198 #else
8199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8200 #endif
8201 }
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8209 PyObject *obj;
8210 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8211 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8212 return SWIG_Py_Void();
8213 }
8214
8215 SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8216 return SWIG_Python_InitShadowInstance(args);
8217 }
8218
8219 SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj = 0;
8221 wxString *arg1 = 0 ;
8222 wxDC *arg2 = 0 ;
8223 wxHtmlWordCell *result = 0 ;
8224 bool temp1 = false ;
8225 void *argp2 = 0 ;
8226 int res2 = 0 ;
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 char * kwnames[] = {
8230 (char *) "word",(char *) "dc", NULL
8231 };
8232
8233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8234 {
8235 arg1 = wxString_in_helper(obj0);
8236 if (arg1 == NULL) SWIG_fail;
8237 temp1 = true;
8238 }
8239 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8240 if (!SWIG_IsOK(res2)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8242 }
8243 if (!argp2) {
8244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8245 }
8246 arg2 = reinterpret_cast< wxDC * >(argp2);
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8254 {
8255 if (temp1)
8256 delete arg1;
8257 }
8258 return resultobj;
8259 fail:
8260 {
8261 if (temp1)
8262 delete arg1;
8263 }
8264 return NULL;
8265 }
8266
8267
8268 SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj = 0;
8270 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8271 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8272 wxString result;
8273 void *argp1 = 0 ;
8274 int res1 = 0 ;
8275 void *argp2 = 0 ;
8276 int res2 = 0 ;
8277 PyObject * obj0 = 0 ;
8278 PyObject * obj1 = 0 ;
8279 char * kwnames[] = {
8280 (char *) "self",(char *) "sel", NULL
8281 };
8282
8283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8285 if (!SWIG_IsOK(res1)) {
8286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8287 }
8288 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8289 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8290 if (!SWIG_IsOK(res2)) {
8291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8292 }
8293 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 #if wxUSE_UNICODE
8302 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8303 #else
8304 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8305 #endif
8306 }
8307 return resultobj;
8308 fail:
8309 return NULL;
8310 }
8311
8312
8313 SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8314 PyObject *resultobj = 0;
8315 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8316 bool result;
8317 void *argp1 = 0 ;
8318 int res1 = 0 ;
8319 PyObject *swig_obj[1] ;
8320
8321 if (!args) SWIG_fail;
8322 swig_obj[0] = args;
8323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8324 if (!SWIG_IsOK(res1)) {
8325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8326 }
8327 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 {
8335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8336 }
8337 return resultobj;
8338 fail:
8339 return NULL;
8340 }
8341
8342
8343 SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj = 0;
8345 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8346 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8347 void *argp1 = 0 ;
8348 int res1 = 0 ;
8349 void *argp2 = 0 ;
8350 int res2 = 0 ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char * kwnames[] = {
8354 (char *) "self",(char *) "cell", NULL
8355 };
8356
8357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8359 if (!SWIG_IsOK(res1)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8361 }
8362 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8363 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8364 if (!SWIG_IsOK(res2)) {
8365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8366 }
8367 arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 (arg1)->SetPreviousWord(arg2);
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 resultobj = SWIG_Py_Void();
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8382 PyObject *obj;
8383 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8384 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8385 return SWIG_Py_Void();
8386 }
8387
8388 SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8389 return SWIG_Python_InitShadowInstance(args);
8390 }
8391
8392 SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8393 PyObject *resultobj = 0;
8394 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8395 wxHtmlContainerCell *result = 0 ;
8396 void *argp1 = 0 ;
8397 int res1 = 0 ;
8398 PyObject * obj0 = 0 ;
8399 char * kwnames[] = {
8400 (char *) "parent", NULL
8401 };
8402
8403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8405 if (!SWIG_IsOK(res1)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8407 }
8408 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8416 return resultobj;
8417 fail:
8418 return NULL;
8419 }
8420
8421
8422 SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj = 0;
8424 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8425 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8426 void *argp1 = 0 ;
8427 int res1 = 0 ;
8428 int res2 = 0 ;
8429 PyObject * obj0 = 0 ;
8430 PyObject * obj1 = 0 ;
8431 char * kwnames[] = {
8432 (char *) "self",(char *) "cell", NULL
8433 };
8434
8435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8437 if (!SWIG_IsOK(res1)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8439 }
8440 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8441 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8442 if (!SWIG_IsOK(res2)) {
8443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8444 }
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 (arg1)->InsertCell(arg2);
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = SWIG_Py_Void();
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj = 0;
8460 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8461 int arg2 ;
8462 void *argp1 = 0 ;
8463 int res1 = 0 ;
8464 int val2 ;
8465 int ecode2 = 0 ;
8466 PyObject * obj0 = 0 ;
8467 PyObject * obj1 = 0 ;
8468 char * kwnames[] = {
8469 (char *) "self",(char *) "al", NULL
8470 };
8471
8472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8474 if (!SWIG_IsOK(res1)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8476 }
8477 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8478 ecode2 = SWIG_AsVal_int(obj1, &val2);
8479 if (!SWIG_IsOK(ecode2)) {
8480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8481 }
8482 arg2 = static_cast< int >(val2);
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 (arg1)->SetAlignHor(arg2);
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 resultobj = SWIG_Py_Void();
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8497 PyObject *resultobj = 0;
8498 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8499 int result;
8500 void *argp1 = 0 ;
8501 int res1 = 0 ;
8502 PyObject *swig_obj[1] ;
8503
8504 if (!args) SWIG_fail;
8505 swig_obj[0] = args;
8506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8507 if (!SWIG_IsOK(res1)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8509 }
8510 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (int)(arg1)->GetAlignHor();
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_From_int(static_cast< int >(result));
8518 return resultobj;
8519 fail:
8520 return NULL;
8521 }
8522
8523
8524 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj = 0;
8526 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8527 int arg2 ;
8528 void *argp1 = 0 ;
8529 int res1 = 0 ;
8530 int val2 ;
8531 int ecode2 = 0 ;
8532 PyObject * obj0 = 0 ;
8533 PyObject * obj1 = 0 ;
8534 char * kwnames[] = {
8535 (char *) "self",(char *) "al", NULL
8536 };
8537
8538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8540 if (!SWIG_IsOK(res1)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8542 }
8543 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8544 ecode2 = SWIG_AsVal_int(obj1, &val2);
8545 if (!SWIG_IsOK(ecode2)) {
8546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8547 }
8548 arg2 = static_cast< int >(val2);
8549 {
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 (arg1)->SetAlignVer(arg2);
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = SWIG_Py_Void();
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8563 PyObject *resultobj = 0;
8564 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8565 int result;
8566 void *argp1 = 0 ;
8567 int res1 = 0 ;
8568 PyObject *swig_obj[1] ;
8569
8570 if (!args) SWIG_fail;
8571 swig_obj[0] = args;
8572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8573 if (!SWIG_IsOK(res1)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8575 }
8576 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 result = (int)(arg1)->GetAlignVer();
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 resultobj = SWIG_From_int(static_cast< int >(result));
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj = 0;
8592 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8593 int arg2 ;
8594 int arg3 ;
8595 int arg4 = (int) wxHTML_UNITS_PIXELS ;
8596 void *argp1 = 0 ;
8597 int res1 = 0 ;
8598 int val2 ;
8599 int ecode2 = 0 ;
8600 int val3 ;
8601 int ecode3 = 0 ;
8602 int val4 ;
8603 int ecode4 = 0 ;
8604 PyObject * obj0 = 0 ;
8605 PyObject * obj1 = 0 ;
8606 PyObject * obj2 = 0 ;
8607 PyObject * obj3 = 0 ;
8608 char * kwnames[] = {
8609 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8610 };
8611
8612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8614 if (!SWIG_IsOK(res1)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8616 }
8617 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8618 ecode2 = SWIG_AsVal_int(obj1, &val2);
8619 if (!SWIG_IsOK(ecode2)) {
8620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8621 }
8622 arg2 = static_cast< int >(val2);
8623 ecode3 = SWIG_AsVal_int(obj2, &val3);
8624 if (!SWIG_IsOK(ecode3)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8626 }
8627 arg3 = static_cast< int >(val3);
8628 if (obj3) {
8629 ecode4 = SWIG_AsVal_int(obj3, &val4);
8630 if (!SWIG_IsOK(ecode4)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8632 }
8633 arg4 = static_cast< int >(val4);
8634 }
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 (arg1)->SetIndent(arg2,arg3,arg4);
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 resultobj = SWIG_Py_Void();
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8649 PyObject *resultobj = 0;
8650 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8651 int arg2 ;
8652 int result;
8653 void *argp1 = 0 ;
8654 int res1 = 0 ;
8655 int val2 ;
8656 int ecode2 = 0 ;
8657 PyObject * obj0 = 0 ;
8658 PyObject * obj1 = 0 ;
8659 char * kwnames[] = {
8660 (char *) "self",(char *) "ind", NULL
8661 };
8662
8663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8665 if (!SWIG_IsOK(res1)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8667 }
8668 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8669 ecode2 = SWIG_AsVal_int(obj1, &val2);
8670 if (!SWIG_IsOK(ecode2)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8672 }
8673 arg2 = static_cast< int >(val2);
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (int)(arg1)->GetIndent(arg2);
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 resultobj = SWIG_From_int(static_cast< int >(result));
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj = 0;
8689 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8690 int arg2 ;
8691 int result;
8692 void *argp1 = 0 ;
8693 int res1 = 0 ;
8694 int val2 ;
8695 int ecode2 = 0 ;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698 char * kwnames[] = {
8699 (char *) "self",(char *) "ind", NULL
8700 };
8701
8702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8704 if (!SWIG_IsOK(res1)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8706 }
8707 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8708 ecode2 = SWIG_AsVal_int(obj1, &val2);
8709 if (!SWIG_IsOK(ecode2)) {
8710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8711 }
8712 arg2 = static_cast< int >(val2);
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 result = (int)(arg1)->GetIndentUnits(arg2);
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 resultobj = SWIG_From_int(static_cast< int >(result));
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj = 0;
8728 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8729 wxHtmlTag *arg2 = 0 ;
8730 void *argp1 = 0 ;
8731 int res1 = 0 ;
8732 void *argp2 = 0 ;
8733 int res2 = 0 ;
8734 PyObject * obj0 = 0 ;
8735 PyObject * obj1 = 0 ;
8736 char * kwnames[] = {
8737 (char *) "self",(char *) "tag", NULL
8738 };
8739
8740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8742 if (!SWIG_IsOK(res1)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8744 }
8745 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8746 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8747 if (!SWIG_IsOK(res2)) {
8748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8749 }
8750 if (!argp2) {
8751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8752 }
8753 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = SWIG_Py_Void();
8761 return resultobj;
8762 fail:
8763 return NULL;
8764 }
8765
8766
8767 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj = 0;
8769 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8770 int arg2 ;
8771 int arg3 ;
8772 void *argp1 = 0 ;
8773 int res1 = 0 ;
8774 int val2 ;
8775 int ecode2 = 0 ;
8776 int val3 ;
8777 int ecode3 = 0 ;
8778 PyObject * obj0 = 0 ;
8779 PyObject * obj1 = 0 ;
8780 PyObject * obj2 = 0 ;
8781 char * kwnames[] = {
8782 (char *) "self",(char *) "w",(char *) "units", NULL
8783 };
8784
8785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8787 if (!SWIG_IsOK(res1)) {
8788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8789 }
8790 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8791 ecode2 = SWIG_AsVal_int(obj1, &val2);
8792 if (!SWIG_IsOK(ecode2)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8794 }
8795 arg2 = static_cast< int >(val2);
8796 ecode3 = SWIG_AsVal_int(obj2, &val3);
8797 if (!SWIG_IsOK(ecode3)) {
8798 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8799 }
8800 arg3 = static_cast< int >(val3);
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 (arg1)->SetWidthFloat(arg2,arg3);
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = SWIG_Py_Void();
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj = 0;
8816 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8817 wxHtmlTag *arg2 = 0 ;
8818 void *argp1 = 0 ;
8819 int res1 = 0 ;
8820 void *argp2 = 0 ;
8821 int res2 = 0 ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 char * kwnames[] = {
8825 (char *) "self",(char *) "tag", NULL
8826 };
8827
8828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8830 if (!SWIG_IsOK(res1)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8832 }
8833 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8834 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8835 if (!SWIG_IsOK(res2)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8837 }
8838 if (!argp2) {
8839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8840 }
8841 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 resultobj = SWIG_Py_Void();
8849 return resultobj;
8850 fail:
8851 return NULL;
8852 }
8853
8854
8855 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj = 0;
8857 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8858 int arg2 ;
8859 int arg3 = (int) wxHTML_ALIGN_TOP ;
8860 void *argp1 = 0 ;
8861 int res1 = 0 ;
8862 int val2 ;
8863 int ecode2 = 0 ;
8864 int val3 ;
8865 int ecode3 = 0 ;
8866 PyObject * obj0 = 0 ;
8867 PyObject * obj1 = 0 ;
8868 PyObject * obj2 = 0 ;
8869 char * kwnames[] = {
8870 (char *) "self",(char *) "h",(char *) "align", NULL
8871 };
8872
8873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8875 if (!SWIG_IsOK(res1)) {
8876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8877 }
8878 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8879 ecode2 = SWIG_AsVal_int(obj1, &val2);
8880 if (!SWIG_IsOK(ecode2)) {
8881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8882 }
8883 arg2 = static_cast< int >(val2);
8884 if (obj2) {
8885 ecode3 = SWIG_AsVal_int(obj2, &val3);
8886 if (!SWIG_IsOK(ecode3)) {
8887 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8888 }
8889 arg3 = static_cast< int >(val3);
8890 }
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 (arg1)->SetMinHeight(arg2,arg3);
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 resultobj = SWIG_Py_Void();
8898 return resultobj;
8899 fail:
8900 return NULL;
8901 }
8902
8903
8904 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8905 PyObject *resultobj = 0;
8906 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8907 wxColour *arg2 = 0 ;
8908 void *argp1 = 0 ;
8909 int res1 = 0 ;
8910 wxColour temp2 ;
8911 PyObject * obj0 = 0 ;
8912 PyObject * obj1 = 0 ;
8913 char * kwnames[] = {
8914 (char *) "self",(char *) "clr", NULL
8915 };
8916
8917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8919 if (!SWIG_IsOK(res1)) {
8920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8921 }
8922 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8923 {
8924 arg2 = &temp2;
8925 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8926 }
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 resultobj = SWIG_Py_Void();
8934 return resultobj;
8935 fail:
8936 return NULL;
8937 }
8938
8939
8940 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8941 PyObject *resultobj = 0;
8942 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8943 wxColour result;
8944 void *argp1 = 0 ;
8945 int res1 = 0 ;
8946 PyObject *swig_obj[1] ;
8947
8948 if (!args) SWIG_fail;
8949 swig_obj[0] = args;
8950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8951 if (!SWIG_IsOK(res1)) {
8952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8953 }
8954 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = (arg1)->GetBackgroundColour();
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8962 return resultobj;
8963 fail:
8964 return NULL;
8965 }
8966
8967
8968 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8969 PyObject *resultobj = 0;
8970 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8971 wxColour *arg2 = 0 ;
8972 wxColour *arg3 = 0 ;
8973 void *argp1 = 0 ;
8974 int res1 = 0 ;
8975 wxColour temp2 ;
8976 wxColour temp3 ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 PyObject * obj2 = 0 ;
8980 char * kwnames[] = {
8981 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8982 };
8983
8984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8986 if (!SWIG_IsOK(res1)) {
8987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8988 }
8989 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8990 {
8991 arg2 = &temp2;
8992 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8993 }
8994 {
8995 arg3 = &temp3;
8996 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8997 }
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 resultobj = SWIG_Py_Void();
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9012 PyObject *resultobj = 0;
9013 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9014 wxHtmlCell *result = 0 ;
9015 void *argp1 = 0 ;
9016 int res1 = 0 ;
9017 PyObject *swig_obj[1] ;
9018
9019 if (!args) SWIG_fail;
9020 swig_obj[0] = args;
9021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9022 if (!SWIG_IsOK(res1)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9024 }
9025 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (wxHtmlCell *)(arg1)->GetFirstChild();
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 {
9033 resultobj = wxPyMake_wxObject(result, 0);
9034 }
9035 return resultobj;
9036 fail:
9037 return NULL;
9038 }
9039
9040
9041 SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9042 PyObject *obj;
9043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9044 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
9045 return SWIG_Py_Void();
9046 }
9047
9048 SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9049 return SWIG_Python_InitShadowInstance(args);
9050 }
9051
9052 SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj = 0;
9054 wxColour *arg1 = 0 ;
9055 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9056 wxHtmlColourCell *result = 0 ;
9057 wxColour temp1 ;
9058 int val2 ;
9059 int ecode2 = 0 ;
9060 PyObject * obj0 = 0 ;
9061 PyObject * obj1 = 0 ;
9062 char * kwnames[] = {
9063 (char *) "clr",(char *) "flags", NULL
9064 };
9065
9066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9067 {
9068 arg1 = &temp1;
9069 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9070 }
9071 if (obj1) {
9072 ecode2 = SWIG_AsVal_int(obj1, &val2);
9073 if (!SWIG_IsOK(ecode2)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9075 }
9076 arg2 = static_cast< int >(val2);
9077 }
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9085 return resultobj;
9086 fail:
9087 return NULL;
9088 }
9089
9090
9091 SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9092 PyObject *obj;
9093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9094 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9095 return SWIG_Py_Void();
9096 }
9097
9098 SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9099 return SWIG_Python_InitShadowInstance(args);
9100 }
9101
9102 SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj = 0;
9104 wxFont *arg1 = (wxFont *) 0 ;
9105 wxHtmlFontCell *result = 0 ;
9106 void *argp1 = 0 ;
9107 int res1 = 0 ;
9108 PyObject * obj0 = 0 ;
9109 char * kwnames[] = {
9110 (char *) "font", NULL
9111 };
9112
9113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9115 if (!SWIG_IsOK(res1)) {
9116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9117 }
9118 arg1 = reinterpret_cast< wxFont * >(argp1);
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9133 PyObject *obj;
9134 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9135 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9136 return SWIG_Py_Void();
9137 }
9138
9139 SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9140 return SWIG_Python_InitShadowInstance(args);
9141 }
9142
9143 SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj = 0;
9145 wxWindow *arg1 = (wxWindow *) 0 ;
9146 int arg2 = (int) 0 ;
9147 wxHtmlWidgetCell *result = 0 ;
9148 void *argp1 = 0 ;
9149 int res1 = 0 ;
9150 int val2 ;
9151 int ecode2 = 0 ;
9152 PyObject * obj0 = 0 ;
9153 PyObject * obj1 = 0 ;
9154 char * kwnames[] = {
9155 (char *) "wnd",(char *) "w", NULL
9156 };
9157
9158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9160 if (!SWIG_IsOK(res1)) {
9161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9162 }
9163 arg1 = reinterpret_cast< wxWindow * >(argp1);
9164 if (obj1) {
9165 ecode2 = SWIG_AsVal_int(obj1, &val2);
9166 if (!SWIG_IsOK(ecode2)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9168 }
9169 arg2 = static_cast< int >(val2);
9170 }
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9185 PyObject *obj;
9186 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9187 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9188 return SWIG_Py_Void();
9189 }
9190
9191 SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9192 return SWIG_Python_InitShadowInstance(args);
9193 }
9194
9195 SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9196 PyObject *resultobj = 0;
9197 wxPyHtmlFilter *result = 0 ;
9198
9199 if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9216 PyObject *arg2 = (PyObject *) 0 ;
9217 PyObject *arg3 = (PyObject *) 0 ;
9218 void *argp1 = 0 ;
9219 int res1 = 0 ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 PyObject * obj2 = 0 ;
9223 char * kwnames[] = {
9224 (char *) "self",(char *) "self",(char *) "_class", NULL
9225 };
9226
9227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9229 if (!SWIG_IsOK(res1)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9231 }
9232 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9233 arg2 = obj1;
9234 arg3 = obj2;
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 (arg1)->_setCallbackInfo(arg2,arg3);
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 resultobj = SWIG_Py_Void();
9242 return resultobj;
9243 fail:
9244 return NULL;
9245 }
9246
9247
9248 SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9249 PyObject *obj;
9250 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9252 return SWIG_Py_Void();
9253 }
9254
9255 SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9256 return SWIG_Python_InitShadowInstance(args);
9257 }
9258
9259 SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9260 PyObject *resultobj = 0;
9261 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9262 void *argp1 = 0 ;
9263 int res1 = 0 ;
9264 PyObject *swig_obj[1] ;
9265
9266 if (!args) SWIG_fail;
9267 swig_obj[0] = args;
9268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9269 if (!SWIG_IsOK(res1)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9271 }
9272 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 delete arg1;
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 resultobj = SWIG_Py_Void();
9281 return resultobj;
9282 fail:
9283 return NULL;
9284 }
9285
9286
9287 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj = 0;
9289 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9290 wxString *arg2 = 0 ;
9291 void *argp1 = 0 ;
9292 int res1 = 0 ;
9293 bool temp2 = false ;
9294 PyObject * obj0 = 0 ;
9295 PyObject * obj1 = 0 ;
9296 char * kwnames[] = {
9297 (char *) "self",(char *) "title", NULL
9298 };
9299
9300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9302 if (!SWIG_IsOK(res1)) {
9303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9304 }
9305 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9306 {
9307 arg2 = wxString_in_helper(obj1);
9308 if (arg2 == NULL) SWIG_fail;
9309 temp2 = true;
9310 }
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 resultobj = SWIG_Py_Void();
9318 {
9319 if (temp2)
9320 delete arg2;
9321 }
9322 return resultobj;
9323 fail:
9324 {
9325 if (temp2)
9326 delete arg2;
9327 }
9328 return NULL;
9329 }
9330
9331
9332 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj = 0;
9334 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9335 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9336 wxPoint *arg3 = 0 ;
9337 wxPoint result;
9338 void *argp1 = 0 ;
9339 int res1 = 0 ;
9340 void *argp2 = 0 ;
9341 int res2 = 0 ;
9342 wxPoint temp3 ;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 PyObject * obj2 = 0 ;
9346 char * kwnames[] = {
9347 (char *) "self",(char *) "cell",(char *) "pos", NULL
9348 };
9349
9350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9352 if (!SWIG_IsOK(res1)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9354 }
9355 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9356 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9357 if (!SWIG_IsOK(res2)) {
9358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9359 }
9360 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9361 {
9362 arg3 = &temp3;
9363 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9364 }
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9372 return resultobj;
9373 fail:
9374 return NULL;
9375 }
9376
9377
9378 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9379 PyObject *resultobj = 0;
9380 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9381 wxWindow *result = 0 ;
9382 void *argp1 = 0 ;
9383 int res1 = 0 ;
9384 PyObject *swig_obj[1] ;
9385
9386 if (!args) SWIG_fail;
9387 swig_obj[0] = args;
9388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9389 if (!SWIG_IsOK(res1)) {
9390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9391 }
9392 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 result = (wxWindow *)(arg1)->GetHTMLWindow();
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 {
9400 resultobj = wxPyMake_wxObject(result, 0);
9401 }
9402 return resultobj;
9403 fail:
9404 return NULL;
9405 }
9406
9407
9408 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9409 PyObject *resultobj = 0;
9410 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9411 wxColour result;
9412 void *argp1 = 0 ;
9413 int res1 = 0 ;
9414 PyObject *swig_obj[1] ;
9415
9416 if (!args) SWIG_fail;
9417 swig_obj[0] = args;
9418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9419 if (!SWIG_IsOK(res1)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9421 }
9422 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9430 return resultobj;
9431 fail:
9432 return NULL;
9433 }
9434
9435
9436 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj = 0;
9438 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9439 wxColour *arg2 = 0 ;
9440 void *argp1 = 0 ;
9441 int res1 = 0 ;
9442 wxColour temp2 ;
9443 PyObject * obj0 = 0 ;
9444 PyObject * obj1 = 0 ;
9445 char * kwnames[] = {
9446 (char *) "self",(char *) "clr", NULL
9447 };
9448
9449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9451 if (!SWIG_IsOK(res1)) {
9452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9453 }
9454 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9455 {
9456 arg2 = &temp2;
9457 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9458 }
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 resultobj = SWIG_Py_Void();
9466 return resultobj;
9467 fail:
9468 return NULL;
9469 }
9470
9471
9472 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj = 0;
9474 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9475 wxBitmap *arg2 = 0 ;
9476 void *argp1 = 0 ;
9477 int res1 = 0 ;
9478 void *argp2 = 0 ;
9479 int res2 = 0 ;
9480 PyObject * obj0 = 0 ;
9481 PyObject * obj1 = 0 ;
9482 char * kwnames[] = {
9483 (char *) "self",(char *) "bmpBg", NULL
9484 };
9485
9486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9488 if (!SWIG_IsOK(res1)) {
9489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9490 }
9491 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9492 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9493 if (!SWIG_IsOK(res2)) {
9494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9495 }
9496 if (!argp2) {
9497 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9498 }
9499 arg2 = reinterpret_cast< wxBitmap * >(argp2);
9500 {
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
9502 (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 resultobj = SWIG_Py_Void();
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj = 0;
9515 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9516 wxString *arg2 = 0 ;
9517 void *argp1 = 0 ;
9518 int res1 = 0 ;
9519 bool temp2 = false ;
9520 PyObject * obj0 = 0 ;
9521 PyObject * obj1 = 0 ;
9522 char * kwnames[] = {
9523 (char *) "self",(char *) "text", NULL
9524 };
9525
9526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9528 if (!SWIG_IsOK(res1)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9530 }
9531 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9532 {
9533 arg2 = wxString_in_helper(obj1);
9534 if (arg2 == NULL) SWIG_fail;
9535 temp2 = true;
9536 }
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 (arg1)->SetHTMLStatusText((wxString const &)*arg2);
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 resultobj = SWIG_Py_Void();
9544 {
9545 if (temp2)
9546 delete arg2;
9547 }
9548 return resultobj;
9549 fail:
9550 {
9551 if (temp2)
9552 delete arg2;
9553 }
9554 return NULL;
9555 }
9556
9557
9558 SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9559 PyObject *obj;
9560 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9561 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9562 return SWIG_Py_Void();
9563 }
9564
9565 SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj = 0;
9567 wxWindow *arg1 = (wxWindow *) 0 ;
9568 int arg2 = (int) -1 ;
9569 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9570 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9571 wxSize const &arg4_defvalue = wxDefaultSize ;
9572 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9573 int arg5 = (int) wxHW_DEFAULT_STYLE ;
9574 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9575 wxString *arg6 = (wxString *) &arg6_defvalue ;
9576 wxPyHtmlWindow *result = 0 ;
9577 void *argp1 = 0 ;
9578 int res1 = 0 ;
9579 int val2 ;
9580 int ecode2 = 0 ;
9581 wxPoint temp3 ;
9582 wxSize temp4 ;
9583 int val5 ;
9584 int ecode5 = 0 ;
9585 bool temp6 = false ;
9586 PyObject * obj0 = 0 ;
9587 PyObject * obj1 = 0 ;
9588 PyObject * obj2 = 0 ;
9589 PyObject * obj3 = 0 ;
9590 PyObject * obj4 = 0 ;
9591 PyObject * obj5 = 0 ;
9592 char * kwnames[] = {
9593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9594 };
9595
9596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9598 if (!SWIG_IsOK(res1)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9600 }
9601 arg1 = reinterpret_cast< wxWindow * >(argp1);
9602 if (obj1) {
9603 ecode2 = SWIG_AsVal_int(obj1, &val2);
9604 if (!SWIG_IsOK(ecode2)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9606 }
9607 arg2 = static_cast< int >(val2);
9608 }
9609 if (obj2) {
9610 {
9611 arg3 = &temp3;
9612 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9613 }
9614 }
9615 if (obj3) {
9616 {
9617 arg4 = &temp4;
9618 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9619 }
9620 }
9621 if (obj4) {
9622 ecode5 = SWIG_AsVal_int(obj4, &val5);
9623 if (!SWIG_IsOK(ecode5)) {
9624 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9625 }
9626 arg5 = static_cast< int >(val5);
9627 }
9628 if (obj5) {
9629 {
9630 arg6 = wxString_in_helper(obj5);
9631 if (arg6 == NULL) SWIG_fail;
9632 temp6 = true;
9633 }
9634 }
9635 {
9636 if (!wxPyCheckForApp()) SWIG_fail;
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9643 {
9644 if (temp6)
9645 delete arg6;
9646 }
9647 return resultobj;
9648 fail:
9649 {
9650 if (temp6)
9651 delete arg6;
9652 }
9653 return NULL;
9654 }
9655
9656
9657 SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9658 PyObject *resultobj = 0;
9659 wxPyHtmlWindow *result = 0 ;
9660
9661 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9662 {
9663 if (!wxPyCheckForApp()) SWIG_fail;
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9670 return resultobj;
9671 fail:
9672 return NULL;
9673 }
9674
9675
9676 SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj = 0;
9678 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9679 wxWindow *arg2 = (wxWindow *) 0 ;
9680 int arg3 = (int) -1 ;
9681 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9682 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9683 wxSize const &arg5_defvalue = wxDefaultSize ;
9684 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9685 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9686 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9687 wxString *arg7 = (wxString *) &arg7_defvalue ;
9688 bool result;
9689 void *argp1 = 0 ;
9690 int res1 = 0 ;
9691 void *argp2 = 0 ;
9692 int res2 = 0 ;
9693 int val3 ;
9694 int ecode3 = 0 ;
9695 wxPoint temp4 ;
9696 wxSize temp5 ;
9697 int val6 ;
9698 int ecode6 = 0 ;
9699 bool temp7 = false ;
9700 PyObject * obj0 = 0 ;
9701 PyObject * obj1 = 0 ;
9702 PyObject * obj2 = 0 ;
9703 PyObject * obj3 = 0 ;
9704 PyObject * obj4 = 0 ;
9705 PyObject * obj5 = 0 ;
9706 PyObject * obj6 = 0 ;
9707 char * kwnames[] = {
9708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9709 };
9710
9711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9713 if (!SWIG_IsOK(res1)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9715 }
9716 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9718 if (!SWIG_IsOK(res2)) {
9719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9720 }
9721 arg2 = reinterpret_cast< wxWindow * >(argp2);
9722 if (obj2) {
9723 ecode3 = SWIG_AsVal_int(obj2, &val3);
9724 if (!SWIG_IsOK(ecode3)) {
9725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9726 }
9727 arg3 = static_cast< int >(val3);
9728 }
9729 if (obj3) {
9730 {
9731 arg4 = &temp4;
9732 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9733 }
9734 }
9735 if (obj4) {
9736 {
9737 arg5 = &temp5;
9738 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9739 }
9740 }
9741 if (obj5) {
9742 ecode6 = SWIG_AsVal_int(obj5, &val6);
9743 if (!SWIG_IsOK(ecode6)) {
9744 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9745 }
9746 arg6 = static_cast< int >(val6);
9747 }
9748 if (obj6) {
9749 {
9750 arg7 = wxString_in_helper(obj6);
9751 if (arg7 == NULL) SWIG_fail;
9752 temp7 = true;
9753 }
9754 }
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 {
9762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9763 }
9764 {
9765 if (temp7)
9766 delete arg7;
9767 }
9768 return resultobj;
9769 fail:
9770 {
9771 if (temp7)
9772 delete arg7;
9773 }
9774 return NULL;
9775 }
9776
9777
9778 SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj = 0;
9780 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9781 PyObject *arg2 = (PyObject *) 0 ;
9782 PyObject *arg3 = (PyObject *) 0 ;
9783 void *argp1 = 0 ;
9784 int res1 = 0 ;
9785 PyObject * obj0 = 0 ;
9786 PyObject * obj1 = 0 ;
9787 PyObject * obj2 = 0 ;
9788 char * kwnames[] = {
9789 (char *) "self",(char *) "self",(char *) "_class", NULL
9790 };
9791
9792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9794 if (!SWIG_IsOK(res1)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9796 }
9797 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9798 arg2 = obj1;
9799 arg3 = obj2;
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 (arg1)->_setCallbackInfo(arg2,arg3);
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) SWIG_fail;
9805 }
9806 resultobj = SWIG_Py_Void();
9807 return resultobj;
9808 fail:
9809 return NULL;
9810 }
9811
9812
9813 SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj = 0;
9815 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9816 wxString *arg2 = 0 ;
9817 bool result;
9818 void *argp1 = 0 ;
9819 int res1 = 0 ;
9820 bool temp2 = false ;
9821 PyObject * obj0 = 0 ;
9822 PyObject * obj1 = 0 ;
9823 char * kwnames[] = {
9824 (char *) "self",(char *) "source", NULL
9825 };
9826
9827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9829 if (!SWIG_IsOK(res1)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9831 }
9832 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9833 {
9834 arg2 = wxString_in_helper(obj1);
9835 if (arg2 == NULL) SWIG_fail;
9836 temp2 = true;
9837 }
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 {
9845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9846 }
9847 {
9848 if (temp2)
9849 delete arg2;
9850 }
9851 return resultobj;
9852 fail:
9853 {
9854 if (temp2)
9855 delete arg2;
9856 }
9857 return NULL;
9858 }
9859
9860
9861 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj = 0;
9863 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9864 wxString *arg2 = 0 ;
9865 bool result;
9866 void *argp1 = 0 ;
9867 int res1 = 0 ;
9868 bool temp2 = false ;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char * kwnames[] = {
9872 (char *) "self",(char *) "location", NULL
9873 };
9874
9875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9877 if (!SWIG_IsOK(res1)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9879 }
9880 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9881 {
9882 arg2 = wxString_in_helper(obj1);
9883 if (arg2 == NULL) SWIG_fail;
9884 temp2 = true;
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9894 }
9895 {
9896 if (temp2)
9897 delete arg2;
9898 }
9899 return resultobj;
9900 fail:
9901 {
9902 if (temp2)
9903 delete arg2;
9904 }
9905 return NULL;
9906 }
9907
9908
9909 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj = 0;
9911 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9912 wxString *arg2 = 0 ;
9913 bool result;
9914 void *argp1 = 0 ;
9915 int res1 = 0 ;
9916 bool temp2 = false ;
9917 PyObject * obj0 = 0 ;
9918 PyObject * obj1 = 0 ;
9919 char * kwnames[] = {
9920 (char *) "self",(char *) "filename", NULL
9921 };
9922
9923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9925 if (!SWIG_IsOK(res1)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9927 }
9928 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9929 {
9930 arg2 = wxString_in_helper(obj1);
9931 if (arg2 == NULL) SWIG_fail;
9932 temp2 = true;
9933 }
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 {
9941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9942 }
9943 {
9944 if (temp2)
9945 delete arg2;
9946 }
9947 return resultobj;
9948 fail:
9949 {
9950 if (temp2)
9951 delete arg2;
9952 }
9953 return NULL;
9954 }
9955
9956
9957 SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj = 0;
9959 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9960 wxString *arg2 = 0 ;
9961 bool result;
9962 void *argp1 = 0 ;
9963 int res1 = 0 ;
9964 bool temp2 = false ;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj1 = 0 ;
9967 char * kwnames[] = {
9968 (char *) "self",(char *) "source", NULL
9969 };
9970
9971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
9972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9973 if (!SWIG_IsOK(res1)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9975 }
9976 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9977 {
9978 arg2 = wxString_in_helper(obj1);
9979 if (arg2 == NULL) SWIG_fail;
9980 temp2 = true;
9981 }
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 {
9989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9990 }
9991 {
9992 if (temp2)
9993 delete arg2;
9994 }
9995 return resultobj;
9996 fail:
9997 {
9998 if (temp2)
9999 delete arg2;
10000 }
10001 return NULL;
10002 }
10003
10004
10005 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10006 PyObject *resultobj = 0;
10007 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10008 wxString result;
10009 void *argp1 = 0 ;
10010 int res1 = 0 ;
10011 PyObject *swig_obj[1] ;
10012
10013 if (!args) SWIG_fail;
10014 swig_obj[0] = args;
10015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10016 if (!SWIG_IsOK(res1)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10018 }
10019 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = (arg1)->GetOpenedPage();
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 {
10027 #if wxUSE_UNICODE
10028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10029 #else
10030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10031 #endif
10032 }
10033 return resultobj;
10034 fail:
10035 return NULL;
10036 }
10037
10038
10039 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10040 PyObject *resultobj = 0;
10041 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10042 wxString result;
10043 void *argp1 = 0 ;
10044 int res1 = 0 ;
10045 PyObject *swig_obj[1] ;
10046
10047 if (!args) SWIG_fail;
10048 swig_obj[0] = args;
10049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10050 if (!SWIG_IsOK(res1)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10052 }
10053 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (arg1)->GetOpenedAnchor();
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 {
10061 #if wxUSE_UNICODE
10062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10063 #else
10064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10065 #endif
10066 }
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10074 PyObject *resultobj = 0;
10075 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10076 wxString result;
10077 void *argp1 = 0 ;
10078 int res1 = 0 ;
10079 PyObject *swig_obj[1] ;
10080
10081 if (!args) SWIG_fail;
10082 swig_obj[0] = args;
10083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10084 if (!SWIG_IsOK(res1)) {
10085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10086 }
10087 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = (arg1)->GetOpenedPageTitle();
10091 wxPyEndAllowThreads(__tstate);
10092 if (PyErr_Occurred()) SWIG_fail;
10093 }
10094 {
10095 #if wxUSE_UNICODE
10096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10097 #else
10098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10099 #endif
10100 }
10101 return resultobj;
10102 fail:
10103 return NULL;
10104 }
10105
10106
10107 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10108 PyObject *resultobj = 0;
10109 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10110 wxFrame *arg2 = (wxFrame *) 0 ;
10111 wxString *arg3 = 0 ;
10112 void *argp1 = 0 ;
10113 int res1 = 0 ;
10114 void *argp2 = 0 ;
10115 int res2 = 0 ;
10116 bool temp3 = false ;
10117 PyObject * obj0 = 0 ;
10118 PyObject * obj1 = 0 ;
10119 PyObject * obj2 = 0 ;
10120 char * kwnames[] = {
10121 (char *) "self",(char *) "frame",(char *) "format", NULL
10122 };
10123
10124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10126 if (!SWIG_IsOK(res1)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10128 }
10129 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10130 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10131 if (!SWIG_IsOK(res2)) {
10132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10133 }
10134 arg2 = reinterpret_cast< wxFrame * >(argp2);
10135 {
10136 arg3 = wxString_in_helper(obj2);
10137 if (arg3 == NULL) SWIG_fail;
10138 temp3 = true;
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
10146 resultobj = SWIG_Py_Void();
10147 {
10148 if (temp3)
10149 delete arg3;
10150 }
10151 return resultobj;
10152 fail:
10153 {
10154 if (temp3)
10155 delete arg3;
10156 }
10157 return NULL;
10158 }
10159
10160
10161 SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10162 PyObject *resultobj = 0;
10163 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10164 wxFrame *result = 0 ;
10165 void *argp1 = 0 ;
10166 int res1 = 0 ;
10167 PyObject *swig_obj[1] ;
10168
10169 if (!args) SWIG_fail;
10170 swig_obj[0] = args;
10171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10172 if (!SWIG_IsOK(res1)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10174 }
10175 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (wxFrame *)(arg1)->GetRelatedFrame();
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 {
10183 resultobj = wxPyMake_wxObject(result, 0);
10184 }
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj = 0;
10193 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10194 int arg2 ;
10195 void *argp1 = 0 ;
10196 int res1 = 0 ;
10197 int val2 ;
10198 int ecode2 = 0 ;
10199 PyObject * obj0 = 0 ;
10200 PyObject * obj1 = 0 ;
10201 char * kwnames[] = {
10202 (char *) "self",(char *) "bar", NULL
10203 };
10204
10205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10207 if (!SWIG_IsOK(res1)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10209 }
10210 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10211 ecode2 = SWIG_AsVal_int(obj1, &val2);
10212 if (!SWIG_IsOK(ecode2)) {
10213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10214 }
10215 arg2 = static_cast< int >(val2);
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->SetRelatedStatusBar(arg2);
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = SWIG_Py_Void();
10223 return resultobj;
10224 fail:
10225 return NULL;
10226 }
10227
10228
10229 SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj = 0;
10231 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10232 wxString arg2 ;
10233 wxString arg3 ;
10234 PyObject *arg4 = (PyObject *) NULL ;
10235 void *argp1 = 0 ;
10236 int res1 = 0 ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 PyObject * obj2 = 0 ;
10240 PyObject * obj3 = 0 ;
10241 char * kwnames[] = {
10242 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10243 };
10244
10245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10247 if (!SWIG_IsOK(res1)) {
10248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10249 }
10250 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10251 {
10252 wxString* sptr = wxString_in_helper(obj1);
10253 if (sptr == NULL) SWIG_fail;
10254 arg2 = *sptr;
10255 delete sptr;
10256 }
10257 {
10258 wxString* sptr = wxString_in_helper(obj2);
10259 if (sptr == NULL) SWIG_fail;
10260 arg3 = *sptr;
10261 delete sptr;
10262 }
10263 if (obj3) {
10264 arg4 = obj3;
10265 }
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 resultobj = SWIG_Py_Void();
10273 return resultobj;
10274 fail:
10275 return NULL;
10276 }
10277
10278
10279 SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj = 0;
10281 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10282 int arg2 = (int) -1 ;
10283 wxString const &arg3_defvalue = wxPyEmptyString ;
10284 wxString *arg3 = (wxString *) &arg3_defvalue ;
10285 wxString const &arg4_defvalue = wxPyEmptyString ;
10286 wxString *arg4 = (wxString *) &arg4_defvalue ;
10287 void *argp1 = 0 ;
10288 int res1 = 0 ;
10289 int val2 ;
10290 int ecode2 = 0 ;
10291 bool temp3 = false ;
10292 bool temp4 = false ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 PyObject * obj2 = 0 ;
10296 PyObject * obj3 = 0 ;
10297 char * kwnames[] = {
10298 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10299 };
10300
10301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10303 if (!SWIG_IsOK(res1)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10305 }
10306 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10307 if (obj1) {
10308 ecode2 = SWIG_AsVal_int(obj1, &val2);
10309 if (!SWIG_IsOK(ecode2)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10311 }
10312 arg2 = static_cast< int >(val2);
10313 }
10314 if (obj2) {
10315 {
10316 arg3 = wxString_in_helper(obj2);
10317 if (arg3 == NULL) SWIG_fail;
10318 temp3 = true;
10319 }
10320 }
10321 if (obj3) {
10322 {
10323 arg4 = wxString_in_helper(obj3);
10324 if (arg4 == NULL) SWIG_fail;
10325 temp4 = true;
10326 }
10327 }
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 resultobj = SWIG_Py_Void();
10335 {
10336 if (temp3)
10337 delete arg3;
10338 }
10339 {
10340 if (temp4)
10341 delete arg4;
10342 }
10343 return resultobj;
10344 fail:
10345 {
10346 if (temp3)
10347 delete arg3;
10348 }
10349 {
10350 if (temp4)
10351 delete arg4;
10352 }
10353 return NULL;
10354 }
10355
10356
10357 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj = 0;
10359 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10360 int arg2 ;
10361 void *argp1 = 0 ;
10362 int res1 = 0 ;
10363 int val2 ;
10364 int ecode2 = 0 ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 char * kwnames[] = {
10368 (char *) "self",(char *) "b", NULL
10369 };
10370
10371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10373 if (!SWIG_IsOK(res1)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10375 }
10376 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10377 ecode2 = SWIG_AsVal_int(obj1, &val2);
10378 if (!SWIG_IsOK(ecode2)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10380 }
10381 arg2 = static_cast< int >(val2);
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->SetBorders(arg2);
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 resultobj = SWIG_Py_Void();
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10396 PyObject *resultobj = 0;
10397 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10398 wxBitmap *arg2 = 0 ;
10399 void *argp1 = 0 ;
10400 int res1 = 0 ;
10401 void *argp2 = 0 ;
10402 int res2 = 0 ;
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405 char * kwnames[] = {
10406 (char *) "self",(char *) "bmpBg", NULL
10407 };
10408
10409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
10410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10411 if (!SWIG_IsOK(res1)) {
10412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10413 }
10414 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10416 if (!SWIG_IsOK(res2)) {
10417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10418 }
10419 if (!argp2) {
10420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10421 }
10422 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 resultobj = SWIG_Py_Void();
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj = 0;
10438 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10439 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10440 wxString arg3 = (wxString) wxPyEmptyString ;
10441 void *argp1 = 0 ;
10442 int res1 = 0 ;
10443 void *argp2 = 0 ;
10444 int res2 = 0 ;
10445 PyObject * obj0 = 0 ;
10446 PyObject * obj1 = 0 ;
10447 PyObject * obj2 = 0 ;
10448 char * kwnames[] = {
10449 (char *) "self",(char *) "cfg",(char *) "path", NULL
10450 };
10451
10452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10454 if (!SWIG_IsOK(res1)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10456 }
10457 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10458 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10459 if (!SWIG_IsOK(res2)) {
10460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10461 }
10462 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10463 if (obj2) {
10464 {
10465 wxString* sptr = wxString_in_helper(obj2);
10466 if (sptr == NULL) SWIG_fail;
10467 arg3 = *sptr;
10468 delete sptr;
10469 }
10470 }
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->ReadCustomization(arg2,arg3);
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 resultobj = SWIG_Py_Void();
10478 return resultobj;
10479 fail:
10480 return NULL;
10481 }
10482
10483
10484 SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj = 0;
10486 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10487 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10488 wxString arg3 = (wxString) wxPyEmptyString ;
10489 void *argp1 = 0 ;
10490 int res1 = 0 ;
10491 void *argp2 = 0 ;
10492 int res2 = 0 ;
10493 PyObject * obj0 = 0 ;
10494 PyObject * obj1 = 0 ;
10495 PyObject * obj2 = 0 ;
10496 char * kwnames[] = {
10497 (char *) "self",(char *) "cfg",(char *) "path", NULL
10498 };
10499
10500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10502 if (!SWIG_IsOK(res1)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10504 }
10505 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10506 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10507 if (!SWIG_IsOK(res2)) {
10508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10509 }
10510 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10511 if (obj2) {
10512 {
10513 wxString* sptr = wxString_in_helper(obj2);
10514 if (sptr == NULL) SWIG_fail;
10515 arg3 = *sptr;
10516 delete sptr;
10517 }
10518 }
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 (arg1)->WriteCustomization(arg2,arg3);
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 resultobj = SWIG_Py_Void();
10526 return resultobj;
10527 fail:
10528 return NULL;
10529 }
10530
10531
10532 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10533 PyObject *resultobj = 0;
10534 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10535 bool result;
10536 void *argp1 = 0 ;
10537 int res1 = 0 ;
10538 PyObject *swig_obj[1] ;
10539
10540 if (!args) SWIG_fail;
10541 swig_obj[0] = args;
10542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10543 if (!SWIG_IsOK(res1)) {
10544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10545 }
10546 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 result = (bool)(arg1)->HistoryBack();
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 {
10554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10555 }
10556 return resultobj;
10557 fail:
10558 return NULL;
10559 }
10560
10561
10562 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10563 PyObject *resultobj = 0;
10564 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10565 bool result;
10566 void *argp1 = 0 ;
10567 int res1 = 0 ;
10568 PyObject *swig_obj[1] ;
10569
10570 if (!args) SWIG_fail;
10571 swig_obj[0] = args;
10572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10573 if (!SWIG_IsOK(res1)) {
10574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10575 }
10576 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (bool)(arg1)->HistoryForward();
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 {
10584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10585 }
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10593 PyObject *resultobj = 0;
10594 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10595 bool result;
10596 void *argp1 = 0 ;
10597 int res1 = 0 ;
10598 PyObject *swig_obj[1] ;
10599
10600 if (!args) SWIG_fail;
10601 swig_obj[0] = args;
10602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10603 if (!SWIG_IsOK(res1)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10605 }
10606 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 result = (bool)(arg1)->HistoryCanBack();
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 {
10614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10615 }
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10623 PyObject *resultobj = 0;
10624 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10625 bool result;
10626 void *argp1 = 0 ;
10627 int res1 = 0 ;
10628 PyObject *swig_obj[1] ;
10629
10630 if (!args) SWIG_fail;
10631 swig_obj[0] = args;
10632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10633 if (!SWIG_IsOK(res1)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10635 }
10636 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (bool)(arg1)->HistoryCanForward();
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 {
10644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10645 }
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10653 PyObject *resultobj = 0;
10654 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10655 void *argp1 = 0 ;
10656 int res1 = 0 ;
10657 PyObject *swig_obj[1] ;
10658
10659 if (!args) SWIG_fail;
10660 swig_obj[0] = args;
10661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10662 if (!SWIG_IsOK(res1)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10664 }
10665 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 (arg1)->HistoryClear();
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 resultobj = SWIG_Py_Void();
10673 return resultobj;
10674 fail:
10675 return NULL;
10676 }
10677
10678
10679 SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10680 PyObject *resultobj = 0;
10681 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10682 wxHtmlContainerCell *result = 0 ;
10683 void *argp1 = 0 ;
10684 int res1 = 0 ;
10685 PyObject *swig_obj[1] ;
10686
10687 if (!args) SWIG_fail;
10688 swig_obj[0] = args;
10689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10690 if (!SWIG_IsOK(res1)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10692 }
10693 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10701 return resultobj;
10702 fail:
10703 return NULL;
10704 }
10705
10706
10707 SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10708 PyObject *resultobj = 0;
10709 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10710 wxHtmlWinParser *result = 0 ;
10711 void *argp1 = 0 ;
10712 int res1 = 0 ;
10713 PyObject *swig_obj[1] ;
10714
10715 if (!args) SWIG_fail;
10716 swig_obj[0] = args;
10717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10718 if (!SWIG_IsOK(res1)) {
10719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10720 }
10721 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 result = (wxHtmlWinParser *)(arg1)->GetParser();
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj = 0;
10737 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10738 wxString *arg2 = 0 ;
10739 bool result;
10740 void *argp1 = 0 ;
10741 int res1 = 0 ;
10742 bool temp2 = false ;
10743 PyObject * obj0 = 0 ;
10744 PyObject * obj1 = 0 ;
10745 char * kwnames[] = {
10746 (char *) "self",(char *) "anchor", NULL
10747 };
10748
10749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10751 if (!SWIG_IsOK(res1)) {
10752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10753 }
10754 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10755 {
10756 arg2 = wxString_in_helper(obj1);
10757 if (arg2 == NULL) SWIG_fail;
10758 temp2 = true;
10759 }
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 {
10767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10768 }
10769 {
10770 if (temp2)
10771 delete arg2;
10772 }
10773 return resultobj;
10774 fail:
10775 {
10776 if (temp2)
10777 delete arg2;
10778 }
10779 return NULL;
10780 }
10781
10782
10783 SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj = 0;
10785 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10786 wxString *arg2 = 0 ;
10787 bool result;
10788 void *argp1 = 0 ;
10789 int res1 = 0 ;
10790 bool temp2 = false ;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 char * kwnames[] = {
10794 (char *) "self",(char *) "anchor", NULL
10795 };
10796
10797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10799 if (!SWIG_IsOK(res1)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10801 }
10802 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10803 {
10804 arg2 = wxString_in_helper(obj1);
10805 if (arg2 == NULL) SWIG_fail;
10806 temp2 = true;
10807 }
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 {
10815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10816 }
10817 {
10818 if (temp2)
10819 delete arg2;
10820 }
10821 return resultobj;
10822 fail:
10823 {
10824 if (temp2)
10825 delete arg2;
10826 }
10827 return NULL;
10828 }
10829
10830
10831 SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10832 PyObject *resultobj = 0;
10833 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10834 void *argp1 = 0 ;
10835 int res1 = 0 ;
10836 PyObject * obj0 = 0 ;
10837 char * kwnames[] = {
10838 (char *) "filter", NULL
10839 };
10840
10841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10843 if (!SWIG_IsOK(res1)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10845 }
10846 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 wxPyHtmlWindow::AddFilter(arg1);
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 resultobj = SWIG_Py_Void();
10854 return resultobj;
10855 fail:
10856 return NULL;
10857 }
10858
10859
10860 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10861 PyObject *resultobj = 0;
10862 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10863 wxPoint *arg2 = 0 ;
10864 void *argp1 = 0 ;
10865 int res1 = 0 ;
10866 wxPoint temp2 ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 char * kwnames[] = {
10870 (char *) "self",(char *) "pos", NULL
10871 };
10872
10873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10875 if (!SWIG_IsOK(res1)) {
10876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10877 }
10878 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10879 {
10880 arg2 = &temp2;
10881 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10882 }
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 (arg1)->SelectWord((wxPoint const &)*arg2);
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = SWIG_Py_Void();
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10897 PyObject *resultobj = 0;
10898 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10899 wxPoint *arg2 = 0 ;
10900 void *argp1 = 0 ;
10901 int res1 = 0 ;
10902 wxPoint temp2 ;
10903 PyObject * obj0 = 0 ;
10904 PyObject * obj1 = 0 ;
10905 char * kwnames[] = {
10906 (char *) "self",(char *) "pos", NULL
10907 };
10908
10909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10911 if (!SWIG_IsOK(res1)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10913 }
10914 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10915 {
10916 arg2 = &temp2;
10917 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 (arg1)->SelectLine((wxPoint const &)*arg2);
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 resultobj = SWIG_Py_Void();
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10933 PyObject *resultobj = 0;
10934 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10935 void *argp1 = 0 ;
10936 int res1 = 0 ;
10937 PyObject *swig_obj[1] ;
10938
10939 if (!args) SWIG_fail;
10940 swig_obj[0] = args;
10941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10942 if (!SWIG_IsOK(res1)) {
10943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10944 }
10945 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->SelectAll();
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 resultobj = SWIG_Py_Void();
10953 return resultobj;
10954 fail:
10955 return NULL;
10956 }
10957
10958
10959 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10960 PyObject *resultobj = 0;
10961 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10962 wxString result;
10963 void *argp1 = 0 ;
10964 int res1 = 0 ;
10965 PyObject *swig_obj[1] ;
10966
10967 if (!args) SWIG_fail;
10968 swig_obj[0] = args;
10969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10970 if (!SWIG_IsOK(res1)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10972 }
10973 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 result = (arg1)->SelectionToText();
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 {
10981 #if wxUSE_UNICODE
10982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10983 #else
10984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10985 #endif
10986 }
10987 return resultobj;
10988 fail:
10989 return NULL;
10990 }
10991
10992
10993 SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10994 PyObject *resultobj = 0;
10995 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10996 wxString result;
10997 void *argp1 = 0 ;
10998 int res1 = 0 ;
10999 PyObject *swig_obj[1] ;
11000
11001 if (!args) SWIG_fail;
11002 swig_obj[0] = args;
11003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11004 if (!SWIG_IsOK(res1)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11006 }
11007 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = (arg1)->ToText();
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 {
11015 #if wxUSE_UNICODE
11016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11017 #else
11018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11019 #endif
11020 }
11021 return resultobj;
11022 fail:
11023 return NULL;
11024 }
11025
11026
11027 SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj = 0;
11029 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11030 wxHtmlLinkInfo *arg2 = 0 ;
11031 void *argp1 = 0 ;
11032 int res1 = 0 ;
11033 void *argp2 = 0 ;
11034 int res2 = 0 ;
11035 PyObject * obj0 = 0 ;
11036 PyObject * obj1 = 0 ;
11037 char * kwnames[] = {
11038 (char *) "self",(char *) "link", NULL
11039 };
11040
11041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
11042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11043 if (!SWIG_IsOK(res1)) {
11044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11045 }
11046 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11047 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
11048 if (!SWIG_IsOK(res2)) {
11049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11050 }
11051 if (!argp2) {
11052 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11053 }
11054 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = SWIG_Py_Void();
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj = 0;
11070 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11071 wxString *arg2 = 0 ;
11072 void *argp1 = 0 ;
11073 int res1 = 0 ;
11074 bool temp2 = false ;
11075 PyObject * obj0 = 0 ;
11076 PyObject * obj1 = 0 ;
11077 char * kwnames[] = {
11078 (char *) "self",(char *) "title", NULL
11079 };
11080
11081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11083 if (!SWIG_IsOK(res1)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11085 }
11086 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11087 {
11088 arg2 = wxString_in_helper(obj1);
11089 if (arg2 == NULL) SWIG_fail;
11090 temp2 = true;
11091 }
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 (arg1)->OnSetTitle((wxString const &)*arg2);
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 resultobj = SWIG_Py_Void();
11099 {
11100 if (temp2)
11101 delete arg2;
11102 }
11103 return resultobj;
11104 fail:
11105 {
11106 if (temp2)
11107 delete arg2;
11108 }
11109 return NULL;
11110 }
11111
11112
11113 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj = 0;
11115 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11116 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11117 int arg3 ;
11118 int arg4 ;
11119 void *argp1 = 0 ;
11120 int res1 = 0 ;
11121 void *argp2 = 0 ;
11122 int res2 = 0 ;
11123 int val3 ;
11124 int ecode3 = 0 ;
11125 int val4 ;
11126 int ecode4 = 0 ;
11127 PyObject * obj0 = 0 ;
11128 PyObject * obj1 = 0 ;
11129 PyObject * obj2 = 0 ;
11130 PyObject * obj3 = 0 ;
11131 char * kwnames[] = {
11132 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11133 };
11134
11135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11137 if (!SWIG_IsOK(res1)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11139 }
11140 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11142 if (!SWIG_IsOK(res2)) {
11143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11144 }
11145 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11146 ecode3 = SWIG_AsVal_int(obj2, &val3);
11147 if (!SWIG_IsOK(ecode3)) {
11148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11149 }
11150 arg3 = static_cast< int >(val3);
11151 ecode4 = SWIG_AsVal_int(obj3, &val4);
11152 if (!SWIG_IsOK(ecode4)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11154 }
11155 arg4 = static_cast< int >(val4);
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 resultobj = SWIG_Py_Void();
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj = 0;
11171 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11172 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11173 int arg3 ;
11174 int arg4 ;
11175 wxMouseEvent *arg5 = 0 ;
11176 bool result;
11177 void *argp1 = 0 ;
11178 int res1 = 0 ;
11179 void *argp2 = 0 ;
11180 int res2 = 0 ;
11181 int val3 ;
11182 int ecode3 = 0 ;
11183 int val4 ;
11184 int ecode4 = 0 ;
11185 void *argp5 = 0 ;
11186 int res5 = 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 PyObject * obj3 = 0 ;
11191 PyObject * obj4 = 0 ;
11192 char * kwnames[] = {
11193 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11194 };
11195
11196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11198 if (!SWIG_IsOK(res1)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11200 }
11201 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11203 if (!SWIG_IsOK(res2)) {
11204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11205 }
11206 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11207 ecode3 = SWIG_AsVal_int(obj2, &val3);
11208 if (!SWIG_IsOK(ecode3)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11210 }
11211 arg3 = static_cast< int >(val3);
11212 ecode4 = SWIG_AsVal_int(obj3, &val4);
11213 if (!SWIG_IsOK(ecode4)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11215 }
11216 arg4 = static_cast< int >(val4);
11217 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11218 if (!SWIG_IsOK(res5)) {
11219 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11220 }
11221 if (!argp5) {
11222 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11223 }
11224 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 {
11232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11233 }
11234 return resultobj;
11235 fail:
11236 return NULL;
11237 }
11238
11239
11240 SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj = 0;
11242 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11243 wxHtmlURLType arg2 ;
11244 wxString *arg3 = 0 ;
11245 wxString *arg4 = (wxString *) 0 ;
11246 wxHtmlOpeningStatus result;
11247 void *argp1 = 0 ;
11248 int res1 = 0 ;
11249 int val2 ;
11250 int ecode2 = 0 ;
11251 bool temp3 = false ;
11252 bool temp4 = false ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 PyObject * obj2 = 0 ;
11256 PyObject * obj3 = 0 ;
11257 char * kwnames[] = {
11258 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11259 };
11260
11261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11263 if (!SWIG_IsOK(res1)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11265 }
11266 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11267 ecode2 = SWIG_AsVal_int(obj1, &val2);
11268 if (!SWIG_IsOK(ecode2)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11270 }
11271 arg2 = static_cast< wxHtmlURLType >(val2);
11272 {
11273 arg3 = wxString_in_helper(obj2);
11274 if (arg3 == NULL) SWIG_fail;
11275 temp3 = true;
11276 }
11277 {
11278 arg4 = wxString_in_helper(obj3);
11279 if (arg4 == NULL) SWIG_fail;
11280 temp4 = true;
11281 }
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11285 wxPyEndAllowThreads(__tstate);
11286 if (PyErr_Occurred()) SWIG_fail;
11287 }
11288 resultobj = SWIG_From_int(static_cast< int >(result));
11289 {
11290 if (temp3)
11291 delete arg3;
11292 }
11293 {
11294 if (temp4)
11295 delete arg4;
11296 }
11297 return resultobj;
11298 fail:
11299 {
11300 if (temp3)
11301 delete arg3;
11302 }
11303 {
11304 if (temp4)
11305 delete arg4;
11306 }
11307 return NULL;
11308 }
11309
11310
11311 SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11312 PyObject *resultobj = 0;
11313 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11314 SwigValueWrapper<wxVisualAttributes > result;
11315 int val1 ;
11316 int ecode1 = 0 ;
11317 PyObject * obj0 = 0 ;
11318 char * kwnames[] = {
11319 (char *) "variant", NULL
11320 };
11321
11322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11323 if (obj0) {
11324 ecode1 = SWIG_AsVal_int(obj0, &val1);
11325 if (!SWIG_IsOK(ecode1)) {
11326 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11327 }
11328 arg1 = static_cast< wxWindowVariant >(val1);
11329 }
11330 {
11331 if (!wxPyCheckForApp()) SWIG_fail;
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11334 wxPyEndAllowThreads(__tstate);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 }
11337 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11338 return resultobj;
11339 fail:
11340 return NULL;
11341 }
11342
11343
11344 SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11345 PyObject *resultobj = 0;
11346 wxPyHtmlWindow::HTMLCursor arg1 ;
11347 wxCursor result;
11348 int val1 ;
11349 int ecode1 = 0 ;
11350 PyObject * obj0 = 0 ;
11351 char * kwnames[] = {
11352 (char *) "type", NULL
11353 };
11354
11355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11356 ecode1 = SWIG_AsVal_int(obj0, &val1);
11357 if (!SWIG_IsOK(ecode1)) {
11358 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11359 }
11360 arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11375 PyObject *obj;
11376 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11377 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11378 return SWIG_Py_Void();
11379 }
11380
11381 SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11382 return SWIG_Python_InitShadowInstance(args);
11383 }
11384
11385 SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11386 PyObject *resultobj = 0;
11387 wxHtmlDCRenderer *result = 0 ;
11388
11389 if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11390 {
11391 if (!wxPyCheckForApp()) SWIG_fail;
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11398 return resultobj;
11399 fail:
11400 return NULL;
11401 }
11402
11403
11404 SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11405 PyObject *resultobj = 0;
11406 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11407 void *argp1 = 0 ;
11408 int res1 = 0 ;
11409 PyObject *swig_obj[1] ;
11410
11411 if (!args) SWIG_fail;
11412 swig_obj[0] = args;
11413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11414 if (!SWIG_IsOK(res1)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11416 }
11417 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 delete arg1;
11421
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 resultobj = SWIG_Py_Void();
11426 return resultobj;
11427 fail:
11428 return NULL;
11429 }
11430
11431
11432 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11433 PyObject *resultobj = 0;
11434 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11435 wxDC *arg2 = (wxDC *) 0 ;
11436 int arg3 ;
11437 void *argp1 = 0 ;
11438 int res1 = 0 ;
11439 void *argp2 = 0 ;
11440 int res2 = 0 ;
11441 int val3 ;
11442 int ecode3 = 0 ;
11443 PyObject * obj0 = 0 ;
11444 PyObject * obj1 = 0 ;
11445 PyObject * obj2 = 0 ;
11446 char * kwnames[] = {
11447 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11448 };
11449
11450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11452 if (!SWIG_IsOK(res1)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11454 }
11455 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11457 if (!SWIG_IsOK(res2)) {
11458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11459 }
11460 arg2 = reinterpret_cast< wxDC * >(argp2);
11461 ecode3 = SWIG_AsVal_int(obj2, &val3);
11462 if (!SWIG_IsOK(ecode3)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11464 }
11465 arg3 = static_cast< int >(val3);
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 (arg1)->SetDC(arg2,arg3);
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 resultobj = SWIG_Py_Void();
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11480 PyObject *resultobj = 0;
11481 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11482 int arg2 ;
11483 int arg3 ;
11484 void *argp1 = 0 ;
11485 int res1 = 0 ;
11486 int val2 ;
11487 int ecode2 = 0 ;
11488 int val3 ;
11489 int ecode3 = 0 ;
11490 PyObject * obj0 = 0 ;
11491 PyObject * obj1 = 0 ;
11492 PyObject * obj2 = 0 ;
11493 char * kwnames[] = {
11494 (char *) "self",(char *) "width",(char *) "height", NULL
11495 };
11496
11497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11499 if (!SWIG_IsOK(res1)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11501 }
11502 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11503 ecode2 = SWIG_AsVal_int(obj1, &val2);
11504 if (!SWIG_IsOK(ecode2)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11506 }
11507 arg2 = static_cast< int >(val2);
11508 ecode3 = SWIG_AsVal_int(obj2, &val3);
11509 if (!SWIG_IsOK(ecode3)) {
11510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11511 }
11512 arg3 = static_cast< int >(val3);
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 (arg1)->SetSize(arg2,arg3);
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 resultobj = SWIG_Py_Void();
11520 return resultobj;
11521 fail:
11522 return NULL;
11523 }
11524
11525
11526 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj = 0;
11528 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11529 wxString *arg2 = 0 ;
11530 wxString const &arg3_defvalue = wxPyEmptyString ;
11531 wxString *arg3 = (wxString *) &arg3_defvalue ;
11532 bool arg4 = (bool) true ;
11533 void *argp1 = 0 ;
11534 int res1 = 0 ;
11535 bool temp2 = false ;
11536 bool temp3 = false ;
11537 bool val4 ;
11538 int ecode4 = 0 ;
11539 PyObject * obj0 = 0 ;
11540 PyObject * obj1 = 0 ;
11541 PyObject * obj2 = 0 ;
11542 PyObject * obj3 = 0 ;
11543 char * kwnames[] = {
11544 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11545 };
11546
11547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11549 if (!SWIG_IsOK(res1)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11551 }
11552 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11553 {
11554 arg2 = wxString_in_helper(obj1);
11555 if (arg2 == NULL) SWIG_fail;
11556 temp2 = true;
11557 }
11558 if (obj2) {
11559 {
11560 arg3 = wxString_in_helper(obj2);
11561 if (arg3 == NULL) SWIG_fail;
11562 temp3 = true;
11563 }
11564 }
11565 if (obj3) {
11566 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11567 if (!SWIG_IsOK(ecode4)) {
11568 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11569 }
11570 arg4 = static_cast< bool >(val4);
11571 }
11572 {
11573 PyThreadState* __tstate = wxPyBeginAllowThreads();
11574 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 resultobj = SWIG_Py_Void();
11579 {
11580 if (temp2)
11581 delete arg2;
11582 }
11583 {
11584 if (temp3)
11585 delete arg3;
11586 }
11587 return resultobj;
11588 fail:
11589 {
11590 if (temp2)
11591 delete arg2;
11592 }
11593 {
11594 if (temp3)
11595 delete arg3;
11596 }
11597 return NULL;
11598 }
11599
11600
11601 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj = 0;
11603 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11604 wxString arg2 ;
11605 wxString arg3 ;
11606 PyObject *arg4 = (PyObject *) NULL ;
11607 void *argp1 = 0 ;
11608 int res1 = 0 ;
11609 PyObject * obj0 = 0 ;
11610 PyObject * obj1 = 0 ;
11611 PyObject * obj2 = 0 ;
11612 PyObject * obj3 = 0 ;
11613 char * kwnames[] = {
11614 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11615 };
11616
11617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11619 if (!SWIG_IsOK(res1)) {
11620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11621 }
11622 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11623 {
11624 wxString* sptr = wxString_in_helper(obj1);
11625 if (sptr == NULL) SWIG_fail;
11626 arg2 = *sptr;
11627 delete sptr;
11628 }
11629 {
11630 wxString* sptr = wxString_in_helper(obj2);
11631 if (sptr == NULL) SWIG_fail;
11632 arg3 = *sptr;
11633 delete sptr;
11634 }
11635 if (obj3) {
11636 arg4 = obj3;
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 resultobj = SWIG_Py_Void();
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj = 0;
11653 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11654 int arg2 = (int) -1 ;
11655 wxString const &arg3_defvalue = wxPyEmptyString ;
11656 wxString *arg3 = (wxString *) &arg3_defvalue ;
11657 wxString const &arg4_defvalue = wxPyEmptyString ;
11658 wxString *arg4 = (wxString *) &arg4_defvalue ;
11659 void *argp1 = 0 ;
11660 int res1 = 0 ;
11661 int val2 ;
11662 int ecode2 = 0 ;
11663 bool temp3 = false ;
11664 bool temp4 = false ;
11665 PyObject * obj0 = 0 ;
11666 PyObject * obj1 = 0 ;
11667 PyObject * obj2 = 0 ;
11668 PyObject * obj3 = 0 ;
11669 char * kwnames[] = {
11670 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11671 };
11672
11673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11675 if (!SWIG_IsOK(res1)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11677 }
11678 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11679 if (obj1) {
11680 ecode2 = SWIG_AsVal_int(obj1, &val2);
11681 if (!SWIG_IsOK(ecode2)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11683 }
11684 arg2 = static_cast< int >(val2);
11685 }
11686 if (obj2) {
11687 {
11688 arg3 = wxString_in_helper(obj2);
11689 if (arg3 == NULL) SWIG_fail;
11690 temp3 = true;
11691 }
11692 }
11693 if (obj3) {
11694 {
11695 arg4 = wxString_in_helper(obj3);
11696 if (arg4 == NULL) SWIG_fail;
11697 temp4 = true;
11698 }
11699 }
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 resultobj = SWIG_Py_Void();
11707 {
11708 if (temp3)
11709 delete arg3;
11710 }
11711 {
11712 if (temp4)
11713 delete arg4;
11714 }
11715 return resultobj;
11716 fail:
11717 {
11718 if (temp3)
11719 delete arg3;
11720 }
11721 {
11722 if (temp4)
11723 delete arg4;
11724 }
11725 return NULL;
11726 }
11727
11728
11729 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj = 0;
11731 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11732 int arg2 ;
11733 int arg3 ;
11734 wxArrayInt *arg4 = 0 ;
11735 int arg5 = (int) 0 ;
11736 int arg6 = (int) FALSE ;
11737 int arg7 = (int) INT_MAX ;
11738 int result;
11739 void *argp1 = 0 ;
11740 int res1 = 0 ;
11741 int val2 ;
11742 int ecode2 = 0 ;
11743 int val3 ;
11744 int ecode3 = 0 ;
11745 bool temp4 = false ;
11746 int val5 ;
11747 int ecode5 = 0 ;
11748 int val6 ;
11749 int ecode6 = 0 ;
11750 int val7 ;
11751 int ecode7 = 0 ;
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 PyObject * obj2 = 0 ;
11755 PyObject * obj3 = 0 ;
11756 PyObject * obj4 = 0 ;
11757 PyObject * obj5 = 0 ;
11758 PyObject * obj6 = 0 ;
11759 char * kwnames[] = {
11760 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11761 };
11762
11763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11765 if (!SWIG_IsOK(res1)) {
11766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11767 }
11768 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11769 ecode2 = SWIG_AsVal_int(obj1, &val2);
11770 if (!SWIG_IsOK(ecode2)) {
11771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11772 }
11773 arg2 = static_cast< int >(val2);
11774 ecode3 = SWIG_AsVal_int(obj2, &val3);
11775 if (!SWIG_IsOK(ecode3)) {
11776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11777 }
11778 arg3 = static_cast< int >(val3);
11779 {
11780 if (! PySequence_Check(obj3)) {
11781 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11782 SWIG_fail;
11783 }
11784 arg4 = new wxArrayInt;
11785 temp4 = true;
11786 int i, len=PySequence_Length(obj3);
11787 for (i=0; i<len; i++) {
11788 PyObject* item = PySequence_GetItem(obj3, i);
11789 PyObject* number = PyNumber_Int(item);
11790 arg4->Add(PyInt_AS_LONG(number));
11791 Py_DECREF(item);
11792 Py_DECREF(number);
11793 }
11794 }
11795 if (obj4) {
11796 ecode5 = SWIG_AsVal_int(obj4, &val5);
11797 if (!SWIG_IsOK(ecode5)) {
11798 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11799 }
11800 arg5 = static_cast< int >(val5);
11801 }
11802 if (obj5) {
11803 ecode6 = SWIG_AsVal_int(obj5, &val6);
11804 if (!SWIG_IsOK(ecode6)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11806 }
11807 arg6 = static_cast< int >(val6);
11808 }
11809 if (obj6) {
11810 ecode7 = SWIG_AsVal_int(obj6, &val7);
11811 if (!SWIG_IsOK(ecode7)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11813 }
11814 arg7 = static_cast< int >(val7);
11815 }
11816 {
11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
11818 result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 resultobj = SWIG_From_int(static_cast< int >(result));
11823 {
11824 if (temp4) delete arg4;
11825 }
11826 return resultobj;
11827 fail:
11828 {
11829 if (temp4) delete arg4;
11830 }
11831 return NULL;
11832 }
11833
11834
11835 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11836 PyObject *resultobj = 0;
11837 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11838 int result;
11839 void *argp1 = 0 ;
11840 int res1 = 0 ;
11841 PyObject *swig_obj[1] ;
11842
11843 if (!args) SWIG_fail;
11844 swig_obj[0] = args;
11845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11846 if (!SWIG_IsOK(res1)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11848 }
11849 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 result = (int)(arg1)->GetTotalHeight();
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_From_int(static_cast< int >(result));
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11864 PyObject *obj;
11865 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11866 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11867 return SWIG_Py_Void();
11868 }
11869
11870 SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11871 return SWIG_Python_InitShadowInstance(args);
11872 }
11873
11874 SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11875 PyObject *resultobj = 0;
11876 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11877 wxString *arg1 = (wxString *) &arg1_defvalue ;
11878 wxHtmlPrintout *result = 0 ;
11879 bool temp1 = false ;
11880 PyObject * obj0 = 0 ;
11881 char * kwnames[] = {
11882 (char *) "title", NULL
11883 };
11884
11885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11886 if (obj0) {
11887 {
11888 arg1 = wxString_in_helper(obj0);
11889 if (arg1 == NULL) SWIG_fail;
11890 temp1 = true;
11891 }
11892 }
11893 {
11894 if (!wxPyCheckForApp()) SWIG_fail;
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11901 {
11902 if (temp1)
11903 delete arg1;
11904 }
11905 return resultobj;
11906 fail:
11907 {
11908 if (temp1)
11909 delete arg1;
11910 }
11911 return NULL;
11912 }
11913
11914
11915 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11916 PyObject *resultobj = 0;
11917 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11918 wxString *arg2 = 0 ;
11919 wxString const &arg3_defvalue = wxPyEmptyString ;
11920 wxString *arg3 = (wxString *) &arg3_defvalue ;
11921 bool arg4 = (bool) true ;
11922 void *argp1 = 0 ;
11923 int res1 = 0 ;
11924 bool temp2 = false ;
11925 bool temp3 = false ;
11926 bool val4 ;
11927 int ecode4 = 0 ;
11928 PyObject * obj0 = 0 ;
11929 PyObject * obj1 = 0 ;
11930 PyObject * obj2 = 0 ;
11931 PyObject * obj3 = 0 ;
11932 char * kwnames[] = {
11933 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11934 };
11935
11936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11940 }
11941 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11942 {
11943 arg2 = wxString_in_helper(obj1);
11944 if (arg2 == NULL) SWIG_fail;
11945 temp2 = true;
11946 }
11947 if (obj2) {
11948 {
11949 arg3 = wxString_in_helper(obj2);
11950 if (arg3 == NULL) SWIG_fail;
11951 temp3 = true;
11952 }
11953 }
11954 if (obj3) {
11955 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11956 if (!SWIG_IsOK(ecode4)) {
11957 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11958 }
11959 arg4 = static_cast< bool >(val4);
11960 }
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 resultobj = SWIG_Py_Void();
11968 {
11969 if (temp2)
11970 delete arg2;
11971 }
11972 {
11973 if (temp3)
11974 delete arg3;
11975 }
11976 return resultobj;
11977 fail:
11978 {
11979 if (temp2)
11980 delete arg2;
11981 }
11982 {
11983 if (temp3)
11984 delete arg3;
11985 }
11986 return NULL;
11987 }
11988
11989
11990 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj = 0;
11992 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11993 wxString *arg2 = 0 ;
11994 void *argp1 = 0 ;
11995 int res1 = 0 ;
11996 bool temp2 = false ;
11997 PyObject * obj0 = 0 ;
11998 PyObject * obj1 = 0 ;
11999 char * kwnames[] = {
12000 (char *) "self",(char *) "htmlfile", NULL
12001 };
12002
12003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
12004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12005 if (!SWIG_IsOK(res1)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12007 }
12008 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12009 {
12010 arg2 = wxString_in_helper(obj1);
12011 if (arg2 == NULL) SWIG_fail;
12012 temp2 = true;
12013 }
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 (arg1)->SetHtmlFile((wxString const &)*arg2);
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 resultobj = SWIG_Py_Void();
12021 {
12022 if (temp2)
12023 delete arg2;
12024 }
12025 return resultobj;
12026 fail:
12027 {
12028 if (temp2)
12029 delete arg2;
12030 }
12031 return NULL;
12032 }
12033
12034
12035 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj = 0;
12037 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12038 wxString *arg2 = 0 ;
12039 int arg3 = (int) wxPAGE_ALL ;
12040 void *argp1 = 0 ;
12041 int res1 = 0 ;
12042 bool temp2 = false ;
12043 int val3 ;
12044 int ecode3 = 0 ;
12045 PyObject * obj0 = 0 ;
12046 PyObject * obj1 = 0 ;
12047 PyObject * obj2 = 0 ;
12048 char * kwnames[] = {
12049 (char *) "self",(char *) "header",(char *) "pg", NULL
12050 };
12051
12052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12054 if (!SWIG_IsOK(res1)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12056 }
12057 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12058 {
12059 arg2 = wxString_in_helper(obj1);
12060 if (arg2 == NULL) SWIG_fail;
12061 temp2 = true;
12062 }
12063 if (obj2) {
12064 ecode3 = SWIG_AsVal_int(obj2, &val3);
12065 if (!SWIG_IsOK(ecode3)) {
12066 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12067 }
12068 arg3 = static_cast< int >(val3);
12069 }
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 resultobj = SWIG_Py_Void();
12077 {
12078 if (temp2)
12079 delete arg2;
12080 }
12081 return resultobj;
12082 fail:
12083 {
12084 if (temp2)
12085 delete arg2;
12086 }
12087 return NULL;
12088 }
12089
12090
12091 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj = 0;
12093 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12094 wxString *arg2 = 0 ;
12095 int arg3 = (int) wxPAGE_ALL ;
12096 void *argp1 = 0 ;
12097 int res1 = 0 ;
12098 bool temp2 = false ;
12099 int val3 ;
12100 int ecode3 = 0 ;
12101 PyObject * obj0 = 0 ;
12102 PyObject * obj1 = 0 ;
12103 PyObject * obj2 = 0 ;
12104 char * kwnames[] = {
12105 (char *) "self",(char *) "footer",(char *) "pg", NULL
12106 };
12107
12108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12110 if (!SWIG_IsOK(res1)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12112 }
12113 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12114 {
12115 arg2 = wxString_in_helper(obj1);
12116 if (arg2 == NULL) SWIG_fail;
12117 temp2 = true;
12118 }
12119 if (obj2) {
12120 ecode3 = SWIG_AsVal_int(obj2, &val3);
12121 if (!SWIG_IsOK(ecode3)) {
12122 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12123 }
12124 arg3 = static_cast< int >(val3);
12125 }
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 resultobj = SWIG_Py_Void();
12133 {
12134 if (temp2)
12135 delete arg2;
12136 }
12137 return resultobj;
12138 fail:
12139 {
12140 if (temp2)
12141 delete arg2;
12142 }
12143 return NULL;
12144 }
12145
12146
12147 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12148 PyObject *resultobj = 0;
12149 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12150 wxString arg2 ;
12151 wxString arg3 ;
12152 PyObject *arg4 = (PyObject *) NULL ;
12153 void *argp1 = 0 ;
12154 int res1 = 0 ;
12155 PyObject * obj0 = 0 ;
12156 PyObject * obj1 = 0 ;
12157 PyObject * obj2 = 0 ;
12158 PyObject * obj3 = 0 ;
12159 char * kwnames[] = {
12160 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12161 };
12162
12163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12165 if (!SWIG_IsOK(res1)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12167 }
12168 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12169 {
12170 wxString* sptr = wxString_in_helper(obj1);
12171 if (sptr == NULL) SWIG_fail;
12172 arg2 = *sptr;
12173 delete sptr;
12174 }
12175 {
12176 wxString* sptr = wxString_in_helper(obj2);
12177 if (sptr == NULL) SWIG_fail;
12178 arg3 = *sptr;
12179 delete sptr;
12180 }
12181 if (obj3) {
12182 arg4 = obj3;
12183 }
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 resultobj = SWIG_Py_Void();
12191 return resultobj;
12192 fail:
12193 return NULL;
12194 }
12195
12196
12197 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj = 0;
12199 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12200 int arg2 = (int) -1 ;
12201 wxString const &arg3_defvalue = wxPyEmptyString ;
12202 wxString *arg3 = (wxString *) &arg3_defvalue ;
12203 wxString const &arg4_defvalue = wxPyEmptyString ;
12204 wxString *arg4 = (wxString *) &arg4_defvalue ;
12205 void *argp1 = 0 ;
12206 int res1 = 0 ;
12207 int val2 ;
12208 int ecode2 = 0 ;
12209 bool temp3 = false ;
12210 bool temp4 = false ;
12211 PyObject * obj0 = 0 ;
12212 PyObject * obj1 = 0 ;
12213 PyObject * obj2 = 0 ;
12214 PyObject * obj3 = 0 ;
12215 char * kwnames[] = {
12216 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12217 };
12218
12219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12221 if (!SWIG_IsOK(res1)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12223 }
12224 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12225 if (obj1) {
12226 ecode2 = SWIG_AsVal_int(obj1, &val2);
12227 if (!SWIG_IsOK(ecode2)) {
12228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12229 }
12230 arg2 = static_cast< int >(val2);
12231 }
12232 if (obj2) {
12233 {
12234 arg3 = wxString_in_helper(obj2);
12235 if (arg3 == NULL) SWIG_fail;
12236 temp3 = true;
12237 }
12238 }
12239 if (obj3) {
12240 {
12241 arg4 = wxString_in_helper(obj3);
12242 if (arg4 == NULL) SWIG_fail;
12243 temp4 = true;
12244 }
12245 }
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 resultobj = SWIG_Py_Void();
12253 {
12254 if (temp3)
12255 delete arg3;
12256 }
12257 {
12258 if (temp4)
12259 delete arg4;
12260 }
12261 return resultobj;
12262 fail:
12263 {
12264 if (temp3)
12265 delete arg3;
12266 }
12267 {
12268 if (temp4)
12269 delete arg4;
12270 }
12271 return NULL;
12272 }
12273
12274
12275 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj = 0;
12277 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12278 float arg2 = (float) 25.2 ;
12279 float arg3 = (float) 25.2 ;
12280 float arg4 = (float) 25.2 ;
12281 float arg5 = (float) 25.2 ;
12282 float arg6 = (float) 5 ;
12283 void *argp1 = 0 ;
12284 int res1 = 0 ;
12285 float val2 ;
12286 int ecode2 = 0 ;
12287 float val3 ;
12288 int ecode3 = 0 ;
12289 float val4 ;
12290 int ecode4 = 0 ;
12291 float val5 ;
12292 int ecode5 = 0 ;
12293 float val6 ;
12294 int ecode6 = 0 ;
12295 PyObject * obj0 = 0 ;
12296 PyObject * obj1 = 0 ;
12297 PyObject * obj2 = 0 ;
12298 PyObject * obj3 = 0 ;
12299 PyObject * obj4 = 0 ;
12300 PyObject * obj5 = 0 ;
12301 char * kwnames[] = {
12302 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12303 };
12304
12305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12307 if (!SWIG_IsOK(res1)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12309 }
12310 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12311 if (obj1) {
12312 ecode2 = SWIG_AsVal_float(obj1, &val2);
12313 if (!SWIG_IsOK(ecode2)) {
12314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12315 }
12316 arg2 = static_cast< float >(val2);
12317 }
12318 if (obj2) {
12319 ecode3 = SWIG_AsVal_float(obj2, &val3);
12320 if (!SWIG_IsOK(ecode3)) {
12321 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12322 }
12323 arg3 = static_cast< float >(val3);
12324 }
12325 if (obj3) {
12326 ecode4 = SWIG_AsVal_float(obj3, &val4);
12327 if (!SWIG_IsOK(ecode4)) {
12328 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12329 }
12330 arg4 = static_cast< float >(val4);
12331 }
12332 if (obj4) {
12333 ecode5 = SWIG_AsVal_float(obj4, &val5);
12334 if (!SWIG_IsOK(ecode5)) {
12335 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12336 }
12337 arg5 = static_cast< float >(val5);
12338 }
12339 if (obj5) {
12340 ecode6 = SWIG_AsVal_float(obj5, &val6);
12341 if (!SWIG_IsOK(ecode6)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12343 }
12344 arg6 = static_cast< float >(val6);
12345 }
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12349 wxPyEndAllowThreads(__tstate);
12350 if (PyErr_Occurred()) SWIG_fail;
12351 }
12352 resultobj = SWIG_Py_Void();
12353 return resultobj;
12354 fail:
12355 return NULL;
12356 }
12357
12358
12359 SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj = 0;
12361 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12362 void *argp1 = 0 ;
12363 int res1 = 0 ;
12364 PyObject * obj0 = 0 ;
12365 char * kwnames[] = {
12366 (char *) "filter", NULL
12367 };
12368
12369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12371 if (!SWIG_IsOK(res1)) {
12372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12373 }
12374 arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 wxHtmlPrintout::AddFilter(arg1);
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 resultobj = SWIG_Py_Void();
12382 return resultobj;
12383 fail:
12384 return NULL;
12385 }
12386
12387
12388 SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12389 PyObject *resultobj = 0;
12390
12391 if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 wxHtmlPrintout::CleanUpStatics();
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 resultobj = SWIG_Py_Void();
12399 return resultobj;
12400 fail:
12401 return NULL;
12402 }
12403
12404
12405 SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12406 PyObject *obj;
12407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12408 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12409 return SWIG_Py_Void();
12410 }
12411
12412 SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12413 return SWIG_Python_InitShadowInstance(args);
12414 }
12415
12416 SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj = 0;
12418 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12419 wxString *arg1 = (wxString *) &arg1_defvalue ;
12420 wxWindow *arg2 = (wxWindow *) NULL ;
12421 wxHtmlEasyPrinting *result = 0 ;
12422 bool temp1 = false ;
12423 void *argp2 = 0 ;
12424 int res2 = 0 ;
12425 PyObject * obj0 = 0 ;
12426 PyObject * obj1 = 0 ;
12427 char * kwnames[] = {
12428 (char *) "name",(char *) "parentWindow", NULL
12429 };
12430
12431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12432 if (obj0) {
12433 {
12434 arg1 = wxString_in_helper(obj0);
12435 if (arg1 == NULL) SWIG_fail;
12436 temp1 = true;
12437 }
12438 }
12439 if (obj1) {
12440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12441 if (!SWIG_IsOK(res2)) {
12442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12443 }
12444 arg2 = reinterpret_cast< wxWindow * >(argp2);
12445 }
12446 {
12447 if (!wxPyCheckForApp()) SWIG_fail;
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12454 {
12455 if (temp1)
12456 delete arg1;
12457 }
12458 return resultobj;
12459 fail:
12460 {
12461 if (temp1)
12462 delete arg1;
12463 }
12464 return NULL;
12465 }
12466
12467
12468 SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12469 PyObject *resultobj = 0;
12470 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12471 void *argp1 = 0 ;
12472 int res1 = 0 ;
12473 PyObject *swig_obj[1] ;
12474
12475 if (!args) SWIG_fail;
12476 swig_obj[0] = args;
12477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12478 if (!SWIG_IsOK(res1)) {
12479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12480 }
12481 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 delete arg1;
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 resultobj = SWIG_Py_Void();
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj = 0;
12498 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12499 wxString *arg2 = 0 ;
12500 void *argp1 = 0 ;
12501 int res1 = 0 ;
12502 bool temp2 = false ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char * kwnames[] = {
12506 (char *) "self",(char *) "htmlfile", NULL
12507 };
12508
12509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12511 if (!SWIG_IsOK(res1)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12513 }
12514 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12515 {
12516 arg2 = wxString_in_helper(obj1);
12517 if (arg2 == NULL) SWIG_fail;
12518 temp2 = true;
12519 }
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 (arg1)->PreviewFile((wxString const &)*arg2);
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 resultobj = SWIG_Py_Void();
12527 {
12528 if (temp2)
12529 delete arg2;
12530 }
12531 return resultobj;
12532 fail:
12533 {
12534 if (temp2)
12535 delete arg2;
12536 }
12537 return NULL;
12538 }
12539
12540
12541 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj = 0;
12543 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12544 wxString *arg2 = 0 ;
12545 wxString const &arg3_defvalue = wxPyEmptyString ;
12546 wxString *arg3 = (wxString *) &arg3_defvalue ;
12547 void *argp1 = 0 ;
12548 int res1 = 0 ;
12549 bool temp2 = false ;
12550 bool temp3 = false ;
12551 PyObject * obj0 = 0 ;
12552 PyObject * obj1 = 0 ;
12553 PyObject * obj2 = 0 ;
12554 char * kwnames[] = {
12555 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12556 };
12557
12558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12560 if (!SWIG_IsOK(res1)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12562 }
12563 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12564 {
12565 arg2 = wxString_in_helper(obj1);
12566 if (arg2 == NULL) SWIG_fail;
12567 temp2 = true;
12568 }
12569 if (obj2) {
12570 {
12571 arg3 = wxString_in_helper(obj2);
12572 if (arg3 == NULL) SWIG_fail;
12573 temp3 = true;
12574 }
12575 }
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 resultobj = SWIG_Py_Void();
12583 {
12584 if (temp2)
12585 delete arg2;
12586 }
12587 {
12588 if (temp3)
12589 delete arg3;
12590 }
12591 return resultobj;
12592 fail:
12593 {
12594 if (temp2)
12595 delete arg2;
12596 }
12597 {
12598 if (temp3)
12599 delete arg3;
12600 }
12601 return NULL;
12602 }
12603
12604
12605 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12606 PyObject *resultobj = 0;
12607 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12608 wxString *arg2 = 0 ;
12609 void *argp1 = 0 ;
12610 int res1 = 0 ;
12611 bool temp2 = false ;
12612 PyObject * obj0 = 0 ;
12613 PyObject * obj1 = 0 ;
12614 char * kwnames[] = {
12615 (char *) "self",(char *) "htmlfile", NULL
12616 };
12617
12618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12620 if (!SWIG_IsOK(res1)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12622 }
12623 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12624 {
12625 arg2 = wxString_in_helper(obj1);
12626 if (arg2 == NULL) SWIG_fail;
12627 temp2 = true;
12628 }
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 (arg1)->PrintFile((wxString const &)*arg2);
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 resultobj = SWIG_Py_Void();
12636 {
12637 if (temp2)
12638 delete arg2;
12639 }
12640 return resultobj;
12641 fail:
12642 {
12643 if (temp2)
12644 delete arg2;
12645 }
12646 return NULL;
12647 }
12648
12649
12650 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj = 0;
12652 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12653 wxString *arg2 = 0 ;
12654 wxString const &arg3_defvalue = wxPyEmptyString ;
12655 wxString *arg3 = (wxString *) &arg3_defvalue ;
12656 void *argp1 = 0 ;
12657 int res1 = 0 ;
12658 bool temp2 = false ;
12659 bool temp3 = false ;
12660 PyObject * obj0 = 0 ;
12661 PyObject * obj1 = 0 ;
12662 PyObject * obj2 = 0 ;
12663 char * kwnames[] = {
12664 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12665 };
12666
12667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12669 if (!SWIG_IsOK(res1)) {
12670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12671 }
12672 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12673 {
12674 arg2 = wxString_in_helper(obj1);
12675 if (arg2 == NULL) SWIG_fail;
12676 temp2 = true;
12677 }
12678 if (obj2) {
12679 {
12680 arg3 = wxString_in_helper(obj2);
12681 if (arg3 == NULL) SWIG_fail;
12682 temp3 = true;
12683 }
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 resultobj = SWIG_Py_Void();
12692 {
12693 if (temp2)
12694 delete arg2;
12695 }
12696 {
12697 if (temp3)
12698 delete arg3;
12699 }
12700 return resultobj;
12701 fail:
12702 {
12703 if (temp2)
12704 delete arg2;
12705 }
12706 {
12707 if (temp3)
12708 delete arg3;
12709 }
12710 return NULL;
12711 }
12712
12713
12714 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12715 PyObject *resultobj = 0;
12716 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12717 void *argp1 = 0 ;
12718 int res1 = 0 ;
12719 PyObject *swig_obj[1] ;
12720
12721 if (!args) SWIG_fail;
12722 swig_obj[0] = args;
12723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12724 if (!SWIG_IsOK(res1)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12726 }
12727 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12728 {
12729 PyThreadState* __tstate = wxPyBeginAllowThreads();
12730 (arg1)->PageSetup();
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 resultobj = SWIG_Py_Void();
12735 return resultobj;
12736 fail:
12737 return NULL;
12738 }
12739
12740
12741 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj = 0;
12743 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12744 wxString *arg2 = 0 ;
12745 int arg3 = (int) wxPAGE_ALL ;
12746 void *argp1 = 0 ;
12747 int res1 = 0 ;
12748 bool temp2 = false ;
12749 int val3 ;
12750 int ecode3 = 0 ;
12751 PyObject * obj0 = 0 ;
12752 PyObject * obj1 = 0 ;
12753 PyObject * obj2 = 0 ;
12754 char * kwnames[] = {
12755 (char *) "self",(char *) "header",(char *) "pg", NULL
12756 };
12757
12758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12760 if (!SWIG_IsOK(res1)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12762 }
12763 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12764 {
12765 arg2 = wxString_in_helper(obj1);
12766 if (arg2 == NULL) SWIG_fail;
12767 temp2 = true;
12768 }
12769 if (obj2) {
12770 ecode3 = SWIG_AsVal_int(obj2, &val3);
12771 if (!SWIG_IsOK(ecode3)) {
12772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12773 }
12774 arg3 = static_cast< int >(val3);
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 resultobj = SWIG_Py_Void();
12783 {
12784 if (temp2)
12785 delete arg2;
12786 }
12787 return resultobj;
12788 fail:
12789 {
12790 if (temp2)
12791 delete arg2;
12792 }
12793 return NULL;
12794 }
12795
12796
12797 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12798 PyObject *resultobj = 0;
12799 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12800 wxString *arg2 = 0 ;
12801 int arg3 = (int) wxPAGE_ALL ;
12802 void *argp1 = 0 ;
12803 int res1 = 0 ;
12804 bool temp2 = false ;
12805 int val3 ;
12806 int ecode3 = 0 ;
12807 PyObject * obj0 = 0 ;
12808 PyObject * obj1 = 0 ;
12809 PyObject * obj2 = 0 ;
12810 char * kwnames[] = {
12811 (char *) "self",(char *) "footer",(char *) "pg", NULL
12812 };
12813
12814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12816 if (!SWIG_IsOK(res1)) {
12817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12818 }
12819 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12820 {
12821 arg2 = wxString_in_helper(obj1);
12822 if (arg2 == NULL) SWIG_fail;
12823 temp2 = true;
12824 }
12825 if (obj2) {
12826 ecode3 = SWIG_AsVal_int(obj2, &val3);
12827 if (!SWIG_IsOK(ecode3)) {
12828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12829 }
12830 arg3 = static_cast< int >(val3);
12831 }
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
12838 resultobj = SWIG_Py_Void();
12839 {
12840 if (temp2)
12841 delete arg2;
12842 }
12843 return resultobj;
12844 fail:
12845 {
12846 if (temp2)
12847 delete arg2;
12848 }
12849 return NULL;
12850 }
12851
12852
12853 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj = 0;
12855 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12856 wxString arg2 ;
12857 wxString arg3 ;
12858 PyObject *arg4 = (PyObject *) NULL ;
12859 void *argp1 = 0 ;
12860 int res1 = 0 ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 PyObject * obj2 = 0 ;
12864 PyObject * obj3 = 0 ;
12865 char * kwnames[] = {
12866 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12867 };
12868
12869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12871 if (!SWIG_IsOK(res1)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12873 }
12874 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12875 {
12876 wxString* sptr = wxString_in_helper(obj1);
12877 if (sptr == NULL) SWIG_fail;
12878 arg2 = *sptr;
12879 delete sptr;
12880 }
12881 {
12882 wxString* sptr = wxString_in_helper(obj2);
12883 if (sptr == NULL) SWIG_fail;
12884 arg3 = *sptr;
12885 delete sptr;
12886 }
12887 if (obj3) {
12888 arg4 = obj3;
12889 }
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 resultobj = SWIG_Py_Void();
12897 return resultobj;
12898 fail:
12899 return NULL;
12900 }
12901
12902
12903 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj = 0;
12905 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12906 int arg2 = (int) -1 ;
12907 wxString const &arg3_defvalue = wxPyEmptyString ;
12908 wxString *arg3 = (wxString *) &arg3_defvalue ;
12909 wxString const &arg4_defvalue = wxPyEmptyString ;
12910 wxString *arg4 = (wxString *) &arg4_defvalue ;
12911 void *argp1 = 0 ;
12912 int res1 = 0 ;
12913 int val2 ;
12914 int ecode2 = 0 ;
12915 bool temp3 = false ;
12916 bool temp4 = false ;
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 PyObject * obj2 = 0 ;
12920 PyObject * obj3 = 0 ;
12921 char * kwnames[] = {
12922 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12923 };
12924
12925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12927 if (!SWIG_IsOK(res1)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12929 }
12930 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12931 if (obj1) {
12932 ecode2 = SWIG_AsVal_int(obj1, &val2);
12933 if (!SWIG_IsOK(ecode2)) {
12934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12935 }
12936 arg2 = static_cast< int >(val2);
12937 }
12938 if (obj2) {
12939 {
12940 arg3 = wxString_in_helper(obj2);
12941 if (arg3 == NULL) SWIG_fail;
12942 temp3 = true;
12943 }
12944 }
12945 if (obj3) {
12946 {
12947 arg4 = wxString_in_helper(obj3);
12948 if (arg4 == NULL) SWIG_fail;
12949 temp4 = true;
12950 }
12951 }
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 resultobj = SWIG_Py_Void();
12959 {
12960 if (temp3)
12961 delete arg3;
12962 }
12963 {
12964 if (temp4)
12965 delete arg4;
12966 }
12967 return resultobj;
12968 fail:
12969 {
12970 if (temp3)
12971 delete arg3;
12972 }
12973 {
12974 if (temp4)
12975 delete arg4;
12976 }
12977 return NULL;
12978 }
12979
12980
12981 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12982 PyObject *resultobj = 0;
12983 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12984 wxPrintData *result = 0 ;
12985 void *argp1 = 0 ;
12986 int res1 = 0 ;
12987 PyObject *swig_obj[1] ;
12988
12989 if (!args) SWIG_fail;
12990 swig_obj[0] = args;
12991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12992 if (!SWIG_IsOK(res1)) {
12993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12994 }
12995 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (wxPrintData *)(arg1)->GetPrintData();
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
13003 return resultobj;
13004 fail:
13005 return NULL;
13006 }
13007
13008
13009 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13010 PyObject *resultobj = 0;
13011 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13012 wxPageSetupDialogData *result = 0 ;
13013 void *argp1 = 0 ;
13014 int res1 = 0 ;
13015 PyObject *swig_obj[1] ;
13016
13017 if (!args) SWIG_fail;
13018 swig_obj[0] = args;
13019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13020 if (!SWIG_IsOK(res1)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13022 }
13023 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13038 PyObject *obj;
13039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13040 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
13041 return SWIG_Py_Void();
13042 }
13043
13044 SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13045 return SWIG_Python_InitShadowInstance(args);
13046 }
13047
13048 SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj = 0;
13050 wxString *arg1 = 0 ;
13051 wxString *arg2 = 0 ;
13052 wxString *arg3 = 0 ;
13053 wxString *arg4 = 0 ;
13054 wxHtmlBookRecord *result = 0 ;
13055 bool temp1 = false ;
13056 bool temp2 = false ;
13057 bool temp3 = false ;
13058 bool temp4 = false ;
13059 PyObject * obj0 = 0 ;
13060 PyObject * obj1 = 0 ;
13061 PyObject * obj2 = 0 ;
13062 PyObject * obj3 = 0 ;
13063 char * kwnames[] = {
13064 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13065 };
13066
13067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13068 {
13069 arg1 = wxString_in_helper(obj0);
13070 if (arg1 == NULL) SWIG_fail;
13071 temp1 = true;
13072 }
13073 {
13074 arg2 = wxString_in_helper(obj1);
13075 if (arg2 == NULL) SWIG_fail;
13076 temp2 = true;
13077 }
13078 {
13079 arg3 = wxString_in_helper(obj2);
13080 if (arg3 == NULL) SWIG_fail;
13081 temp3 = true;
13082 }
13083 {
13084 arg4 = wxString_in_helper(obj3);
13085 if (arg4 == NULL) SWIG_fail;
13086 temp4 = true;
13087 }
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13095 {
13096 if (temp1)
13097 delete arg1;
13098 }
13099 {
13100 if (temp2)
13101 delete arg2;
13102 }
13103 {
13104 if (temp3)
13105 delete arg3;
13106 }
13107 {
13108 if (temp4)
13109 delete arg4;
13110 }
13111 return resultobj;
13112 fail:
13113 {
13114 if (temp1)
13115 delete arg1;
13116 }
13117 {
13118 if (temp2)
13119 delete arg2;
13120 }
13121 {
13122 if (temp3)
13123 delete arg3;
13124 }
13125 {
13126 if (temp4)
13127 delete arg4;
13128 }
13129 return NULL;
13130 }
13131
13132
13133 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13134 PyObject *resultobj = 0;
13135 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13136 wxString result;
13137 void *argp1 = 0 ;
13138 int res1 = 0 ;
13139 PyObject *swig_obj[1] ;
13140
13141 if (!args) SWIG_fail;
13142 swig_obj[0] = args;
13143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13144 if (!SWIG_IsOK(res1)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13146 }
13147 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 result = (arg1)->GetBookFile();
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 {
13155 #if wxUSE_UNICODE
13156 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13157 #else
13158 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13159 #endif
13160 }
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13168 PyObject *resultobj = 0;
13169 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13170 wxString result;
13171 void *argp1 = 0 ;
13172 int res1 = 0 ;
13173 PyObject *swig_obj[1] ;
13174
13175 if (!args) SWIG_fail;
13176 swig_obj[0] = args;
13177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13178 if (!SWIG_IsOK(res1)) {
13179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13180 }
13181 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 result = (arg1)->GetTitle();
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 {
13189 #if wxUSE_UNICODE
13190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13191 #else
13192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13193 #endif
13194 }
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13202 PyObject *resultobj = 0;
13203 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13204 wxString result;
13205 void *argp1 = 0 ;
13206 int res1 = 0 ;
13207 PyObject *swig_obj[1] ;
13208
13209 if (!args) SWIG_fail;
13210 swig_obj[0] = args;
13211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13212 if (!SWIG_IsOK(res1)) {
13213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13214 }
13215 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (arg1)->GetStart();
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 {
13223 #if wxUSE_UNICODE
13224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13225 #else
13226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13227 #endif
13228 }
13229 return resultobj;
13230 fail:
13231 return NULL;
13232 }
13233
13234
13235 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13236 PyObject *resultobj = 0;
13237 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13238 wxString result;
13239 void *argp1 = 0 ;
13240 int res1 = 0 ;
13241 PyObject *swig_obj[1] ;
13242
13243 if (!args) SWIG_fail;
13244 swig_obj[0] = args;
13245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13246 if (!SWIG_IsOK(res1)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13248 }
13249 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 result = (arg1)->GetBasePath();
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 {
13257 #if wxUSE_UNICODE
13258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13259 #else
13260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13261 #endif
13262 }
13263 return resultobj;
13264 fail:
13265 return NULL;
13266 }
13267
13268
13269 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13270 PyObject *resultobj = 0;
13271 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13272 int arg2 ;
13273 int arg3 ;
13274 void *argp1 = 0 ;
13275 int res1 = 0 ;
13276 int val2 ;
13277 int ecode2 = 0 ;
13278 int val3 ;
13279 int ecode3 = 0 ;
13280 PyObject * obj0 = 0 ;
13281 PyObject * obj1 = 0 ;
13282 PyObject * obj2 = 0 ;
13283 char * kwnames[] = {
13284 (char *) "self",(char *) "start",(char *) "end", NULL
13285 };
13286
13287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13289 if (!SWIG_IsOK(res1)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13291 }
13292 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13293 ecode2 = SWIG_AsVal_int(obj1, &val2);
13294 if (!SWIG_IsOK(ecode2)) {
13295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13296 }
13297 arg2 = static_cast< int >(val2);
13298 ecode3 = SWIG_AsVal_int(obj2, &val3);
13299 if (!SWIG_IsOK(ecode3)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13301 }
13302 arg3 = static_cast< int >(val3);
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 (arg1)->SetContentsRange(arg2,arg3);
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 resultobj = SWIG_Py_Void();
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13317 PyObject *resultobj = 0;
13318 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13319 int result;
13320 void *argp1 = 0 ;
13321 int res1 = 0 ;
13322 PyObject *swig_obj[1] ;
13323
13324 if (!args) SWIG_fail;
13325 swig_obj[0] = args;
13326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13327 if (!SWIG_IsOK(res1)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13329 }
13330 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 result = (int)(arg1)->GetContentsStart();
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 resultobj = SWIG_From_int(static_cast< int >(result));
13338 return resultobj;
13339 fail:
13340 return NULL;
13341 }
13342
13343
13344 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13345 PyObject *resultobj = 0;
13346 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13347 int result;
13348 void *argp1 = 0 ;
13349 int res1 = 0 ;
13350 PyObject *swig_obj[1] ;
13351
13352 if (!args) SWIG_fail;
13353 swig_obj[0] = args;
13354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13355 if (!SWIG_IsOK(res1)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13357 }
13358 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 result = (int)(arg1)->GetContentsEnd();
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 resultobj = SWIG_From_int(static_cast< int >(result));
13366 return resultobj;
13367 fail:
13368 return NULL;
13369 }
13370
13371
13372 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13373 PyObject *resultobj = 0;
13374 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13375 wxString *arg2 = 0 ;
13376 void *argp1 = 0 ;
13377 int res1 = 0 ;
13378 bool temp2 = false ;
13379 PyObject * obj0 = 0 ;
13380 PyObject * obj1 = 0 ;
13381 char * kwnames[] = {
13382 (char *) "self",(char *) "title", NULL
13383 };
13384
13385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13387 if (!SWIG_IsOK(res1)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13389 }
13390 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13391 {
13392 arg2 = wxString_in_helper(obj1);
13393 if (arg2 == NULL) SWIG_fail;
13394 temp2 = true;
13395 }
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 (arg1)->SetTitle((wxString const &)*arg2);
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 resultobj = SWIG_Py_Void();
13403 {
13404 if (temp2)
13405 delete arg2;
13406 }
13407 return resultobj;
13408 fail:
13409 {
13410 if (temp2)
13411 delete arg2;
13412 }
13413 return NULL;
13414 }
13415
13416
13417 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj = 0;
13419 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13420 wxString *arg2 = 0 ;
13421 void *argp1 = 0 ;
13422 int res1 = 0 ;
13423 bool temp2 = false ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 char * kwnames[] = {
13427 (char *) "self",(char *) "path", NULL
13428 };
13429
13430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13432 if (!SWIG_IsOK(res1)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13434 }
13435 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13436 {
13437 arg2 = wxString_in_helper(obj1);
13438 if (arg2 == NULL) SWIG_fail;
13439 temp2 = true;
13440 }
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 (arg1)->SetBasePath((wxString const &)*arg2);
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_Py_Void();
13448 {
13449 if (temp2)
13450 delete arg2;
13451 }
13452 return resultobj;
13453 fail:
13454 {
13455 if (temp2)
13456 delete arg2;
13457 }
13458 return NULL;
13459 }
13460
13461
13462 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13463 PyObject *resultobj = 0;
13464 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13465 wxString *arg2 = 0 ;
13466 void *argp1 = 0 ;
13467 int res1 = 0 ;
13468 bool temp2 = false ;
13469 PyObject * obj0 = 0 ;
13470 PyObject * obj1 = 0 ;
13471 char * kwnames[] = {
13472 (char *) "self",(char *) "start", NULL
13473 };
13474
13475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
13476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13477 if (!SWIG_IsOK(res1)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13479 }
13480 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13481 {
13482 arg2 = wxString_in_helper(obj1);
13483 if (arg2 == NULL) SWIG_fail;
13484 temp2 = true;
13485 }
13486 {
13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
13488 (arg1)->SetStart((wxString const &)*arg2);
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
13492 resultobj = SWIG_Py_Void();
13493 {
13494 if (temp2)
13495 delete arg2;
13496 }
13497 return resultobj;
13498 fail:
13499 {
13500 if (temp2)
13501 delete arg2;
13502 }
13503 return NULL;
13504 }
13505
13506
13507 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj = 0;
13509 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13510 wxString *arg2 = 0 ;
13511 wxString result;
13512 void *argp1 = 0 ;
13513 int res1 = 0 ;
13514 bool temp2 = false ;
13515 PyObject * obj0 = 0 ;
13516 PyObject * obj1 = 0 ;
13517 char * kwnames[] = {
13518 (char *) "self",(char *) "page", NULL
13519 };
13520
13521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13523 if (!SWIG_IsOK(res1)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13525 }
13526 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13527 {
13528 arg2 = wxString_in_helper(obj1);
13529 if (arg2 == NULL) SWIG_fail;
13530 temp2 = true;
13531 }
13532 {
13533 PyThreadState* __tstate = wxPyBeginAllowThreads();
13534 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 {
13539 #if wxUSE_UNICODE
13540 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13541 #else
13542 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13543 #endif
13544 }
13545 {
13546 if (temp2)
13547 delete arg2;
13548 }
13549 return resultobj;
13550 fail:
13551 {
13552 if (temp2)
13553 delete arg2;
13554 }
13555 return NULL;
13556 }
13557
13558
13559 SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13560 PyObject *obj;
13561 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13562 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13563 return SWIG_Py_Void();
13564 }
13565
13566 SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13567 return SWIG_Python_InitShadowInstance(args);
13568 }
13569
13570 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13571 PyObject *resultobj = 0;
13572 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13573 bool result;
13574 void *argp1 = 0 ;
13575 int res1 = 0 ;
13576 PyObject *swig_obj[1] ;
13577
13578 if (!args) SWIG_fail;
13579 swig_obj[0] = args;
13580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13581 if (!SWIG_IsOK(res1)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13583 }
13584 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 result = (bool)(arg1)->Search();
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 {
13592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13593 }
13594 return resultobj;
13595 fail:
13596 return NULL;
13597 }
13598
13599
13600 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13601 PyObject *resultobj = 0;
13602 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13603 bool result;
13604 void *argp1 = 0 ;
13605 int res1 = 0 ;
13606 PyObject *swig_obj[1] ;
13607
13608 if (!args) SWIG_fail;
13609 swig_obj[0] = args;
13610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13611 if (!SWIG_IsOK(res1)) {
13612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13613 }
13614 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 result = (bool)(arg1)->IsActive();
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 {
13622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13623 }
13624 return resultobj;
13625 fail:
13626 return NULL;
13627 }
13628
13629
13630 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13631 PyObject *resultobj = 0;
13632 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13633 int result;
13634 void *argp1 = 0 ;
13635 int res1 = 0 ;
13636 PyObject *swig_obj[1] ;
13637
13638 if (!args) SWIG_fail;
13639 swig_obj[0] = args;
13640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13641 if (!SWIG_IsOK(res1)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13643 }
13644 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (int)(arg1)->GetCurIndex();
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 resultobj = SWIG_From_int(static_cast< int >(result));
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13659 PyObject *resultobj = 0;
13660 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13661 int result;
13662 void *argp1 = 0 ;
13663 int res1 = 0 ;
13664 PyObject *swig_obj[1] ;
13665
13666 if (!args) SWIG_fail;
13667 swig_obj[0] = args;
13668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13669 if (!SWIG_IsOK(res1)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13671 }
13672 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = (int)(arg1)->GetMaxIndex();
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_From_int(static_cast< int >(result));
13680 return resultobj;
13681 fail:
13682 return NULL;
13683 }
13684
13685
13686 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13687 PyObject *resultobj = 0;
13688 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13689 wxString *result = 0 ;
13690 void *argp1 = 0 ;
13691 int res1 = 0 ;
13692 PyObject *swig_obj[1] ;
13693
13694 if (!args) SWIG_fail;
13695 swig_obj[0] = args;
13696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13697 if (!SWIG_IsOK(res1)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13699 }
13700 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13701 {
13702 PyThreadState* __tstate = wxPyBeginAllowThreads();
13703 {
13704 wxString const &_result_ref = (arg1)->GetName();
13705 result = (wxString *) &_result_ref;
13706 }
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 #if wxUSE_UNICODE
13712 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13713 #else
13714 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13715 #endif
13716 }
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13724 PyObject *obj;
13725 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13726 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13727 return SWIG_Py_Void();
13728 }
13729
13730 SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13731 PyObject *resultobj = 0;
13732 wxHtmlHelpData *result = 0 ;
13733
13734 if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 result = (wxHtmlHelpData *)new wxHtmlHelpData();
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13749 PyObject *resultobj = 0;
13750 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13751 void *argp1 = 0 ;
13752 int res1 = 0 ;
13753 PyObject *swig_obj[1] ;
13754
13755 if (!args) SWIG_fail;
13756 swig_obj[0] = args;
13757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13758 if (!SWIG_IsOK(res1)) {
13759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13760 }
13761 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13762 {
13763 PyThreadState* __tstate = wxPyBeginAllowThreads();
13764 delete arg1;
13765
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 resultobj = SWIG_Py_Void();
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj = 0;
13778 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13779 wxString *arg2 = 0 ;
13780 void *argp1 = 0 ;
13781 int res1 = 0 ;
13782 bool temp2 = false ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 char * kwnames[] = {
13786 (char *) "self",(char *) "path", NULL
13787 };
13788
13789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13791 if (!SWIG_IsOK(res1)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13793 }
13794 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13795 {
13796 arg2 = wxString_in_helper(obj1);
13797 if (arg2 == NULL) SWIG_fail;
13798 temp2 = true;
13799 }
13800 {
13801 PyThreadState* __tstate = wxPyBeginAllowThreads();
13802 (arg1)->SetTempDir((wxString const &)*arg2);
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 resultobj = SWIG_Py_Void();
13807 {
13808 if (temp2)
13809 delete arg2;
13810 }
13811 return resultobj;
13812 fail:
13813 {
13814 if (temp2)
13815 delete arg2;
13816 }
13817 return NULL;
13818 }
13819
13820
13821 SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj = 0;
13823 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13824 wxString *arg2 = 0 ;
13825 bool result;
13826 void *argp1 = 0 ;
13827 int res1 = 0 ;
13828 bool temp2 = false ;
13829 PyObject * obj0 = 0 ;
13830 PyObject * obj1 = 0 ;
13831 char * kwnames[] = {
13832 (char *) "self",(char *) "book", NULL
13833 };
13834
13835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13837 if (!SWIG_IsOK(res1)) {
13838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13839 }
13840 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13841 {
13842 arg2 = wxString_in_helper(obj1);
13843 if (arg2 == NULL) SWIG_fail;
13844 temp2 = true;
13845 }
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 {
13853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13854 }
13855 {
13856 if (temp2)
13857 delete arg2;
13858 }
13859 return resultobj;
13860 fail:
13861 {
13862 if (temp2)
13863 delete arg2;
13864 }
13865 return NULL;
13866 }
13867
13868
13869 SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj = 0;
13871 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13872 wxString *arg2 = 0 ;
13873 wxString result;
13874 void *argp1 = 0 ;
13875 int res1 = 0 ;
13876 bool temp2 = false ;
13877 PyObject * obj0 = 0 ;
13878 PyObject * obj1 = 0 ;
13879 char * kwnames[] = {
13880 (char *) "self",(char *) "page", NULL
13881 };
13882
13883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
13884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13885 if (!SWIG_IsOK(res1)) {
13886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13887 }
13888 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13889 {
13890 arg2 = wxString_in_helper(obj1);
13891 if (arg2 == NULL) SWIG_fail;
13892 temp2 = true;
13893 }
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = (arg1)->FindPageByName((wxString const &)*arg2);
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 #if wxUSE_UNICODE
13902 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13903 #else
13904 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13905 #endif
13906 }
13907 {
13908 if (temp2)
13909 delete arg2;
13910 }
13911 return resultobj;
13912 fail:
13913 {
13914 if (temp2)
13915 delete arg2;
13916 }
13917 return NULL;
13918 }
13919
13920
13921 SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj = 0;
13923 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13924 int arg2 ;
13925 wxString result;
13926 void *argp1 = 0 ;
13927 int res1 = 0 ;
13928 int val2 ;
13929 int ecode2 = 0 ;
13930 PyObject * obj0 = 0 ;
13931 PyObject * obj1 = 0 ;
13932 char * kwnames[] = {
13933 (char *) "self",(char *) "id", NULL
13934 };
13935
13936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
13937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13938 if (!SWIG_IsOK(res1)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13940 }
13941 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13942 ecode2 = SWIG_AsVal_int(obj1, &val2);
13943 if (!SWIG_IsOK(ecode2)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13945 }
13946 arg2 = static_cast< int >(val2);
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (arg1)->FindPageById(arg2);
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 {
13954 #if wxUSE_UNICODE
13955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13956 #else
13957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13958 #endif
13959 }
13960 return resultobj;
13961 fail:
13962 return NULL;
13963 }
13964
13965
13966 SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13967 PyObject *resultobj = 0;
13968 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13969 wxHtmlBookRecArray *result = 0 ;
13970 void *argp1 = 0 ;
13971 int res1 = 0 ;
13972 PyObject *swig_obj[1] ;
13973
13974 if (!args) SWIG_fail;
13975 swig_obj[0] = args;
13976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13977 if (!SWIG_IsOK(res1)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13979 }
13980 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 {
13984 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
13985 result = (wxHtmlBookRecArray *) &_result_ref;
13986 }
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
13991 return resultobj;
13992 fail:
13993 return NULL;
13994 }
13995
13996
13997 SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13998 PyObject *obj;
13999 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14000 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
14001 return SWIG_Py_Void();
14002 }
14003
14004 SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14005 return SWIG_Python_InitShadowInstance(args);
14006 }
14007
14008 SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14009 PyObject *resultobj = 0;
14010 wxWindow *arg1 = (wxWindow *) 0 ;
14011 int arg2 ;
14012 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14013 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14014 wxSize const &arg4_defvalue = wxDefaultSize ;
14015 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14016 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14017 int arg6 = (int) wxHF_DEFAULT_STYLE ;
14018 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
14019 wxHtmlHelpWindow *result = 0 ;
14020 void *argp1 = 0 ;
14021 int res1 = 0 ;
14022 int val2 ;
14023 int ecode2 = 0 ;
14024 wxPoint temp3 ;
14025 wxSize temp4 ;
14026 int val5 ;
14027 int ecode5 = 0 ;
14028 int val6 ;
14029 int ecode6 = 0 ;
14030 void *argp7 = 0 ;
14031 int res7 = 0 ;
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 PyObject * obj2 = 0 ;
14035 PyObject * obj3 = 0 ;
14036 PyObject * obj4 = 0 ;
14037 PyObject * obj5 = 0 ;
14038 PyObject * obj6 = 0 ;
14039 char * kwnames[] = {
14040 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14041 };
14042
14043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14045 if (!SWIG_IsOK(res1)) {
14046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14047 }
14048 arg1 = reinterpret_cast< wxWindow * >(argp1);
14049 ecode2 = SWIG_AsVal_int(obj1, &val2);
14050 if (!SWIG_IsOK(ecode2)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14052 }
14053 arg2 = static_cast< int >(val2);
14054 if (obj2) {
14055 {
14056 arg3 = &temp3;
14057 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14058 }
14059 }
14060 if (obj3) {
14061 {
14062 arg4 = &temp4;
14063 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14064 }
14065 }
14066 if (obj4) {
14067 ecode5 = SWIG_AsVal_int(obj4, &val5);
14068 if (!SWIG_IsOK(ecode5)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14070 }
14071 arg5 = static_cast< int >(val5);
14072 }
14073 if (obj5) {
14074 ecode6 = SWIG_AsVal_int(obj5, &val6);
14075 if (!SWIG_IsOK(ecode6)) {
14076 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14077 }
14078 arg6 = static_cast< int >(val6);
14079 }
14080 if (obj6) {
14081 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14082 if (!SWIG_IsOK(res7)) {
14083 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14084 }
14085 arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14086 }
14087 {
14088 if (!wxPyCheckForApp()) SWIG_fail;
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14095 return resultobj;
14096 fail:
14097 return NULL;
14098 }
14099
14100
14101 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14102 PyObject *resultobj = 0;
14103 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14104 wxHtmlHelpWindow *result = 0 ;
14105 void *argp1 = 0 ;
14106 int res1 = 0 ;
14107 PyObject * obj0 = 0 ;
14108 char * kwnames[] = {
14109 (char *) "data", NULL
14110 };
14111
14112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14113 if (obj0) {
14114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14115 if (!SWIG_IsOK(res1)) {
14116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14117 }
14118 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14119 }
14120 {
14121 if (!wxPyCheckForApp()) SWIG_fail;
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj = 0;
14136 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14137 wxWindow *arg2 = (wxWindow *) 0 ;
14138 int arg3 ;
14139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14141 wxSize const &arg5_defvalue = wxDefaultSize ;
14142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14143 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14144 int arg7 = (int) wxHF_DEFAULT_STYLE ;
14145 bool result;
14146 void *argp1 = 0 ;
14147 int res1 = 0 ;
14148 void *argp2 = 0 ;
14149 int res2 = 0 ;
14150 int val3 ;
14151 int ecode3 = 0 ;
14152 wxPoint temp4 ;
14153 wxSize temp5 ;
14154 int val6 ;
14155 int ecode6 = 0 ;
14156 int val7 ;
14157 int ecode7 = 0 ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 PyObject * obj2 = 0 ;
14161 PyObject * obj3 = 0 ;
14162 PyObject * obj4 = 0 ;
14163 PyObject * obj5 = 0 ;
14164 PyObject * obj6 = 0 ;
14165 char * kwnames[] = {
14166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14167 };
14168
14169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14171 if (!SWIG_IsOK(res1)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14173 }
14174 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14175 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14176 if (!SWIG_IsOK(res2)) {
14177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14178 }
14179 arg2 = reinterpret_cast< wxWindow * >(argp2);
14180 ecode3 = SWIG_AsVal_int(obj2, &val3);
14181 if (!SWIG_IsOK(ecode3)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14183 }
14184 arg3 = static_cast< int >(val3);
14185 if (obj3) {
14186 {
14187 arg4 = &temp4;
14188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14189 }
14190 }
14191 if (obj4) {
14192 {
14193 arg5 = &temp5;
14194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14195 }
14196 }
14197 if (obj5) {
14198 ecode6 = SWIG_AsVal_int(obj5, &val6);
14199 if (!SWIG_IsOK(ecode6)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14201 }
14202 arg6 = static_cast< int >(val6);
14203 }
14204 if (obj6) {
14205 ecode7 = SWIG_AsVal_int(obj6, &val7);
14206 if (!SWIG_IsOK(ecode7)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14208 }
14209 arg7 = static_cast< int >(val7);
14210 }
14211 {
14212 PyThreadState* __tstate = wxPyBeginAllowThreads();
14213 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 {
14218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14219 }
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14227 PyObject *resultobj = 0;
14228 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14229 wxHtmlHelpData *result = 0 ;
14230 void *argp1 = 0 ;
14231 int res1 = 0 ;
14232 PyObject *swig_obj[1] ;
14233
14234 if (!args) SWIG_fail;
14235 swig_obj[0] = args;
14236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14237 if (!SWIG_IsOK(res1)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14239 }
14240 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 result = (wxHtmlHelpData *)(arg1)->GetData();
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14248 return resultobj;
14249 fail:
14250 return NULL;
14251 }
14252
14253
14254 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14255 PyObject *resultobj = 0;
14256 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14257 wxHtmlHelpController *result = 0 ;
14258 void *argp1 = 0 ;
14259 int res1 = 0 ;
14260 PyObject *swig_obj[1] ;
14261
14262 if (!args) SWIG_fail;
14263 swig_obj[0] = args;
14264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14265 if (!SWIG_IsOK(res1)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14267 }
14268 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14276 return resultobj;
14277 fail:
14278 return NULL;
14279 }
14280
14281
14282 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj = 0;
14284 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14285 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14286 void *argp1 = 0 ;
14287 int res1 = 0 ;
14288 int res2 = 0 ;
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 char * kwnames[] = {
14292 (char *) "self",(char *) "controller", NULL
14293 };
14294
14295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14297 if (!SWIG_IsOK(res1)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14299 }
14300 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14301 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14302 if (!SWIG_IsOK(res2)) {
14303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->SetController(arg2);
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 resultobj = SWIG_Py_Void();
14312 return resultobj;
14313 fail:
14314 return NULL;
14315 }
14316
14317
14318 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj = 0;
14320 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14321 wxString *arg2 = 0 ;
14322 bool result;
14323 void *argp1 = 0 ;
14324 int res1 = 0 ;
14325 bool temp2 = false ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char * kwnames[] = {
14329 (char *) "self",(char *) "x", NULL
14330 };
14331
14332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14334 if (!SWIG_IsOK(res1)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14336 }
14337 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14338 {
14339 arg2 = wxString_in_helper(obj1);
14340 if (arg2 == NULL) SWIG_fail;
14341 temp2 = true;
14342 }
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 result = (bool)(arg1)->Display((wxString const &)*arg2);
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 {
14350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14351 }
14352 {
14353 if (temp2)
14354 delete arg2;
14355 }
14356 return resultobj;
14357 fail:
14358 {
14359 if (temp2)
14360 delete arg2;
14361 }
14362 return NULL;
14363 }
14364
14365
14366 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj = 0;
14368 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14369 int arg2 ;
14370 bool result;
14371 void *argp1 = 0 ;
14372 int res1 = 0 ;
14373 int val2 ;
14374 int ecode2 = 0 ;
14375 PyObject * obj0 = 0 ;
14376 PyObject * obj1 = 0 ;
14377 char * kwnames[] = {
14378 (char *) "self",(char *) "id", NULL
14379 };
14380
14381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14383 if (!SWIG_IsOK(res1)) {
14384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14385 }
14386 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14387 ecode2 = SWIG_AsVal_int(obj1, &val2);
14388 if (!SWIG_IsOK(ecode2)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14390 }
14391 arg2 = static_cast< int >(val2);
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (bool)(arg1)->Display(arg2);
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 {
14399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14400 }
14401 return resultobj;
14402 fail:
14403 return NULL;
14404 }
14405
14406
14407 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14408 PyObject *resultobj = 0;
14409 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14410 bool result;
14411 void *argp1 = 0 ;
14412 int res1 = 0 ;
14413 PyObject *swig_obj[1] ;
14414
14415 if (!args) SWIG_fail;
14416 swig_obj[0] = args;
14417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14418 if (!SWIG_IsOK(res1)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14420 }
14421 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 result = (bool)(arg1)->DisplayContents();
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 {
14429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14430 }
14431 return resultobj;
14432 fail:
14433 return NULL;
14434 }
14435
14436
14437 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14438 PyObject *resultobj = 0;
14439 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14440 bool result;
14441 void *argp1 = 0 ;
14442 int res1 = 0 ;
14443 PyObject *swig_obj[1] ;
14444
14445 if (!args) SWIG_fail;
14446 swig_obj[0] = args;
14447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14448 if (!SWIG_IsOK(res1)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14450 }
14451 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (bool)(arg1)->DisplayIndex();
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 {
14459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14460 }
14461 return resultobj;
14462 fail:
14463 return NULL;
14464 }
14465
14466
14467 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj = 0;
14469 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14470 wxString *arg2 = 0 ;
14471 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14472 bool result;
14473 void *argp1 = 0 ;
14474 int res1 = 0 ;
14475 bool temp2 = false ;
14476 void *argp3 ;
14477 int res3 = 0 ;
14478 PyObject * obj0 = 0 ;
14479 PyObject * obj1 = 0 ;
14480 PyObject * obj2 = 0 ;
14481 char * kwnames[] = {
14482 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14483 };
14484
14485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14487 if (!SWIG_IsOK(res1)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14489 }
14490 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14491 {
14492 arg2 = wxString_in_helper(obj1);
14493 if (arg2 == NULL) SWIG_fail;
14494 temp2 = true;
14495 }
14496 if (obj2) {
14497 {
14498 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14499 if (!SWIG_IsOK(res3)) {
14500 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14501 }
14502 if (!argp3) {
14503 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14504 } else {
14505 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14506 arg3 = *temp;
14507 if (SWIG_IsNewObj(res3)) delete temp;
14508 }
14509 }
14510 }
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 {
14518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14519 }
14520 {
14521 if (temp2)
14522 delete arg2;
14523 }
14524 return resultobj;
14525 fail:
14526 {
14527 if (temp2)
14528 delete arg2;
14529 }
14530 return NULL;
14531 }
14532
14533
14534 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj = 0;
14536 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14537 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14538 wxString const &arg3_defvalue = wxEmptyString ;
14539 wxString *arg3 = (wxString *) &arg3_defvalue ;
14540 void *argp1 = 0 ;
14541 int res1 = 0 ;
14542 void *argp2 = 0 ;
14543 int res2 = 0 ;
14544 bool temp3 = false ;
14545 PyObject * obj0 = 0 ;
14546 PyObject * obj1 = 0 ;
14547 PyObject * obj2 = 0 ;
14548 char * kwnames[] = {
14549 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14550 };
14551
14552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14554 if (!SWIG_IsOK(res1)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14556 }
14557 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14558 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14559 if (!SWIG_IsOK(res2)) {
14560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14561 }
14562 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14563 if (obj2) {
14564 {
14565 arg3 = wxString_in_helper(obj2);
14566 if (arg3 == NULL) SWIG_fail;
14567 temp3 = true;
14568 }
14569 }
14570 {
14571 PyThreadState* __tstate = wxPyBeginAllowThreads();
14572 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 resultobj = SWIG_Py_Void();
14577 {
14578 if (temp3)
14579 delete arg3;
14580 }
14581 return resultobj;
14582 fail:
14583 {
14584 if (temp3)
14585 delete arg3;
14586 }
14587 return NULL;
14588 }
14589
14590
14591 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj = 0;
14593 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14594 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14595 wxString const &arg3_defvalue = wxEmptyString ;
14596 wxString *arg3 = (wxString *) &arg3_defvalue ;
14597 void *argp1 = 0 ;
14598 int res1 = 0 ;
14599 void *argp2 = 0 ;
14600 int res2 = 0 ;
14601 bool temp3 = false ;
14602 PyObject * obj0 = 0 ;
14603 PyObject * obj1 = 0 ;
14604 PyObject * obj2 = 0 ;
14605 char * kwnames[] = {
14606 (char *) "self",(char *) "cfg",(char *) "path", NULL
14607 };
14608
14609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14611 if (!SWIG_IsOK(res1)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14613 }
14614 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14615 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14616 if (!SWIG_IsOK(res2)) {
14617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14618 }
14619 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14620 if (obj2) {
14621 {
14622 arg3 = wxString_in_helper(obj2);
14623 if (arg3 == NULL) SWIG_fail;
14624 temp3 = true;
14625 }
14626 }
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 resultobj = SWIG_Py_Void();
14634 {
14635 if (temp3)
14636 delete arg3;
14637 }
14638 return resultobj;
14639 fail:
14640 {
14641 if (temp3)
14642 delete arg3;
14643 }
14644 return NULL;
14645 }
14646
14647
14648 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14649 PyObject *resultobj = 0;
14650 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14651 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14652 wxString const &arg3_defvalue = wxEmptyString ;
14653 wxString *arg3 = (wxString *) &arg3_defvalue ;
14654 void *argp1 = 0 ;
14655 int res1 = 0 ;
14656 void *argp2 = 0 ;
14657 int res2 = 0 ;
14658 bool temp3 = false ;
14659 PyObject * obj0 = 0 ;
14660 PyObject * obj1 = 0 ;
14661 PyObject * obj2 = 0 ;
14662 char * kwnames[] = {
14663 (char *) "self",(char *) "cfg",(char *) "path", NULL
14664 };
14665
14666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14668 if (!SWIG_IsOK(res1)) {
14669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14670 }
14671 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14672 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14673 if (!SWIG_IsOK(res2)) {
14674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14675 }
14676 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14677 if (obj2) {
14678 {
14679 arg3 = wxString_in_helper(obj2);
14680 if (arg3 == NULL) SWIG_fail;
14681 temp3 = true;
14682 }
14683 }
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 resultobj = SWIG_Py_Void();
14691 {
14692 if (temp3)
14693 delete arg3;
14694 }
14695 return resultobj;
14696 fail:
14697 {
14698 if (temp3)
14699 delete arg3;
14700 }
14701 return NULL;
14702 }
14703
14704
14705 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14706 PyObject *resultobj = 0;
14707 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14708 void *argp1 = 0 ;
14709 int res1 = 0 ;
14710 PyObject *swig_obj[1] ;
14711
14712 if (!args) SWIG_fail;
14713 swig_obj[0] = args;
14714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14715 if (!SWIG_IsOK(res1)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14717 }
14718 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 (arg1)->NotifyPageChanged();
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
14725 resultobj = SWIG_Py_Void();
14726 return resultobj;
14727 fail:
14728 return NULL;
14729 }
14730
14731
14732 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14733 PyObject *resultobj = 0;
14734 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14735 void *argp1 = 0 ;
14736 int res1 = 0 ;
14737 PyObject *swig_obj[1] ;
14738
14739 if (!args) SWIG_fail;
14740 swig_obj[0] = args;
14741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14742 if (!SWIG_IsOK(res1)) {
14743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14744 }
14745 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 (arg1)->RefreshLists();
14749 wxPyEndAllowThreads(__tstate);
14750 if (PyErr_Occurred()) SWIG_fail;
14751 }
14752 resultobj = SWIG_Py_Void();
14753 return resultobj;
14754 fail:
14755 return NULL;
14756 }
14757
14758
14759 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14760 PyObject *resultobj = 0;
14761 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14762 wxHtmlWindow *result = 0 ;
14763 void *argp1 = 0 ;
14764 int res1 = 0 ;
14765 PyObject *swig_obj[1] ;
14766
14767 if (!args) SWIG_fail;
14768 swig_obj[0] = args;
14769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14770 if (!SWIG_IsOK(res1)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14772 }
14773 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14774 {
14775 PyThreadState* __tstate = wxPyBeginAllowThreads();
14776 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
14777 wxPyEndAllowThreads(__tstate);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 );
14781 return resultobj;
14782 fail:
14783 return NULL;
14784 }
14785
14786
14787 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14788 PyObject *resultobj = 0;
14789 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14790 wxSplitterWindow *result = 0 ;
14791 void *argp1 = 0 ;
14792 int res1 = 0 ;
14793 PyObject *swig_obj[1] ;
14794
14795 if (!args) SWIG_fail;
14796 swig_obj[0] = args;
14797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14798 if (!SWIG_IsOK(res1)) {
14799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14800 }
14801 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14805 wxPyEndAllowThreads(__tstate);
14806 if (PyErr_Occurred()) SWIG_fail;
14807 }
14808 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14809 return resultobj;
14810 fail:
14811 return NULL;
14812 }
14813
14814
14815 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14816 PyObject *resultobj = 0;
14817 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14818 wxToolBar *result = 0 ;
14819 void *argp1 = 0 ;
14820 int res1 = 0 ;
14821 PyObject *swig_obj[1] ;
14822
14823 if (!args) SWIG_fail;
14824 swig_obj[0] = args;
14825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14826 if (!SWIG_IsOK(res1)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14828 }
14829 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 {
14837 resultobj = wxPyMake_wxObject(result, (bool)0);
14838 }
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14846 PyObject *resultobj = 0;
14847 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14848 wxHtmlHelpFrameCfg *result = 0 ;
14849 void *argp1 = 0 ;
14850 int res1 = 0 ;
14851 PyObject *swig_obj[1] ;
14852
14853 if (!args) SWIG_fail;
14854 swig_obj[0] = args;
14855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14856 if (!SWIG_IsOK(res1)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14858 }
14859 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14860 {
14861 PyThreadState* __tstate = wxPyBeginAllowThreads();
14862 {
14863 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14864 result = (wxHtmlHelpFrameCfg *) &_result_ref;
14865 }
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14870 return resultobj;
14871 fail:
14872 return NULL;
14873 }
14874
14875
14876 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14877 PyObject *resultobj = 0;
14878 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14879 wxPyTreeCtrl *result = 0 ;
14880 void *argp1 = 0 ;
14881 int res1 = 0 ;
14882 PyObject *swig_obj[1] ;
14883
14884 if (!args) SWIG_fail;
14885 swig_obj[0] = args;
14886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14887 if (!SWIG_IsOK(res1)) {
14888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14889 }
14890 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 {
14898 resultobj = wxPyMake_wxObject(result, (bool)0);
14899 }
14900 return resultobj;
14901 fail:
14902 return NULL;
14903 }
14904
14905
14906 SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14907 PyObject *obj;
14908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14909 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
14910 return SWIG_Py_Void();
14911 }
14912
14913 SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14914 return SWIG_Python_InitShadowInstance(args);
14915 }
14916
14917 SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj = 0;
14919 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14920 int arg2 = (int) 0 ;
14921 wxHtmlWindowEvent *result = 0 ;
14922 int val1 ;
14923 int ecode1 = 0 ;
14924 int val2 ;
14925 int ecode2 = 0 ;
14926 PyObject * obj0 = 0 ;
14927 PyObject * obj1 = 0 ;
14928 char * kwnames[] = {
14929 (char *) "commandType",(char *) "id", NULL
14930 };
14931
14932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail;
14933 if (obj0) {
14934 ecode1 = SWIG_AsVal_int(obj0, &val1);
14935 if (!SWIG_IsOK(ecode1)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14937 }
14938 arg1 = static_cast< wxEventType >(val1);
14939 }
14940 if (obj1) {
14941 ecode2 = SWIG_AsVal_int(obj1, &val2);
14942 if (!SWIG_IsOK(ecode2)) {
14943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14944 }
14945 arg2 = static_cast< int >(val2);
14946 }
14947 {
14948 PyThreadState* __tstate = wxPyBeginAllowThreads();
14949 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 );
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj = 0;
14962 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
14963 wxString *arg2 = 0 ;
14964 void *argp1 = 0 ;
14965 int res1 = 0 ;
14966 bool temp2 = false ;
14967 PyObject * obj0 = 0 ;
14968 PyObject * obj1 = 0 ;
14969 char * kwnames[] = {
14970 (char *) "self",(char *) "url", NULL
14971 };
14972
14973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
14974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
14975 if (!SWIG_IsOK(res1)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14977 }
14978 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
14979 {
14980 arg2 = wxString_in_helper(obj1);
14981 if (arg2 == NULL) SWIG_fail;
14982 temp2 = true;
14983 }
14984 {
14985 PyThreadState* __tstate = wxPyBeginAllowThreads();
14986 (arg1)->SetURL((wxString const &)*arg2);
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 resultobj = SWIG_Py_Void();
14991 {
14992 if (temp2)
14993 delete arg2;
14994 }
14995 return resultobj;
14996 fail:
14997 {
14998 if (temp2)
14999 delete arg2;
15000 }
15001 return NULL;
15002 }
15003
15004
15005 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15006 PyObject *resultobj = 0;
15007 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
15008 wxString *result = 0 ;
15009 void *argp1 = 0 ;
15010 int res1 = 0 ;
15011 PyObject *swig_obj[1] ;
15012
15013 if (!args) SWIG_fail;
15014 swig_obj[0] = args;
15015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15016 if (!SWIG_IsOK(res1)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15018 }
15019 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 {
15023 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
15024 result = (wxString *) &_result_ref;
15025 }
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 {
15030 #if wxUSE_UNICODE
15031 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15032 #else
15033 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15034 #endif
15035 }
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15043 PyObject *obj;
15044 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15045 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj));
15046 return SWIG_Py_Void();
15047 }
15048
15049 SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15050 return SWIG_Python_InitShadowInstance(args);
15051 }
15052
15053 SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj = 0;
15055 wxWindow *arg1 = (wxWindow *) 0 ;
15056 int arg2 ;
15057 wxString const &arg3_defvalue = wxPyEmptyString ;
15058 wxString *arg3 = (wxString *) &arg3_defvalue ;
15059 int arg4 = (int) wxHF_DEFAULTSTYLE ;
15060 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15061 wxHtmlHelpFrame *result = 0 ;
15062 void *argp1 = 0 ;
15063 int res1 = 0 ;
15064 int val2 ;
15065 int ecode2 = 0 ;
15066 bool temp3 = false ;
15067 int val4 ;
15068 int ecode4 = 0 ;
15069 void *argp5 = 0 ;
15070 int res5 = 0 ;
15071 PyObject * obj0 = 0 ;
15072 PyObject * obj1 = 0 ;
15073 PyObject * obj2 = 0 ;
15074 PyObject * obj3 = 0 ;
15075 PyObject * obj4 = 0 ;
15076 char * kwnames[] = {
15077 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15078 };
15079
15080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15082 if (!SWIG_IsOK(res1)) {
15083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15084 }
15085 arg1 = reinterpret_cast< wxWindow * >(argp1);
15086 ecode2 = SWIG_AsVal_int(obj1, &val2);
15087 if (!SWIG_IsOK(ecode2)) {
15088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15089 }
15090 arg2 = static_cast< int >(val2);
15091 if (obj2) {
15092 {
15093 arg3 = wxString_in_helper(obj2);
15094 if (arg3 == NULL) SWIG_fail;
15095 temp3 = true;
15096 }
15097 }
15098 if (obj3) {
15099 ecode4 = SWIG_AsVal_int(obj3, &val4);
15100 if (!SWIG_IsOK(ecode4)) {
15101 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15102 }
15103 arg4 = static_cast< int >(val4);
15104 }
15105 if (obj4) {
15106 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15107 if (!SWIG_IsOK(res5)) {
15108 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15109 }
15110 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15111 }
15112 {
15113 if (!wxPyCheckForApp()) SWIG_fail;
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15120 {
15121 if (temp3)
15122 delete arg3;
15123 }
15124 return resultobj;
15125 fail:
15126 {
15127 if (temp3)
15128 delete arg3;
15129 }
15130 return NULL;
15131 }
15132
15133
15134 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj = 0;
15136 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15137 wxHtmlHelpFrame *result = 0 ;
15138 void *argp1 = 0 ;
15139 int res1 = 0 ;
15140 PyObject * obj0 = 0 ;
15141 char * kwnames[] = {
15142 (char *) "data", NULL
15143 };
15144
15145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15146 if (obj0) {
15147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15148 if (!SWIG_IsOK(res1)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15150 }
15151 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15152 }
15153 {
15154 if (!wxPyCheckForApp()) SWIG_fail;
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15161 return resultobj;
15162 fail:
15163 return NULL;
15164 }
15165
15166
15167 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj = 0;
15169 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15170 wxWindow *arg2 = (wxWindow *) 0 ;
15171 int arg3 ;
15172 wxString const &arg4_defvalue = wxPyEmptyString ;
15173 wxString *arg4 = (wxString *) &arg4_defvalue ;
15174 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15175 bool result;
15176 void *argp1 = 0 ;
15177 int res1 = 0 ;
15178 void *argp2 = 0 ;
15179 int res2 = 0 ;
15180 int val3 ;
15181 int ecode3 = 0 ;
15182 bool temp4 = false ;
15183 int val5 ;
15184 int ecode5 = 0 ;
15185 PyObject * obj0 = 0 ;
15186 PyObject * obj1 = 0 ;
15187 PyObject * obj2 = 0 ;
15188 PyObject * obj3 = 0 ;
15189 PyObject * obj4 = 0 ;
15190 char * kwnames[] = {
15191 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15192 };
15193
15194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15196 if (!SWIG_IsOK(res1)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15198 }
15199 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15200 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15201 if (!SWIG_IsOK(res2)) {
15202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15203 }
15204 arg2 = reinterpret_cast< wxWindow * >(argp2);
15205 ecode3 = SWIG_AsVal_int(obj2, &val3);
15206 if (!SWIG_IsOK(ecode3)) {
15207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15208 }
15209 arg3 = static_cast< int >(val3);
15210 if (obj3) {
15211 {
15212 arg4 = wxString_in_helper(obj3);
15213 if (arg4 == NULL) SWIG_fail;
15214 temp4 = true;
15215 }
15216 }
15217 if (obj4) {
15218 ecode5 = SWIG_AsVal_int(obj4, &val5);
15219 if (!SWIG_IsOK(ecode5)) {
15220 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15221 }
15222 arg5 = static_cast< int >(val5);
15223 }
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15232 }
15233 {
15234 if (temp4)
15235 delete arg4;
15236 }
15237 return resultobj;
15238 fail:
15239 {
15240 if (temp4)
15241 delete arg4;
15242 }
15243 return NULL;
15244 }
15245
15246
15247 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15248 PyObject *resultobj = 0;
15249 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15250 wxHtmlHelpData *result = 0 ;
15251 void *argp1 = 0 ;
15252 int res1 = 0 ;
15253 PyObject *swig_obj[1] ;
15254
15255 if (!args) SWIG_fail;
15256 swig_obj[0] = args;
15257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15258 if (!SWIG_IsOK(res1)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15260 }
15261 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 result = (wxHtmlHelpData *)(arg1)->GetData();
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj = 0;
15277 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15278 wxString *arg2 = 0 ;
15279 void *argp1 = 0 ;
15280 int res1 = 0 ;
15281 bool temp2 = false ;
15282 PyObject * obj0 = 0 ;
15283 PyObject * obj1 = 0 ;
15284 char * kwnames[] = {
15285 (char *) "self",(char *) "format", NULL
15286 };
15287
15288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15290 if (!SWIG_IsOK(res1)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15292 }
15293 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15294 {
15295 arg2 = wxString_in_helper(obj1);
15296 if (arg2 == NULL) SWIG_fail;
15297 temp2 = true;
15298 }
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->SetTitleFormat((wxString const &)*arg2);
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = SWIG_Py_Void();
15306 {
15307 if (temp2)
15308 delete arg2;
15309 }
15310 return resultobj;
15311 fail:
15312 {
15313 if (temp2)
15314 delete arg2;
15315 }
15316 return NULL;
15317 }
15318
15319
15320 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15321 PyObject *resultobj = 0;
15322 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15323 void *argp1 = 0 ;
15324 int res1 = 0 ;
15325 PyObject *swig_obj[1] ;
15326
15327 if (!args) SWIG_fail;
15328 swig_obj[0] = args;
15329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15330 if (!SWIG_IsOK(res1)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15332 }
15333 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 (arg1)->AddGrabIfNeeded();
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 resultobj = SWIG_Py_Void();
15341 return resultobj;
15342 fail:
15343 return NULL;
15344 }
15345
15346
15347 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15348 PyObject *resultobj = 0;
15349 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15350 wxHtmlHelpController *result = 0 ;
15351 void *argp1 = 0 ;
15352 int res1 = 0 ;
15353 PyObject *swig_obj[1] ;
15354
15355 if (!args) SWIG_fail;
15356 swig_obj[0] = args;
15357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15358 if (!SWIG_IsOK(res1)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15360 }
15361 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj = 0;
15377 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15378 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15379 void *argp1 = 0 ;
15380 int res1 = 0 ;
15381 int res2 = 0 ;
15382 PyObject * obj0 = 0 ;
15383 PyObject * obj1 = 0 ;
15384 char * kwnames[] = {
15385 (char *) "self",(char *) "controller", NULL
15386 };
15387
15388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15390 if (!SWIG_IsOK(res1)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15392 }
15393 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15394 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15395 if (!SWIG_IsOK(res2)) {
15396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15397 }
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 (arg1)->SetController(arg2);
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 resultobj = SWIG_Py_Void();
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15412 PyObject *resultobj = 0;
15413 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15414 wxHtmlHelpWindow *result = 0 ;
15415 void *argp1 = 0 ;
15416 int res1 = 0 ;
15417 PyObject *swig_obj[1] ;
15418
15419 if (!args) SWIG_fail;
15420 swig_obj[0] = args;
15421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15422 if (!SWIG_IsOK(res1)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15424 }
15425 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15429 wxPyEndAllowThreads(__tstate);
15430 if (PyErr_Occurred()) SWIG_fail;
15431 }
15432 {
15433 resultobj = wxPyMake_wxObject(result, 0);
15434 }
15435 return resultobj;
15436 fail:
15437 return NULL;
15438 }
15439
15440
15441 SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15442 PyObject *obj;
15443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15444 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15445 return SWIG_Py_Void();
15446 }
15447
15448 SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15449 return SWIG_Python_InitShadowInstance(args);
15450 }
15451
15452 SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15453 PyObject *resultobj = 0;
15454 wxWindow *arg1 = (wxWindow *) 0 ;
15455 int arg2 ;
15456 wxString const &arg3_defvalue = wxPyEmptyString ;
15457 wxString *arg3 = (wxString *) &arg3_defvalue ;
15458 int arg4 = (int) wxHF_DEFAULT_STYLE ;
15459 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15460 wxHtmlHelpDialog *result = 0 ;
15461 void *argp1 = 0 ;
15462 int res1 = 0 ;
15463 int val2 ;
15464 int ecode2 = 0 ;
15465 bool temp3 = false ;
15466 int val4 ;
15467 int ecode4 = 0 ;
15468 void *argp5 = 0 ;
15469 int res5 = 0 ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 PyObject * obj2 = 0 ;
15473 PyObject * obj3 = 0 ;
15474 PyObject * obj4 = 0 ;
15475 char * kwnames[] = {
15476 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15477 };
15478
15479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15481 if (!SWIG_IsOK(res1)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15483 }
15484 arg1 = reinterpret_cast< wxWindow * >(argp1);
15485 ecode2 = SWIG_AsVal_int(obj1, &val2);
15486 if (!SWIG_IsOK(ecode2)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15488 }
15489 arg2 = static_cast< int >(val2);
15490 if (obj2) {
15491 {
15492 arg3 = wxString_in_helper(obj2);
15493 if (arg3 == NULL) SWIG_fail;
15494 temp3 = true;
15495 }
15496 }
15497 if (obj3) {
15498 ecode4 = SWIG_AsVal_int(obj3, &val4);
15499 if (!SWIG_IsOK(ecode4)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15501 }
15502 arg4 = static_cast< int >(val4);
15503 }
15504 if (obj4) {
15505 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15506 if (!SWIG_IsOK(res5)) {
15507 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15508 }
15509 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15510 }
15511 {
15512 if (!wxPyCheckForApp()) SWIG_fail;
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15519 {
15520 if (temp3)
15521 delete arg3;
15522 }
15523 return resultobj;
15524 fail:
15525 {
15526 if (temp3)
15527 delete arg3;
15528 }
15529 return NULL;
15530 }
15531
15532
15533 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj = 0;
15535 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15536 wxHtmlHelpDialog *result = 0 ;
15537 void *argp1 = 0 ;
15538 int res1 = 0 ;
15539 PyObject * obj0 = 0 ;
15540 char * kwnames[] = {
15541 (char *) "data", NULL
15542 };
15543
15544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15545 if (obj0) {
15546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15547 if (!SWIG_IsOK(res1)) {
15548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15549 }
15550 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15551 }
15552 {
15553 if (!wxPyCheckForApp()) SWIG_fail;
15554 PyThreadState* __tstate = wxPyBeginAllowThreads();
15555 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj = 0;
15568 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15569 wxWindow *arg2 = (wxWindow *) 0 ;
15570 int arg3 ;
15571 wxString const &arg4_defvalue = wxPyEmptyString ;
15572 wxString *arg4 = (wxString *) &arg4_defvalue ;
15573 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15574 bool result;
15575 void *argp1 = 0 ;
15576 int res1 = 0 ;
15577 void *argp2 = 0 ;
15578 int res2 = 0 ;
15579 int val3 ;
15580 int ecode3 = 0 ;
15581 bool temp4 = false ;
15582 int val5 ;
15583 int ecode5 = 0 ;
15584 PyObject * obj0 = 0 ;
15585 PyObject * obj1 = 0 ;
15586 PyObject * obj2 = 0 ;
15587 PyObject * obj3 = 0 ;
15588 PyObject * obj4 = 0 ;
15589 char * kwnames[] = {
15590 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15591 };
15592
15593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15595 if (!SWIG_IsOK(res1)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15597 }
15598 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15599 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15600 if (!SWIG_IsOK(res2)) {
15601 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15602 }
15603 arg2 = reinterpret_cast< wxWindow * >(argp2);
15604 ecode3 = SWIG_AsVal_int(obj2, &val3);
15605 if (!SWIG_IsOK(ecode3)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15607 }
15608 arg3 = static_cast< int >(val3);
15609 if (obj3) {
15610 {
15611 arg4 = wxString_in_helper(obj3);
15612 if (arg4 == NULL) SWIG_fail;
15613 temp4 = true;
15614 }
15615 }
15616 if (obj4) {
15617 ecode5 = SWIG_AsVal_int(obj4, &val5);
15618 if (!SWIG_IsOK(ecode5)) {
15619 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15620 }
15621 arg5 = static_cast< int >(val5);
15622 }
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 {
15630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15631 }
15632 {
15633 if (temp4)
15634 delete arg4;
15635 }
15636 return resultobj;
15637 fail:
15638 {
15639 if (temp4)
15640 delete arg4;
15641 }
15642 return NULL;
15643 }
15644
15645
15646 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15647 PyObject *resultobj = 0;
15648 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15649 wxHtmlHelpData *result = 0 ;
15650 void *argp1 = 0 ;
15651 int res1 = 0 ;
15652 PyObject *swig_obj[1] ;
15653
15654 if (!args) SWIG_fail;
15655 swig_obj[0] = args;
15656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15657 if (!SWIG_IsOK(res1)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15659 }
15660 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 result = (wxHtmlHelpData *)(arg1)->GetData();
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15668 return resultobj;
15669 fail:
15670 return NULL;
15671 }
15672
15673
15674 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15675 PyObject *resultobj = 0;
15676 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15677 wxHtmlHelpController *result = 0 ;
15678 void *argp1 = 0 ;
15679 int res1 = 0 ;
15680 PyObject *swig_obj[1] ;
15681
15682 if (!args) SWIG_fail;
15683 swig_obj[0] = args;
15684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15685 if (!SWIG_IsOK(res1)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15687 }
15688 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15696 return resultobj;
15697 fail:
15698 return NULL;
15699 }
15700
15701
15702 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj = 0;
15704 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15705 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15706 void *argp1 = 0 ;
15707 int res1 = 0 ;
15708 int res2 = 0 ;
15709 PyObject * obj0 = 0 ;
15710 PyObject * obj1 = 0 ;
15711 char * kwnames[] = {
15712 (char *) "self",(char *) "controller", NULL
15713 };
15714
15715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15717 if (!SWIG_IsOK(res1)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15719 }
15720 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15721 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15722 if (!SWIG_IsOK(res2)) {
15723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15724 }
15725 {
15726 PyThreadState* __tstate = wxPyBeginAllowThreads();
15727 (arg1)->SetController(arg2);
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 resultobj = SWIG_Py_Void();
15732 return resultobj;
15733 fail:
15734 return NULL;
15735 }
15736
15737
15738 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15739 PyObject *resultobj = 0;
15740 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15741 wxHtmlHelpWindow *result = 0 ;
15742 void *argp1 = 0 ;
15743 int res1 = 0 ;
15744 PyObject *swig_obj[1] ;
15745
15746 if (!args) SWIG_fail;
15747 swig_obj[0] = args;
15748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15749 if (!SWIG_IsOK(res1)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15751 }
15752 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 {
15760 resultobj = wxPyMake_wxObject(result, 0);
15761 }
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj = 0;
15770 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15771 wxString *arg2 = 0 ;
15772 void *argp1 = 0 ;
15773 int res1 = 0 ;
15774 bool temp2 = false ;
15775 PyObject * obj0 = 0 ;
15776 PyObject * obj1 = 0 ;
15777 char * kwnames[] = {
15778 (char *) "self",(char *) "format", NULL
15779 };
15780
15781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15783 if (!SWIG_IsOK(res1)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15785 }
15786 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15787 {
15788 arg2 = wxString_in_helper(obj1);
15789 if (arg2 == NULL) SWIG_fail;
15790 temp2 = true;
15791 }
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 (arg1)->SetTitleFormat((wxString const &)*arg2);
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 resultobj = SWIG_Py_Void();
15799 {
15800 if (temp2)
15801 delete arg2;
15802 }
15803 return resultobj;
15804 fail:
15805 {
15806 if (temp2)
15807 delete arg2;
15808 }
15809 return NULL;
15810 }
15811
15812
15813 SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15814 PyObject *obj;
15815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15816 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
15817 return SWIG_Py_Void();
15818 }
15819
15820 SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15821 return SWIG_Python_InitShadowInstance(args);
15822 }
15823
15824 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15825 PyObject *resultobj = 0;
15826 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15827 wxString *arg2 = 0 ;
15828 int arg3 ;
15829 bool result;
15830 void *argp1 = 0 ;
15831 int res1 = 0 ;
15832 bool temp2 = false ;
15833 int val3 ;
15834 int ecode3 = 0 ;
15835
15836 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
15837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15838 if (!SWIG_IsOK(res1)) {
15839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15840 }
15841 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15842 {
15843 arg2 = wxString_in_helper(swig_obj[1]);
15844 if (arg2 == NULL) SWIG_fail;
15845 temp2 = true;
15846 }
15847 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
15848 if (!SWIG_IsOK(ecode3)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15850 }
15851 arg3 = static_cast< int >(val3);
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 {
15859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15860 }
15861 {
15862 if (temp2)
15863 delete arg2;
15864 }
15865 return resultobj;
15866 fail:
15867 {
15868 if (temp2)
15869 delete arg2;
15870 }
15871 return NULL;
15872 }
15873
15874
15875 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15876 PyObject *resultobj = 0;
15877 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15878 wxString *arg2 = 0 ;
15879 bool result;
15880 void *argp1 = 0 ;
15881 int res1 = 0 ;
15882 bool temp2 = false ;
15883
15884 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
15885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15886 if (!SWIG_IsOK(res1)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15888 }
15889 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15890 {
15891 arg2 = wxString_in_helper(swig_obj[1]);
15892 if (arg2 == NULL) SWIG_fail;
15893 temp2 = true;
15894 }
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 {
15902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15903 }
15904 {
15905 if (temp2)
15906 delete arg2;
15907 }
15908 return resultobj;
15909 fail:
15910 {
15911 if (temp2)
15912 delete arg2;
15913 }
15914 return NULL;
15915 }
15916
15917
15918 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
15919 int argc;
15920 PyObject *argv[4];
15921
15922 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
15923 --argc;
15924 if (argc == 2) {
15925 return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
15926 }
15927 if (argc == 3) {
15928 return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
15929 }
15930
15931 fail:
15932 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15933 return NULL;
15934 }
15935
15936
15937 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15938 PyObject *resultobj = 0;
15939 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15940 wxString *arg2 = 0 ;
15941 long arg3 = (long) 0 ;
15942 void *argp1 = 0 ;
15943 int res1 = 0 ;
15944 bool temp2 = false ;
15945 long val3 ;
15946 int ecode3 = 0 ;
15947 PyObject * obj0 = 0 ;
15948 PyObject * obj1 = 0 ;
15949 PyObject * obj2 = 0 ;
15950 char * kwnames[] = {
15951 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15952 };
15953
15954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15956 if (!SWIG_IsOK(res1)) {
15957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15958 }
15959 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15960 {
15961 arg2 = wxString_in_helper(obj1);
15962 if (arg2 == NULL) SWIG_fail;
15963 temp2 = true;
15964 }
15965 if (obj2) {
15966 ecode3 = SWIG_AsVal_long(obj2, &val3);
15967 if (!SWIG_IsOK(ecode3)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15969 }
15970 arg3 = static_cast< long >(val3);
15971 }
15972 {
15973 PyThreadState* __tstate = wxPyBeginAllowThreads();
15974 (arg1)->SetViewer((wxString const &)*arg2,arg3);
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
15978 resultobj = SWIG_Py_Void();
15979 {
15980 if (temp2)
15981 delete arg2;
15982 }
15983 return resultobj;
15984 fail:
15985 {
15986 if (temp2)
15987 delete arg2;
15988 }
15989 return NULL;
15990 }
15991
15992
15993 SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj = 0;
15995 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15996 wxString const &arg2_defvalue = wxEmptyString ;
15997 wxString *arg2 = (wxString *) &arg2_defvalue ;
15998 bool result;
15999 void *argp1 = 0 ;
16000 int res1 = 0 ;
16001 bool temp2 = false ;
16002 PyObject * obj0 = 0 ;
16003 PyObject * obj1 = 0 ;
16004 char * kwnames[] = {
16005 (char *) "self",(char *) "file", NULL
16006 };
16007
16008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
16009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16010 if (!SWIG_IsOK(res1)) {
16011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16012 }
16013 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16014 if (obj1) {
16015 {
16016 arg2 = wxString_in_helper(obj1);
16017 if (arg2 == NULL) SWIG_fail;
16018 temp2 = true;
16019 }
16020 }
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16024 wxPyEndAllowThreads(__tstate);
16025 if (PyErr_Occurred()) SWIG_fail;
16026 }
16027 {
16028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16029 }
16030 {
16031 if (temp2)
16032 delete arg2;
16033 }
16034 return resultobj;
16035 fail:
16036 {
16037 if (temp2)
16038 delete arg2;
16039 }
16040 return NULL;
16041 }
16042
16043
16044 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16045 PyObject *resultobj = 0;
16046 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16047 bool result;
16048 void *argp1 = 0 ;
16049 int res1 = 0 ;
16050 PyObject *swig_obj[1] ;
16051
16052 if (!args) SWIG_fail;
16053 swig_obj[0] = args;
16054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16055 if (!SWIG_IsOK(res1)) {
16056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16057 }
16058 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16059 {
16060 PyThreadState* __tstate = wxPyBeginAllowThreads();
16061 result = (bool)(arg1)->DisplayContents();
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 {
16066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16067 }
16068 return resultobj;
16069 fail:
16070 return NULL;
16071 }
16072
16073
16074 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16075 PyObject *resultobj = 0;
16076 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16077 int arg2 ;
16078 bool result;
16079 void *argp1 = 0 ;
16080 int res1 = 0 ;
16081 int val2 ;
16082 int ecode2 = 0 ;
16083
16084 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16086 if (!SWIG_IsOK(res1)) {
16087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16088 }
16089 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16090 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16091 if (!SWIG_IsOK(ecode2)) {
16092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16093 }
16094 arg2 = static_cast< int >(val2);
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 result = (bool)(arg1)->DisplaySection(arg2);
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 {
16102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16103 }
16104 return resultobj;
16105 fail:
16106 return NULL;
16107 }
16108
16109
16110 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj = 0;
16112 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16113 int arg2 ;
16114 bool result;
16115 void *argp1 = 0 ;
16116 int res1 = 0 ;
16117 int val2 ;
16118 int ecode2 = 0 ;
16119 PyObject * obj0 = 0 ;
16120 PyObject * obj1 = 0 ;
16121 char * kwnames[] = {
16122 (char *) "self",(char *) "contextId", NULL
16123 };
16124
16125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16127 if (!SWIG_IsOK(res1)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16129 }
16130 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16131 ecode2 = SWIG_AsVal_int(obj1, &val2);
16132 if (!SWIG_IsOK(ecode2)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16134 }
16135 arg2 = static_cast< int >(val2);
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 result = (bool)(arg1)->DisplayContextPopup(arg2);
16139 wxPyEndAllowThreads(__tstate);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 }
16142 {
16143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16144 }
16145 return resultobj;
16146 fail:
16147 return NULL;
16148 }
16149
16150
16151 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16152 PyObject *resultobj = 0;
16153 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16154 wxString *arg2 = 0 ;
16155 wxPoint *arg3 = 0 ;
16156 bool result;
16157 void *argp1 = 0 ;
16158 int res1 = 0 ;
16159 bool temp2 = false ;
16160 wxPoint temp3 ;
16161 PyObject * obj0 = 0 ;
16162 PyObject * obj1 = 0 ;
16163 PyObject * obj2 = 0 ;
16164 char * kwnames[] = {
16165 (char *) "self",(char *) "text",(char *) "pos", NULL
16166 };
16167
16168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16170 if (!SWIG_IsOK(res1)) {
16171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16172 }
16173 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16174 {
16175 arg2 = wxString_in_helper(obj1);
16176 if (arg2 == NULL) SWIG_fail;
16177 temp2 = true;
16178 }
16179 {
16180 arg3 = &temp3;
16181 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16182 }
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 {
16190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16191 }
16192 {
16193 if (temp2)
16194 delete arg2;
16195 }
16196 return resultobj;
16197 fail:
16198 {
16199 if (temp2)
16200 delete arg2;
16201 }
16202 return NULL;
16203 }
16204
16205
16206 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16207 PyObject *resultobj = 0;
16208 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16209 wxString *arg2 = 0 ;
16210 bool result;
16211 void *argp1 = 0 ;
16212 int res1 = 0 ;
16213 bool temp2 = false ;
16214
16215 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16217 if (!SWIG_IsOK(res1)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16219 }
16220 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16221 {
16222 arg2 = wxString_in_helper(swig_obj[1]);
16223 if (arg2 == NULL) SWIG_fail;
16224 temp2 = true;
16225 }
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 {
16233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16234 }
16235 {
16236 if (temp2)
16237 delete arg2;
16238 }
16239 return resultobj;
16240 fail:
16241 {
16242 if (temp2)
16243 delete arg2;
16244 }
16245 return NULL;
16246 }
16247
16248
16249 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16250 int argc;
16251 PyObject *argv[3];
16252
16253 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16254 --argc;
16255 if (argc == 2) {
16256 int _v = 0;
16257 {
16258 {
16259 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16260 }
16261 }
16262 if (!_v) goto check_1;
16263 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16264 }
16265 check_1:
16266
16267 if (argc == 2) {
16268 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16269 }
16270
16271 fail:
16272 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16273 return NULL;
16274 }
16275
16276
16277 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj = 0;
16279 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16280 long arg2 ;
16281 bool result;
16282 void *argp1 = 0 ;
16283 int res1 = 0 ;
16284 long val2 ;
16285 int ecode2 = 0 ;
16286 PyObject * obj0 = 0 ;
16287 PyObject * obj1 = 0 ;
16288 char * kwnames[] = {
16289 (char *) "self",(char *) "blockNo", NULL
16290 };
16291
16292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16294 if (!SWIG_IsOK(res1)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16296 }
16297 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16298 ecode2 = SWIG_AsVal_long(obj1, &val2);
16299 if (!SWIG_IsOK(ecode2)) {
16300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16301 }
16302 arg2 = static_cast< long >(val2);
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 result = (bool)(arg1)->DisplayBlock(arg2);
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 {
16310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16311 }
16312 return resultobj;
16313 fail:
16314 return NULL;
16315 }
16316
16317
16318 SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16319 PyObject *resultobj = 0;
16320 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16321 wxString *arg2 = 0 ;
16322 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16323 bool result;
16324 void *argp1 = 0 ;
16325 int res1 = 0 ;
16326 bool temp2 = false ;
16327 void *argp3 ;
16328 int res3 = 0 ;
16329 PyObject * obj0 = 0 ;
16330 PyObject * obj1 = 0 ;
16331 PyObject * obj2 = 0 ;
16332 char * kwnames[] = {
16333 (char *) "self",(char *) "k",(char *) "mode", NULL
16334 };
16335
16336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16338 if (!SWIG_IsOK(res1)) {
16339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16340 }
16341 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16342 {
16343 arg2 = wxString_in_helper(obj1);
16344 if (arg2 == NULL) SWIG_fail;
16345 temp2 = true;
16346 }
16347 if (obj2) {
16348 {
16349 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16350 if (!SWIG_IsOK(res3)) {
16351 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16352 }
16353 if (!argp3) {
16354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16355 } else {
16356 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16357 arg3 = *temp;
16358 if (SWIG_IsNewObj(res3)) delete temp;
16359 }
16360 }
16361 }
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 {
16369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16370 }
16371 {
16372 if (temp2)
16373 delete arg2;
16374 }
16375 return resultobj;
16376 fail:
16377 {
16378 if (temp2)
16379 delete arg2;
16380 }
16381 return NULL;
16382 }
16383
16384
16385 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj = 0;
16387 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16388 wxString *arg2 = 0 ;
16389 wxSize *arg3 = 0 ;
16390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16392 bool arg5 = (bool) false ;
16393 void *argp1 = 0 ;
16394 int res1 = 0 ;
16395 bool temp2 = false ;
16396 wxSize temp3 ;
16397 wxPoint temp4 ;
16398 bool val5 ;
16399 int ecode5 = 0 ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 PyObject * obj2 = 0 ;
16403 PyObject * obj3 = 0 ;
16404 PyObject * obj4 = 0 ;
16405 char * kwnames[] = {
16406 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16407 };
16408
16409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16411 if (!SWIG_IsOK(res1)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16413 }
16414 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16415 {
16416 arg2 = wxString_in_helper(obj1);
16417 if (arg2 == NULL) SWIG_fail;
16418 temp2 = true;
16419 }
16420 {
16421 arg3 = &temp3;
16422 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16423 }
16424 if (obj3) {
16425 {
16426 arg4 = &temp4;
16427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16428 }
16429 }
16430 if (obj4) {
16431 ecode5 = SWIG_AsVal_bool(obj4, &val5);
16432 if (!SWIG_IsOK(ecode5)) {
16433 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16434 }
16435 arg5 = static_cast< bool >(val5);
16436 }
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 resultobj = SWIG_Py_Void();
16444 {
16445 if (temp2)
16446 delete arg2;
16447 }
16448 return resultobj;
16449 fail:
16450 {
16451 if (temp2)
16452 delete arg2;
16453 }
16454 return NULL;
16455 }
16456
16457
16458 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16459 PyObject *resultobj = 0;
16460 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16461 wxSize *arg2 = (wxSize *) NULL ;
16462 wxPoint *arg3 = (wxPoint *) NULL ;
16463 bool *arg4 = (bool *) NULL ;
16464 wxFrame *result = 0 ;
16465 void *argp1 = 0 ;
16466 int res1 = 0 ;
16467 void *argp2 = 0 ;
16468 int res2 = 0 ;
16469 void *argp3 = 0 ;
16470 int res3 = 0 ;
16471 void *argp4 = 0 ;
16472 int res4 = 0 ;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 PyObject * obj2 = 0 ;
16476 PyObject * obj3 = 0 ;
16477 char * kwnames[] = {
16478 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16479 };
16480
16481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16483 if (!SWIG_IsOK(res1)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16485 }
16486 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16487 if (obj1) {
16488 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
16489 if (!SWIG_IsOK(res2)) {
16490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16491 }
16492 arg2 = reinterpret_cast< wxSize * >(argp2);
16493 }
16494 if (obj2) {
16495 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
16496 if (!SWIG_IsOK(res3)) {
16497 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16498 }
16499 arg3 = reinterpret_cast< wxPoint * >(argp3);
16500 }
16501 if (obj3) {
16502 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
16503 if (!SWIG_IsOK(res4)) {
16504 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16505 }
16506 arg4 = reinterpret_cast< bool * >(argp4);
16507 }
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 {
16515 resultobj = wxPyMake_wxObject(result, 0);
16516 }
16517 return resultobj;
16518 fail:
16519 return NULL;
16520 }
16521
16522
16523 SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16524 PyObject *resultobj = 0;
16525 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16526 bool result;
16527 void *argp1 = 0 ;
16528 int res1 = 0 ;
16529 PyObject *swig_obj[1] ;
16530
16531 if (!args) SWIG_fail;
16532 swig_obj[0] = args;
16533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16534 if (!SWIG_IsOK(res1)) {
16535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16536 }
16537 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16538 {
16539 PyThreadState* __tstate = wxPyBeginAllowThreads();
16540 result = (bool)(arg1)->Quit();
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16546 }
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16554 PyObject *resultobj = 0;
16555 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16556 void *argp1 = 0 ;
16557 int res1 = 0 ;
16558 PyObject *swig_obj[1] ;
16559
16560 if (!args) SWIG_fail;
16561 swig_obj[0] = args;
16562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16563 if (!SWIG_IsOK(res1)) {
16564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16565 }
16566 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 (arg1)->OnQuit();
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 resultobj = SWIG_Py_Void();
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj = 0;
16582 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16583 wxWindow *arg2 = (wxWindow *) 0 ;
16584 void *argp1 = 0 ;
16585 int res1 = 0 ;
16586 void *argp2 = 0 ;
16587 int res2 = 0 ;
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 char * kwnames[] = {
16591 (char *) "self",(char *) "win", NULL
16592 };
16593
16594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16596 if (!SWIG_IsOK(res1)) {
16597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16598 }
16599 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16600 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16601 if (!SWIG_IsOK(res2)) {
16602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16603 }
16604 arg2 = reinterpret_cast< wxWindow * >(argp2);
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 (arg1)->SetParentWindow(arg2);
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 resultobj = SWIG_Py_Void();
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16619 PyObject *resultobj = 0;
16620 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16621 wxWindow *result = 0 ;
16622 void *argp1 = 0 ;
16623 int res1 = 0 ;
16624 PyObject *swig_obj[1] ;
16625
16626 if (!args) SWIG_fail;
16627 swig_obj[0] = args;
16628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16629 if (!SWIG_IsOK(res1)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16631 }
16632 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 resultobj = wxPyMake_wxObject(result, 0);
16641 }
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16649 PyObject *obj;
16650 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16651 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16652 return SWIG_Py_Void();
16653 }
16654
16655 SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16656 PyObject *resultobj = 0;
16657 int arg1 = (int) wxHF_DEFAULT_STYLE ;
16658 wxWindow *arg2 = (wxWindow *) NULL ;
16659 wxHtmlHelpController *result = 0 ;
16660 int val1 ;
16661 int ecode1 = 0 ;
16662 void *argp2 = 0 ;
16663 int res2 = 0 ;
16664 PyObject * obj0 = 0 ;
16665 PyObject * obj1 = 0 ;
16666 char * kwnames[] = {
16667 (char *) "style",(char *) "parentWindow", NULL
16668 };
16669
16670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16671 if (obj0) {
16672 ecode1 = SWIG_AsVal_int(obj0, &val1);
16673 if (!SWIG_IsOK(ecode1)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16675 }
16676 arg1 = static_cast< int >(val1);
16677 }
16678 if (obj1) {
16679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16680 if (!SWIG_IsOK(res2)) {
16681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16682 }
16683 arg2 = reinterpret_cast< wxWindow * >(argp2);
16684 }
16685 {
16686 if (!wxPyCheckForApp()) SWIG_fail;
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16700 PyObject *resultobj = 0;
16701 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16702 void *argp1 = 0 ;
16703 int res1 = 0 ;
16704 PyObject *swig_obj[1] ;
16705
16706 if (!args) SWIG_fail;
16707 swig_obj[0] = args;
16708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16709 if (!SWIG_IsOK(res1)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16711 }
16712 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16713 {
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 delete arg1;
16716
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 resultobj = SWIG_Py_Void();
16721 return resultobj;
16722 fail:
16723 return NULL;
16724 }
16725
16726
16727 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16728 PyObject *resultobj = 0;
16729 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16730 wxHtmlHelpWindow *result = 0 ;
16731 void *argp1 = 0 ;
16732 int res1 = 0 ;
16733 PyObject *swig_obj[1] ;
16734
16735 if (!args) SWIG_fail;
16736 swig_obj[0] = args;
16737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16738 if (!SWIG_IsOK(res1)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16740 }
16741 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16742 {
16743 PyThreadState* __tstate = wxPyBeginAllowThreads();
16744 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 {
16749 resultobj = wxPyMake_wxObject(result, 0);
16750 }
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj = 0;
16759 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16760 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
16761 void *argp1 = 0 ;
16762 int res1 = 0 ;
16763 void *argp2 = 0 ;
16764 int res2 = 0 ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 char * kwnames[] = {
16768 (char *) "self",(char *) "helpWindow", NULL
16769 };
16770
16771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16773 if (!SWIG_IsOK(res1)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16775 }
16776 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16777 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
16778 if (!SWIG_IsOK(res2)) {
16779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16780 }
16781 arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
16782 {
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 (arg1)->SetHelpWindow(arg2);
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 resultobj = SWIG_Py_Void();
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16796 PyObject *resultobj = 0;
16797 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16798 wxHtmlHelpFrame *result = 0 ;
16799 void *argp1 = 0 ;
16800 int res1 = 0 ;
16801 PyObject *swig_obj[1] ;
16802
16803 if (!args) SWIG_fail;
16804 swig_obj[0] = args;
16805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16806 if (!SWIG_IsOK(res1)) {
16807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16808 }
16809 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
16813 wxPyEndAllowThreads(__tstate);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
16816 {
16817 resultobj = wxPyMake_wxObject(result, 0);
16818 }
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16826 PyObject *resultobj = 0;
16827 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16828 wxHtmlHelpDialog *result = 0 ;
16829 void *argp1 = 0 ;
16830 int res1 = 0 ;
16831 PyObject *swig_obj[1] ;
16832
16833 if (!args) SWIG_fail;
16834 swig_obj[0] = args;
16835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16836 if (!SWIG_IsOK(res1)) {
16837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16838 }
16839 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16840 {
16841 PyThreadState* __tstate = wxPyBeginAllowThreads();
16842 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 {
16847 resultobj = wxPyMake_wxObject(result, 0);
16848 }
16849 return resultobj;
16850 fail:
16851 return NULL;
16852 }
16853
16854
16855 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16856 PyObject *resultobj = 0;
16857 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16858 wxString *arg2 = 0 ;
16859 void *argp1 = 0 ;
16860 int res1 = 0 ;
16861 bool temp2 = false ;
16862 PyObject * obj0 = 0 ;
16863 PyObject * obj1 = 0 ;
16864 char * kwnames[] = {
16865 (char *) "self",(char *) "format", NULL
16866 };
16867
16868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
16869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16870 if (!SWIG_IsOK(res1)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16872 }
16873 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16874 {
16875 arg2 = wxString_in_helper(obj1);
16876 if (arg2 == NULL) SWIG_fail;
16877 temp2 = true;
16878 }
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 (arg1)->SetTitleFormat((wxString const &)*arg2);
16882 wxPyEndAllowThreads(__tstate);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 resultobj = SWIG_Py_Void();
16886 {
16887 if (temp2)
16888 delete arg2;
16889 }
16890 return resultobj;
16891 fail:
16892 {
16893 if (temp2)
16894 delete arg2;
16895 }
16896 return NULL;
16897 }
16898
16899
16900 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj = 0;
16902 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16903 wxString *arg2 = 0 ;
16904 void *argp1 = 0 ;
16905 int res1 = 0 ;
16906 bool temp2 = false ;
16907 PyObject * obj0 = 0 ;
16908 PyObject * obj1 = 0 ;
16909 char * kwnames[] = {
16910 (char *) "self",(char *) "path", NULL
16911 };
16912
16913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
16914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16915 if (!SWIG_IsOK(res1)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16917 }
16918 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16919 {
16920 arg2 = wxString_in_helper(obj1);
16921 if (arg2 == NULL) SWIG_fail;
16922 temp2 = true;
16923 }
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 (arg1)->SetTempDir((wxString const &)*arg2);
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 resultobj = SWIG_Py_Void();
16931 {
16932 if (temp2)
16933 delete arg2;
16934 }
16935 return resultobj;
16936 fail:
16937 {
16938 if (temp2)
16939 delete arg2;
16940 }
16941 return NULL;
16942 }
16943
16944
16945 SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj = 0;
16947 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16948 wxString *arg2 = 0 ;
16949 int arg3 = (int) false ;
16950 bool result;
16951 void *argp1 = 0 ;
16952 int res1 = 0 ;
16953 bool temp2 = false ;
16954 int val3 ;
16955 int ecode3 = 0 ;
16956 PyObject * obj0 = 0 ;
16957 PyObject * obj1 = 0 ;
16958 PyObject * obj2 = 0 ;
16959 char * kwnames[] = {
16960 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16961 };
16962
16963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16965 if (!SWIG_IsOK(res1)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16967 }
16968 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16969 {
16970 arg2 = wxString_in_helper(obj1);
16971 if (arg2 == NULL) SWIG_fail;
16972 temp2 = true;
16973 }
16974 if (obj2) {
16975 ecode3 = SWIG_AsVal_int(obj2, &val3);
16976 if (!SWIG_IsOK(ecode3)) {
16977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16978 }
16979 arg3 = static_cast< int >(val3);
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 {
16988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16989 }
16990 {
16991 if (temp2)
16992 delete arg2;
16993 }
16994 return resultobj;
16995 fail:
16996 {
16997 if (temp2)
16998 delete arg2;
16999 }
17000 return NULL;
17001 }
17002
17003
17004 SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17005 PyObject *resultobj = 0;
17006 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17007 wxString *arg2 = 0 ;
17008 void *argp1 = 0 ;
17009 int res1 = 0 ;
17010 bool temp2 = false ;
17011 PyObject * obj0 = 0 ;
17012 PyObject * obj1 = 0 ;
17013 char * kwnames[] = {
17014 (char *) "self",(char *) "x", NULL
17015 };
17016
17017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17019 if (!SWIG_IsOK(res1)) {
17020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17021 }
17022 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17023 {
17024 arg2 = wxString_in_helper(obj1);
17025 if (arg2 == NULL) SWIG_fail;
17026 temp2 = true;
17027 }
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 (arg1)->Display((wxString const &)*arg2);
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 resultobj = SWIG_Py_Void();
17035 {
17036 if (temp2)
17037 delete arg2;
17038 }
17039 return resultobj;
17040 fail:
17041 {
17042 if (temp2)
17043 delete arg2;
17044 }
17045 return NULL;
17046 }
17047
17048
17049 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj = 0;
17051 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17052 int arg2 ;
17053 void *argp1 = 0 ;
17054 int res1 = 0 ;
17055 int val2 ;
17056 int ecode2 = 0 ;
17057 PyObject * obj0 = 0 ;
17058 PyObject * obj1 = 0 ;
17059 char * kwnames[] = {
17060 (char *) "self",(char *) "id", NULL
17061 };
17062
17063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17065 if (!SWIG_IsOK(res1)) {
17066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17067 }
17068 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17069 ecode2 = SWIG_AsVal_int(obj1, &val2);
17070 if (!SWIG_IsOK(ecode2)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17072 }
17073 arg2 = static_cast< int >(val2);
17074 {
17075 PyThreadState* __tstate = wxPyBeginAllowThreads();
17076 (arg1)->Display(arg2);
17077 wxPyEndAllowThreads(__tstate);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 resultobj = SWIG_Py_Void();
17081 return resultobj;
17082 fail:
17083 return NULL;
17084 }
17085
17086
17087 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17088 PyObject *resultobj = 0;
17089 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17090 void *argp1 = 0 ;
17091 int res1 = 0 ;
17092 PyObject *swig_obj[1] ;
17093
17094 if (!args) SWIG_fail;
17095 swig_obj[0] = args;
17096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17097 if (!SWIG_IsOK(res1)) {
17098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17099 }
17100 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 (arg1)->DisplayContents();
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 resultobj = SWIG_Py_Void();
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17115 PyObject *resultobj = 0;
17116 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17117 void *argp1 = 0 ;
17118 int res1 = 0 ;
17119 PyObject *swig_obj[1] ;
17120
17121 if (!args) SWIG_fail;
17122 swig_obj[0] = args;
17123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17124 if (!SWIG_IsOK(res1)) {
17125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17126 }
17127 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 (arg1)->DisplayIndex();
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 resultobj = SWIG_Py_Void();
17135 return resultobj;
17136 fail:
17137 return NULL;
17138 }
17139
17140
17141 SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj = 0;
17143 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17144 wxString *arg2 = 0 ;
17145 bool result;
17146 void *argp1 = 0 ;
17147 int res1 = 0 ;
17148 bool temp2 = false ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char * kwnames[] = {
17152 (char *) "self",(char *) "keyword", NULL
17153 };
17154
17155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17157 if (!SWIG_IsOK(res1)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17159 }
17160 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17161 {
17162 arg2 = wxString_in_helper(obj1);
17163 if (arg2 == NULL) SWIG_fail;
17164 temp2 = true;
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 {
17173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17174 }
17175 {
17176 if (temp2)
17177 delete arg2;
17178 }
17179 return resultobj;
17180 fail:
17181 {
17182 if (temp2)
17183 delete arg2;
17184 }
17185 return NULL;
17186 }
17187
17188
17189 SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj = 0;
17191 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17192 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17193 wxString const &arg3_defvalue = wxPyEmptyString ;
17194 wxString *arg3 = (wxString *) &arg3_defvalue ;
17195 void *argp1 = 0 ;
17196 int res1 = 0 ;
17197 void *argp2 = 0 ;
17198 int res2 = 0 ;
17199 bool temp3 = false ;
17200 PyObject * obj0 = 0 ;
17201 PyObject * obj1 = 0 ;
17202 PyObject * obj2 = 0 ;
17203 char * kwnames[] = {
17204 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17205 };
17206
17207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17209 if (!SWIG_IsOK(res1)) {
17210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17211 }
17212 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17213 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17214 if (!SWIG_IsOK(res2)) {
17215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17216 }
17217 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17218 if (obj2) {
17219 {
17220 arg3 = wxString_in_helper(obj2);
17221 if (arg3 == NULL) SWIG_fail;
17222 temp3 = true;
17223 }
17224 }
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 resultobj = SWIG_Py_Void();
17232 {
17233 if (temp3)
17234 delete arg3;
17235 }
17236 return resultobj;
17237 fail:
17238 {
17239 if (temp3)
17240 delete arg3;
17241 }
17242 return NULL;
17243 }
17244
17245
17246 SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17247 PyObject *resultobj = 0;
17248 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17249 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17250 wxString arg3 = (wxString) wxPyEmptyString ;
17251 void *argp1 = 0 ;
17252 int res1 = 0 ;
17253 void *argp2 = 0 ;
17254 int res2 = 0 ;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 PyObject * obj2 = 0 ;
17258 char * kwnames[] = {
17259 (char *) "self",(char *) "cfg",(char *) "path", NULL
17260 };
17261
17262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17264 if (!SWIG_IsOK(res1)) {
17265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17266 }
17267 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17269 if (!SWIG_IsOK(res2)) {
17270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17271 }
17272 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17273 if (obj2) {
17274 {
17275 wxString* sptr = wxString_in_helper(obj2);
17276 if (sptr == NULL) SWIG_fail;
17277 arg3 = *sptr;
17278 delete sptr;
17279 }
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 (arg1)->ReadCustomization(arg2,arg3);
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 resultobj = SWIG_Py_Void();
17288 return resultobj;
17289 fail:
17290 return NULL;
17291 }
17292
17293
17294 SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj = 0;
17296 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17297 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17298 wxString arg3 = (wxString) wxPyEmptyString ;
17299 void *argp1 = 0 ;
17300 int res1 = 0 ;
17301 void *argp2 = 0 ;
17302 int res2 = 0 ;
17303 PyObject * obj0 = 0 ;
17304 PyObject * obj1 = 0 ;
17305 PyObject * obj2 = 0 ;
17306 char * kwnames[] = {
17307 (char *) "self",(char *) "cfg",(char *) "path", NULL
17308 };
17309
17310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17312 if (!SWIG_IsOK(res1)) {
17313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17314 }
17315 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17316 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17317 if (!SWIG_IsOK(res2)) {
17318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17319 }
17320 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17321 if (obj2) {
17322 {
17323 wxString* sptr = wxString_in_helper(obj2);
17324 if (sptr == NULL) SWIG_fail;
17325 arg3 = *sptr;
17326 delete sptr;
17327 }
17328 }
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 (arg1)->WriteCustomization(arg2,arg3);
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 resultobj = SWIG_Py_Void();
17336 return resultobj;
17337 fail:
17338 return NULL;
17339 }
17340
17341
17342 SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17343 PyObject *resultobj = 0;
17344 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17345 void *argp1 = 0 ;
17346 int res1 = 0 ;
17347 PyObject *swig_obj[1] ;
17348
17349 if (!args) SWIG_fail;
17350 swig_obj[0] = args;
17351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17352 if (!SWIG_IsOK(res1)) {
17353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17354 }
17355 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17356 {
17357 PyThreadState* __tstate = wxPyBeginAllowThreads();
17358 (arg1)->MakeModalIfNeeded();
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 resultobj = SWIG_Py_Void();
17363 return resultobj;
17364 fail:
17365 return NULL;
17366 }
17367
17368
17369 SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17370 PyObject *resultobj = 0;
17371 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17372 wxWindow *result = 0 ;
17373 void *argp1 = 0 ;
17374 int res1 = 0 ;
17375 PyObject *swig_obj[1] ;
17376
17377 if (!args) SWIG_fail;
17378 swig_obj[0] = args;
17379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17380 if (!SWIG_IsOK(res1)) {
17381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17382 }
17383 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 result = (wxWindow *)(arg1)->FindTopLevelWindow();
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 {
17391 resultobj = wxPyMake_wxObject(result, 0);
17392 }
17393 return resultobj;
17394 fail:
17395 return NULL;
17396 }
17397
17398
17399 SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17400 PyObject *obj;
17401 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17402 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17403 return SWIG_Py_Void();
17404 }
17405
17406 SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17407 return SWIG_Python_InitShadowInstance(args);
17408 }
17409
17410 SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17411 PyObject *resultobj = 0;
17412 wxWindow *arg1 = (wxWindow *) 0 ;
17413 wxString *arg2 = 0 ;
17414 wxString const &arg3_defvalue = wxEmptyString ;
17415 wxString *arg3 = (wxString *) &arg3_defvalue ;
17416 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17417 wxHtmlModalHelp *result = 0 ;
17418 void *argp1 = 0 ;
17419 int res1 = 0 ;
17420 bool temp2 = false ;
17421 bool temp3 = false ;
17422 int val4 ;
17423 int ecode4 = 0 ;
17424 PyObject * obj0 = 0 ;
17425 PyObject * obj1 = 0 ;
17426 PyObject * obj2 = 0 ;
17427 PyObject * obj3 = 0 ;
17428 char * kwnames[] = {
17429 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17430 };
17431
17432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17434 if (!SWIG_IsOK(res1)) {
17435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17436 }
17437 arg1 = reinterpret_cast< wxWindow * >(argp1);
17438 {
17439 arg2 = wxString_in_helper(obj1);
17440 if (arg2 == NULL) SWIG_fail;
17441 temp2 = true;
17442 }
17443 if (obj2) {
17444 {
17445 arg3 = wxString_in_helper(obj2);
17446 if (arg3 == NULL) SWIG_fail;
17447 temp3 = true;
17448 }
17449 }
17450 if (obj3) {
17451 ecode4 = SWIG_AsVal_int(obj3, &val4);
17452 if (!SWIG_IsOK(ecode4)) {
17453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17454 }
17455 arg4 = static_cast< int >(val4);
17456 }
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17460 wxPyEndAllowThreads(__tstate);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 }
17463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17464 {
17465 if (temp2)
17466 delete arg2;
17467 }
17468 {
17469 if (temp3)
17470 delete arg3;
17471 }
17472 return resultobj;
17473 fail:
17474 {
17475 if (temp2)
17476 delete arg2;
17477 }
17478 {
17479 if (temp3)
17480 delete arg3;
17481 }
17482 return NULL;
17483 }
17484
17485
17486 SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17487 PyObject *obj;
17488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17489 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17490 return SWIG_Py_Void();
17491 }
17492
17493 SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17494 return SWIG_Python_InitShadowInstance(args);
17495 }
17496
17497 static PyMethodDef SwigMethods[] = {
17498 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17499 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17500 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17501 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17502 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
17503 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17504 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17505 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
17506 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17507 { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
17508 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17509 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
17510 { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17511 { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17512 { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17513 { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17514 { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
17515 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17516 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
17517 { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
17518 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17519 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
17520 { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
17521 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
17522 { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
17523 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17524 { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
17525 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17526 { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
17527 { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
17528 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17529 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17530 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17531 { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17532 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17533 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
17534 { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
17535 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
17536 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17537 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17538 { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17539 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
17540 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
17541 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17542 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
17543 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
17544 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
17545 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
17546 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
17547 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17548 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
17549 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
17550 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
17551 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
17552 { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
17553 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17554 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
17555 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
17556 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
17557 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17558 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17559 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17560 { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
17561 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
17562 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17563 { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
17564 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17565 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17566 { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
17567 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17568 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
17569 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17570 { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
17571 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17572 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17573 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
17574 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17575 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
17576 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
17577 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17578 { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17579 { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
17580 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17581 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
17582 { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17583 { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17584 { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17585 { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17586 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17587 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
17588 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17589 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17590 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17591 { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
17592 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
17593 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17594 { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17595 { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
17596 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
17597 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
17598 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17599 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
17600 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17601 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
17602 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
17603 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
17604 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17605 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17606 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17607 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17608 { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17609 { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
17610 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17611 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
17612 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17613 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17614 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
17615 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
17616 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17617 { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17618 { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17619 { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17620 { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17621 { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17622 { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17623 { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17624 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17625 { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
17626 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17627 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17628 { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17629 { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17630 { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
17631 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17632 { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
17633 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
17634 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17635 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17636 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17637 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17638 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17639 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17640 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17641 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
17642 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
17643 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
17644 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17645 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
17646 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
17647 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17648 { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
17649 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17650 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17651 { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
17652 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17653 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17654 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
17655 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
17656 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
17657 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17658 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
17659 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
17660 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
17661 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
17662 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17663 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17664 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
17665 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
17666 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
17667 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
17668 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17669 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17670 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17671 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17672 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17673 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17674 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17675 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17676 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
17677 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
17678 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
17679 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
17680 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
17681 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17682 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
17683 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
17684 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17685 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
17686 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
17687 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17688 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
17689 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17690 { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
17691 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17692 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
17693 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
17694 { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17695 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17697 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17698 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17699 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17700 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17701 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17702 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
17703 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17704 { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
17705 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17706 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17707 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17708 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17709 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17710 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
17711 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17712 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17713 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
17714 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17715 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
17716 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
17717 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17718 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17719 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
17720 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17721 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17722 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17723 { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
17724 { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
17725 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
17726 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
17727 { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
17728 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
17729 { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
17730 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17731 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17732 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17733 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
17734 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
17735 { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
17736 { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
17737 { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
17738 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17739 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17740 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
17741 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17742 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
17743 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
17744 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17745 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
17746 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
17747 { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
17748 { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
17749 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17750 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17751 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17752 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17753 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17754 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
17755 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
17756 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
17757 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
17758 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
17759 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17760 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
17761 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17762 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17763 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17764 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17765 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17766 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17767 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
17768 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
17769 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
17770 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
17771 { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
17772 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
17773 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
17774 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
17775 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
17776 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
17777 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17778 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17779 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17780 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17781 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
17782 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
17783 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
17784 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
17785 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17786 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
17787 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
17788 { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
17789 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
17790 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
17791 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
17792 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
17793 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17794 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
17795 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17796 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
17797 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
17798 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
17799 { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
17800 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
17801 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
17802 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
17803 { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
17804 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
17805 { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
17806 { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
17807 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17808 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17809 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
17810 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
17811 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
17812 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
17813 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
17814 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17815 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17816 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17817 { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
17818 { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
17819 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17820 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17821 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17822 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
17823 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
17824 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17825 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17826 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17827 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17828 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
17829 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
17830 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
17831 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
17832 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
17833 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
17834 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
17835 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
17836 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
17837 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17838 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
17839 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL},
17840 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
17841 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL},
17842 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17843 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17844 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17845 { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
17846 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17847 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
17848 { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
17849 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17850 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
17851 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
17852 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
17853 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17854 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17855 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17856 { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
17857 { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
17858 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17859 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
17860 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17861 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
17862 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
17863 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
17864 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
17865 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17866 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
17867 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17868 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17869 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
17870 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
17871 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17872 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17873 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17874 { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
17875 { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
17876 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17877 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
17878 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
17879 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
17880 { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
17881 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
17882 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17883 { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
17884 { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
17885 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17886 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17887 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17888 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17889 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17890 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
17891 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
17892 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17893 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17894 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17895 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17896 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
17897 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
17898 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
17899 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
17900 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
17901 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
17902 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
17903 { NULL, NULL, 0, NULL }
17904 };
17905
17906
17907 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17908
17909 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
17910 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
17911 }
17912 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17913 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17914 }
17915 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17916 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17917 }
17918 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17919 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17920 }
17921 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17922 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17923 }
17924 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17925 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17926 }
17927 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17928 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17929 }
17930 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
17931 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
17932 }
17933 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17934 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17935 }
17936 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17937 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17938 }
17939 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
17940 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
17941 }
17942 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17944 }
17945 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
17946 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
17947 }
17948 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17949 return (void *)((wxEvent *) ((wxPyEvent *) x));
17950 }
17951 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
17952 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
17953 }
17954 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17955 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17956 }
17957 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17958 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17959 }
17960 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17961 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17962 }
17963 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17964 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17965 }
17966 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17967 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17968 }
17969 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17970 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17971 }
17972 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17973 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17974 }
17975 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17976 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17977 }
17978 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
17979 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
17980 }
17981 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17982 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17983 }
17984 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17985 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17986 }
17987 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
17988 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
17989 }
17990 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17991 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17992 }
17993 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17994 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17995 }
17996 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17997 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17998 }
17999 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18000 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18001 }
18002 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18003 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18004 }
18005 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18006 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18007 }
18008 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18009 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18010 }
18011 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18012 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18013 }
18014 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18016 }
18017 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18018 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18019 }
18020 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18021 return (void *)((wxEvent *) ((wxShowEvent *) x));
18022 }
18023 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
18024 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18025 }
18026 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18027 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18028 }
18029 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18030 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18031 }
18032 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18034 }
18035 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18036 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18037 }
18038 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18039 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18040 }
18041 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18042 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18043 }
18044 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18045 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18046 }
18047 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18048 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18049 }
18050 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18051 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18052 }
18053 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18054 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18055 }
18056 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18057 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18058 }
18059 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18060 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18061 }
18062 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
18063 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18064 }
18065 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
18066 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
18067 }
18068 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18069 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18070 }
18071 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18072 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18073 }
18074 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18075 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18076 }
18077 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18078 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18079 }
18080 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18081 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18082 }
18083 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18084 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18085 }
18086 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18087 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18088 }
18089 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18090 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18091 }
18092 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18093 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18094 }
18095 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18097 }
18098 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18100 }
18101 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18103 }
18104 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
18105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18106 }
18107 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18109 }
18110 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18112 }
18113 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18115 }
18116 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18117 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18118 }
18119 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18121 }
18122 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18123 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18124 }
18125 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18126 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
18127 }
18128 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18129 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18130 }
18131 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18132 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18133 }
18134 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18135 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18136 }
18137 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
18139 }
18140 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18141 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
18142 }
18143 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18144 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
18145 }
18146 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18147 return (void *)((wxEvtHandler *) ((wxWindow *) x));
18148 }
18149 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18150 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18151 }
18152 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
18154 }
18155 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18156 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
18157 }
18158 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18159 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18160 }
18161 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18163 }
18164 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
18166 }
18167 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18168 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18169 }
18170 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18172 }
18173 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18175 }
18176 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18177 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18178 }
18179 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18180 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18181 }
18182 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18184 }
18185 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18186 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
18187 }
18188 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18190 }
18191 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18193 }
18194 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18196 }
18197 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18198 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18199 }
18200 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18201 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18202 }
18203 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18204 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18205 }
18206 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18208 }
18209 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18211 }
18212 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18213 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18214 }
18215 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18216 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18217 }
18218 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18219 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18220 }
18221 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18222 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18223 }
18224 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18225 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18226 }
18227 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18228 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18229 }
18230 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18231 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18232 }
18233 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18234 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
18235 }
18236 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
18237 return (void *)((wxFrame *) ((wxProgressDialog *) x));
18238 }
18239 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
18240 return (void *)((wxFrame *) ((wxTipWindow *) x));
18241 }
18242 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18243 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
18244 }
18245 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18246 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18247 }
18248 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18249 return (void *)((wxFrame *) ((wxMiniFrame *) x));
18250 }
18251 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18252 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
18253 }
18254 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18255 return (void *)((wxFrame *) ((wxSplashScreen *) x));
18256 }
18257 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18258 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
18259 }
18260 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18261 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
18262 }
18263 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18264 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18265 }
18266 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18268 }
18269 static void *_p_wxEventTo_p_wxObject(void *x) {
18270 return (void *)((wxObject *) ((wxEvent *) x));
18271 }
18272 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18273 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
18274 }
18275 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18276 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18277 }
18278 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18279 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18280 }
18281 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18282 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
18283 }
18284 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18286 }
18287 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18289 }
18290 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18291 return (void *)((wxObject *) ((wxHtmlTag *) x));
18292 }
18293 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18294 return (void *)((wxObject *) ((wxMenuItem *) x));
18295 }
18296 static void *_p_wxImageTo_p_wxObject(void *x) {
18297 return (void *)((wxObject *) ((wxImage *) x));
18298 }
18299 static void *_p_wxPySizerTo_p_wxObject(void *x) {
18300 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18301 }
18302 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18303 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
18304 }
18305 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18306 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18307 }
18308 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18309 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
18310 }
18311 static void *_p_wxPyAppTo_p_wxObject(void *x) {
18312 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18313 }
18314 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18316 }
18317 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18319 }
18320 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18321 return (void *)((wxObject *) ((wxFindReplaceData *) x));
18322 }
18323 static void *_p_wxValidatorTo_p_wxObject(void *x) {
18324 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18325 }
18326 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18327 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18328 }
18329 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18330 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18331 }
18332 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18333 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18334 }
18335 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18336 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18337 }
18338 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18339 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
18340 }
18341 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18342 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18343 }
18344 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18345 return (void *)((wxObject *) ((wxPrintDialogData *) x));
18346 }
18347 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18348 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
18349 }
18350 static void *_p_wxPrinterTo_p_wxObject(void *x) {
18351 return (void *)((wxObject *) ((wxPrinter *) x));
18352 }
18353 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18355 }
18356 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18357 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
18358 }
18359 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18360 return (void *)((wxObject *) ((wxHtmlParser *) x));
18361 }
18362 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18363 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18364 }
18365 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18366 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18367 }
18368 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18369 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18370 }
18371 static void *_p_wxControlTo_p_wxObject(void *x) {
18372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18373 }
18374 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18376 }
18377 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18378 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18379 }
18380 static void *_p_wxColourDataTo_p_wxObject(void *x) {
18381 return (void *)((wxObject *) ((wxColourData *) x));
18382 }
18383 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18384 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18385 }
18386 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18387 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18388 }
18389 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18390 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18391 }
18392 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18393 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18394 }
18395 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18396 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18397 }
18398 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18399 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18400 }
18401 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18403 }
18404 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18405 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18406 }
18407 static void *_p_wxDateEventTo_p_wxObject(void *x) {
18408 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
18409 }
18410 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18411 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
18412 }
18413 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
18414 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
18415 }
18416 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18417 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
18418 }
18419 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18420 return (void *)((wxObject *) ((wxPyPrintout *) x));
18421 }
18422 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18424 }
18425 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18426 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
18427 }
18428 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18429 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18430 }
18431 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18432 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18433 }
18434 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18436 }
18437 static void *_p_wxSashEventTo_p_wxObject(void *x) {
18438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
18439 }
18440 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18442 }
18443 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18445 }
18446 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18447 return (void *)((wxObject *) ((wxPrintData *) x));
18448 }
18449 static void *_p_wxFontDataTo_p_wxObject(void *x) {
18450 return (void *)((wxObject *) ((wxFontData *) x));
18451 }
18452 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18454 }
18455 static void *_p_wxFrameTo_p_wxObject(void *x) {
18456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18457 }
18458 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18460 }
18461 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18462 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18463 }
18464 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18466 }
18467 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18468 return (void *)((wxObject *) ((wxFileSystem *) x));
18469 }
18470 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18471 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
18472 }
18473 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18474 return (void *)((wxObject *) ((wxPrintPreview *) x));
18475 }
18476 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18477 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18478 }
18479 static void *_p_wxSizerTo_p_wxObject(void *x) {
18480 return (void *)((wxObject *) ((wxSizer *) x));
18481 }
18482 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18483 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18484 }
18485 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18486 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18487 }
18488 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18489 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18490 }
18491 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18492 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
18493 }
18494 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18495 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18496 }
18497 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18498 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18499 }
18500 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
18501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
18502 }
18503 static void *_p_wxFSFileTo_p_wxObject(void *x) {
18504 return (void *)((wxObject *) ((wxFSFile *) x));
18505 }
18506 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18507 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18508 }
18509 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18510 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18511 }
18512 static void *_p_wxMenuTo_p_wxObject(void *x) {
18513 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18514 }
18515 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18516 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18517 }
18518 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18519 return (void *)((wxObject *) ((wxSizerItem *) x));
18520 }
18521 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18522 return (void *)((wxObject *) ((wxPrintDialog *) x));
18523 }
18524 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18525 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
18526 }
18527 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18529 }
18530 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18532 }
18533 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18535 }
18536 static void *_p_wxDialogTo_p_wxObject(void *x) {
18537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18538 }
18539 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18540 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18541 }
18542 static void *_p_wxPyEventTo_p_wxObject(void *x) {
18543 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18544 }
18545 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18547 }
18548 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18549 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18550 }
18551 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18552 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
18553 }
18554 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18555 return (void *)((wxObject *) ((wxEvtHandler *) x));
18556 }
18557 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18558 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18559 }
18560 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18561 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18562 }
18563 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18564 return (void *)((wxObject *) ((wxImageHandler *) x));
18565 }
18566 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18567 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
18568 }
18569 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18570 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18571 }
18572 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18573 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18574 }
18575 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18576 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18577 }
18578 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18579 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18580 }
18581 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18582 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18583 }
18584 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18585 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18586 }
18587 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18588 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18589 }
18590 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18591 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18592 }
18593 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18594 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18595 }
18596 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
18597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18598 }
18599 static void *_p_wxShowEventTo_p_wxObject(void *x) {
18600 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18601 }
18602 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
18604 }
18605 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18607 }
18608 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18610 }
18611 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
18613 }
18614 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18616 }
18617 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
18619 }
18620 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18622 }
18623 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
18625 }
18626 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18628 }
18629 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
18631 }
18632 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
18634 }
18635 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
18637 }
18638 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
18640 }
18641 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18643 }
18644 static void *_p_wxWindowTo_p_wxObject(void *x) {
18645 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18646 }
18647 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18648 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
18649 }
18650 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18651 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
18652 }
18653 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18655 }
18656 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18658 }
18659 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18661 }
18662 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
18663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18664 }
18665 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18667 }
18668 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18670 }
18671 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18673 }
18674 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18676 }
18677 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18679 }
18680 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18681 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
18682 }
18683 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
18685 }
18686 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18687 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18688 }
18689 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18690 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18691 }
18692 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18693 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18694 }
18695 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18696 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18697 }
18698 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18699 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
18700 }
18701 static void *_p_wxPanelTo_p_wxObject(void *x) {
18702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
18703 }
18704 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
18705 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
18706 }
18707 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18708 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
18709 }
18710 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
18711 return (void *)((wxObject *) ((wxHtmlCell *) x));
18712 }
18713 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18714 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
18715 }
18716 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
18718 }
18719 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18720 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
18721 }
18722 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
18724 }
18725 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
18726 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
18727 }
18728 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
18729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
18730 }
18731 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18733 }
18734 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18735 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18736 }
18737 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18738 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18739 }
18740 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
18741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18742 }
18743 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
18744 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
18745 }
18746 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
18748 }
18749 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
18750 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18751 }
18752 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
18753 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18754 }
18755 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
18756 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
18757 }
18758 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18759 return (void *)((wxWindow *) ((wxMenuBar *) x));
18760 }
18761 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
18762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18763 }
18764 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
18765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18766 }
18767 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
18768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18769 }
18770 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
18771 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18772 }
18773 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
18774 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18775 }
18776 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
18777 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18778 }
18779 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
18780 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18781 }
18782 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
18783 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18784 }
18785 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
18786 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18787 }
18788 static void *_p_wxPanelTo_p_wxWindow(void *x) {
18789 return (void *)((wxWindow *) ((wxPanel *) x));
18790 }
18791 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
18792 return (void *)((wxWindow *) ((wxStatusBar *) x));
18793 }
18794 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
18795 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
18796 }
18797 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
18798 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
18799 }
18800 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
18801 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18802 }
18803 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
18804 return (void *)((wxWindow *) ((wxPopupWindow *) x));
18805 }
18806 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
18807 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
18808 }
18809 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
18810 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
18811 }
18812 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
18813 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
18814 }
18815 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
18816 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
18817 }
18818 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
18819 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
18820 }
18821 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
18822 return (void *)((wxWindow *) ((wxSashWindow *) x));
18823 }
18824 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
18825 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
18826 }
18827 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
18828 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18829 }
18830 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
18831 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18832 }
18833 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
18834 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
18835 }
18836 static void *_p_wxControlTo_p_wxWindow(void *x) {
18837 return (void *)((wxWindow *) ((wxControl *) x));
18838 }
18839 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
18840 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18841 }
18842 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
18843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18844 }
18845 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
18846 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18847 }
18848 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18849 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18850 }
18851 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
18852 return (void *)((wxWindow *) ((wxPyWindow *) x));
18853 }
18854 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
18855 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18856 }
18857 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
18858 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18859 }
18860 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
18861 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18862 }
18863 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
18864 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
18865 }
18866 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
18867 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18868 }
18869 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
18870 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18871 }
18872 static void *_p_wxFrameTo_p_wxWindow(void *x) {
18873 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
18874 }
18875 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
18876 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18877 }
18878 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
18879 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18880 }
18881 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
18882 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18883 }
18884 static void *_p_wxDialogTo_p_wxWindow(void *x) {
18885 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
18886 }
18887 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
18888 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18889 }
18890 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
18891 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18892 }
18893 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
18894 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18895 }
18896 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
18897 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18898 }
18899 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
18900 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
18901 }
18902 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
18903 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
18904 }
18905 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
18906 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
18907 }
18908 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
18909 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
18910 }
18911 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
18912 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
18913 }
18914 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
18915 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
18916 }
18917 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
18918 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
18919 }
18920 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
18921 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
18922 }
18923 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
18924 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
18925 }
18926 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
18927 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
18928 }
18929 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
18930 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
18931 }
18932 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
18933 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
18934 }
18935 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
18936 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
18937 }
18938 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
18939 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18940 }
18941 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
18942 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
18943 }
18944 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18945 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
18946 }
18947 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18948 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
18949 }
18950 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
18951 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
18952 }
18953 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
18954 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
18955 }
18956 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
18957 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
18958 }
18959 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
18960 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
18961 }
18962 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
18963 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
18964 }
18965 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18966 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
18967 }
18968 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18969 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18970 }
18971 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
18972 return (void *)((wxDialog *) ((wxColourDialog *) x));
18973 }
18974 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
18975 return (void *)((wxDialog *) ((wxDirDialog *) x));
18976 }
18977 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
18978 return (void *)((wxDialog *) ((wxFontDialog *) x));
18979 }
18980 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
18981 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
18982 }
18983 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
18984 return (void *)((wxDialog *) ((wxFileDialog *) x));
18985 }
18986 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
18987 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
18988 }
18989 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
18990 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
18991 }
18992 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
18993 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
18994 }
18995 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
18996 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18997 }
18998 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
18999 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
19000 }
19001 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
19002 return (void *)((wxDialog *) ((wxMessageDialog *) x));
19003 }
19004 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
19005 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
19006 }
19007 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
19008 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
19009 }
19010 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
19011 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
19012 }
19013 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
19014 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
19015 }
19016 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
19017 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
19018 }
19019 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
19020 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
19021 }
19022 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
19023 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
19024 }
19025 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
19026 return (void *)((wxPanel *) ((wxPyPanel *) x));
19027 }
19028 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
19029 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
19030 }
19031 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
19032 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
19033 }
19034 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
19035 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
19036 }
19037 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19038 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
19039 }
19040 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19041 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
19042 }
19043 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19044 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
19045 }
19046 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19047 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19048 }
19049 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19050 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
19051 }
19052 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
19053 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
19054 }
19055 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19056 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
19057 }
19058 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19059 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
19060 }
19061 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19062 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19063 }
19064 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19065 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19066 }
19067 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19068 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19069 }
19070 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19071 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
19072 }
19073 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19074 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19075 }
19076 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
19077 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
19078 }
19079 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19080 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19081 }
19082 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19083 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
19084 }
19085 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19086 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19087 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};
19088 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19089 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19090 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19091 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19092 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19093 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19094 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19095 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19096 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19097 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19102 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19103 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19104 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19105 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19106 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19108 static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19109 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19110 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19111 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19112 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19113 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19117 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19125 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19126 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19138 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19150 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19154 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19155 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19156 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19157 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19158 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19159 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19160 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19161 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19162 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19163 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19164 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19165 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19166 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19167 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19168 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19169 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19170 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19171 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19172 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19173 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19174 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19175 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19176 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19177 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19178 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19179 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19180 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19181 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19182 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19183 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19184 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19185 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19186 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19187 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19188 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19190 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19191 static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19192 static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19193 static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19194 static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19195 static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19196 static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19197 static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19198 static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19199 static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19200 static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19201 static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19202 static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19203 static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19204 static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19205 static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19206 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19207 static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19208 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19209 static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19210 static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19211 static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19212 static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19213 static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19214 static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19215 static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19216 static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19217 static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19218 static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19219 static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19220 static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19221 static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19222 static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19223 static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19224 static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19225 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19226 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19227 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19228 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19229 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19230 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19231 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19232 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19233 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19234 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19235 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
19236 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19237 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19238 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19239 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19240 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19241 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19242 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19243 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19244 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19245 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
19246 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19247 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19248 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19249 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
19250 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19251 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19252 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19253 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19254 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19255 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19256 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19257 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19258 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19259 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19260 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19261 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19262 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19263 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19264 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19265 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19266 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19267 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19268 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19269 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19270 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19271 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19272 static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19273 static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19274 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19275 static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19276 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19277 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19278 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19279 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19280 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19281 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19282 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19283 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19284
19285 static swig_type_info *swig_type_initial[] = {
19286 &_swigt__p_bool,
19287 &_swigt__p_char,
19288 &_swigt__p_form_ops_t,
19289 &_swigt__p_int,
19290 &_swigt__p_unsigned_char,
19291 &_swigt__p_unsigned_int,
19292 &_swigt__p_unsigned_long,
19293 &_swigt__p_wxANIHandler,
19294 &_swigt__p_wxAcceleratorTable,
19295 &_swigt__p_wxActivateEvent,
19296 &_swigt__p_wxArrayInt,
19297 &_swigt__p_wxBMPHandler,
19298 &_swigt__p_wxBitmap,
19299 &_swigt__p_wxBoxSizer,
19300 &_swigt__p_wxCURHandler,
19301 &_swigt__p_wxCalculateLayoutEvent,
19302 &_swigt__p_wxChildFocusEvent,
19303 &_swigt__p_wxClipboardTextEvent,
19304 &_swigt__p_wxCloseEvent,
19305 &_swigt__p_wxColour,
19306 &_swigt__p_wxColourData,
19307 &_swigt__p_wxColourDialog,
19308 &_swigt__p_wxCommandEvent,
19309 &_swigt__p_wxConfigBase,
19310 &_swigt__p_wxContextMenuEvent,
19311 &_swigt__p_wxControl,
19312 &_swigt__p_wxControlWithItems,
19313 &_swigt__p_wxCursor,
19314 &_swigt__p_wxDC,
19315 &_swigt__p_wxDateEvent,
19316 &_swigt__p_wxDefaultHtmlRenderingStyle,
19317 &_swigt__p_wxDialog,
19318 &_swigt__p_wxDirDialog,
19319 &_swigt__p_wxDisplayChangedEvent,
19320 &_swigt__p_wxDropFilesEvent,
19321 &_swigt__p_wxDuplexMode,
19322 &_swigt__p_wxEraseEvent,
19323 &_swigt__p_wxEvent,
19324 &_swigt__p_wxEvtHandler,
19325 &_swigt__p_wxFSFile,
19326 &_swigt__p_wxFileDialog,
19327 &_swigt__p_wxFileSystem,
19328 &_swigt__p_wxFindDialogEvent,
19329 &_swigt__p_wxFindReplaceData,
19330 &_swigt__p_wxFindReplaceDialog,
19331 &_swigt__p_wxFlexGridSizer,
19332 &_swigt__p_wxFocusEvent,
19333 &_swigt__p_wxFont,
19334 &_swigt__p_wxFontData,
19335 &_swigt__p_wxFontDialog,
19336 &_swigt__p_wxFrame,
19337 &_swigt__p_wxGBSizerItem,
19338 &_swigt__p_wxGIFHandler,
19339 &_swigt__p_wxGridBagSizer,
19340 &_swigt__p_wxGridSizer,
19341 &_swigt__p_wxHelpControllerBase,
19342 &_swigt__p_wxHelpSearchMode,
19343 &_swigt__p_wxHtmlBookRecArray,
19344 &_swigt__p_wxHtmlBookRecord,
19345 &_swigt__p_wxHtmlCell,
19346 &_swigt__p_wxHtmlColourCell,
19347 &_swigt__p_wxHtmlContainerCell,
19348 &_swigt__p_wxHtmlDCRenderer,
19349 &_swigt__p_wxHtmlEasyPrinting,
19350 &_swigt__p_wxHtmlFilter,
19351 &_swigt__p_wxHtmlFontCell,
19352 &_swigt__p_wxHtmlHelpController,
19353 &_swigt__p_wxHtmlHelpData,
19354 &_swigt__p_wxHtmlHelpDialog,
19355 &_swigt__p_wxHtmlHelpFrame,
19356 &_swigt__p_wxHtmlHelpFrameCfg,
19357 &_swigt__p_wxHtmlHelpWindow,
19358 &_swigt__p_wxHtmlLinkInfo,
19359 &_swigt__p_wxHtmlModalHelp,
19360 &_swigt__p_wxHtmlParser,
19361 &_swigt__p_wxHtmlPrintout,
19362 &_swigt__p_wxHtmlRenderingInfo,
19363 &_swigt__p_wxHtmlRenderingState,
19364 &_swigt__p_wxHtmlRenderingStyle,
19365 &_swigt__p_wxHtmlSearchStatus,
19366 &_swigt__p_wxHtmlSelection,
19367 &_swigt__p_wxHtmlTag,
19368 &_swigt__p_wxHtmlTagHandler,
19369 &_swigt__p_wxHtmlWidgetCell,
19370 &_swigt__p_wxHtmlWinParser,
19371 &_swigt__p_wxHtmlWindow,
19372 &_swigt__p_wxHtmlWindowEvent,
19373 &_swigt__p_wxHtmlWindowInterface,
19374 &_swigt__p_wxHtmlWordCell,
19375 &_swigt__p_wxICOHandler,
19376 &_swigt__p_wxIconizeEvent,
19377 &_swigt__p_wxIdleEvent,
19378 &_swigt__p_wxImage,
19379 &_swigt__p_wxImageHandler,
19380 &_swigt__p_wxIndividualLayoutConstraint,
19381 &_swigt__p_wxInitDialogEvent,
19382 &_swigt__p_wxJPEGHandler,
19383 &_swigt__p_wxKeyEvent,
19384 &_swigt__p_wxLayoutAlgorithm,
19385 &_swigt__p_wxLayoutConstraints,
19386 &_swigt__p_wxMDIChildFrame,
19387 &_swigt__p_wxMDIClientWindow,
19388 &_swigt__p_wxMDIParentFrame,
19389 &_swigt__p_wxMaximizeEvent,
19390 &_swigt__p_wxMenu,
19391 &_swigt__p_wxMenuBar,
19392 &_swigt__p_wxMenuEvent,
19393 &_swigt__p_wxMenuItem,
19394 &_swigt__p_wxMessageDialog,
19395 &_swigt__p_wxMiniFrame,
19396 &_swigt__p_wxMouseCaptureChangedEvent,
19397 &_swigt__p_wxMouseCaptureLostEvent,
19398 &_swigt__p_wxMouseEvent,
19399 &_swigt__p_wxMoveEvent,
19400 &_swigt__p_wxMultiChoiceDialog,
19401 &_swigt__p_wxNavigationKeyEvent,
19402 &_swigt__p_wxNcPaintEvent,
19403 &_swigt__p_wxNotifyEvent,
19404 &_swigt__p_wxNumberEntryDialog,
19405 &_swigt__p_wxObject,
19406 &_swigt__p_wxPCXHandler,
19407 &_swigt__p_wxPNGHandler,
19408 &_swigt__p_wxPNMHandler,
19409 &_swigt__p_wxPageSetupDialog,
19410 &_swigt__p_wxPageSetupDialogData,
19411 &_swigt__p_wxPaintEvent,
19412 &_swigt__p_wxPaletteChangedEvent,
19413 &_swigt__p_wxPanel,
19414 &_swigt__p_wxPaperSize,
19415 &_swigt__p_wxPasswordEntryDialog,
19416 &_swigt__p_wxPoint,
19417 &_swigt__p_wxPopupWindow,
19418 &_swigt__p_wxPreviewCanvas,
19419 &_swigt__p_wxPreviewControlBar,
19420 &_swigt__p_wxPreviewFrame,
19421 &_swigt__p_wxPrintData,
19422 &_swigt__p_wxPrintDialog,
19423 &_swigt__p_wxPrintDialogData,
19424 &_swigt__p_wxPrintPreview,
19425 &_swigt__p_wxPrinter,
19426 &_swigt__p_wxProgressDialog,
19427 &_swigt__p_wxPyApp,
19428 &_swigt__p_wxPyCommandEvent,
19429 &_swigt__p_wxPyEvent,
19430 &_swigt__p_wxPyHtmlFilter,
19431 &_swigt__p_wxPyHtmlListBox,
19432 &_swigt__p_wxPyHtmlTagHandler,
19433 &_swigt__p_wxPyHtmlWinTagHandler,
19434 &_swigt__p_wxPyHtmlWindow,
19435 &_swigt__p_wxPyImageHandler,
19436 &_swigt__p_wxPyPanel,
19437 &_swigt__p_wxPyPopupTransientWindow,
19438 &_swigt__p_wxPyPreviewControlBar,
19439 &_swigt__p_wxPyPreviewFrame,
19440 &_swigt__p_wxPyPrintPreview,
19441 &_swigt__p_wxPyPrintout,
19442 &_swigt__p_wxPyScrolledWindow,
19443 &_swigt__p_wxPySizer,
19444 &_swigt__p_wxPyTaskBarIcon,
19445 &_swigt__p_wxPyVListBox,
19446 &_swigt__p_wxPyVScrolledWindow,
19447 &_swigt__p_wxPyValidator,
19448 &_swigt__p_wxPyWindow,
19449 &_swigt__p_wxQueryLayoutInfoEvent,
19450 &_swigt__p_wxQueryNewPaletteEvent,
19451 &_swigt__p_wxSashEvent,
19452 &_swigt__p_wxSashLayoutWindow,
19453 &_swigt__p_wxSashWindow,
19454 &_swigt__p_wxScrollEvent,
19455 &_swigt__p_wxScrollWinEvent,
19456 &_swigt__p_wxScrolledWindow,
19457 &_swigt__p_wxSetCursorEvent,
19458 &_swigt__p_wxShowEvent,
19459 &_swigt__p_wxSingleChoiceDialog,
19460 &_swigt__p_wxSize,
19461 &_swigt__p_wxSizeEvent,
19462 &_swigt__p_wxSizer,
19463 &_swigt__p_wxSizerItem,
19464 &_swigt__p_wxSplashScreen,
19465 &_swigt__p_wxSplashScreenWindow,
19466 &_swigt__p_wxSplitterEvent,
19467 &_swigt__p_wxSplitterWindow,
19468 &_swigt__p_wxStaticBoxSizer,
19469 &_swigt__p_wxStatusBar,
19470 &_swigt__p_wxStdDialogButtonSizer,
19471 &_swigt__p_wxString,
19472 &_swigt__p_wxSysColourChangedEvent,
19473 &_swigt__p_wxTIFFHandler,
19474 &_swigt__p_wxTaskBarIconEvent,
19475 &_swigt__p_wxTextEntryDialog,
19476 &_swigt__p_wxTipWindow,
19477 &_swigt__p_wxTopLevelWindow,
19478 &_swigt__p_wxUpdateUIEvent,
19479 &_swigt__p_wxValidator,
19480 &_swigt__p_wxVisualAttributes,
19481 &_swigt__p_wxWindow,
19482 &_swigt__p_wxWindowCreateEvent,
19483 &_swigt__p_wxWindowDestroyEvent,
19484 &_swigt__p_wxXPMHandler,
19485 };
19486
19487 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19489 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19490 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19492 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19493 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
19500 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
19501 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
19509 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}};
19510 static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19516 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
19525 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}};
19526 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19552 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19553 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
19556 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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
19557 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19571 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19575 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19576 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19579 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19580 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19587 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19588 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
19589 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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}};
19590 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
19593 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}};
19594 static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19597 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}};
19598 static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19611 static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19612 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}};
19613 static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19616 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}};
19617 static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19628 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}};
19629 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19634 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19638 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19639 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
19646 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
19647 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19648 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19649 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19650 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
19651 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19652 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19653 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19654 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
19655 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19656 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19657 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19658 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19659 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19660 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19661 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19662 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19663 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19664 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19665 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19666 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19667 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
19668 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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_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_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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_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_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_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_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_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}};
19669 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
19670 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}};
19671 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19672 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19673 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19674 static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19675 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}};
19676 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19677 static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19678 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}};
19679 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}};
19680 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
19681 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19682 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
19683 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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}};
19684 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
19685 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
19686
19687 static swig_cast_info *swig_cast_initial[] = {
19688 _swigc__p_bool,
19689 _swigc__p_char,
19690 _swigc__p_form_ops_t,
19691 _swigc__p_int,
19692 _swigc__p_unsigned_char,
19693 _swigc__p_unsigned_int,
19694 _swigc__p_unsigned_long,
19695 _swigc__p_wxANIHandler,
19696 _swigc__p_wxAcceleratorTable,
19697 _swigc__p_wxActivateEvent,
19698 _swigc__p_wxArrayInt,
19699 _swigc__p_wxBMPHandler,
19700 _swigc__p_wxBitmap,
19701 _swigc__p_wxBoxSizer,
19702 _swigc__p_wxCURHandler,
19703 _swigc__p_wxCalculateLayoutEvent,
19704 _swigc__p_wxChildFocusEvent,
19705 _swigc__p_wxClipboardTextEvent,
19706 _swigc__p_wxCloseEvent,
19707 _swigc__p_wxColour,
19708 _swigc__p_wxColourData,
19709 _swigc__p_wxColourDialog,
19710 _swigc__p_wxCommandEvent,
19711 _swigc__p_wxConfigBase,
19712 _swigc__p_wxContextMenuEvent,
19713 _swigc__p_wxControl,
19714 _swigc__p_wxControlWithItems,
19715 _swigc__p_wxCursor,
19716 _swigc__p_wxDC,
19717 _swigc__p_wxDateEvent,
19718 _swigc__p_wxDefaultHtmlRenderingStyle,
19719 _swigc__p_wxDialog,
19720 _swigc__p_wxDirDialog,
19721 _swigc__p_wxDisplayChangedEvent,
19722 _swigc__p_wxDropFilesEvent,
19723 _swigc__p_wxDuplexMode,
19724 _swigc__p_wxEraseEvent,
19725 _swigc__p_wxEvent,
19726 _swigc__p_wxEvtHandler,
19727 _swigc__p_wxFSFile,
19728 _swigc__p_wxFileDialog,
19729 _swigc__p_wxFileSystem,
19730 _swigc__p_wxFindDialogEvent,
19731 _swigc__p_wxFindReplaceData,
19732 _swigc__p_wxFindReplaceDialog,
19733 _swigc__p_wxFlexGridSizer,
19734 _swigc__p_wxFocusEvent,
19735 _swigc__p_wxFont,
19736 _swigc__p_wxFontData,
19737 _swigc__p_wxFontDialog,
19738 _swigc__p_wxFrame,
19739 _swigc__p_wxGBSizerItem,
19740 _swigc__p_wxGIFHandler,
19741 _swigc__p_wxGridBagSizer,
19742 _swigc__p_wxGridSizer,
19743 _swigc__p_wxHelpControllerBase,
19744 _swigc__p_wxHelpSearchMode,
19745 _swigc__p_wxHtmlBookRecArray,
19746 _swigc__p_wxHtmlBookRecord,
19747 _swigc__p_wxHtmlCell,
19748 _swigc__p_wxHtmlColourCell,
19749 _swigc__p_wxHtmlContainerCell,
19750 _swigc__p_wxHtmlDCRenderer,
19751 _swigc__p_wxHtmlEasyPrinting,
19752 _swigc__p_wxHtmlFilter,
19753 _swigc__p_wxHtmlFontCell,
19754 _swigc__p_wxHtmlHelpController,
19755 _swigc__p_wxHtmlHelpData,
19756 _swigc__p_wxHtmlHelpDialog,
19757 _swigc__p_wxHtmlHelpFrame,
19758 _swigc__p_wxHtmlHelpFrameCfg,
19759 _swigc__p_wxHtmlHelpWindow,
19760 _swigc__p_wxHtmlLinkInfo,
19761 _swigc__p_wxHtmlModalHelp,
19762 _swigc__p_wxHtmlParser,
19763 _swigc__p_wxHtmlPrintout,
19764 _swigc__p_wxHtmlRenderingInfo,
19765 _swigc__p_wxHtmlRenderingState,
19766 _swigc__p_wxHtmlRenderingStyle,
19767 _swigc__p_wxHtmlSearchStatus,
19768 _swigc__p_wxHtmlSelection,
19769 _swigc__p_wxHtmlTag,
19770 _swigc__p_wxHtmlTagHandler,
19771 _swigc__p_wxHtmlWidgetCell,
19772 _swigc__p_wxHtmlWinParser,
19773 _swigc__p_wxHtmlWindow,
19774 _swigc__p_wxHtmlWindowEvent,
19775 _swigc__p_wxHtmlWindowInterface,
19776 _swigc__p_wxHtmlWordCell,
19777 _swigc__p_wxICOHandler,
19778 _swigc__p_wxIconizeEvent,
19779 _swigc__p_wxIdleEvent,
19780 _swigc__p_wxImage,
19781 _swigc__p_wxImageHandler,
19782 _swigc__p_wxIndividualLayoutConstraint,
19783 _swigc__p_wxInitDialogEvent,
19784 _swigc__p_wxJPEGHandler,
19785 _swigc__p_wxKeyEvent,
19786 _swigc__p_wxLayoutAlgorithm,
19787 _swigc__p_wxLayoutConstraints,
19788 _swigc__p_wxMDIChildFrame,
19789 _swigc__p_wxMDIClientWindow,
19790 _swigc__p_wxMDIParentFrame,
19791 _swigc__p_wxMaximizeEvent,
19792 _swigc__p_wxMenu,
19793 _swigc__p_wxMenuBar,
19794 _swigc__p_wxMenuEvent,
19795 _swigc__p_wxMenuItem,
19796 _swigc__p_wxMessageDialog,
19797 _swigc__p_wxMiniFrame,
19798 _swigc__p_wxMouseCaptureChangedEvent,
19799 _swigc__p_wxMouseCaptureLostEvent,
19800 _swigc__p_wxMouseEvent,
19801 _swigc__p_wxMoveEvent,
19802 _swigc__p_wxMultiChoiceDialog,
19803 _swigc__p_wxNavigationKeyEvent,
19804 _swigc__p_wxNcPaintEvent,
19805 _swigc__p_wxNotifyEvent,
19806 _swigc__p_wxNumberEntryDialog,
19807 _swigc__p_wxObject,
19808 _swigc__p_wxPCXHandler,
19809 _swigc__p_wxPNGHandler,
19810 _swigc__p_wxPNMHandler,
19811 _swigc__p_wxPageSetupDialog,
19812 _swigc__p_wxPageSetupDialogData,
19813 _swigc__p_wxPaintEvent,
19814 _swigc__p_wxPaletteChangedEvent,
19815 _swigc__p_wxPanel,
19816 _swigc__p_wxPaperSize,
19817 _swigc__p_wxPasswordEntryDialog,
19818 _swigc__p_wxPoint,
19819 _swigc__p_wxPopupWindow,
19820 _swigc__p_wxPreviewCanvas,
19821 _swigc__p_wxPreviewControlBar,
19822 _swigc__p_wxPreviewFrame,
19823 _swigc__p_wxPrintData,
19824 _swigc__p_wxPrintDialog,
19825 _swigc__p_wxPrintDialogData,
19826 _swigc__p_wxPrintPreview,
19827 _swigc__p_wxPrinter,
19828 _swigc__p_wxProgressDialog,
19829 _swigc__p_wxPyApp,
19830 _swigc__p_wxPyCommandEvent,
19831 _swigc__p_wxPyEvent,
19832 _swigc__p_wxPyHtmlFilter,
19833 _swigc__p_wxPyHtmlListBox,
19834 _swigc__p_wxPyHtmlTagHandler,
19835 _swigc__p_wxPyHtmlWinTagHandler,
19836 _swigc__p_wxPyHtmlWindow,
19837 _swigc__p_wxPyImageHandler,
19838 _swigc__p_wxPyPanel,
19839 _swigc__p_wxPyPopupTransientWindow,
19840 _swigc__p_wxPyPreviewControlBar,
19841 _swigc__p_wxPyPreviewFrame,
19842 _swigc__p_wxPyPrintPreview,
19843 _swigc__p_wxPyPrintout,
19844 _swigc__p_wxPyScrolledWindow,
19845 _swigc__p_wxPySizer,
19846 _swigc__p_wxPyTaskBarIcon,
19847 _swigc__p_wxPyVListBox,
19848 _swigc__p_wxPyVScrolledWindow,
19849 _swigc__p_wxPyValidator,
19850 _swigc__p_wxPyWindow,
19851 _swigc__p_wxQueryLayoutInfoEvent,
19852 _swigc__p_wxQueryNewPaletteEvent,
19853 _swigc__p_wxSashEvent,
19854 _swigc__p_wxSashLayoutWindow,
19855 _swigc__p_wxSashWindow,
19856 _swigc__p_wxScrollEvent,
19857 _swigc__p_wxScrollWinEvent,
19858 _swigc__p_wxScrolledWindow,
19859 _swigc__p_wxSetCursorEvent,
19860 _swigc__p_wxShowEvent,
19861 _swigc__p_wxSingleChoiceDialog,
19862 _swigc__p_wxSize,
19863 _swigc__p_wxSizeEvent,
19864 _swigc__p_wxSizer,
19865 _swigc__p_wxSizerItem,
19866 _swigc__p_wxSplashScreen,
19867 _swigc__p_wxSplashScreenWindow,
19868 _swigc__p_wxSplitterEvent,
19869 _swigc__p_wxSplitterWindow,
19870 _swigc__p_wxStaticBoxSizer,
19871 _swigc__p_wxStatusBar,
19872 _swigc__p_wxStdDialogButtonSizer,
19873 _swigc__p_wxString,
19874 _swigc__p_wxSysColourChangedEvent,
19875 _swigc__p_wxTIFFHandler,
19876 _swigc__p_wxTaskBarIconEvent,
19877 _swigc__p_wxTextEntryDialog,
19878 _swigc__p_wxTipWindow,
19879 _swigc__p_wxTopLevelWindow,
19880 _swigc__p_wxUpdateUIEvent,
19881 _swigc__p_wxValidator,
19882 _swigc__p_wxVisualAttributes,
19883 _swigc__p_wxWindow,
19884 _swigc__p_wxWindowCreateEvent,
19885 _swigc__p_wxWindowDestroyEvent,
19886 _swigc__p_wxXPMHandler,
19887 };
19888
19889
19890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19891
19892 static swig_const_info swig_const_table[] = {
19893 {0, 0, 0, 0.0, 0, 0}};
19894
19895 #ifdef __cplusplus
19896 }
19897 #endif
19898 /* -----------------------------------------------------------------------------
19899 * Type initialization:
19900 * This problem is tough by the requirement that no dynamic
19901 * memory is used. Also, since swig_type_info structures store pointers to
19902 * swig_cast_info structures and swig_cast_info structures store pointers back
19903 * to swig_type_info structures, we need some lookup code at initialization.
19904 * The idea is that swig generates all the structures that are needed.
19905 * The runtime then collects these partially filled structures.
19906 * The SWIG_InitializeModule function takes these initial arrays out of
19907 * swig_module, and does all the lookup, filling in the swig_module.types
19908 * array with the correct data and linking the correct swig_cast_info
19909 * structures together.
19910 *
19911 * The generated swig_type_info structures are assigned staticly to an initial
19912 * array. We just loop though that array, and handle each type individually.
19913 * First we lookup if this type has been already loaded, and if so, use the
19914 * loaded structure instead of the generated one. Then we have to fill in the
19915 * cast linked list. The cast data is initially stored in something like a
19916 * two-dimensional array. Each row corresponds to a type (there are the same
19917 * number of rows as there are in the swig_type_initial array). Each entry in
19918 * a column is one of the swig_cast_info structures for that type.
19919 * The cast_initial array is actually an array of arrays, because each row has
19920 * a variable number of columns. So to actually build the cast linked list,
19921 * we find the array of casts associated with the type, and loop through it
19922 * adding the casts to the list. The one last trick we need to do is making
19923 * sure the type pointer in the swig_cast_info struct is correct.
19924 *
19925 * First off, we lookup the cast->type name to see if it is already loaded.
19926 * There are three cases to handle:
19927 * 1) If the cast->type has already been loaded AND the type we are adding
19928 * casting info to has not been loaded (it is in this module), THEN we
19929 * replace the cast->type pointer with the type pointer that has already
19930 * been loaded.
19931 * 2) If BOTH types (the one we are adding casting info to, and the
19932 * cast->type) are loaded, THEN the cast info has already been loaded by
19933 * the previous module so we just ignore it.
19934 * 3) Finally, if cast->type has not already been loaded, then we add that
19935 * swig_cast_info to the linked list (because the cast->type) pointer will
19936 * be correct.
19937 * ----------------------------------------------------------------------------- */
19938
19939 #ifdef __cplusplus
19940 extern "C" {
19941 #if 0
19942 } /* c-mode */
19943 #endif
19944 #endif
19945
19946 #if 0
19947 #define SWIGRUNTIME_DEBUG
19948 #endif
19949
19950 SWIGRUNTIME void
19951 SWIG_InitializeModule(void *clientdata) {
19952 size_t i;
19953 swig_module_info *module_head;
19954 static int init_run = 0;
19955
19956 clientdata = clientdata;
19957
19958 if (init_run) return;
19959 init_run = 1;
19960
19961 /* Initialize the swig_module */
19962 swig_module.type_initial = swig_type_initial;
19963 swig_module.cast_initial = swig_cast_initial;
19964
19965 /* Try and load any already created modules */
19966 module_head = SWIG_GetModule(clientdata);
19967 if (module_head) {
19968 swig_module.next = module_head->next;
19969 module_head->next = &swig_module;
19970 } else {
19971 /* This is the first module loaded */
19972 swig_module.next = &swig_module;
19973 SWIG_SetModule(clientdata, &swig_module);
19974 }
19975
19976 /* Now work on filling in swig_module.types */
19977 #ifdef SWIGRUNTIME_DEBUG
19978 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
19979 #endif
19980 for (i = 0; i < swig_module.size; ++i) {
19981 swig_type_info *type = 0;
19982 swig_type_info *ret;
19983 swig_cast_info *cast;
19984
19985 #ifdef SWIGRUNTIME_DEBUG
19986 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
19987 #endif
19988
19989 /* if there is another module already loaded */
19990 if (swig_module.next != &swig_module) {
19991 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
19992 }
19993 if (type) {
19994 /* Overwrite clientdata field */
19995 #ifdef SWIGRUNTIME_DEBUG
19996 printf("SWIG_InitializeModule: found type %s\n", type->name);
19997 #endif
19998 if (swig_module.type_initial[i]->clientdata) {
19999 type->clientdata = swig_module.type_initial[i]->clientdata;
20000 #ifdef SWIGRUNTIME_DEBUG
20001 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20002 #endif
20003 }
20004 } else {
20005 type = swig_module.type_initial[i];
20006 }
20007
20008 /* Insert casting types */
20009 cast = swig_module.cast_initial[i];
20010 while (cast->type) {
20011 /* Don't need to add information already in the list */
20012 ret = 0;
20013 #ifdef SWIGRUNTIME_DEBUG
20014 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20015 #endif
20016 if (swig_module.next != &swig_module) {
20017 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
20018 #ifdef SWIGRUNTIME_DEBUG
20019 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20020 #endif
20021 }
20022 if (ret) {
20023 if (type == swig_module.type_initial[i]) {
20024 #ifdef SWIGRUNTIME_DEBUG
20025 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20026 #endif
20027 cast->type = ret;
20028 ret = 0;
20029 } else {
20030 /* Check for casting already in the list */
20031 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20032 #ifdef SWIGRUNTIME_DEBUG
20033 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20034 #endif
20035 if (!ocast) ret = 0;
20036 }
20037 }
20038
20039 if (!ret) {
20040 #ifdef SWIGRUNTIME_DEBUG
20041 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20042 #endif
20043 if (type->cast) {
20044 type->cast->prev = cast;
20045 cast->next = type->cast;
20046 }
20047 type->cast = cast;
20048 }
20049 cast++;
20050 }
20051 /* Set entry in modules->types array equal to the type */
20052 swig_module.types[i] = type;
20053 }
20054 swig_module.types[i] = 0;
20055
20056 #ifdef SWIGRUNTIME_DEBUG
20057 printf("**** SWIG_InitializeModule: Cast List ******\n");
20058 for (i = 0; i < swig_module.size; ++i) {
20059 int j = 0;
20060 swig_cast_info *cast = swig_module.cast_initial[i];
20061 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20062 while (cast->type) {
20063 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20064 cast++;
20065 ++j;
20066 }
20067 printf("---- Total casts: %d\n",j);
20068 }
20069 printf("**** SWIG_InitializeModule: Cast List ******\n");
20070 #endif
20071 }
20072
20073 /* This function will propagate the clientdata field of type to
20074 * any new swig_type_info structures that have been added into the list
20075 * of equivalent types. It is like calling
20076 * SWIG_TypeClientData(type, clientdata) a second time.
20077 */
20078 SWIGRUNTIME void
20079 SWIG_PropagateClientData(void) {
20080 size_t i;
20081 swig_cast_info *equiv;
20082 static int init_run = 0;
20083
20084 if (init_run) return;
20085 init_run = 1;
20086
20087 for (i = 0; i < swig_module.size; i++) {
20088 if (swig_module.types[i]->clientdata) {
20089 equiv = swig_module.types[i]->cast;
20090 while (equiv) {
20091 if (!equiv->converter) {
20092 if (equiv->type && !equiv->type->clientdata)
20093 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20094 }
20095 equiv = equiv->next;
20096 }
20097 }
20098 }
20099 }
20100
20101 #ifdef __cplusplus
20102 #if 0
20103 {
20104 /* c-mode */
20105 #endif
20106 }
20107 #endif
20108
20109
20110
20111 #ifdef __cplusplus
20112 extern "C" {
20113 #endif
20114
20115 /* Python-specific SWIG API */
20116 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20117 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20118 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20119
20120 /* -----------------------------------------------------------------------------
20121 * global variable support code.
20122 * ----------------------------------------------------------------------------- */
20123
20124 typedef struct swig_globalvar {
20125 char *name; /* Name of global variable */
20126 PyObject *(*get_attr)(void); /* Return the current value */
20127 int (*set_attr)(PyObject *); /* Set the value */
20128 struct swig_globalvar *next;
20129 } swig_globalvar;
20130
20131 typedef struct swig_varlinkobject {
20132 PyObject_HEAD
20133 swig_globalvar *vars;
20134 } swig_varlinkobject;
20135
20136 SWIGINTERN PyObject *
20137 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
20138 return PyString_FromString("<Swig global variables>");
20139 }
20140
20141 SWIGINTERN PyObject *
20142 swig_varlink_str(swig_varlinkobject *v) {
20143 PyObject *str = PyString_FromString("(");
20144 swig_globalvar *var;
20145 for (var = v->vars; var; var=var->next) {
20146 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
20147 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
20148 }
20149 PyString_ConcatAndDel(&str,PyString_FromString(")"));
20150 return str;
20151 }
20152
20153 SWIGINTERN int
20154 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
20155 PyObject *str = swig_varlink_str(v);
20156 fprintf(fp,"Swig global variables ");
20157 fprintf(fp,"%s\n", PyString_AsString(str));
20158 Py_DECREF(str);
20159 return 0;
20160 }
20161
20162 SWIGINTERN void
20163 swig_varlink_dealloc(swig_varlinkobject *v) {
20164 swig_globalvar *var = v->vars;
20165 while (var) {
20166 swig_globalvar *n = var->next;
20167 free(var->name);
20168 free(var);
20169 var = n;
20170 }
20171 }
20172
20173 SWIGINTERN PyObject *
20174 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20175 PyObject *res = NULL;
20176 swig_globalvar *var = v->vars;
20177 while (var) {
20178 if (strcmp(var->name,n) == 0) {
20179 res = (*var->get_attr)();
20180 break;
20181 }
20182 var = var->next;
20183 }
20184 if (res == NULL && !PyErr_Occurred()) {
20185 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20186 }
20187 return res;
20188 }
20189
20190 SWIGINTERN int
20191 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20192 int res = 1;
20193 swig_globalvar *var = v->vars;
20194 while (var) {
20195 if (strcmp(var->name,n) == 0) {
20196 res = (*var->set_attr)(p);
20197 break;
20198 }
20199 var = var->next;
20200 }
20201 if (res == 1 && !PyErr_Occurred()) {
20202 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20203 }
20204 return res;
20205 }
20206
20207 SWIGINTERN PyTypeObject*
20208 swig_varlink_type(void) {
20209 static char varlink__doc__[] = "Swig var link object";
20210 static PyTypeObject varlink_type;
20211 static int type_init = 0;
20212 if (!type_init) {
20213 const PyTypeObject tmp
20214 = {
20215 PyObject_HEAD_INIT(NULL)
20216 0, /* Number of items in variable part (ob_size) */
20217 (char *)"swigvarlink", /* Type name (tp_name) */
20218 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20219 0, /* Itemsize (tp_itemsize) */
20220 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
20221 (printfunc) swig_varlink_print, /* Print (tp_print) */
20222 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20223 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20224 0, /* tp_compare */
20225 (reprfunc) swig_varlink_repr, /* tp_repr */
20226 0, /* tp_as_number */
20227 0, /* tp_as_sequence */
20228 0, /* tp_as_mapping */
20229 0, /* tp_hash */
20230 0, /* tp_call */
20231 (reprfunc)swig_varlink_str, /* tp_str */
20232 0, /* tp_getattro */
20233 0, /* tp_setattro */
20234 0, /* tp_as_buffer */
20235 0, /* tp_flags */
20236 varlink__doc__, /* tp_doc */
20237 0, /* tp_traverse */
20238 0, /* tp_clear */
20239 0, /* tp_richcompare */
20240 0, /* tp_weaklistoffset */
20241 #if PY_VERSION_HEX >= 0x02020000
20242 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20243 #endif
20244 #if PY_VERSION_HEX >= 0x02030000
20245 0, /* tp_del */
20246 #endif
20247 #ifdef COUNT_ALLOCS
20248 0,0,0,0 /* tp_alloc -> tp_next */
20249 #endif
20250 };
20251 varlink_type = tmp;
20252 varlink_type.ob_type = &PyType_Type;
20253 type_init = 1;
20254 }
20255 return &varlink_type;
20256 }
20257
20258 /* Create a variable linking object for use later */
20259 SWIGINTERN PyObject *
20260 SWIG_Python_newvarlink(void) {
20261 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20262 if (result) {
20263 result->vars = 0;
20264 }
20265 return ((PyObject*) result);
20266 }
20267
20268 SWIGINTERN void
20269 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
20270 swig_varlinkobject *v = (swig_varlinkobject *) p;
20271 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20272 if (gv) {
20273 size_t size = strlen(name)+1;
20274 gv->name = (char *)malloc(size);
20275 if (gv->name) {
20276 strncpy(gv->name,name,size);
20277 gv->get_attr = get_attr;
20278 gv->set_attr = set_attr;
20279 gv->next = v->vars;
20280 }
20281 }
20282 v->vars = gv;
20283 }
20284
20285 SWIGINTERN PyObject *
20286 SWIG_globals() {
20287 static PyObject *_SWIG_globals = 0;
20288 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
20289 return _SWIG_globals;
20290 }
20291
20292 /* -----------------------------------------------------------------------------
20293 * constants/methods manipulation
20294 * ----------------------------------------------------------------------------- */
20295
20296 /* Install Constants */
20297 SWIGINTERN void
20298 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20299 PyObject *obj = 0;
20300 size_t i;
20301 for (i = 0; constants[i].type; ++i) {
20302 switch(constants[i].type) {
20303 case SWIG_PY_POINTER:
20304 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20305 break;
20306 case SWIG_PY_BINARY:
20307 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20308 break;
20309 default:
20310 obj = 0;
20311 break;
20312 }
20313 if (obj) {
20314 PyDict_SetItemString(d, constants[i].name, obj);
20315 Py_DECREF(obj);
20316 }
20317 }
20318 }
20319
20320 /* -----------------------------------------------------------------------------*/
20321 /* Fix SwigMethods to carry the callback ptrs when needed */
20322 /* -----------------------------------------------------------------------------*/
20323
20324 SWIGINTERN void
20325 SWIG_Python_FixMethods(PyMethodDef *methods,
20326 swig_const_info *const_table,
20327 swig_type_info **types,
20328 swig_type_info **types_initial) {
20329 size_t i;
20330 for (i = 0; methods[i].ml_name; ++i) {
20331 const char *c = methods[i].ml_doc;
20332 if (c && (c = strstr(c, "swig_ptr: "))) {
20333 int j;
20334 swig_const_info *ci = 0;
20335 const char *name = c + 10;
20336 for (j = 0; const_table[j].type; ++j) {
20337 if (strncmp(const_table[j].name, name,
20338 strlen(const_table[j].name)) == 0) {
20339 ci = &(const_table[j]);
20340 break;
20341 }
20342 }
20343 if (ci) {
20344 size_t shift = (ci->ptype) - types;
20345 swig_type_info *ty = types_initial[shift];
20346 size_t ldoc = (c - methods[i].ml_doc);
20347 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20348 char *ndoc = (char*)malloc(ldoc + lptr + 10);
20349 if (ndoc) {
20350 char *buff = ndoc;
20351 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20352 if (ptr) {
20353 strncpy(buff, methods[i].ml_doc, ldoc);
20354 buff += ldoc;
20355 strncpy(buff, "swig_ptr: ", 10);
20356 buff += 10;
20357 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20358 methods[i].ml_doc = ndoc;
20359 }
20360 }
20361 }
20362 }
20363 }
20364 }
20365
20366 #ifdef __cplusplus
20367 }
20368 #endif
20369
20370 /* -----------------------------------------------------------------------------*
20371 * Partial Init method
20372 * -----------------------------------------------------------------------------*/
20373
20374 #ifdef __cplusplus
20375 extern "C"
20376 #endif
20377 SWIGEXPORT void SWIG_init(void) {
20378 PyObject *m, *d;
20379
20380 /* Fix SwigMethods to carry the callback ptrs when needed */
20381 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
20382
20383 m = Py_InitModule((char *) SWIG_name, SwigMethods);
20384 d = PyModule_GetDict(m);
20385
20386 SWIG_InitializeModule(0);
20387 SWIG_InstallConstants(d,swig_const_table);
20388
20389
20390 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
20391 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
20392 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
20393 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
20394 SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
20395 SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
20396 SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
20397 SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
20398 SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
20399 SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
20400 SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
20401 SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
20402 SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
20403 SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
20404 SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
20405 SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
20406 SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
20407 SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
20408 SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
20409 SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
20410 SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
20411 SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
20412 SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
20413 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
20414 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
20415 SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
20416 SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
20417 SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
20418 SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
20419 SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
20420 SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
20421 SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
20422 SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
20423 SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
20424 SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
20425 SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
20426 SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
20427 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
20428 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
20429 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
20430 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
20431 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
20432 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
20433 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
20434 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
20435 SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
20436 SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
20437 SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
20438 SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
20439 SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
20440 SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
20441 SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
20442 SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
20443 SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
20444 SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
20445 SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
20446 SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
20447 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
20448 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
20449 SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
20450 SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
20451 SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
20452 SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
20453 SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
20454 SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
20455 SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
20456 SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
20457 SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
20458 SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
20459 SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
20460 SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
20461 SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
20462 SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
20463 SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
20464 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
20465 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
20466 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
20467 SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
20468 SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
20469 SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
20470 SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
20471 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
20472 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
20473 SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
20474 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
20475 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
20476 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
20477 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
20478 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
20479 SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
20480
20481 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20482 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20483 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20484 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
20485
20486 }
20487