]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/html_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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_wxMouseEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMoveEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[113]
2580 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[114]
2581 #define SWIGTYPE_p_wxNcPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxNotifyEvent swig_types[116]
2583 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[117]
2584 #define SWIGTYPE_p_wxObject swig_types[118]
2585 #define SWIGTYPE_p_wxPCXHandler swig_types[119]
2586 #define SWIGTYPE_p_wxPNGHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPNMHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPageSetupDialog swig_types[122]
2589 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[123]
2590 #define SWIGTYPE_p_wxPaintEvent swig_types[124]
2591 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPanel swig_types[126]
2593 #define SWIGTYPE_p_wxPaperSize swig_types[127]
2594 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[128]
2595 #define SWIGTYPE_p_wxPoint swig_types[129]
2596 #define SWIGTYPE_p_wxPopupWindow swig_types[130]
2597 #define SWIGTYPE_p_wxPreviewCanvas swig_types[131]
2598 #define SWIGTYPE_p_wxPreviewControlBar swig_types[132]
2599 #define SWIGTYPE_p_wxPreviewFrame swig_types[133]
2600 #define SWIGTYPE_p_wxPrintData swig_types[134]
2601 #define SWIGTYPE_p_wxPrintDialog swig_types[135]
2602 #define SWIGTYPE_p_wxPrintDialogData swig_types[136]
2603 #define SWIGTYPE_p_wxPrintPreview swig_types[137]
2604 #define SWIGTYPE_p_wxPrinter swig_types[138]
2605 #define SWIGTYPE_p_wxProgressDialog swig_types[139]
2606 #define SWIGTYPE_p_wxPyApp swig_types[140]
2607 #define SWIGTYPE_p_wxPyCommandEvent swig_types[141]
2608 #define SWIGTYPE_p_wxPyEvent swig_types[142]
2609 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[143]
2610 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[144]
2611 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[145]
2612 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[147]
2614 #define SWIGTYPE_p_wxPyImageHandler swig_types[148]
2615 #define SWIGTYPE_p_wxPyPanel swig_types[149]
2616 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[150]
2617 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[151]
2618 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[152]
2619 #define SWIGTYPE_p_wxPyPrintPreview swig_types[153]
2620 #define SWIGTYPE_p_wxPyPrintout swig_types[154]
2621 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[155]
2622 #define SWIGTYPE_p_wxPySizer swig_types[156]
2623 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxPyVListBox swig_types[158]
2625 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[159]
2626 #define SWIGTYPE_p_wxPyValidator swig_types[160]
2627 #define SWIGTYPE_p_wxPyWindow swig_types[161]
2628 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[162]
2629 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[163]
2630 #define SWIGTYPE_p_wxSashEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[165]
2632 #define SWIGTYPE_p_wxSashWindow swig_types[166]
2633 #define SWIGTYPE_p_wxScrollEvent swig_types[167]
2634 #define SWIGTYPE_p_wxScrollWinEvent swig_types[168]
2635 #define SWIGTYPE_p_wxScrolledWindow swig_types[169]
2636 #define SWIGTYPE_p_wxSetCursorEvent swig_types[170]
2637 #define SWIGTYPE_p_wxShowEvent swig_types[171]
2638 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[172]
2639 #define SWIGTYPE_p_wxSize swig_types[173]
2640 #define SWIGTYPE_p_wxSizeEvent swig_types[174]
2641 #define SWIGTYPE_p_wxSizer swig_types[175]
2642 #define SWIGTYPE_p_wxSizerItem swig_types[176]
2643 #define SWIGTYPE_p_wxSplashScreen swig_types[177]
2644 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[178]
2645 #define SWIGTYPE_p_wxSplitterEvent swig_types[179]
2646 #define SWIGTYPE_p_wxSplitterWindow swig_types[180]
2647 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[181]
2648 #define SWIGTYPE_p_wxStatusBar swig_types[182]
2649 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[183]
2650 #define SWIGTYPE_p_wxString swig_types[184]
2651 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[185]
2652 #define SWIGTYPE_p_wxTIFFHandler swig_types[186]
2653 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[187]
2654 #define SWIGTYPE_p_wxTextEntryDialog swig_types[188]
2655 #define SWIGTYPE_p_wxTipWindow swig_types[189]
2656 #define SWIGTYPE_p_wxTopLevelWindow swig_types[190]
2657 #define SWIGTYPE_p_wxTreeCtrl 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 #ifdef __cplusplus
3199 extern "C" {
3200 #endif
3201 SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3202 SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3203 return 1;
3204 }
3205
3206
3207 SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3208 PyObject *pyobj = 0;
3209
3210 {
3211 #if wxUSE_UNICODE
3212 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3213 #else
3214 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
3215 #endif
3216 }
3217 return pyobj;
3218 }
3219
3220
3221 SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3222 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3223 return 1;
3224 }
3225
3226
3227 SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3228 PyObject *pyobj = 0;
3229
3230 {
3231 #if wxUSE_UNICODE
3232 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3233 #else
3234 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
3235 #endif
3236 }
3237 return pyobj;
3238 }
3239
3240
3241 SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3242 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3243 return 1;
3244 }
3245
3246
3247 SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3248 PyObject *pyobj = 0;
3249
3250 {
3251 #if wxUSE_UNICODE
3252 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3253 #else
3254 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
3255 #endif
3256 }
3257 return pyobj;
3258 }
3259
3260
3261 SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj = 0;
3263 wxString *arg1 = 0 ;
3264 wxString const &arg2_defvalue = wxPyEmptyString ;
3265 wxString *arg2 = (wxString *) &arg2_defvalue ;
3266 wxHtmlLinkInfo *result = 0 ;
3267 bool temp1 = false ;
3268 bool temp2 = false ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 char * kwnames[] = {
3272 (char *) "href",(char *) "target", NULL
3273 };
3274
3275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3276 {
3277 arg1 = wxString_in_helper(obj0);
3278 if (arg1 == NULL) SWIG_fail;
3279 temp1 = true;
3280 }
3281 if (obj1) {
3282 {
3283 arg2 = wxString_in_helper(obj1);
3284 if (arg2 == NULL) SWIG_fail;
3285 temp2 = true;
3286 }
3287 }
3288 {
3289 PyThreadState* __tstate = wxPyBeginAllowThreads();
3290 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3295 {
3296 if (temp1)
3297 delete arg1;
3298 }
3299 {
3300 if (temp2)
3301 delete arg2;
3302 }
3303 return resultobj;
3304 fail:
3305 {
3306 if (temp1)
3307 delete arg1;
3308 }
3309 {
3310 if (temp2)
3311 delete arg2;
3312 }
3313 return NULL;
3314 }
3315
3316
3317 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3318 PyObject *resultobj = 0;
3319 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3320 wxString result;
3321 void *argp1 = 0 ;
3322 int res1 = 0 ;
3323 PyObject *swig_obj[1] ;
3324
3325 if (!args) SWIG_fail;
3326 swig_obj[0] = args;
3327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3328 if (!SWIG_IsOK(res1)) {
3329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3330 }
3331 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (arg1)->GetHref();
3335 wxPyEndAllowThreads(__tstate);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 {
3339 #if wxUSE_UNICODE
3340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3341 #else
3342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3343 #endif
3344 }
3345 return resultobj;
3346 fail:
3347 return NULL;
3348 }
3349
3350
3351 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3352 PyObject *resultobj = 0;
3353 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3354 wxString result;
3355 void *argp1 = 0 ;
3356 int res1 = 0 ;
3357 PyObject *swig_obj[1] ;
3358
3359 if (!args) SWIG_fail;
3360 swig_obj[0] = args;
3361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3362 if (!SWIG_IsOK(res1)) {
3363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3364 }
3365 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 result = (arg1)->GetTarget();
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 {
3373 #if wxUSE_UNICODE
3374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3375 #else
3376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3377 #endif
3378 }
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3386 PyObject *resultobj = 0;
3387 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3388 wxMouseEvent *result = 0 ;
3389 void *argp1 = 0 ;
3390 int res1 = 0 ;
3391 PyObject *swig_obj[1] ;
3392
3393 if (!args) SWIG_fail;
3394 swig_obj[0] = args;
3395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3396 if (!SWIG_IsOK(res1)) {
3397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3398 }
3399 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = (wxMouseEvent *)(arg1)->GetEvent();
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 {
3407 resultobj = wxPyMake_wxObject(result, (bool)0);
3408 }
3409 return resultobj;
3410 fail:
3411 return NULL;
3412 }
3413
3414
3415 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3416 PyObject *resultobj = 0;
3417 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3418 wxHtmlCell *result = 0 ;
3419 void *argp1 = 0 ;
3420 int res1 = 0 ;
3421 PyObject *swig_obj[1] ;
3422
3423 if (!args) SWIG_fail;
3424 swig_obj[0] = args;
3425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3426 if (!SWIG_IsOK(res1)) {
3427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3428 }
3429 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3430 {
3431 PyThreadState* __tstate = wxPyBeginAllowThreads();
3432 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3437 return resultobj;
3438 fail:
3439 return NULL;
3440 }
3441
3442
3443 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3444 PyObject *resultobj = 0;
3445 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3446 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3447 void *argp1 = 0 ;
3448 int res1 = 0 ;
3449 void *argp2 = 0 ;
3450 int res2 = 0 ;
3451 PyObject * obj0 = 0 ;
3452 PyObject * obj1 = 0 ;
3453 char * kwnames[] = {
3454 (char *) "self",(char *) "e", NULL
3455 };
3456
3457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3459 if (!SWIG_IsOK(res1)) {
3460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3461 }
3462 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3463 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3464 if (!SWIG_IsOK(res2)) {
3465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3466 }
3467 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->SetEvent((wxMouseEvent const *)arg2);
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 resultobj = SWIG_Py_Void();
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj = 0;
3483 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3484 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3485 void *argp1 = 0 ;
3486 int res1 = 0 ;
3487 void *argp2 = 0 ;
3488 int res2 = 0 ;
3489 PyObject * obj0 = 0 ;
3490 PyObject * obj1 = 0 ;
3491 char * kwnames[] = {
3492 (char *) "self",(char *) "e", NULL
3493 };
3494
3495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3497 if (!SWIG_IsOK(res1)) {
3498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3499 }
3500 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3501 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3502 if (!SWIG_IsOK(res2)) {
3503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3504 }
3505 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 }
3512 resultobj = SWIG_Py_Void();
3513 return resultobj;
3514 fail:
3515 return NULL;
3516 }
3517
3518
3519 SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3520 PyObject *obj;
3521 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3522 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3523 return SWIG_Py_Void();
3524 }
3525
3526 SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3527 return SWIG_Python_InitShadowInstance(args);
3528 }
3529
3530 SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3531 PyObject *resultobj = 0;
3532 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3533 wxString result;
3534 void *argp1 = 0 ;
3535 int res1 = 0 ;
3536 PyObject *swig_obj[1] ;
3537
3538 if (!args) SWIG_fail;
3539 swig_obj[0] = args;
3540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3541 if (!SWIG_IsOK(res1)) {
3542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3543 }
3544 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 result = (arg1)->GetName();
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 {
3552 #if wxUSE_UNICODE
3553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3554 #else
3555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3556 #endif
3557 }
3558 return resultobj;
3559 fail:
3560 return NULL;
3561 }
3562
3563
3564 SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3565 PyObject *resultobj = 0;
3566 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3567 wxString *arg2 = 0 ;
3568 bool result;
3569 void *argp1 = 0 ;
3570 int res1 = 0 ;
3571 bool temp2 = false ;
3572 PyObject * obj0 = 0 ;
3573 PyObject * obj1 = 0 ;
3574 char * kwnames[] = {
3575 (char *) "self",(char *) "par", NULL
3576 };
3577
3578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3580 if (!SWIG_IsOK(res1)) {
3581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3582 }
3583 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3584 {
3585 arg2 = wxString_in_helper(obj1);
3586 if (arg2 == NULL) SWIG_fail;
3587 temp2 = true;
3588 }
3589 {
3590 PyThreadState* __tstate = wxPyBeginAllowThreads();
3591 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 {
3596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3597 }
3598 {
3599 if (temp2)
3600 delete arg2;
3601 }
3602 return resultobj;
3603 fail:
3604 {
3605 if (temp2)
3606 delete arg2;
3607 }
3608 return NULL;
3609 }
3610
3611
3612 SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj = 0;
3614 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3615 wxString *arg2 = 0 ;
3616 int arg3 = (int) false ;
3617 wxString result;
3618 void *argp1 = 0 ;
3619 int res1 = 0 ;
3620 bool temp2 = false ;
3621 int val3 ;
3622 int ecode3 = 0 ;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
3625 PyObject * obj2 = 0 ;
3626 char * kwnames[] = {
3627 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3628 };
3629
3630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3632 if (!SWIG_IsOK(res1)) {
3633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3634 }
3635 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3636 {
3637 arg2 = wxString_in_helper(obj1);
3638 if (arg2 == NULL) SWIG_fail;
3639 temp2 = true;
3640 }
3641 if (obj2) {
3642 ecode3 = SWIG_AsVal_int(obj2, &val3);
3643 if (!SWIG_IsOK(ecode3)) {
3644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3645 }
3646 arg3 = static_cast< int >(val3);
3647 }
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 #if wxUSE_UNICODE
3656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3657 #else
3658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3659 #endif
3660 }
3661 {
3662 if (temp2)
3663 delete arg2;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp2)
3669 delete arg2;
3670 }
3671 return NULL;
3672 }
3673
3674
3675 SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3676 PyObject *resultobj = 0;
3677 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3678 wxString result;
3679 void *argp1 = 0 ;
3680 int res1 = 0 ;
3681 PyObject *swig_obj[1] ;
3682
3683 if (!args) SWIG_fail;
3684 swig_obj[0] = args;
3685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3686 if (!SWIG_IsOK(res1)) {
3687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3688 }
3689 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 result = (arg1)->GetAllParams();
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 #if wxUSE_UNICODE
3698 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3699 #else
3700 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3701 #endif
3702 }
3703 return resultobj;
3704 fail:
3705 return NULL;
3706 }
3707
3708
3709 SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3710 PyObject *resultobj = 0;
3711 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3712 bool result;
3713 void *argp1 = 0 ;
3714 int res1 = 0 ;
3715 PyObject *swig_obj[1] ;
3716
3717 if (!args) SWIG_fail;
3718 swig_obj[0] = args;
3719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3720 if (!SWIG_IsOK(res1)) {
3721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3722 }
3723 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = (bool)(arg1)->HasEnding();
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 {
3731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3732 }
3733 return resultobj;
3734 fail:
3735 return NULL;
3736 }
3737
3738
3739 SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3740 PyObject *resultobj = 0;
3741 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3742 int result;
3743 void *argp1 = 0 ;
3744 int res1 = 0 ;
3745 PyObject *swig_obj[1] ;
3746
3747 if (!args) SWIG_fail;
3748 swig_obj[0] = args;
3749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3750 if (!SWIG_IsOK(res1)) {
3751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3752 }
3753 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 result = (int)(arg1)->GetBeginPos();
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 resultobj = SWIG_From_int(static_cast< int >(result));
3761 return resultobj;
3762 fail:
3763 return NULL;
3764 }
3765
3766
3767 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3768 PyObject *resultobj = 0;
3769 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3770 int result;
3771 void *argp1 = 0 ;
3772 int res1 = 0 ;
3773 PyObject *swig_obj[1] ;
3774
3775 if (!args) SWIG_fail;
3776 swig_obj[0] = args;
3777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3778 if (!SWIG_IsOK(res1)) {
3779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3780 }
3781 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = (int)(arg1)->GetEndPos1();
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 }
3788 resultobj = SWIG_From_int(static_cast< int >(result));
3789 return resultobj;
3790 fail:
3791 return NULL;
3792 }
3793
3794
3795 SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3796 PyObject *resultobj = 0;
3797 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3798 int result;
3799 void *argp1 = 0 ;
3800 int res1 = 0 ;
3801 PyObject *swig_obj[1] ;
3802
3803 if (!args) SWIG_fail;
3804 swig_obj[0] = args;
3805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3806 if (!SWIG_IsOK(res1)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3808 }
3809 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 result = (int)(arg1)->GetEndPos2();
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 resultobj = SWIG_From_int(static_cast< int >(result));
3817 return resultobj;
3818 fail:
3819 return NULL;
3820 }
3821
3822
3823 SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3824 PyObject *obj;
3825 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3826 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3827 return SWIG_Py_Void();
3828 }
3829
3830 SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3831 PyObject *resultobj = 0;
3832 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3833 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3834 void *argp1 = 0 ;
3835 int res1 = 0 ;
3836 void *argp2 = 0 ;
3837 int res2 = 0 ;
3838 PyObject * obj0 = 0 ;
3839 PyObject * obj1 = 0 ;
3840 char * kwnames[] = {
3841 (char *) "self",(char *) "fs", NULL
3842 };
3843
3844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3846 if (!SWIG_IsOK(res1)) {
3847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3848 }
3849 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3850 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3851 if (!SWIG_IsOK(res2)) {
3852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3853 }
3854 arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 (arg1)->SetFS(arg2);
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 resultobj = SWIG_Py_Void();
3862 return resultobj;
3863 fail:
3864 return NULL;
3865 }
3866
3867
3868 SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3869 PyObject *resultobj = 0;
3870 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3871 wxFileSystem *result = 0 ;
3872 void *argp1 = 0 ;
3873 int res1 = 0 ;
3874 PyObject *swig_obj[1] ;
3875
3876 if (!args) SWIG_fail;
3877 swig_obj[0] = args;
3878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3879 if (!SWIG_IsOK(res1)) {
3880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3881 }
3882 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (wxFileSystem *)(arg1)->GetFS();
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 {
3890 resultobj = wxPyMake_wxObject(result, (bool)0);
3891 }
3892 return resultobj;
3893 fail:
3894 return NULL;
3895 }
3896
3897
3898 SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3899 PyObject *resultobj = 0;
3900 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3901 wxString *arg2 = 0 ;
3902 wxObject *result = 0 ;
3903 void *argp1 = 0 ;
3904 int res1 = 0 ;
3905 bool temp2 = false ;
3906 PyObject * obj0 = 0 ;
3907 PyObject * obj1 = 0 ;
3908 char * kwnames[] = {
3909 (char *) "self",(char *) "source", NULL
3910 };
3911
3912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3914 if (!SWIG_IsOK(res1)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3916 }
3917 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3918 {
3919 arg2 = wxString_in_helper(obj1);
3920 if (arg2 == NULL) SWIG_fail;
3921 temp2 = true;
3922 }
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 {
3930 resultobj = wxPyMake_wxObject(result, (bool)0);
3931 }
3932 {
3933 if (temp2)
3934 delete arg2;
3935 }
3936 return resultobj;
3937 fail:
3938 {
3939 if (temp2)
3940 delete arg2;
3941 }
3942 return NULL;
3943 }
3944
3945
3946 SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj = 0;
3948 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3949 wxString *arg2 = 0 ;
3950 void *argp1 = 0 ;
3951 int res1 = 0 ;
3952 bool temp2 = false ;
3953 PyObject * obj0 = 0 ;
3954 PyObject * obj1 = 0 ;
3955 char * kwnames[] = {
3956 (char *) "self",(char *) "source", NULL
3957 };
3958
3959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3961 if (!SWIG_IsOK(res1)) {
3962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3963 }
3964 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3965 {
3966 arg2 = wxString_in_helper(obj1);
3967 if (arg2 == NULL) SWIG_fail;
3968 temp2 = true;
3969 }
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 (arg1)->InitParser((wxString const &)*arg2);
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 resultobj = SWIG_Py_Void();
3977 {
3978 if (temp2)
3979 delete arg2;
3980 }
3981 return resultobj;
3982 fail:
3983 {
3984 if (temp2)
3985 delete arg2;
3986 }
3987 return NULL;
3988 }
3989
3990
3991 SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3992 PyObject *resultobj = 0;
3993 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3994 void *argp1 = 0 ;
3995 int res1 = 0 ;
3996 PyObject *swig_obj[1] ;
3997
3998 if (!args) SWIG_fail;
3999 swig_obj[0] = args;
4000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4001 if (!SWIG_IsOK(res1)) {
4002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4003 }
4004 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 (arg1)->DoneParser();
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 resultobj = SWIG_Py_Void();
4012 return resultobj;
4013 fail:
4014 return NULL;
4015 }
4016
4017
4018 SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4019 PyObject *resultobj = 0;
4020 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4021 int arg2 ;
4022 int arg3 ;
4023 void *argp1 = 0 ;
4024 int res1 = 0 ;
4025 int val2 ;
4026 int ecode2 = 0 ;
4027 int val3 ;
4028 int ecode3 = 0 ;
4029 PyObject * obj0 = 0 ;
4030 PyObject * obj1 = 0 ;
4031 PyObject * obj2 = 0 ;
4032 char * kwnames[] = {
4033 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4034 };
4035
4036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4038 if (!SWIG_IsOK(res1)) {
4039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4040 }
4041 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4042 ecode2 = SWIG_AsVal_int(obj1, &val2);
4043 if (!SWIG_IsOK(ecode2)) {
4044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4045 }
4046 arg2 = static_cast< int >(val2);
4047 ecode3 = SWIG_AsVal_int(obj2, &val3);
4048 if (!SWIG_IsOK(ecode3)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4050 }
4051 arg3 = static_cast< int >(val3);
4052 {
4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
4054 (arg1)->DoParsing(arg2,arg3);
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 resultobj = SWIG_Py_Void();
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4066 PyObject *resultobj = 0;
4067 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4068 void *argp1 = 0 ;
4069 int res1 = 0 ;
4070 PyObject *swig_obj[1] ;
4071
4072 if (!args) SWIG_fail;
4073 swig_obj[0] = args;
4074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4075 if (!SWIG_IsOK(res1)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4077 }
4078 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 (arg1)->StopParsing();
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 resultobj = SWIG_Py_Void();
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj = 0;
4094 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4095 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4096 void *argp1 = 0 ;
4097 int res1 = 0 ;
4098 void *argp2 = 0 ;
4099 int res2 = 0 ;
4100 PyObject * obj0 = 0 ;
4101 PyObject * obj1 = 0 ;
4102 char * kwnames[] = {
4103 (char *) "self",(char *) "handler", NULL
4104 };
4105
4106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4108 if (!SWIG_IsOK(res1)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4110 }
4111 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4112 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4113 if (!SWIG_IsOK(res2)) {
4114 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4115 }
4116 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->AddTagHandler(arg2);
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 resultobj = SWIG_Py_Void();
4124 return resultobj;
4125 fail:
4126 return NULL;
4127 }
4128
4129
4130 SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4131 PyObject *resultobj = 0;
4132 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4133 wxString *result = 0 ;
4134 void *argp1 = 0 ;
4135 int res1 = 0 ;
4136 PyObject *swig_obj[1] ;
4137
4138 if (!args) SWIG_fail;
4139 swig_obj[0] = args;
4140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4141 if (!SWIG_IsOK(res1)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4143 }
4144 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 result = (wxString *)(arg1)->GetSource();
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 {
4152 #if wxUSE_UNICODE
4153 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4154 #else
4155 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4156 #endif
4157 }
4158 return resultobj;
4159 fail:
4160 return NULL;
4161 }
4162
4163
4164 SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj = 0;
4166 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4167 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4168 wxString arg3 ;
4169 void *argp1 = 0 ;
4170 int res1 = 0 ;
4171 void *argp2 = 0 ;
4172 int res2 = 0 ;
4173 PyObject * obj0 = 0 ;
4174 PyObject * obj1 = 0 ;
4175 PyObject * obj2 = 0 ;
4176 char * kwnames[] = {
4177 (char *) "self",(char *) "handler",(char *) "tags", NULL
4178 };
4179
4180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4182 if (!SWIG_IsOK(res1)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4184 }
4185 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4187 if (!SWIG_IsOK(res2)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4189 }
4190 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4191 {
4192 wxString* sptr = wxString_in_helper(obj2);
4193 if (sptr == NULL) SWIG_fail;
4194 arg3 = *sptr;
4195 delete sptr;
4196 }
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 (arg1)->PushTagHandler(arg2,arg3);
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 resultobj = SWIG_Py_Void();
4204 return resultobj;
4205 fail:
4206 return NULL;
4207 }
4208
4209
4210 SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4211 PyObject *resultobj = 0;
4212 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4213 void *argp1 = 0 ;
4214 int res1 = 0 ;
4215 PyObject *swig_obj[1] ;
4216
4217 if (!args) SWIG_fail;
4218 swig_obj[0] = args;
4219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4220 if (!SWIG_IsOK(res1)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4222 }
4223 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 (arg1)->PopTagHandler();
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 resultobj = SWIG_Py_Void();
4231 return resultobj;
4232 fail:
4233 return NULL;
4234 }
4235
4236
4237 SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj = 0;
4239 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4240 wxHtmlTag *arg2 = 0 ;
4241 wxString result;
4242 void *argp1 = 0 ;
4243 int res1 = 0 ;
4244 void *argp2 = 0 ;
4245 int res2 = 0 ;
4246 PyObject * obj0 = 0 ;
4247 PyObject * obj1 = 0 ;
4248 char * kwnames[] = {
4249 (char *) "self",(char *) "tag", NULL
4250 };
4251
4252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4254 if (!SWIG_IsOK(res1)) {
4255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4256 }
4257 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4258 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4259 if (!SWIG_IsOK(res2)) {
4260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4261 }
4262 if (!argp2) {
4263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4264 }
4265 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 {
4273 #if wxUSE_UNICODE
4274 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4275 #else
4276 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4277 #endif
4278 }
4279 return resultobj;
4280 fail:
4281 return NULL;
4282 }
4283
4284
4285 SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4286 PyObject *obj;
4287 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4288 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4289 return SWIG_Py_Void();
4290 }
4291
4292 SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj = 0;
4294 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4295 wxHtmlWinParser *result = 0 ;
4296 void *argp1 = 0 ;
4297 int res1 = 0 ;
4298 PyObject * obj0 = 0 ;
4299 char * kwnames[] = {
4300 (char *) "wnd", NULL
4301 };
4302
4303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4304 if (obj0) {
4305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4306 if (!SWIG_IsOK(res1)) {
4307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4308 }
4309 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4318 return resultobj;
4319 fail:
4320 return NULL;
4321 }
4322
4323
4324 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4325 PyObject *resultobj = 0;
4326 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4327 wxDC *arg2 = (wxDC *) 0 ;
4328 void *argp1 = 0 ;
4329 int res1 = 0 ;
4330 void *argp2 = 0 ;
4331 int res2 = 0 ;
4332 PyObject * obj0 = 0 ;
4333 PyObject * obj1 = 0 ;
4334 char * kwnames[] = {
4335 (char *) "self",(char *) "dc", NULL
4336 };
4337
4338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4340 if (!SWIG_IsOK(res1)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4342 }
4343 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4344 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4345 if (!SWIG_IsOK(res2)) {
4346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4347 }
4348 arg2 = reinterpret_cast< wxDC * >(argp2);
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 (arg1)->SetDC(arg2);
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = SWIG_Py_Void();
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4363 PyObject *resultobj = 0;
4364 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4365 wxDC *result = 0 ;
4366 void *argp1 = 0 ;
4367 int res1 = 0 ;
4368 PyObject *swig_obj[1] ;
4369
4370 if (!args) SWIG_fail;
4371 swig_obj[0] = args;
4372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4375 }
4376 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (wxDC *)(arg1)->GetDC();
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 {
4384 resultobj = wxPyMake_wxObject(result, (bool)0);
4385 }
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4393 PyObject *resultobj = 0;
4394 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4395 int result;
4396 void *argp1 = 0 ;
4397 int res1 = 0 ;
4398 PyObject *swig_obj[1] ;
4399
4400 if (!args) SWIG_fail;
4401 swig_obj[0] = args;
4402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4403 if (!SWIG_IsOK(res1)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4405 }
4406 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (int)(arg1)->GetCharHeight();
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = SWIG_From_int(static_cast< int >(result));
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4421 PyObject *resultobj = 0;
4422 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4423 int result;
4424 void *argp1 = 0 ;
4425 int res1 = 0 ;
4426 PyObject *swig_obj[1] ;
4427
4428 if (!args) SWIG_fail;
4429 swig_obj[0] = args;
4430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4431 if (!SWIG_IsOK(res1)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4433 }
4434 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (int)(arg1)->GetCharWidth();
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 resultobj = SWIG_From_int(static_cast< int >(result));
4442 return resultobj;
4443 fail:
4444 return NULL;
4445 }
4446
4447
4448 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4449 PyObject *resultobj = 0;
4450 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4451 wxPyHtmlWindow *result = 0 ;
4452 void *argp1 = 0 ;
4453 int res1 = 0 ;
4454 PyObject *swig_obj[1] ;
4455
4456 if (!args) SWIG_fail;
4457 swig_obj[0] = args;
4458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4459 if (!SWIG_IsOK(res1)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4461 }
4462 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 {
4470 resultobj = wxPyMake_wxObject(result, (bool)0);
4471 }
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4479 PyObject *resultobj = 0;
4480 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4481 wxHtmlWindowInterface *result = 0 ;
4482 void *argp1 = 0 ;
4483 int res1 = 0 ;
4484 PyObject *swig_obj[1] ;
4485
4486 if (!args) SWIG_fail;
4487 swig_obj[0] = args;
4488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4489 if (!SWIG_IsOK(res1)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4491 }
4492 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4493 {
4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
4495 result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4500 return resultobj;
4501 fail:
4502 return NULL;
4503 }
4504
4505
4506 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj = 0;
4508 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4509 wxString arg2 ;
4510 wxString arg3 ;
4511 PyObject *arg4 = (PyObject *) NULL ;
4512 void *argp1 = 0 ;
4513 int res1 = 0 ;
4514 PyObject * obj0 = 0 ;
4515 PyObject * obj1 = 0 ;
4516 PyObject * obj2 = 0 ;
4517 PyObject * obj3 = 0 ;
4518 char * kwnames[] = {
4519 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4520 };
4521
4522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4524 if (!SWIG_IsOK(res1)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4526 }
4527 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4528 {
4529 wxString* sptr = wxString_in_helper(obj1);
4530 if (sptr == NULL) SWIG_fail;
4531 arg2 = *sptr;
4532 delete sptr;
4533 }
4534 {
4535 wxString* sptr = wxString_in_helper(obj2);
4536 if (sptr == NULL) SWIG_fail;
4537 arg3 = *sptr;
4538 delete sptr;
4539 }
4540 if (obj3) {
4541 arg4 = obj3;
4542 }
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 resultobj = SWIG_Py_Void();
4550 return resultobj;
4551 fail:
4552 return NULL;
4553 }
4554
4555
4556 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4557 PyObject *resultobj = 0;
4558 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4559 int arg2 = (int) -1 ;
4560 wxString const &arg3_defvalue = wxPyEmptyString ;
4561 wxString *arg3 = (wxString *) &arg3_defvalue ;
4562 wxString const &arg4_defvalue = wxPyEmptyString ;
4563 wxString *arg4 = (wxString *) &arg4_defvalue ;
4564 void *argp1 = 0 ;
4565 int res1 = 0 ;
4566 int val2 ;
4567 int ecode2 = 0 ;
4568 bool temp3 = false ;
4569 bool temp4 = false ;
4570 PyObject * obj0 = 0 ;
4571 PyObject * obj1 = 0 ;
4572 PyObject * obj2 = 0 ;
4573 PyObject * obj3 = 0 ;
4574 char * kwnames[] = {
4575 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4576 };
4577
4578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4580 if (!SWIG_IsOK(res1)) {
4581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4582 }
4583 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4584 if (obj1) {
4585 ecode2 = SWIG_AsVal_int(obj1, &val2);
4586 if (!SWIG_IsOK(ecode2)) {
4587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4588 }
4589 arg2 = static_cast< int >(val2);
4590 }
4591 if (obj2) {
4592 {
4593 arg3 = wxString_in_helper(obj2);
4594 if (arg3 == NULL) SWIG_fail;
4595 temp3 = true;
4596 }
4597 }
4598 if (obj3) {
4599 {
4600 arg4 = wxString_in_helper(obj3);
4601 if (arg4 == NULL) SWIG_fail;
4602 temp4 = true;
4603 }
4604 }
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 resultobj = SWIG_Py_Void();
4612 {
4613 if (temp3)
4614 delete arg3;
4615 }
4616 {
4617 if (temp4)
4618 delete arg4;
4619 }
4620 return resultobj;
4621 fail:
4622 {
4623 if (temp3)
4624 delete arg3;
4625 }
4626 {
4627 if (temp4)
4628 delete arg4;
4629 }
4630 return NULL;
4631 }
4632
4633
4634 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4635 PyObject *resultobj = 0;
4636 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4637 wxHtmlContainerCell *result = 0 ;
4638 void *argp1 = 0 ;
4639 int res1 = 0 ;
4640 PyObject *swig_obj[1] ;
4641
4642 if (!args) SWIG_fail;
4643 swig_obj[0] = args;
4644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4645 if (!SWIG_IsOK(res1)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4647 }
4648 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4663 PyObject *resultobj = 0;
4664 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4665 wxHtmlContainerCell *result = 0 ;
4666 void *argp1 = 0 ;
4667 int res1 = 0 ;
4668 PyObject *swig_obj[1] ;
4669
4670 if (!args) SWIG_fail;
4671 swig_obj[0] = args;
4672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4673 if (!SWIG_IsOK(res1)) {
4674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4675 }
4676 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj = 0;
4692 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4693 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4694 wxHtmlContainerCell *result = 0 ;
4695 void *argp1 = 0 ;
4696 int res1 = 0 ;
4697 void *argp2 = 0 ;
4698 int res2 = 0 ;
4699 PyObject * obj0 = 0 ;
4700 PyObject * obj1 = 0 ;
4701 char * kwnames[] = {
4702 (char *) "self",(char *) "c", NULL
4703 };
4704
4705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4707 if (!SWIG_IsOK(res1)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4709 }
4710 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4711 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4712 if (!SWIG_IsOK(res2)) {
4713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4714 }
4715 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4723 return resultobj;
4724 fail:
4725 return NULL;
4726 }
4727
4728
4729 SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4730 PyObject *resultobj = 0;
4731 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4732 wxHtmlContainerCell *result = 0 ;
4733 void *argp1 = 0 ;
4734 int res1 = 0 ;
4735 PyObject *swig_obj[1] ;
4736
4737 if (!args) SWIG_fail;
4738 swig_obj[0] = args;
4739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4740 if (!SWIG_IsOK(res1)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4742 }
4743 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4758 PyObject *resultobj = 0;
4759 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4760 int result;
4761 void *argp1 = 0 ;
4762 int res1 = 0 ;
4763 PyObject *swig_obj[1] ;
4764
4765 if (!args) SWIG_fail;
4766 swig_obj[0] = args;
4767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4768 if (!SWIG_IsOK(res1)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4770 }
4771 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 result = (int)(arg1)->GetFontSize();
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = SWIG_From_int(static_cast< int >(result));
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4786 PyObject *resultobj = 0;
4787 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4788 int arg2 ;
4789 void *argp1 = 0 ;
4790 int res1 = 0 ;
4791 int val2 ;
4792 int ecode2 = 0 ;
4793 PyObject * obj0 = 0 ;
4794 PyObject * obj1 = 0 ;
4795 char * kwnames[] = {
4796 (char *) "self",(char *) "s", NULL
4797 };
4798
4799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4801 if (!SWIG_IsOK(res1)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4803 }
4804 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4805 ecode2 = SWIG_AsVal_int(obj1, &val2);
4806 if (!SWIG_IsOK(ecode2)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4808 }
4809 arg2 = static_cast< int >(val2);
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 (arg1)->SetFontSize(arg2);
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 resultobj = SWIG_Py_Void();
4817 return resultobj;
4818 fail:
4819 return NULL;
4820 }
4821
4822
4823 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4824 PyObject *resultobj = 0;
4825 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4826 int result;
4827 void *argp1 = 0 ;
4828 int res1 = 0 ;
4829 PyObject *swig_obj[1] ;
4830
4831 if (!args) SWIG_fail;
4832 swig_obj[0] = args;
4833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4834 if (!SWIG_IsOK(res1)) {
4835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4836 }
4837 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (int)(arg1)->GetFontBold();
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_From_int(static_cast< int >(result));
4845 return resultobj;
4846 fail:
4847 return NULL;
4848 }
4849
4850
4851 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj = 0;
4853 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4854 int arg2 ;
4855 void *argp1 = 0 ;
4856 int res1 = 0 ;
4857 int val2 ;
4858 int ecode2 = 0 ;
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char * kwnames[] = {
4862 (char *) "self",(char *) "x", NULL
4863 };
4864
4865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4867 if (!SWIG_IsOK(res1)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4869 }
4870 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4871 ecode2 = SWIG_AsVal_int(obj1, &val2);
4872 if (!SWIG_IsOK(ecode2)) {
4873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4874 }
4875 arg2 = static_cast< int >(val2);
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->SetFontBold(arg2);
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 resultobj = SWIG_Py_Void();
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4890 PyObject *resultobj = 0;
4891 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4892 int result;
4893 void *argp1 = 0 ;
4894 int res1 = 0 ;
4895 PyObject *swig_obj[1] ;
4896
4897 if (!args) SWIG_fail;
4898 swig_obj[0] = args;
4899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4900 if (!SWIG_IsOK(res1)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4902 }
4903 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 result = (int)(arg1)->GetFontItalic();
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 resultobj = SWIG_From_int(static_cast< int >(result));
4911 return resultobj;
4912 fail:
4913 return NULL;
4914 }
4915
4916
4917 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4918 PyObject *resultobj = 0;
4919 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4920 int arg2 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 PyObject * obj0 = 0 ;
4926 PyObject * obj1 = 0 ;
4927 char * kwnames[] = {
4928 (char *) "self",(char *) "x", NULL
4929 };
4930
4931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4933 if (!SWIG_IsOK(res1)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4935 }
4936 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4937 ecode2 = SWIG_AsVal_int(obj1, &val2);
4938 if (!SWIG_IsOK(ecode2)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4940 }
4941 arg2 = static_cast< int >(val2);
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->SetFontItalic(arg2);
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 resultobj = SWIG_Py_Void();
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4956 PyObject *resultobj = 0;
4957 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4958 int result;
4959 void *argp1 = 0 ;
4960 int res1 = 0 ;
4961 PyObject *swig_obj[1] ;
4962
4963 if (!args) SWIG_fail;
4964 swig_obj[0] = args;
4965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4966 if (!SWIG_IsOK(res1)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4968 }
4969 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 result = (int)(arg1)->GetFontUnderlined();
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 resultobj = SWIG_From_int(static_cast< int >(result));
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj = 0;
4985 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4986 int arg2 ;
4987 void *argp1 = 0 ;
4988 int res1 = 0 ;
4989 int val2 ;
4990 int ecode2 = 0 ;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 char * kwnames[] = {
4994 (char *) "self",(char *) "x", NULL
4995 };
4996
4997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4999 if (!SWIG_IsOK(res1)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5001 }
5002 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5003 ecode2 = SWIG_AsVal_int(obj1, &val2);
5004 if (!SWIG_IsOK(ecode2)) {
5005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5006 }
5007 arg2 = static_cast< int >(val2);
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->SetFontUnderlined(arg2);
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_Py_Void();
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5022 PyObject *resultobj = 0;
5023 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5024 int result;
5025 void *argp1 = 0 ;
5026 int res1 = 0 ;
5027 PyObject *swig_obj[1] ;
5028
5029 if (!args) SWIG_fail;
5030 swig_obj[0] = args;
5031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5032 if (!SWIG_IsOK(res1)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5034 }
5035 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = (int)(arg1)->GetFontFixed();
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = SWIG_From_int(static_cast< int >(result));
5043 return resultobj;
5044 fail:
5045 return NULL;
5046 }
5047
5048
5049 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj = 0;
5051 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5052 int arg2 ;
5053 void *argp1 = 0 ;
5054 int res1 = 0 ;
5055 int val2 ;
5056 int ecode2 = 0 ;
5057 PyObject * obj0 = 0 ;
5058 PyObject * obj1 = 0 ;
5059 char * kwnames[] = {
5060 (char *) "self",(char *) "x", NULL
5061 };
5062
5063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5065 if (!SWIG_IsOK(res1)) {
5066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5067 }
5068 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5069 ecode2 = SWIG_AsVal_int(obj1, &val2);
5070 if (!SWIG_IsOK(ecode2)) {
5071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5072 }
5073 arg2 = static_cast< int >(val2);
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 (arg1)->SetFontFixed(arg2);
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 resultobj = SWIG_Py_Void();
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5088 PyObject *resultobj = 0;
5089 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5090 int result;
5091 void *argp1 = 0 ;
5092 int res1 = 0 ;
5093 PyObject *swig_obj[1] ;
5094
5095 if (!args) SWIG_fail;
5096 swig_obj[0] = args;
5097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5098 if (!SWIG_IsOK(res1)) {
5099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5100 }
5101 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = (int)(arg1)->GetAlign();
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 resultobj = SWIG_From_int(static_cast< int >(result));
5109 return resultobj;
5110 fail:
5111 return NULL;
5112 }
5113
5114
5115 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5116 PyObject *resultobj = 0;
5117 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5118 int arg2 ;
5119 void *argp1 = 0 ;
5120 int res1 = 0 ;
5121 int val2 ;
5122 int ecode2 = 0 ;
5123 PyObject * obj0 = 0 ;
5124 PyObject * obj1 = 0 ;
5125 char * kwnames[] = {
5126 (char *) "self",(char *) "a", NULL
5127 };
5128
5129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5131 if (!SWIG_IsOK(res1)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5133 }
5134 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5135 ecode2 = SWIG_AsVal_int(obj1, &val2);
5136 if (!SWIG_IsOK(ecode2)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5138 }
5139 arg2 = static_cast< int >(val2);
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 (arg1)->SetAlign(arg2);
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 resultobj = SWIG_Py_Void();
5147 return resultobj;
5148 fail:
5149 return NULL;
5150 }
5151
5152
5153 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5154 PyObject *resultobj = 0;
5155 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5156 wxColour result;
5157 void *argp1 = 0 ;
5158 int res1 = 0 ;
5159 PyObject *swig_obj[1] ;
5160
5161 if (!args) SWIG_fail;
5162 swig_obj[0] = args;
5163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5164 if (!SWIG_IsOK(res1)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5166 }
5167 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (arg1)->GetLinkColor();
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj = 0;
5183 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5184 wxColour *arg2 = 0 ;
5185 void *argp1 = 0 ;
5186 int res1 = 0 ;
5187 wxColour temp2 ;
5188 PyObject * obj0 = 0 ;
5189 PyObject * obj1 = 0 ;
5190 char * kwnames[] = {
5191 (char *) "self",(char *) "clr", NULL
5192 };
5193
5194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5196 if (!SWIG_IsOK(res1)) {
5197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5198 }
5199 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5200 {
5201 arg2 = &temp2;
5202 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5203 }
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 (arg1)->SetLinkColor((wxColour const &)*arg2);
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 resultobj = SWIG_Py_Void();
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5218 PyObject *resultobj = 0;
5219 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5220 wxColour result;
5221 void *argp1 = 0 ;
5222 int res1 = 0 ;
5223 PyObject *swig_obj[1] ;
5224
5225 if (!args) SWIG_fail;
5226 swig_obj[0] = args;
5227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5228 if (!SWIG_IsOK(res1)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5230 }
5231 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 result = (arg1)->GetActualColor();
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5239 return resultobj;
5240 fail:
5241 return NULL;
5242 }
5243
5244
5245 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5246 PyObject *resultobj = 0;
5247 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5248 wxColour *arg2 = 0 ;
5249 void *argp1 = 0 ;
5250 int res1 = 0 ;
5251 wxColour temp2 ;
5252 PyObject * obj0 = 0 ;
5253 PyObject * obj1 = 0 ;
5254 char * kwnames[] = {
5255 (char *) "self",(char *) "clr", NULL
5256 };
5257
5258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5260 if (!SWIG_IsOK(res1)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5262 }
5263 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5264 {
5265 arg2 = &temp2;
5266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 (arg1)->SetActualColor((wxColour const &)*arg2);
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = SWIG_Py_Void();
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj = 0;
5283 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5284 wxString *arg2 = 0 ;
5285 void *argp1 = 0 ;
5286 int res1 = 0 ;
5287 bool temp2 = false ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char * kwnames[] = {
5291 (char *) "self",(char *) "link", NULL
5292 };
5293
5294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5296 if (!SWIG_IsOK(res1)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5298 }
5299 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5300 {
5301 arg2 = wxString_in_helper(obj1);
5302 if (arg2 == NULL) SWIG_fail;
5303 temp2 = true;
5304 }
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 (arg1)->SetLink((wxString const &)*arg2);
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 resultobj = SWIG_Py_Void();
5312 {
5313 if (temp2)
5314 delete arg2;
5315 }
5316 return resultobj;
5317 fail:
5318 {
5319 if (temp2)
5320 delete arg2;
5321 }
5322 return NULL;
5323 }
5324
5325
5326 SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5327 PyObject *resultobj = 0;
5328 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5329 wxFont *result = 0 ;
5330 void *argp1 = 0 ;
5331 int res1 = 0 ;
5332 PyObject *swig_obj[1] ;
5333
5334 if (!args) SWIG_fail;
5335 swig_obj[0] = args;
5336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5337 if (!SWIG_IsOK(res1)) {
5338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5339 }
5340 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (wxFont *)(arg1)->CreateCurrentFont();
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5348 return resultobj;
5349 fail:
5350 return NULL;
5351 }
5352
5353
5354 SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5355 PyObject *resultobj = 0;
5356 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5357 SwigValueWrapper<wxHtmlLinkInfo > result;
5358 void *argp1 = 0 ;
5359 int res1 = 0 ;
5360 PyObject *swig_obj[1] ;
5361
5362 if (!args) SWIG_fail;
5363 swig_obj[0] = args;
5364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5365 if (!SWIG_IsOK(res1)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5367 }
5368 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (arg1)->GetLink();
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5376 return resultobj;
5377 fail:
5378 return NULL;
5379 }
5380
5381
5382 SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5383 PyObject *obj;
5384 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5385 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5386 return SWIG_Py_Void();
5387 }
5388
5389 SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5390 return SWIG_Python_InitShadowInstance(args);
5391 }
5392
5393 SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5394 PyObject *resultobj = 0;
5395 wxPyHtmlTagHandler *result = 0 ;
5396
5397 if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5398 {
5399 PyThreadState* __tstate = wxPyBeginAllowThreads();
5400 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5405 return resultobj;
5406 fail:
5407 return NULL;
5408 }
5409
5410
5411 SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj = 0;
5413 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5414 PyObject *arg2 = (PyObject *) 0 ;
5415 PyObject *arg3 = (PyObject *) 0 ;
5416 void *argp1 = 0 ;
5417 int res1 = 0 ;
5418 PyObject * obj0 = 0 ;
5419 PyObject * obj1 = 0 ;
5420 PyObject * obj2 = 0 ;
5421 char * kwnames[] = {
5422 (char *) "self",(char *) "self",(char *) "_class", NULL
5423 };
5424
5425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5427 if (!SWIG_IsOK(res1)) {
5428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5429 }
5430 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5431 arg2 = obj1;
5432 arg3 = obj2;
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 (arg1)->_setCallbackInfo(arg2,arg3);
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 resultobj = SWIG_Py_Void();
5440 return resultobj;
5441 fail:
5442 return NULL;
5443 }
5444
5445
5446 SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj = 0;
5448 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5449 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5450 void *argp1 = 0 ;
5451 int res1 = 0 ;
5452 void *argp2 = 0 ;
5453 int res2 = 0 ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char * kwnames[] = {
5457 (char *) "self",(char *) "parser", NULL
5458 };
5459
5460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5462 if (!SWIG_IsOK(res1)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5464 }
5465 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5466 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5467 if (!SWIG_IsOK(res2)) {
5468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5469 }
5470 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 (arg1)->SetParser(arg2);
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 resultobj = SWIG_Py_Void();
5478 return resultobj;
5479 fail:
5480 return NULL;
5481 }
5482
5483
5484 SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5485 PyObject *resultobj = 0;
5486 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5487 wxHtmlParser *result = 0 ;
5488 void *argp1 = 0 ;
5489 int res1 = 0 ;
5490 PyObject *swig_obj[1] ;
5491
5492 if (!args) SWIG_fail;
5493 swig_obj[0] = args;
5494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5495 if (!SWIG_IsOK(res1)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5497 }
5498 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (wxHtmlParser *)(arg1)->GetParser();
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj = 0;
5514 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5515 wxHtmlTag *arg2 = 0 ;
5516 void *argp1 = 0 ;
5517 int res1 = 0 ;
5518 void *argp2 = 0 ;
5519 int res2 = 0 ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 char * kwnames[] = {
5523 (char *) "self",(char *) "tag", NULL
5524 };
5525
5526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5530 }
5531 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5532 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5533 if (!SWIG_IsOK(res2)) {
5534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5535 }
5536 if (!argp2) {
5537 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5538 }
5539 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 resultobj = SWIG_Py_Void();
5547 return resultobj;
5548 fail:
5549 return NULL;
5550 }
5551
5552
5553 SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5554 PyObject *obj;
5555 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5556 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5557 return SWIG_Py_Void();
5558 }
5559
5560 SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5561 return SWIG_Python_InitShadowInstance(args);
5562 }
5563
5564 SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5565 PyObject *resultobj = 0;
5566 wxPyHtmlWinTagHandler *result = 0 ;
5567
5568 if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj = 0;
5584 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5585 PyObject *arg2 = (PyObject *) 0 ;
5586 PyObject *arg3 = (PyObject *) 0 ;
5587 void *argp1 = 0 ;
5588 int res1 = 0 ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 PyObject * obj2 = 0 ;
5592 char * kwnames[] = {
5593 (char *) "self",(char *) "self",(char *) "_class", NULL
5594 };
5595
5596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5598 if (!SWIG_IsOK(res1)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5600 }
5601 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5602 arg2 = obj1;
5603 arg3 = obj2;
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 (arg1)->_setCallbackInfo(arg2,arg3);
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 resultobj = SWIG_Py_Void();
5611 return resultobj;
5612 fail:
5613 return NULL;
5614 }
5615
5616
5617 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5618 PyObject *resultobj = 0;
5619 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5620 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5621 void *argp1 = 0 ;
5622 int res1 = 0 ;
5623 void *argp2 = 0 ;
5624 int res2 = 0 ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627 char * kwnames[] = {
5628 (char *) "self",(char *) "parser", NULL
5629 };
5630
5631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5633 if (!SWIG_IsOK(res1)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5635 }
5636 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5638 if (!SWIG_IsOK(res2)) {
5639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5640 }
5641 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 (arg1)->SetParser(arg2);
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = SWIG_Py_Void();
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5656 PyObject *resultobj = 0;
5657 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5658 wxHtmlWinParser *result = 0 ;
5659 void *argp1 = 0 ;
5660 int res1 = 0 ;
5661 PyObject *swig_obj[1] ;
5662
5663 if (!args) SWIG_fail;
5664 swig_obj[0] = args;
5665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5666 if (!SWIG_IsOK(res1)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5668 }
5669 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (wxHtmlWinParser *)(arg1)->GetParser();
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj = 0;
5685 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5686 wxHtmlTag *arg2 = 0 ;
5687 void *argp1 = 0 ;
5688 int res1 = 0 ;
5689 void *argp2 = 0 ;
5690 int res2 = 0 ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 char * kwnames[] = {
5694 (char *) "self",(char *) "tag", NULL
5695 };
5696
5697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5699 if (!SWIG_IsOK(res1)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5701 }
5702 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5703 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5704 if (!SWIG_IsOK(res2)) {
5705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5706 }
5707 if (!argp2) {
5708 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5709 }
5710 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 resultobj = SWIG_Py_Void();
5718 return resultobj;
5719 fail:
5720 return NULL;
5721 }
5722
5723
5724 SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5725 PyObject *obj;
5726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5727 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5728 return SWIG_Py_Void();
5729 }
5730
5731 SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5732 return SWIG_Python_InitShadowInstance(args);
5733 }
5734
5735 SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5736 PyObject *resultobj = 0;
5737 PyObject *arg1 = (PyObject *) 0 ;
5738 PyObject * obj0 = 0 ;
5739 char * kwnames[] = {
5740 (char *) "tagHandlerClass", NULL
5741 };
5742
5743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5744 arg1 = obj0;
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 wxHtmlWinParser_AddTagHandler(arg1);
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 resultobj = SWIG_Py_Void();
5752 return resultobj;
5753 fail:
5754 return NULL;
5755 }
5756
5757
5758 SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5759 PyObject *resultobj = 0;
5760 wxHtmlSelection *result = 0 ;
5761
5762 if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (wxHtmlSelection *)new wxHtmlSelection();
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5770 return resultobj;
5771 fail:
5772 return NULL;
5773 }
5774
5775
5776 SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5777 PyObject *resultobj = 0;
5778 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5779 void *argp1 = 0 ;
5780 int res1 = 0 ;
5781 PyObject *swig_obj[1] ;
5782
5783 if (!args) SWIG_fail;
5784 swig_obj[0] = args;
5785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5786 if (!SWIG_IsOK(res1)) {
5787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5788 }
5789 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 delete arg1;
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 resultobj = SWIG_Py_Void();
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj = 0;
5806 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5807 wxPoint *arg2 = 0 ;
5808 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5809 wxPoint *arg4 = 0 ;
5810 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5811 void *argp1 = 0 ;
5812 int res1 = 0 ;
5813 wxPoint temp2 ;
5814 void *argp3 = 0 ;
5815 int res3 = 0 ;
5816 wxPoint temp4 ;
5817 void *argp5 = 0 ;
5818 int res5 = 0 ;
5819 PyObject * obj0 = 0 ;
5820 PyObject * obj1 = 0 ;
5821 PyObject * obj2 = 0 ;
5822 PyObject * obj3 = 0 ;
5823 PyObject * obj4 = 0 ;
5824 char * kwnames[] = {
5825 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5826 };
5827
5828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5830 if (!SWIG_IsOK(res1)) {
5831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5832 }
5833 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5834 {
5835 arg2 = &temp2;
5836 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5837 }
5838 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5839 if (!SWIG_IsOK(res3)) {
5840 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5841 }
5842 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5843 {
5844 arg4 = &temp4;
5845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5846 }
5847 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5848 if (!SWIG_IsOK(res5)) {
5849 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5850 }
5851 arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 resultobj = SWIG_Py_Void();
5859 return resultobj;
5860 fail:
5861 return NULL;
5862 }
5863
5864
5865 SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5866 PyObject *resultobj = 0;
5867 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5868 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5869 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5870 void *argp1 = 0 ;
5871 int res1 = 0 ;
5872 void *argp2 = 0 ;
5873 int res2 = 0 ;
5874 void *argp3 = 0 ;
5875 int res3 = 0 ;
5876 PyObject * obj0 = 0 ;
5877 PyObject * obj1 = 0 ;
5878 PyObject * obj2 = 0 ;
5879 char * kwnames[] = {
5880 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5881 };
5882
5883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5885 if (!SWIG_IsOK(res1)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5887 }
5888 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5889 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5890 if (!SWIG_IsOK(res2)) {
5891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5892 }
5893 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5894 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5895 if (!SWIG_IsOK(res3)) {
5896 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5897 }
5898 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 resultobj = SWIG_Py_Void();
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5913 PyObject *resultobj = 0;
5914 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5915 wxHtmlCell *result = 0 ;
5916 void *argp1 = 0 ;
5917 int res1 = 0 ;
5918 PyObject *swig_obj[1] ;
5919
5920 if (!args) SWIG_fail;
5921 swig_obj[0] = args;
5922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5923 if (!SWIG_IsOK(res1)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5925 }
5926 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 {
5934 resultobj = wxPyMake_wxObject(result, 0);
5935 }
5936 return resultobj;
5937 fail:
5938 return NULL;
5939 }
5940
5941
5942 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5943 PyObject *resultobj = 0;
5944 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5945 wxHtmlCell *result = 0 ;
5946 void *argp1 = 0 ;
5947 int res1 = 0 ;
5948 PyObject *swig_obj[1] ;
5949
5950 if (!args) SWIG_fail;
5951 swig_obj[0] = args;
5952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5953 if (!SWIG_IsOK(res1)) {
5954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5955 }
5956 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5959 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 {
5964 resultobj = wxPyMake_wxObject(result, 0);
5965 }
5966 return resultobj;
5967 fail:
5968 return NULL;
5969 }
5970
5971
5972 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5973 PyObject *resultobj = 0;
5974 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5975 wxPoint *result = 0 ;
5976 void *argp1 = 0 ;
5977 int res1 = 0 ;
5978 PyObject *swig_obj[1] ;
5979
5980 if (!args) SWIG_fail;
5981 swig_obj[0] = args;
5982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5983 if (!SWIG_IsOK(res1)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5985 }
5986 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 {
5990 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
5991 result = (wxPoint *) &_result_ref;
5992 }
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6004 PyObject *resultobj = 0;
6005 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6006 wxPoint *result = 0 ;
6007 void *argp1 = 0 ;
6008 int res1 = 0 ;
6009 PyObject *swig_obj[1] ;
6010
6011 if (!args) SWIG_fail;
6012 swig_obj[0] = args;
6013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6014 if (!SWIG_IsOK(res1)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6016 }
6017 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 {
6021 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
6022 result = (wxPoint *) &_result_ref;
6023 }
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6035 PyObject *resultobj = 0;
6036 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6037 wxPoint *result = 0 ;
6038 void *argp1 = 0 ;
6039 int res1 = 0 ;
6040 PyObject *swig_obj[1] ;
6041
6042 if (!args) SWIG_fail;
6043 swig_obj[0] = args;
6044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6045 if (!SWIG_IsOK(res1)) {
6046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6047 }
6048 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 {
6052 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6053 result = (wxPoint *) &_result_ref;
6054 }
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6066 PyObject *resultobj = 0;
6067 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6068 wxPoint *result = 0 ;
6069 void *argp1 = 0 ;
6070 int res1 = 0 ;
6071 PyObject *swig_obj[1] ;
6072
6073 if (!args) SWIG_fail;
6074 swig_obj[0] = args;
6075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6076 if (!SWIG_IsOK(res1)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6078 }
6079 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 {
6083 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6084 result = (wxPoint *) &_result_ref;
6085 }
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6090 return resultobj;
6091 fail:
6092 return NULL;
6093 }
6094
6095
6096 SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj = 0;
6098 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6099 wxPoint *arg2 = 0 ;
6100 void *argp1 = 0 ;
6101 int res1 = 0 ;
6102 wxPoint temp2 ;
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj1 = 0 ;
6105 char * kwnames[] = {
6106 (char *) "self",(char *) "pos", NULL
6107 };
6108
6109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6111 if (!SWIG_IsOK(res1)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6113 }
6114 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6115 {
6116 arg2 = &temp2;
6117 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6118 }
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 resultobj = SWIG_Py_Void();
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj = 0;
6134 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6135 wxPoint *arg2 = 0 ;
6136 void *argp1 = 0 ;
6137 int res1 = 0 ;
6138 wxPoint temp2 ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj1 = 0 ;
6141 char * kwnames[] = {
6142 (char *) "self",(char *) "pos", NULL
6143 };
6144
6145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6147 if (!SWIG_IsOK(res1)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6149 }
6150 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6151 {
6152 arg2 = &temp2;
6153 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 resultobj = SWIG_Py_Void();
6162 return resultobj;
6163 fail:
6164 return NULL;
6165 }
6166
6167
6168 SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6169 PyObject *resultobj = 0;
6170 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6171 void *argp1 = 0 ;
6172 int res1 = 0 ;
6173 PyObject *swig_obj[1] ;
6174
6175 if (!args) SWIG_fail;
6176 swig_obj[0] = args;
6177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6178 if (!SWIG_IsOK(res1)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6180 }
6181 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 (arg1)->ClearPrivPos();
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 resultobj = SWIG_Py_Void();
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6196 PyObject *resultobj = 0;
6197 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6198 bool result;
6199 void *argp1 = 0 ;
6200 int res1 = 0 ;
6201 PyObject *swig_obj[1] ;
6202
6203 if (!args) SWIG_fail;
6204 swig_obj[0] = args;
6205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6206 if (!SWIG_IsOK(res1)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6208 }
6209 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 resultobj = SWIG_From_bool(static_cast< bool >(result));
6217 return resultobj;
6218 fail:
6219 return NULL;
6220 }
6221
6222
6223 SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6224 PyObject *obj;
6225 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6226 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6227 return SWIG_Py_Void();
6228 }
6229
6230 SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6231 return SWIG_Python_InitShadowInstance(args);
6232 }
6233
6234 SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6235 PyObject *resultobj = 0;
6236 wxHtmlRenderingState *result = 0 ;
6237
6238 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6246 return resultobj;
6247 fail:
6248 return NULL;
6249 }
6250
6251
6252 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6253 PyObject *resultobj = 0;
6254 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6255 void *argp1 = 0 ;
6256 int res1 = 0 ;
6257 PyObject *swig_obj[1] ;
6258
6259 if (!args) SWIG_fail;
6260 swig_obj[0] = args;
6261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6262 if (!SWIG_IsOK(res1)) {
6263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6264 }
6265 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 delete arg1;
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = SWIG_Py_Void();
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj = 0;
6282 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6283 wxHtmlSelectionState arg2 ;
6284 void *argp1 = 0 ;
6285 int res1 = 0 ;
6286 int val2 ;
6287 int ecode2 = 0 ;
6288 PyObject * obj0 = 0 ;
6289 PyObject * obj1 = 0 ;
6290 char * kwnames[] = {
6291 (char *) "self",(char *) "s", NULL
6292 };
6293
6294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6296 if (!SWIG_IsOK(res1)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6298 }
6299 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6300 ecode2 = SWIG_AsVal_int(obj1, &val2);
6301 if (!SWIG_IsOK(ecode2)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6303 }
6304 arg2 = static_cast< wxHtmlSelectionState >(val2);
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 (arg1)->SetSelectionState(arg2);
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 resultobj = SWIG_Py_Void();
6312 return resultobj;
6313 fail:
6314 return NULL;
6315 }
6316
6317
6318 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6319 PyObject *resultobj = 0;
6320 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6321 wxHtmlSelectionState result;
6322 void *argp1 = 0 ;
6323 int res1 = 0 ;
6324 PyObject *swig_obj[1] ;
6325
6326 if (!args) SWIG_fail;
6327 swig_obj[0] = args;
6328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6329 if (!SWIG_IsOK(res1)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6331 }
6332 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 resultobj = SWIG_From_int(static_cast< int >(result));
6340 return resultobj;
6341 fail:
6342 return NULL;
6343 }
6344
6345
6346 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj = 0;
6348 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6349 wxColour *arg2 = 0 ;
6350 void *argp1 = 0 ;
6351 int res1 = 0 ;
6352 wxColour temp2 ;
6353 PyObject * obj0 = 0 ;
6354 PyObject * obj1 = 0 ;
6355 char * kwnames[] = {
6356 (char *) "self",(char *) "c", NULL
6357 };
6358
6359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6361 if (!SWIG_IsOK(res1)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6363 }
6364 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6365 {
6366 arg2 = &temp2;
6367 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6368 }
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetFgColour((wxColour const &)*arg2);
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 resultobj = SWIG_Py_Void();
6376 return resultobj;
6377 fail:
6378 return NULL;
6379 }
6380
6381
6382 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6383 PyObject *resultobj = 0;
6384 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6385 wxColour *result = 0 ;
6386 void *argp1 = 0 ;
6387 int res1 = 0 ;
6388 PyObject *swig_obj[1] ;
6389
6390 if (!args) SWIG_fail;
6391 swig_obj[0] = args;
6392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6393 if (!SWIG_IsOK(res1)) {
6394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6395 }
6396 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 {
6400 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6401 result = (wxColour *) &_result_ref;
6402 }
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj = 0;
6415 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6416 wxColour *arg2 = 0 ;
6417 void *argp1 = 0 ;
6418 int res1 = 0 ;
6419 wxColour temp2 ;
6420 PyObject * obj0 = 0 ;
6421 PyObject * obj1 = 0 ;
6422 char * kwnames[] = {
6423 (char *) "self",(char *) "c", NULL
6424 };
6425
6426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6428 if (!SWIG_IsOK(res1)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6430 }
6431 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6432 {
6433 arg2 = &temp2;
6434 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6435 }
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 (arg1)->SetBgColour((wxColour const &)*arg2);
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 resultobj = SWIG_Py_Void();
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6450 PyObject *resultobj = 0;
6451 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6452 wxColour *result = 0 ;
6453 void *argp1 = 0 ;
6454 int res1 = 0 ;
6455 PyObject *swig_obj[1] ;
6456
6457 if (!args) SWIG_fail;
6458 swig_obj[0] = args;
6459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6460 if (!SWIG_IsOK(res1)) {
6461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6462 }
6463 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 {
6467 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6468 result = (wxColour *) &_result_ref;
6469 }
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6474 return resultobj;
6475 fail:
6476 return NULL;
6477 }
6478
6479
6480 SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6481 PyObject *obj;
6482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6483 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6484 return SWIG_Py_Void();
6485 }
6486
6487 SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6488 return SWIG_Python_InitShadowInstance(args);
6489 }
6490
6491 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj = 0;
6493 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6494 wxColour *arg2 = 0 ;
6495 wxColour result;
6496 void *argp1 = 0 ;
6497 int res1 = 0 ;
6498 wxColour temp2 ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 char * kwnames[] = {
6502 (char *) "self",(char *) "clr", NULL
6503 };
6504
6505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6507 if (!SWIG_IsOK(res1)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6509 }
6510 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6511 {
6512 arg2 = &temp2;
6513 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6522 return resultobj;
6523 fail:
6524 return NULL;
6525 }
6526
6527
6528 SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6529 PyObject *resultobj = 0;
6530 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6531 wxColour *arg2 = 0 ;
6532 wxColour result;
6533 void *argp1 = 0 ;
6534 int res1 = 0 ;
6535 wxColour temp2 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 char * kwnames[] = {
6539 (char *) "self",(char *) "clr", NULL
6540 };
6541
6542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6544 if (!SWIG_IsOK(res1)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6546 }
6547 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6548 {
6549 arg2 = &temp2;
6550 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6551 }
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6566 PyObject *obj;
6567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6568 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6569 return SWIG_Py_Void();
6570 }
6571
6572 SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6573 PyObject *obj;
6574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6575 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6576 return SWIG_Py_Void();
6577 }
6578
6579 SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6580 PyObject *resultobj = 0;
6581 wxHtmlRenderingInfo *result = 0 ;
6582
6583 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6598 PyObject *resultobj = 0;
6599 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6600 void *argp1 = 0 ;
6601 int res1 = 0 ;
6602 PyObject *swig_obj[1] ;
6603
6604 if (!args) SWIG_fail;
6605 swig_obj[0] = args;
6606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6607 if (!SWIG_IsOK(res1)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6609 }
6610 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 delete arg1;
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = SWIG_Py_Void();
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj = 0;
6627 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6628 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6629 void *argp1 = 0 ;
6630 int res1 = 0 ;
6631 void *argp2 = 0 ;
6632 int res2 = 0 ;
6633 PyObject * obj0 = 0 ;
6634 PyObject * obj1 = 0 ;
6635 char * kwnames[] = {
6636 (char *) "self",(char *) "s", NULL
6637 };
6638
6639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6641 if (!SWIG_IsOK(res1)) {
6642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6643 }
6644 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6645 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6646 if (!SWIG_IsOK(res2)) {
6647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6648 }
6649 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 (arg1)->SetSelection(arg2);
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 resultobj = SWIG_Py_Void();
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6664 PyObject *resultobj = 0;
6665 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6666 wxHtmlSelection *result = 0 ;
6667 void *argp1 = 0 ;
6668 int res1 = 0 ;
6669 PyObject *swig_obj[1] ;
6670
6671 if (!args) SWIG_fail;
6672 swig_obj[0] = args;
6673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6674 if (!SWIG_IsOK(res1)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6676 }
6677 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6685 return resultobj;
6686 fail:
6687 return NULL;
6688 }
6689
6690
6691 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6692 PyObject *resultobj = 0;
6693 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6694 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6695 void *argp1 = 0 ;
6696 int res1 = 0 ;
6697 void *argp2 = 0 ;
6698 int res2 = 0 ;
6699 PyObject * obj0 = 0 ;
6700 PyObject * obj1 = 0 ;
6701 char * kwnames[] = {
6702 (char *) "self",(char *) "style", NULL
6703 };
6704
6705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6707 if (!SWIG_IsOK(res1)) {
6708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6709 }
6710 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6711 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6712 if (!SWIG_IsOK(res2)) {
6713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6714 }
6715 arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 (arg1)->SetStyle(arg2);
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 resultobj = SWIG_Py_Void();
6723 return resultobj;
6724 fail:
6725 return NULL;
6726 }
6727
6728
6729 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6730 PyObject *resultobj = 0;
6731 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6732 wxHtmlRenderingStyle *result = 0 ;
6733 void *argp1 = 0 ;
6734 int res1 = 0 ;
6735 PyObject *swig_obj[1] ;
6736
6737 if (!args) SWIG_fail;
6738 swig_obj[0] = args;
6739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6740 if (!SWIG_IsOK(res1)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6742 }
6743 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 {
6747 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6748 result = (wxHtmlRenderingStyle *) &_result_ref;
6749 }
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6754 return resultobj;
6755 fail:
6756 return NULL;
6757 }
6758
6759
6760 SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6761 PyObject *resultobj = 0;
6762 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6763 wxHtmlRenderingState *result = 0 ;
6764 void *argp1 = 0 ;
6765 int res1 = 0 ;
6766 PyObject *swig_obj[1] ;
6767
6768 if (!args) SWIG_fail;
6769 swig_obj[0] = args;
6770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6771 if (!SWIG_IsOK(res1)) {
6772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6773 }
6774 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 {
6778 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6779 result = (wxHtmlRenderingState *) &_result_ref;
6780 }
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6792 PyObject *obj;
6793 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6794 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6795 return SWIG_Py_Void();
6796 }
6797
6798 SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6799 return SWIG_Python_InitShadowInstance(args);
6800 }
6801
6802 SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6803 PyObject *resultobj = 0;
6804 wxHtmlCell *result = 0 ;
6805
6806 if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (wxHtmlCell *)new wxHtmlCell();
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6821 PyObject *resultobj = 0;
6822 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6823 void *argp1 = 0 ;
6824 int res1 = 0 ;
6825 PyObject *swig_obj[1] ;
6826
6827 if (!args) SWIG_fail;
6828 swig_obj[0] = args;
6829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6832 }
6833 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 delete arg1;
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 resultobj = SWIG_Py_Void();
6842 return resultobj;
6843 fail:
6844 return NULL;
6845 }
6846
6847
6848 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6849 PyObject *resultobj = 0;
6850 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6851 int result;
6852 void *argp1 = 0 ;
6853 int res1 = 0 ;
6854 PyObject *swig_obj[1] ;
6855
6856 if (!args) SWIG_fail;
6857 swig_obj[0] = args;
6858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6859 if (!SWIG_IsOK(res1)) {
6860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6861 }
6862 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (int)(arg1)->GetPosX();
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 resultobj = SWIG_From_int(static_cast< int >(result));
6870 return resultobj;
6871 fail:
6872 return NULL;
6873 }
6874
6875
6876 SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6877 PyObject *resultobj = 0;
6878 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6879 int result;
6880 void *argp1 = 0 ;
6881 int res1 = 0 ;
6882 PyObject *swig_obj[1] ;
6883
6884 if (!args) SWIG_fail;
6885 swig_obj[0] = args;
6886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6887 if (!SWIG_IsOK(res1)) {
6888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6889 }
6890 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 result = (int)(arg1)->GetPosY();
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 resultobj = SWIG_From_int(static_cast< int >(result));
6898 return resultobj;
6899 fail:
6900 return NULL;
6901 }
6902
6903
6904 SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6905 PyObject *resultobj = 0;
6906 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6907 int result;
6908 void *argp1 = 0 ;
6909 int res1 = 0 ;
6910 PyObject *swig_obj[1] ;
6911
6912 if (!args) SWIG_fail;
6913 swig_obj[0] = args;
6914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6915 if (!SWIG_IsOK(res1)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6917 }
6918 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (int)(arg1)->GetWidth();
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 resultobj = SWIG_From_int(static_cast< int >(result));
6926 return resultobj;
6927 fail:
6928 return NULL;
6929 }
6930
6931
6932 SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6933 PyObject *resultobj = 0;
6934 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6935 int result;
6936 void *argp1 = 0 ;
6937 int res1 = 0 ;
6938 PyObject *swig_obj[1] ;
6939
6940 if (!args) SWIG_fail;
6941 swig_obj[0] = args;
6942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6943 if (!SWIG_IsOK(res1)) {
6944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6945 }
6946 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6947 {
6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
6949 result = (int)(arg1)->GetHeight();
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 resultobj = SWIG_From_int(static_cast< int >(result));
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6961 PyObject *resultobj = 0;
6962 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6963 int result;
6964 void *argp1 = 0 ;
6965 int res1 = 0 ;
6966 PyObject *swig_obj[1] ;
6967
6968 if (!args) SWIG_fail;
6969 swig_obj[0] = args;
6970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6971 if (!SWIG_IsOK(res1)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6973 }
6974 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 result = (int)(arg1)->GetDescent();
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = SWIG_From_int(static_cast< int >(result));
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6989 PyObject *resultobj = 0;
6990 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6991 int result;
6992 void *argp1 = 0 ;
6993 int res1 = 0 ;
6994 PyObject *swig_obj[1] ;
6995
6996 if (!args) SWIG_fail;
6997 swig_obj[0] = args;
6998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6999 if (!SWIG_IsOK(res1)) {
7000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7001 }
7002 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_From_int(static_cast< int >(result));
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7017 PyObject *resultobj = 0;
7018 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7019 wxString *result = 0 ;
7020 void *argp1 = 0 ;
7021 int res1 = 0 ;
7022 PyObject *swig_obj[1] ;
7023
7024 if (!args) SWIG_fail;
7025 swig_obj[0] = args;
7026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7027 if (!SWIG_IsOK(res1)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7029 }
7030 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 {
7034 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7035 result = (wxString *) &_result_ref;
7036 }
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 {
7041 #if wxUSE_UNICODE
7042 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7043 #else
7044 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7045 #endif
7046 }
7047 return resultobj;
7048 fail:
7049 return NULL;
7050 }
7051
7052
7053 SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7054 PyObject *resultobj = 0;
7055 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7056 wxString *arg2 = 0 ;
7057 void *argp1 = 0 ;
7058 int res1 = 0 ;
7059 bool temp2 = false ;
7060 PyObject * obj0 = 0 ;
7061 PyObject * obj1 = 0 ;
7062 char * kwnames[] = {
7063 (char *) "self",(char *) "id", NULL
7064 };
7065
7066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7068 if (!SWIG_IsOK(res1)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7070 }
7071 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7072 {
7073 arg2 = wxString_in_helper(obj1);
7074 if (arg2 == NULL) SWIG_fail;
7075 temp2 = true;
7076 }
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->SetId((wxString const &)*arg2);
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 resultobj = SWIG_Py_Void();
7084 {
7085 if (temp2)
7086 delete arg2;
7087 }
7088 return resultobj;
7089 fail:
7090 {
7091 if (temp2)
7092 delete arg2;
7093 }
7094 return NULL;
7095 }
7096
7097
7098 SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj = 0;
7100 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7101 int arg2 = (int) 0 ;
7102 int arg3 = (int) 0 ;
7103 wxHtmlLinkInfo *result = 0 ;
7104 void *argp1 = 0 ;
7105 int res1 = 0 ;
7106 int val2 ;
7107 int ecode2 = 0 ;
7108 int val3 ;
7109 int ecode3 = 0 ;
7110 PyObject * obj0 = 0 ;
7111 PyObject * obj1 = 0 ;
7112 PyObject * obj2 = 0 ;
7113 char * kwnames[] = {
7114 (char *) "self",(char *) "x",(char *) "y", NULL
7115 };
7116
7117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7119 if (!SWIG_IsOK(res1)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7121 }
7122 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7123 if (obj1) {
7124 ecode2 = SWIG_AsVal_int(obj1, &val2);
7125 if (!SWIG_IsOK(ecode2)) {
7126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7127 }
7128 arg2 = static_cast< int >(val2);
7129 }
7130 if (obj2) {
7131 ecode3 = SWIG_AsVal_int(obj2, &val3);
7132 if (!SWIG_IsOK(ecode3)) {
7133 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7134 }
7135 arg3 = static_cast< int >(val3);
7136 }
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7144 return resultobj;
7145 fail:
7146 return NULL;
7147 }
7148
7149
7150 SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7151 PyObject *resultobj = 0;
7152 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7153 wxHtmlCell *result = 0 ;
7154 void *argp1 = 0 ;
7155 int res1 = 0 ;
7156 PyObject *swig_obj[1] ;
7157
7158 if (!args) SWIG_fail;
7159 swig_obj[0] = args;
7160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7161 if (!SWIG_IsOK(res1)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7163 }
7164 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 result = (wxHtmlCell *)(arg1)->GetNext();
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 {
7172 resultobj = wxPyMake_wxObject(result, 0);
7173 }
7174 return resultobj;
7175 fail:
7176 return NULL;
7177 }
7178
7179
7180 SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7181 PyObject *resultobj = 0;
7182 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7183 wxHtmlContainerCell *result = 0 ;
7184 void *argp1 = 0 ;
7185 int res1 = 0 ;
7186 PyObject *swig_obj[1] ;
7187
7188 if (!args) SWIG_fail;
7189 swig_obj[0] = args;
7190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7191 if (!SWIG_IsOK(res1)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7193 }
7194 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 result = (wxHtmlContainerCell *)(arg1)->GetParent();
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7209 PyObject *resultobj = 0;
7210 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7211 wxHtmlCell *result = 0 ;
7212 void *argp1 = 0 ;
7213 int res1 = 0 ;
7214 PyObject *swig_obj[1] ;
7215
7216 if (!args) SWIG_fail;
7217 swig_obj[0] = args;
7218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7219 if (!SWIG_IsOK(res1)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7221 }
7222 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7223 {
7224 PyThreadState* __tstate = wxPyBeginAllowThreads();
7225 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230 resultobj = wxPyMake_wxObject(result, 0);
7231 }
7232 return resultobj;
7233 fail:
7234 return NULL;
7235 }
7236
7237
7238 SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj = 0;
7240 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7241 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7242 wxCursor result;
7243 void *argp1 = 0 ;
7244 int res1 = 0 ;
7245 void *argp2 = 0 ;
7246 int res2 = 0 ;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 char * kwnames[] = {
7250 (char *) "self",(char *) "window", NULL
7251 };
7252
7253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7255 if (!SWIG_IsOK(res1)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7257 }
7258 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7259 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7260 if (!SWIG_IsOK(res2)) {
7261 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7262 }
7263 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7278 PyObject *resultobj = 0;
7279 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7280 wxCursor result;
7281 void *argp1 = 0 ;
7282 int res1 = 0 ;
7283 PyObject *swig_obj[1] ;
7284
7285 if (!args) SWIG_fail;
7286 swig_obj[0] = args;
7287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7288 if (!SWIG_IsOK(res1)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7290 }
7291 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = ((wxHtmlCell const *)arg1)->GetCursor();
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7306 PyObject *resultobj = 0;
7307 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7308 bool result;
7309 void *argp1 = 0 ;
7310 int res1 = 0 ;
7311 PyObject *swig_obj[1] ;
7312
7313 if (!args) SWIG_fail;
7314 swig_obj[0] = args;
7315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7316 if (!SWIG_IsOK(res1)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7318 }
7319 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 {
7327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7328 }
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj = 0;
7337 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7338 wxHtmlLinkInfo *arg2 = 0 ;
7339 void *argp1 = 0 ;
7340 int res1 = 0 ;
7341 void *argp2 = 0 ;
7342 int res2 = 0 ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 char * kwnames[] = {
7346 (char *) "self",(char *) "link", NULL
7347 };
7348
7349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7351 if (!SWIG_IsOK(res1)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7353 }
7354 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7355 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7356 if (!SWIG_IsOK(res2)) {
7357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7358 }
7359 if (!argp2) {
7360 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7361 }
7362 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 resultobj = SWIG_Py_Void();
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj = 0;
7378 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7379 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7380 int res1 = 0 ;
7381 int res2 = 0 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 char * kwnames[] = {
7385 (char *) "self",(char *) "cell", NULL
7386 };
7387
7388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7389 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7390 if (!SWIG_IsOK(res1)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7392 }
7393 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7394 if (!SWIG_IsOK(res2)) {
7395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7396 }
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->SetNext(arg2);
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 resultobj = SWIG_Py_Void();
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj = 0;
7412 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7413 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7414 void *argp1 = 0 ;
7415 int res1 = 0 ;
7416 void *argp2 = 0 ;
7417 int res2 = 0 ;
7418 PyObject * obj0 = 0 ;
7419 PyObject * obj1 = 0 ;
7420 char * kwnames[] = {
7421 (char *) "self",(char *) "p", NULL
7422 };
7423
7424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7426 if (!SWIG_IsOK(res1)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7428 }
7429 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7430 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7431 if (!SWIG_IsOK(res2)) {
7432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7433 }
7434 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 (arg1)->SetParent(arg2);
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 }
7441 resultobj = SWIG_Py_Void();
7442 return resultobj;
7443 fail:
7444 return NULL;
7445 }
7446
7447
7448 SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj = 0;
7450 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7451 int arg2 ;
7452 int arg3 ;
7453 void *argp1 = 0 ;
7454 int res1 = 0 ;
7455 int val2 ;
7456 int ecode2 = 0 ;
7457 int val3 ;
7458 int ecode3 = 0 ;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 PyObject * obj2 = 0 ;
7462 char * kwnames[] = {
7463 (char *) "self",(char *) "x",(char *) "y", NULL
7464 };
7465
7466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7468 if (!SWIG_IsOK(res1)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7470 }
7471 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7472 ecode2 = SWIG_AsVal_int(obj1, &val2);
7473 if (!SWIG_IsOK(ecode2)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7475 }
7476 arg2 = static_cast< int >(val2);
7477 ecode3 = SWIG_AsVal_int(obj2, &val3);
7478 if (!SWIG_IsOK(ecode3)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7480 }
7481 arg3 = static_cast< int >(val3);
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 (arg1)->SetPos(arg2,arg3);
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 resultobj = SWIG_Py_Void();
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj = 0;
7497 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7498 int arg2 ;
7499 void *argp1 = 0 ;
7500 int res1 = 0 ;
7501 int val2 ;
7502 int ecode2 = 0 ;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 char * kwnames[] = {
7506 (char *) "self",(char *) "w", NULL
7507 };
7508
7509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7511 if (!SWIG_IsOK(res1)) {
7512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7513 }
7514 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7515 ecode2 = SWIG_AsVal_int(obj1, &val2);
7516 if (!SWIG_IsOK(ecode2)) {
7517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7518 }
7519 arg2 = static_cast< int >(val2);
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 (arg1)->Layout(arg2);
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 resultobj = SWIG_Py_Void();
7527 return resultobj;
7528 fail:
7529 return NULL;
7530 }
7531
7532
7533 SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj = 0;
7535 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7536 wxDC *arg2 = 0 ;
7537 int arg3 ;
7538 int arg4 ;
7539 int arg5 ;
7540 int arg6 ;
7541 wxHtmlRenderingInfo *arg7 = 0 ;
7542 void *argp1 = 0 ;
7543 int res1 = 0 ;
7544 void *argp2 = 0 ;
7545 int res2 = 0 ;
7546 int val3 ;
7547 int ecode3 = 0 ;
7548 int val4 ;
7549 int ecode4 = 0 ;
7550 int val5 ;
7551 int ecode5 = 0 ;
7552 int val6 ;
7553 int ecode6 = 0 ;
7554 void *argp7 = 0 ;
7555 int res7 = 0 ;
7556 PyObject * obj0 = 0 ;
7557 PyObject * obj1 = 0 ;
7558 PyObject * obj2 = 0 ;
7559 PyObject * obj3 = 0 ;
7560 PyObject * obj4 = 0 ;
7561 PyObject * obj5 = 0 ;
7562 PyObject * obj6 = 0 ;
7563 char * kwnames[] = {
7564 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7565 };
7566
7567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7569 if (!SWIG_IsOK(res1)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7571 }
7572 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7574 if (!SWIG_IsOK(res2)) {
7575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7576 }
7577 if (!argp2) {
7578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7579 }
7580 arg2 = reinterpret_cast< wxDC * >(argp2);
7581 ecode3 = SWIG_AsVal_int(obj2, &val3);
7582 if (!SWIG_IsOK(ecode3)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7584 }
7585 arg3 = static_cast< int >(val3);
7586 ecode4 = SWIG_AsVal_int(obj3, &val4);
7587 if (!SWIG_IsOK(ecode4)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7589 }
7590 arg4 = static_cast< int >(val4);
7591 ecode5 = SWIG_AsVal_int(obj4, &val5);
7592 if (!SWIG_IsOK(ecode5)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7594 }
7595 arg5 = static_cast< int >(val5);
7596 ecode6 = SWIG_AsVal_int(obj5, &val6);
7597 if (!SWIG_IsOK(ecode6)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7599 }
7600 arg6 = static_cast< int >(val6);
7601 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7602 if (!SWIG_IsOK(res7)) {
7603 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7604 }
7605 if (!argp7) {
7606 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7607 }
7608 arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 resultobj = SWIG_Py_Void();
7616 return resultobj;
7617 fail:
7618 return NULL;
7619 }
7620
7621
7622 SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj = 0;
7624 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7625 wxDC *arg2 = 0 ;
7626 int arg3 ;
7627 int arg4 ;
7628 wxHtmlRenderingInfo *arg5 = 0 ;
7629 void *argp1 = 0 ;
7630 int res1 = 0 ;
7631 void *argp2 = 0 ;
7632 int res2 = 0 ;
7633 int val3 ;
7634 int ecode3 = 0 ;
7635 int val4 ;
7636 int ecode4 = 0 ;
7637 void *argp5 = 0 ;
7638 int res5 = 0 ;
7639 PyObject * obj0 = 0 ;
7640 PyObject * obj1 = 0 ;
7641 PyObject * obj2 = 0 ;
7642 PyObject * obj3 = 0 ;
7643 PyObject * obj4 = 0 ;
7644 char * kwnames[] = {
7645 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7646 };
7647
7648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7650 if (!SWIG_IsOK(res1)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7652 }
7653 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7655 if (!SWIG_IsOK(res2)) {
7656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7657 }
7658 if (!argp2) {
7659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7660 }
7661 arg2 = reinterpret_cast< wxDC * >(argp2);
7662 ecode3 = SWIG_AsVal_int(obj2, &val3);
7663 if (!SWIG_IsOK(ecode3)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7665 }
7666 arg3 = static_cast< int >(val3);
7667 ecode4 = SWIG_AsVal_int(obj3, &val4);
7668 if (!SWIG_IsOK(ecode4)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7670 }
7671 arg4 = static_cast< int >(val4);
7672 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7673 if (!SWIG_IsOK(res5)) {
7674 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7675 }
7676 if (!argp5) {
7677 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7678 }
7679 arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 resultobj = SWIG_Py_Void();
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj = 0;
7695 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7696 int arg2 ;
7697 void *arg3 = (void *) 0 ;
7698 wxHtmlCell *result = 0 ;
7699 void *argp1 = 0 ;
7700 int res1 = 0 ;
7701 int val2 ;
7702 int ecode2 = 0 ;
7703 int res3 ;
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
7706 PyObject * obj2 = 0 ;
7707 char * kwnames[] = {
7708 (char *) "self",(char *) "condition",(char *) "param", NULL
7709 };
7710
7711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7713 if (!SWIG_IsOK(res1)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7715 }
7716 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7717 ecode2 = SWIG_AsVal_int(obj1, &val2);
7718 if (!SWIG_IsOK(ecode2)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7720 }
7721 arg2 = static_cast< int >(val2);
7722 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7723 if (!SWIG_IsOK(res3)) {
7724 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7725 }
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 {
7733 resultobj = wxPyMake_wxObject(result, 0);
7734 }
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj = 0;
7743 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7744 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7745 wxPoint *arg3 = 0 ;
7746 wxMouseEvent *arg4 = 0 ;
7747 bool result;
7748 void *argp1 = 0 ;
7749 int res1 = 0 ;
7750 void *argp2 = 0 ;
7751 int res2 = 0 ;
7752 wxPoint temp3 ;
7753 void *argp4 = 0 ;
7754 int res4 = 0 ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 PyObject * obj2 = 0 ;
7758 PyObject * obj3 = 0 ;
7759 char * kwnames[] = {
7760 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7761 };
7762
7763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7765 if (!SWIG_IsOK(res1)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7767 }
7768 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7770 if (!SWIG_IsOK(res2)) {
7771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7772 }
7773 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7774 {
7775 arg3 = &temp3;
7776 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7777 }
7778 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7779 if (!SWIG_IsOK(res4)) {
7780 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7781 }
7782 if (!argp4) {
7783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7784 }
7785 arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7794 }
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj = 0;
7803 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7804 bool arg2 ;
7805 void *argp1 = 0 ;
7806 int res1 = 0 ;
7807 bool val2 ;
7808 int ecode2 = 0 ;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 char * kwnames[] = {
7812 (char *) "self",(char *) "can", NULL
7813 };
7814
7815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7817 if (!SWIG_IsOK(res1)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7819 }
7820 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7821 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7822 if (!SWIG_IsOK(ecode2)) {
7823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7824 }
7825 arg2 = static_cast< bool >(val2);
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 (arg1)->SetCanLiveOnPagebreak(arg2);
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 resultobj = SWIG_Py_Void();
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7840 PyObject *resultobj = 0;
7841 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7842 bool result;
7843 void *argp1 = 0 ;
7844 int res1 = 0 ;
7845 PyObject *swig_obj[1] ;
7846
7847 if (!args) SWIG_fail;
7848 swig_obj[0] = args;
7849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7850 if (!SWIG_IsOK(res1)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7852 }
7853 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 {
7861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7862 }
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7870 PyObject *resultobj = 0;
7871 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7872 bool result;
7873 void *argp1 = 0 ;
7874 int res1 = 0 ;
7875 PyObject *swig_obj[1] ;
7876
7877 if (!args) SWIG_fail;
7878 swig_obj[0] = args;
7879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7880 if (!SWIG_IsOK(res1)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7882 }
7883 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 {
7891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7892 }
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj = 0;
7901 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7902 int arg2 ;
7903 int arg3 ;
7904 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7905 wxHtmlCell *result = 0 ;
7906 void *argp1 = 0 ;
7907 int res1 = 0 ;
7908 int val2 ;
7909 int ecode2 = 0 ;
7910 int val3 ;
7911 int ecode3 = 0 ;
7912 unsigned int val4 ;
7913 int ecode4 = 0 ;
7914 PyObject * obj0 = 0 ;
7915 PyObject * obj1 = 0 ;
7916 PyObject * obj2 = 0 ;
7917 PyObject * obj3 = 0 ;
7918 char * kwnames[] = {
7919 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7920 };
7921
7922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7924 if (!SWIG_IsOK(res1)) {
7925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7926 }
7927 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7928 ecode2 = SWIG_AsVal_int(obj1, &val2);
7929 if (!SWIG_IsOK(ecode2)) {
7930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7931 }
7932 arg2 = static_cast< int >(val2);
7933 ecode3 = SWIG_AsVal_int(obj2, &val3);
7934 if (!SWIG_IsOK(ecode3)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7936 }
7937 arg3 = static_cast< int >(val3);
7938 if (obj3) {
7939 ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7940 if (!SWIG_IsOK(ecode4)) {
7941 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7942 }
7943 arg4 = static_cast< unsigned int >(val4);
7944 }
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 {
7952 resultobj = wxPyMake_wxObject(result, 0);
7953 }
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj = 0;
7962 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7963 wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
7964 wxPoint result;
7965 void *argp1 = 0 ;
7966 int res1 = 0 ;
7967 void *argp2 = 0 ;
7968 int res2 = 0 ;
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char * kwnames[] = {
7972 (char *) "self",(char *) "rootCell", NULL
7973 };
7974
7975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
7976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7977 if (!SWIG_IsOK(res1)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7979 }
7980 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7981 if (obj1) {
7982 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7983 if (!SWIG_IsOK(res2)) {
7984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7985 }
7986 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
7987 }
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8002 PyObject *resultobj = 0;
8003 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8004 wxHtmlCell *result = 0 ;
8005 void *argp1 = 0 ;
8006 int res1 = 0 ;
8007 PyObject *swig_obj[1] ;
8008
8009 if (!args) SWIG_fail;
8010 swig_obj[0] = args;
8011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8012 if (!SWIG_IsOK(res1)) {
8013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8014 }
8015 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 {
8023 resultobj = wxPyMake_wxObject(result, 0);
8024 }
8025 return resultobj;
8026 fail:
8027 return NULL;
8028 }
8029
8030
8031 SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8032 PyObject *resultobj = 0;
8033 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8034 wxHtmlCell *result = 0 ;
8035 void *argp1 = 0 ;
8036 int res1 = 0 ;
8037 PyObject *swig_obj[1] ;
8038
8039 if (!args) SWIG_fail;
8040 swig_obj[0] = args;
8041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8042 if (!SWIG_IsOK(res1)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8044 }
8045 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 {
8053 resultobj = wxPyMake_wxObject(result, 0);
8054 }
8055 return resultobj;
8056 fail:
8057 return NULL;
8058 }
8059
8060
8061 SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8062 PyObject *resultobj = 0;
8063 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8064 wxHtmlCell *result = 0 ;
8065 void *argp1 = 0 ;
8066 int res1 = 0 ;
8067 PyObject *swig_obj[1] ;
8068
8069 if (!args) SWIG_fail;
8070 swig_obj[0] = args;
8071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8072 if (!SWIG_IsOK(res1)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8074 }
8075 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8076 {
8077 PyThreadState* __tstate = wxPyBeginAllowThreads();
8078 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 {
8083 resultobj = wxPyMake_wxObject(result, 0);
8084 }
8085 return resultobj;
8086 fail:
8087 return NULL;
8088 }
8089
8090
8091 SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8092 PyObject *resultobj = 0;
8093 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8094 unsigned int result;
8095 void *argp1 = 0 ;
8096 int res1 = 0 ;
8097 PyObject *swig_obj[1] ;
8098
8099 if (!args) SWIG_fail;
8100 swig_obj[0] = args;
8101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8102 if (!SWIG_IsOK(res1)) {
8103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8104 }
8105 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8113 return resultobj;
8114 fail:
8115 return NULL;
8116 }
8117
8118
8119 SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj = 0;
8121 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8122 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8123 bool result;
8124 void *argp1 = 0 ;
8125 int res1 = 0 ;
8126 void *argp2 = 0 ;
8127 int res2 = 0 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char * kwnames[] = {
8131 (char *) "self",(char *) "cell", NULL
8132 };
8133
8134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8136 if (!SWIG_IsOK(res1)) {
8137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8138 }
8139 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8140 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8141 if (!SWIG_IsOK(res2)) {
8142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8143 }
8144 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 {
8152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8153 }
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj = 0;
8162 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8163 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8164 wxString result;
8165 void *argp1 = 0 ;
8166 int res1 = 0 ;
8167 void *argp2 = 0 ;
8168 int res2 = 0 ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 char * kwnames[] = {
8172 (char *) "self",(char *) "sel", NULL
8173 };
8174
8175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8177 if (!SWIG_IsOK(res1)) {
8178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8179 }
8180 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8181 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8182 if (!SWIG_IsOK(res2)) {
8183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8184 }
8185 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 {
8193 #if wxUSE_UNICODE
8194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8195 #else
8196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8197 #endif
8198 }
8199 return resultobj;
8200 fail:
8201 return NULL;
8202 }
8203
8204
8205 SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8206 PyObject *obj;
8207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8208 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8209 return SWIG_Py_Void();
8210 }
8211
8212 SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8213 return SWIG_Python_InitShadowInstance(args);
8214 }
8215
8216 SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj = 0;
8218 wxString *arg1 = 0 ;
8219 wxDC *arg2 = 0 ;
8220 wxHtmlWordCell *result = 0 ;
8221 bool temp1 = false ;
8222 void *argp2 = 0 ;
8223 int res2 = 0 ;
8224 PyObject * obj0 = 0 ;
8225 PyObject * obj1 = 0 ;
8226 char * kwnames[] = {
8227 (char *) "word",(char *) "dc", NULL
8228 };
8229
8230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8231 {
8232 arg1 = wxString_in_helper(obj0);
8233 if (arg1 == NULL) SWIG_fail;
8234 temp1 = true;
8235 }
8236 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8237 if (!SWIG_IsOK(res2)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8239 }
8240 if (!argp2) {
8241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8242 }
8243 arg2 = reinterpret_cast< wxDC * >(argp2);
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8251 {
8252 if (temp1)
8253 delete arg1;
8254 }
8255 return resultobj;
8256 fail:
8257 {
8258 if (temp1)
8259 delete arg1;
8260 }
8261 return NULL;
8262 }
8263
8264
8265 SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj = 0;
8267 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8268 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8269 wxString result;
8270 void *argp1 = 0 ;
8271 int res1 = 0 ;
8272 void *argp2 = 0 ;
8273 int res2 = 0 ;
8274 PyObject * obj0 = 0 ;
8275 PyObject * obj1 = 0 ;
8276 char * kwnames[] = {
8277 (char *) "self",(char *) "sel", NULL
8278 };
8279
8280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8282 if (!SWIG_IsOK(res1)) {
8283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8284 }
8285 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8286 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8287 if (!SWIG_IsOK(res2)) {
8288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8289 }
8290 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 {
8298 #if wxUSE_UNICODE
8299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8300 #else
8301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8302 #endif
8303 }
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8311 PyObject *resultobj = 0;
8312 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8313 bool result;
8314 void *argp1 = 0 ;
8315 int res1 = 0 ;
8316 PyObject *swig_obj[1] ;
8317
8318 if (!args) SWIG_fail;
8319 swig_obj[0] = args;
8320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8321 if (!SWIG_IsOK(res1)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8323 }
8324 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 {
8332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8333 }
8334 return resultobj;
8335 fail:
8336 return NULL;
8337 }
8338
8339
8340 SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj = 0;
8342 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8343 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8344 void *argp1 = 0 ;
8345 int res1 = 0 ;
8346 void *argp2 = 0 ;
8347 int res2 = 0 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char * kwnames[] = {
8351 (char *) "self",(char *) "cell", NULL
8352 };
8353
8354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8356 if (!SWIG_IsOK(res1)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8358 }
8359 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8361 if (!SWIG_IsOK(res2)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8363 }
8364 arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->SetPreviousWord(arg2);
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_Py_Void();
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8379 PyObject *obj;
8380 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8381 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8382 return SWIG_Py_Void();
8383 }
8384
8385 SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8386 return SWIG_Python_InitShadowInstance(args);
8387 }
8388
8389 SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj = 0;
8391 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8392 wxHtmlContainerCell *result = 0 ;
8393 void *argp1 = 0 ;
8394 int res1 = 0 ;
8395 PyObject * obj0 = 0 ;
8396 char * kwnames[] = {
8397 (char *) "parent", NULL
8398 };
8399
8400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8402 if (!SWIG_IsOK(res1)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8404 }
8405 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8413 return resultobj;
8414 fail:
8415 return NULL;
8416 }
8417
8418
8419 SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj = 0;
8421 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8422 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8423 void *argp1 = 0 ;
8424 int res1 = 0 ;
8425 int res2 = 0 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 char * kwnames[] = {
8429 (char *) "self",(char *) "cell", NULL
8430 };
8431
8432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8434 if (!SWIG_IsOK(res1)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8436 }
8437 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8438 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8439 if (!SWIG_IsOK(res2)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->InsertCell(arg2);
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_Py_Void();
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj = 0;
8457 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8458 int arg2 ;
8459 void *argp1 = 0 ;
8460 int res1 = 0 ;
8461 int val2 ;
8462 int ecode2 = 0 ;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 char * kwnames[] = {
8466 (char *) "self",(char *) "al", NULL
8467 };
8468
8469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8471 if (!SWIG_IsOK(res1)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8473 }
8474 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8475 ecode2 = SWIG_AsVal_int(obj1, &val2);
8476 if (!SWIG_IsOK(ecode2)) {
8477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8478 }
8479 arg2 = static_cast< int >(val2);
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 (arg1)->SetAlignHor(arg2);
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_Py_Void();
8487 return resultobj;
8488 fail:
8489 return NULL;
8490 }
8491
8492
8493 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8494 PyObject *resultobj = 0;
8495 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8496 int result;
8497 void *argp1 = 0 ;
8498 int res1 = 0 ;
8499 PyObject *swig_obj[1] ;
8500
8501 if (!args) SWIG_fail;
8502 swig_obj[0] = args;
8503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8504 if (!SWIG_IsOK(res1)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8506 }
8507 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (int)(arg1)->GetAlignHor();
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_From_int(static_cast< int >(result));
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj = 0;
8523 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8524 int arg2 ;
8525 void *argp1 = 0 ;
8526 int res1 = 0 ;
8527 int val2 ;
8528 int ecode2 = 0 ;
8529 PyObject * obj0 = 0 ;
8530 PyObject * obj1 = 0 ;
8531 char * kwnames[] = {
8532 (char *) "self",(char *) "al", NULL
8533 };
8534
8535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8537 if (!SWIG_IsOK(res1)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8539 }
8540 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8541 ecode2 = SWIG_AsVal_int(obj1, &val2);
8542 if (!SWIG_IsOK(ecode2)) {
8543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8544 }
8545 arg2 = static_cast< int >(val2);
8546 {
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 (arg1)->SetAlignVer(arg2);
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 resultobj = SWIG_Py_Void();
8553 return resultobj;
8554 fail:
8555 return NULL;
8556 }
8557
8558
8559 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8560 PyObject *resultobj = 0;
8561 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8562 int result;
8563 void *argp1 = 0 ;
8564 int res1 = 0 ;
8565 PyObject *swig_obj[1] ;
8566
8567 if (!args) SWIG_fail;
8568 swig_obj[0] = args;
8569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8570 if (!SWIG_IsOK(res1)) {
8571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8572 }
8573 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (int)(arg1)->GetAlignVer();
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 resultobj = SWIG_From_int(static_cast< int >(result));
8581 return resultobj;
8582 fail:
8583 return NULL;
8584 }
8585
8586
8587 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj = 0;
8589 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8590 int arg2 ;
8591 int arg3 ;
8592 int arg4 = (int) wxHTML_UNITS_PIXELS ;
8593 void *argp1 = 0 ;
8594 int res1 = 0 ;
8595 int val2 ;
8596 int ecode2 = 0 ;
8597 int val3 ;
8598 int ecode3 = 0 ;
8599 int val4 ;
8600 int ecode4 = 0 ;
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 PyObject * obj2 = 0 ;
8604 PyObject * obj3 = 0 ;
8605 char * kwnames[] = {
8606 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8607 };
8608
8609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8611 if (!SWIG_IsOK(res1)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8613 }
8614 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8615 ecode2 = SWIG_AsVal_int(obj1, &val2);
8616 if (!SWIG_IsOK(ecode2)) {
8617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8618 }
8619 arg2 = static_cast< int >(val2);
8620 ecode3 = SWIG_AsVal_int(obj2, &val3);
8621 if (!SWIG_IsOK(ecode3)) {
8622 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8623 }
8624 arg3 = static_cast< int >(val3);
8625 if (obj3) {
8626 ecode4 = SWIG_AsVal_int(obj3, &val4);
8627 if (!SWIG_IsOK(ecode4)) {
8628 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8629 }
8630 arg4 = static_cast< int >(val4);
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 (arg1)->SetIndent(arg2,arg3,arg4);
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 resultobj = SWIG_Py_Void();
8639 return resultobj;
8640 fail:
8641 return NULL;
8642 }
8643
8644
8645 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8646 PyObject *resultobj = 0;
8647 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8648 int arg2 ;
8649 int result;
8650 void *argp1 = 0 ;
8651 int res1 = 0 ;
8652 int val2 ;
8653 int ecode2 = 0 ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 char * kwnames[] = {
8657 (char *) "self",(char *) "ind", NULL
8658 };
8659
8660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8662 if (!SWIG_IsOK(res1)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8664 }
8665 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8666 ecode2 = SWIG_AsVal_int(obj1, &val2);
8667 if (!SWIG_IsOK(ecode2)) {
8668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8669 }
8670 arg2 = static_cast< int >(val2);
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (int)(arg1)->GetIndent(arg2);
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 resultobj = SWIG_From_int(static_cast< int >(result));
8678 return resultobj;
8679 fail:
8680 return NULL;
8681 }
8682
8683
8684 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj = 0;
8686 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8687 int arg2 ;
8688 int result;
8689 void *argp1 = 0 ;
8690 int res1 = 0 ;
8691 int val2 ;
8692 int ecode2 = 0 ;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 char * kwnames[] = {
8696 (char *) "self",(char *) "ind", NULL
8697 };
8698
8699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8701 if (!SWIG_IsOK(res1)) {
8702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8703 }
8704 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8705 ecode2 = SWIG_AsVal_int(obj1, &val2);
8706 if (!SWIG_IsOK(ecode2)) {
8707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8708 }
8709 arg2 = static_cast< int >(val2);
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 result = (int)(arg1)->GetIndentUnits(arg2);
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 resultobj = SWIG_From_int(static_cast< int >(result));
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj = 0;
8725 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8726 wxHtmlTag *arg2 = 0 ;
8727 void *argp1 = 0 ;
8728 int res1 = 0 ;
8729 void *argp2 = 0 ;
8730 int res2 = 0 ;
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
8733 char * kwnames[] = {
8734 (char *) "self",(char *) "tag", NULL
8735 };
8736
8737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8739 if (!SWIG_IsOK(res1)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8741 }
8742 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8743 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8744 if (!SWIG_IsOK(res2)) {
8745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8746 }
8747 if (!argp2) {
8748 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8749 }
8750 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = SWIG_Py_Void();
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj = 0;
8766 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8767 int arg2 ;
8768 int arg3 ;
8769 void *argp1 = 0 ;
8770 int res1 = 0 ;
8771 int val2 ;
8772 int ecode2 = 0 ;
8773 int val3 ;
8774 int ecode3 = 0 ;
8775 PyObject * obj0 = 0 ;
8776 PyObject * obj1 = 0 ;
8777 PyObject * obj2 = 0 ;
8778 char * kwnames[] = {
8779 (char *) "self",(char *) "w",(char *) "units", NULL
8780 };
8781
8782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8784 if (!SWIG_IsOK(res1)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8786 }
8787 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8788 ecode2 = SWIG_AsVal_int(obj1, &val2);
8789 if (!SWIG_IsOK(ecode2)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8791 }
8792 arg2 = static_cast< int >(val2);
8793 ecode3 = SWIG_AsVal_int(obj2, &val3);
8794 if (!SWIG_IsOK(ecode3)) {
8795 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8796 }
8797 arg3 = static_cast< int >(val3);
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 (arg1)->SetWidthFloat(arg2,arg3);
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 resultobj = SWIG_Py_Void();
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj = 0;
8813 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8814 wxHtmlTag *arg2 = 0 ;
8815 void *argp1 = 0 ;
8816 int res1 = 0 ;
8817 void *argp2 = 0 ;
8818 int res2 = 0 ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 char * kwnames[] = {
8822 (char *) "self",(char *) "tag", NULL
8823 };
8824
8825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8827 if (!SWIG_IsOK(res1)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8829 }
8830 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8831 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8832 if (!SWIG_IsOK(res2)) {
8833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8834 }
8835 if (!argp2) {
8836 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8837 }
8838 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 resultobj = SWIG_Py_Void();
8846 return resultobj;
8847 fail:
8848 return NULL;
8849 }
8850
8851
8852 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj = 0;
8854 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8855 int arg2 ;
8856 int arg3 = (int) wxHTML_ALIGN_TOP ;
8857 void *argp1 = 0 ;
8858 int res1 = 0 ;
8859 int val2 ;
8860 int ecode2 = 0 ;
8861 int val3 ;
8862 int ecode3 = 0 ;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 PyObject * obj2 = 0 ;
8866 char * kwnames[] = {
8867 (char *) "self",(char *) "h",(char *) "align", NULL
8868 };
8869
8870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8872 if (!SWIG_IsOK(res1)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8874 }
8875 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8876 ecode2 = SWIG_AsVal_int(obj1, &val2);
8877 if (!SWIG_IsOK(ecode2)) {
8878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8879 }
8880 arg2 = static_cast< int >(val2);
8881 if (obj2) {
8882 ecode3 = SWIG_AsVal_int(obj2, &val3);
8883 if (!SWIG_IsOK(ecode3)) {
8884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8885 }
8886 arg3 = static_cast< int >(val3);
8887 }
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 (arg1)->SetMinHeight(arg2,arg3);
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 resultobj = SWIG_Py_Void();
8895 return resultobj;
8896 fail:
8897 return NULL;
8898 }
8899
8900
8901 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8902 PyObject *resultobj = 0;
8903 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8904 wxColour *arg2 = 0 ;
8905 void *argp1 = 0 ;
8906 int res1 = 0 ;
8907 wxColour temp2 ;
8908 PyObject * obj0 = 0 ;
8909 PyObject * obj1 = 0 ;
8910 char * kwnames[] = {
8911 (char *) "self",(char *) "clr", NULL
8912 };
8913
8914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8916 if (!SWIG_IsOK(res1)) {
8917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8918 }
8919 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8920 {
8921 arg2 = &temp2;
8922 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8923 }
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 resultobj = SWIG_Py_Void();
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8938 PyObject *resultobj = 0;
8939 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8940 wxColour result;
8941 void *argp1 = 0 ;
8942 int res1 = 0 ;
8943 PyObject *swig_obj[1] ;
8944
8945 if (!args) SWIG_fail;
8946 swig_obj[0] = args;
8947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8948 if (!SWIG_IsOK(res1)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8950 }
8951 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 result = (arg1)->GetBackgroundColour();
8955 wxPyEndAllowThreads(__tstate);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8966 PyObject *resultobj = 0;
8967 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8968 wxColour *arg2 = 0 ;
8969 wxColour *arg3 = 0 ;
8970 void *argp1 = 0 ;
8971 int res1 = 0 ;
8972 wxColour temp2 ;
8973 wxColour temp3 ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 PyObject * obj2 = 0 ;
8977 char * kwnames[] = {
8978 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8979 };
8980
8981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8983 if (!SWIG_IsOK(res1)) {
8984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8985 }
8986 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8987 {
8988 arg2 = &temp2;
8989 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8990 }
8991 {
8992 arg3 = &temp3;
8993 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8994 }
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 resultobj = SWIG_Py_Void();
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9009 PyObject *resultobj = 0;
9010 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9011 wxHtmlCell *result = 0 ;
9012 void *argp1 = 0 ;
9013 int res1 = 0 ;
9014 PyObject *swig_obj[1] ;
9015
9016 if (!args) SWIG_fail;
9017 swig_obj[0] = args;
9018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9019 if (!SWIG_IsOK(res1)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9021 }
9022 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = (wxHtmlCell *)(arg1)->GetFirstChild();
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 {
9030 resultobj = wxPyMake_wxObject(result, 0);
9031 }
9032 return resultobj;
9033 fail:
9034 return NULL;
9035 }
9036
9037
9038 SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9039 PyObject *obj;
9040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9041 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
9042 return SWIG_Py_Void();
9043 }
9044
9045 SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9046 return SWIG_Python_InitShadowInstance(args);
9047 }
9048
9049 SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj = 0;
9051 wxColour *arg1 = 0 ;
9052 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9053 wxHtmlColourCell *result = 0 ;
9054 wxColour temp1 ;
9055 int val2 ;
9056 int ecode2 = 0 ;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
9059 char * kwnames[] = {
9060 (char *) "clr",(char *) "flags", NULL
9061 };
9062
9063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9064 {
9065 arg1 = &temp1;
9066 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9067 }
9068 if (obj1) {
9069 ecode2 = SWIG_AsVal_int(obj1, &val2);
9070 if (!SWIG_IsOK(ecode2)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9072 }
9073 arg2 = static_cast< int >(val2);
9074 }
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9089 PyObject *obj;
9090 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9091 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9092 return SWIG_Py_Void();
9093 }
9094
9095 SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9096 return SWIG_Python_InitShadowInstance(args);
9097 }
9098
9099 SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj = 0;
9101 wxFont *arg1 = (wxFont *) 0 ;
9102 wxHtmlFontCell *result = 0 ;
9103 void *argp1 = 0 ;
9104 int res1 = 0 ;
9105 PyObject * obj0 = 0 ;
9106 char * kwnames[] = {
9107 (char *) "font", NULL
9108 };
9109
9110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9112 if (!SWIG_IsOK(res1)) {
9113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9114 }
9115 arg1 = reinterpret_cast< wxFont * >(argp1);
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9130 PyObject *obj;
9131 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9132 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9133 return SWIG_Py_Void();
9134 }
9135
9136 SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9137 return SWIG_Python_InitShadowInstance(args);
9138 }
9139
9140 SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj = 0;
9142 wxWindow *arg1 = (wxWindow *) 0 ;
9143 int arg2 = (int) 0 ;
9144 wxHtmlWidgetCell *result = 0 ;
9145 void *argp1 = 0 ;
9146 int res1 = 0 ;
9147 int val2 ;
9148 int ecode2 = 0 ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 char * kwnames[] = {
9152 (char *) "wnd",(char *) "w", NULL
9153 };
9154
9155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9157 if (!SWIG_IsOK(res1)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9159 }
9160 arg1 = reinterpret_cast< wxWindow * >(argp1);
9161 if (obj1) {
9162 ecode2 = SWIG_AsVal_int(obj1, &val2);
9163 if (!SWIG_IsOK(ecode2)) {
9164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9165 }
9166 arg2 = static_cast< int >(val2);
9167 }
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9175 return resultobj;
9176 fail:
9177 return NULL;
9178 }
9179
9180
9181 SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9182 PyObject *obj;
9183 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9184 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9185 return SWIG_Py_Void();
9186 }
9187
9188 SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9189 return SWIG_Python_InitShadowInstance(args);
9190 }
9191
9192 SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9193 PyObject *resultobj = 0;
9194 wxPyHtmlFilter *result = 0 ;
9195
9196 if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj = 0;
9212 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9213 PyObject *arg2 = (PyObject *) 0 ;
9214 PyObject *arg3 = (PyObject *) 0 ;
9215 void *argp1 = 0 ;
9216 int res1 = 0 ;
9217 PyObject * obj0 = 0 ;
9218 PyObject * obj1 = 0 ;
9219 PyObject * obj2 = 0 ;
9220 char * kwnames[] = {
9221 (char *) "self",(char *) "self",(char *) "_class", NULL
9222 };
9223
9224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9226 if (!SWIG_IsOK(res1)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9228 }
9229 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9230 arg2 = obj1;
9231 arg3 = obj2;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 (arg1)->_setCallbackInfo(arg2,arg3);
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 resultobj = SWIG_Py_Void();
9239 return resultobj;
9240 fail:
9241 return NULL;
9242 }
9243
9244
9245 SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9246 PyObject *obj;
9247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9249 return SWIG_Py_Void();
9250 }
9251
9252 SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9253 return SWIG_Python_InitShadowInstance(args);
9254 }
9255
9256 SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9257 PyObject *resultobj = 0;
9258 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9259 void *argp1 = 0 ;
9260 int res1 = 0 ;
9261 PyObject *swig_obj[1] ;
9262
9263 if (!args) SWIG_fail;
9264 swig_obj[0] = args;
9265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9266 if (!SWIG_IsOK(res1)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9268 }
9269 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 delete arg1;
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = SWIG_Py_Void();
9278 return resultobj;
9279 fail:
9280 return NULL;
9281 }
9282
9283
9284 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9285 PyObject *resultobj = 0;
9286 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9287 wxString *arg2 = 0 ;
9288 void *argp1 = 0 ;
9289 int res1 = 0 ;
9290 bool temp2 = false ;
9291 PyObject * obj0 = 0 ;
9292 PyObject * obj1 = 0 ;
9293 char * kwnames[] = {
9294 (char *) "self",(char *) "title", NULL
9295 };
9296
9297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9299 if (!SWIG_IsOK(res1)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9301 }
9302 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9303 {
9304 arg2 = wxString_in_helper(obj1);
9305 if (arg2 == NULL) SWIG_fail;
9306 temp2 = true;
9307 }
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 resultobj = SWIG_Py_Void();
9315 {
9316 if (temp2)
9317 delete arg2;
9318 }
9319 return resultobj;
9320 fail:
9321 {
9322 if (temp2)
9323 delete arg2;
9324 }
9325 return NULL;
9326 }
9327
9328
9329 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj = 0;
9331 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9332 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9333 wxPoint *arg3 = 0 ;
9334 wxPoint result;
9335 void *argp1 = 0 ;
9336 int res1 = 0 ;
9337 void *argp2 = 0 ;
9338 int res2 = 0 ;
9339 wxPoint temp3 ;
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 PyObject * obj2 = 0 ;
9343 char * kwnames[] = {
9344 (char *) "self",(char *) "cell",(char *) "pos", NULL
9345 };
9346
9347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9349 if (!SWIG_IsOK(res1)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9351 }
9352 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9354 if (!SWIG_IsOK(res2)) {
9355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9356 }
9357 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9358 {
9359 arg3 = &temp3;
9360 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9361 }
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9376 PyObject *resultobj = 0;
9377 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9378 wxWindow *result = 0 ;
9379 void *argp1 = 0 ;
9380 int res1 = 0 ;
9381 PyObject *swig_obj[1] ;
9382
9383 if (!args) SWIG_fail;
9384 swig_obj[0] = args;
9385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9386 if (!SWIG_IsOK(res1)) {
9387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9388 }
9389 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = (wxWindow *)(arg1)->GetHTMLWindow();
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 {
9397 resultobj = wxPyMake_wxObject(result, 0);
9398 }
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9406 PyObject *resultobj = 0;
9407 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9408 wxColour result;
9409 void *argp1 = 0 ;
9410 int res1 = 0 ;
9411 PyObject *swig_obj[1] ;
9412
9413 if (!args) SWIG_fail;
9414 swig_obj[0] = args;
9415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9416 if (!SWIG_IsOK(res1)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9418 }
9419 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj = 0;
9435 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9436 wxColour *arg2 = 0 ;
9437 void *argp1 = 0 ;
9438 int res1 = 0 ;
9439 wxColour temp2 ;
9440 PyObject * obj0 = 0 ;
9441 PyObject * obj1 = 0 ;
9442 char * kwnames[] = {
9443 (char *) "self",(char *) "clr", NULL
9444 };
9445
9446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9448 if (!SWIG_IsOK(res1)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9450 }
9451 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9452 {
9453 arg2 = &temp2;
9454 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9455 }
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 resultobj = SWIG_Py_Void();
9463 return resultobj;
9464 fail:
9465 return NULL;
9466 }
9467
9468
9469 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9470 PyObject *resultobj = 0;
9471 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9472 wxBitmap *arg2 = 0 ;
9473 void *argp1 = 0 ;
9474 int res1 = 0 ;
9475 void *argp2 = 0 ;
9476 int res2 = 0 ;
9477 PyObject * obj0 = 0 ;
9478 PyObject * obj1 = 0 ;
9479 char * kwnames[] = {
9480 (char *) "self",(char *) "bmpBg", NULL
9481 };
9482
9483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9485 if (!SWIG_IsOK(res1)) {
9486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9487 }
9488 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9489 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9490 if (!SWIG_IsOK(res2)) {
9491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9492 }
9493 if (!argp2) {
9494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9495 }
9496 arg2 = reinterpret_cast< wxBitmap * >(argp2);
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = SWIG_Py_Void();
9504 return resultobj;
9505 fail:
9506 return NULL;
9507 }
9508
9509
9510 SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj = 0;
9512 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9513 wxString *arg2 = 0 ;
9514 void *argp1 = 0 ;
9515 int res1 = 0 ;
9516 bool temp2 = false ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9519 char * kwnames[] = {
9520 (char *) "self",(char *) "text", NULL
9521 };
9522
9523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9525 if (!SWIG_IsOK(res1)) {
9526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9527 }
9528 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9529 {
9530 arg2 = wxString_in_helper(obj1);
9531 if (arg2 == NULL) SWIG_fail;
9532 temp2 = true;
9533 }
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 (arg1)->SetHTMLStatusText((wxString const &)*arg2);
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = SWIG_Py_Void();
9541 {
9542 if (temp2)
9543 delete arg2;
9544 }
9545 return resultobj;
9546 fail:
9547 {
9548 if (temp2)
9549 delete arg2;
9550 }
9551 return NULL;
9552 }
9553
9554
9555 SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9556 PyObject *obj;
9557 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9558 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9559 return SWIG_Py_Void();
9560 }
9561
9562 SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj = 0;
9564 wxWindow *arg1 = (wxWindow *) 0 ;
9565 int arg2 = (int) -1 ;
9566 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9567 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9568 wxSize const &arg4_defvalue = wxDefaultSize ;
9569 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9570 int arg5 = (int) wxHW_DEFAULT_STYLE ;
9571 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9572 wxString *arg6 = (wxString *) &arg6_defvalue ;
9573 wxPyHtmlWindow *result = 0 ;
9574 void *argp1 = 0 ;
9575 int res1 = 0 ;
9576 int val2 ;
9577 int ecode2 = 0 ;
9578 wxPoint temp3 ;
9579 wxSize temp4 ;
9580 int val5 ;
9581 int ecode5 = 0 ;
9582 bool temp6 = false ;
9583 PyObject * obj0 = 0 ;
9584 PyObject * obj1 = 0 ;
9585 PyObject * obj2 = 0 ;
9586 PyObject * obj3 = 0 ;
9587 PyObject * obj4 = 0 ;
9588 PyObject * obj5 = 0 ;
9589 char * kwnames[] = {
9590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9591 };
9592
9593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9595 if (!SWIG_IsOK(res1)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9597 }
9598 arg1 = reinterpret_cast< wxWindow * >(argp1);
9599 if (obj1) {
9600 ecode2 = SWIG_AsVal_int(obj1, &val2);
9601 if (!SWIG_IsOK(ecode2)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9603 }
9604 arg2 = static_cast< int >(val2);
9605 }
9606 if (obj2) {
9607 {
9608 arg3 = &temp3;
9609 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9610 }
9611 }
9612 if (obj3) {
9613 {
9614 arg4 = &temp4;
9615 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9616 }
9617 }
9618 if (obj4) {
9619 ecode5 = SWIG_AsVal_int(obj4, &val5);
9620 if (!SWIG_IsOK(ecode5)) {
9621 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9622 }
9623 arg5 = static_cast< int >(val5);
9624 }
9625 if (obj5) {
9626 {
9627 arg6 = wxString_in_helper(obj5);
9628 if (arg6 == NULL) SWIG_fail;
9629 temp6 = true;
9630 }
9631 }
9632 {
9633 if (!wxPyCheckForApp()) SWIG_fail;
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9640 {
9641 if (temp6)
9642 delete arg6;
9643 }
9644 return resultobj;
9645 fail:
9646 {
9647 if (temp6)
9648 delete arg6;
9649 }
9650 return NULL;
9651 }
9652
9653
9654 SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9655 PyObject *resultobj = 0;
9656 wxPyHtmlWindow *result = 0 ;
9657
9658 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9659 {
9660 if (!wxPyCheckForApp()) SWIG_fail;
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9667 return resultobj;
9668 fail:
9669 return NULL;
9670 }
9671
9672
9673 SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9674 PyObject *resultobj = 0;
9675 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9676 wxWindow *arg2 = (wxWindow *) 0 ;
9677 int arg3 = (int) -1 ;
9678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9680 wxSize const &arg5_defvalue = wxDefaultSize ;
9681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9682 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9683 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9684 wxString *arg7 = (wxString *) &arg7_defvalue ;
9685 bool result;
9686 void *argp1 = 0 ;
9687 int res1 = 0 ;
9688 void *argp2 = 0 ;
9689 int res2 = 0 ;
9690 int val3 ;
9691 int ecode3 = 0 ;
9692 wxPoint temp4 ;
9693 wxSize temp5 ;
9694 int val6 ;
9695 int ecode6 = 0 ;
9696 bool temp7 = false ;
9697 PyObject * obj0 = 0 ;
9698 PyObject * obj1 = 0 ;
9699 PyObject * obj2 = 0 ;
9700 PyObject * obj3 = 0 ;
9701 PyObject * obj4 = 0 ;
9702 PyObject * obj5 = 0 ;
9703 PyObject * obj6 = 0 ;
9704 char * kwnames[] = {
9705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9706 };
9707
9708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9710 if (!SWIG_IsOK(res1)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9712 }
9713 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9715 if (!SWIG_IsOK(res2)) {
9716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9717 }
9718 arg2 = reinterpret_cast< wxWindow * >(argp2);
9719 if (obj2) {
9720 ecode3 = SWIG_AsVal_int(obj2, &val3);
9721 if (!SWIG_IsOK(ecode3)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9723 }
9724 arg3 = static_cast< int >(val3);
9725 }
9726 if (obj3) {
9727 {
9728 arg4 = &temp4;
9729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9730 }
9731 }
9732 if (obj4) {
9733 {
9734 arg5 = &temp5;
9735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9736 }
9737 }
9738 if (obj5) {
9739 ecode6 = SWIG_AsVal_int(obj5, &val6);
9740 if (!SWIG_IsOK(ecode6)) {
9741 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9742 }
9743 arg6 = static_cast< int >(val6);
9744 }
9745 if (obj6) {
9746 {
9747 arg7 = wxString_in_helper(obj6);
9748 if (arg7 == NULL) SWIG_fail;
9749 temp7 = true;
9750 }
9751 }
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 {
9759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9760 }
9761 {
9762 if (temp7)
9763 delete arg7;
9764 }
9765 return resultobj;
9766 fail:
9767 {
9768 if (temp7)
9769 delete arg7;
9770 }
9771 return NULL;
9772 }
9773
9774
9775 SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj = 0;
9777 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9778 PyObject *arg2 = (PyObject *) 0 ;
9779 PyObject *arg3 = (PyObject *) 0 ;
9780 void *argp1 = 0 ;
9781 int res1 = 0 ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 PyObject * obj2 = 0 ;
9785 char * kwnames[] = {
9786 (char *) "self",(char *) "self",(char *) "_class", NULL
9787 };
9788
9789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9791 if (!SWIG_IsOK(res1)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9793 }
9794 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9795 arg2 = obj1;
9796 arg3 = obj2;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 (arg1)->_setCallbackInfo(arg2,arg3);
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 resultobj = SWIG_Py_Void();
9804 return resultobj;
9805 fail:
9806 return NULL;
9807 }
9808
9809
9810 SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj = 0;
9812 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9813 wxString *arg2 = 0 ;
9814 bool result;
9815 void *argp1 = 0 ;
9816 int res1 = 0 ;
9817 bool temp2 = false ;
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 char * kwnames[] = {
9821 (char *) "self",(char *) "source", NULL
9822 };
9823
9824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9826 if (!SWIG_IsOK(res1)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9828 }
9829 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9830 {
9831 arg2 = wxString_in_helper(obj1);
9832 if (arg2 == NULL) SWIG_fail;
9833 temp2 = true;
9834 }
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 {
9842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9843 }
9844 {
9845 if (temp2)
9846 delete arg2;
9847 }
9848 return resultobj;
9849 fail:
9850 {
9851 if (temp2)
9852 delete arg2;
9853 }
9854 return NULL;
9855 }
9856
9857
9858 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj = 0;
9860 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9861 wxString *arg2 = 0 ;
9862 bool result;
9863 void *argp1 = 0 ;
9864 int res1 = 0 ;
9865 bool temp2 = false ;
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 char * kwnames[] = {
9869 (char *) "self",(char *) "location", NULL
9870 };
9871
9872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9874 if (!SWIG_IsOK(res1)) {
9875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9876 }
9877 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9878 {
9879 arg2 = wxString_in_helper(obj1);
9880 if (arg2 == NULL) SWIG_fail;
9881 temp2 = true;
9882 }
9883 {
9884 PyThreadState* __tstate = wxPyBeginAllowThreads();
9885 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 {
9890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9891 }
9892 {
9893 if (temp2)
9894 delete arg2;
9895 }
9896 return resultobj;
9897 fail:
9898 {
9899 if (temp2)
9900 delete arg2;
9901 }
9902 return NULL;
9903 }
9904
9905
9906 SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj = 0;
9908 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9909 wxString *arg2 = 0 ;
9910 bool result;
9911 void *argp1 = 0 ;
9912 int res1 = 0 ;
9913 bool temp2 = false ;
9914 PyObject * obj0 = 0 ;
9915 PyObject * obj1 = 0 ;
9916 char * kwnames[] = {
9917 (char *) "self",(char *) "filename", NULL
9918 };
9919
9920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9922 if (!SWIG_IsOK(res1)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9924 }
9925 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9926 {
9927 arg2 = wxString_in_helper(obj1);
9928 if (arg2 == NULL) SWIG_fail;
9929 temp2 = true;
9930 }
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 {
9938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9939 }
9940 {
9941 if (temp2)
9942 delete arg2;
9943 }
9944 return resultobj;
9945 fail:
9946 {
9947 if (temp2)
9948 delete arg2;
9949 }
9950 return NULL;
9951 }
9952
9953
9954 SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9955 PyObject *resultobj = 0;
9956 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9957 wxString *arg2 = 0 ;
9958 bool result;
9959 void *argp1 = 0 ;
9960 int res1 = 0 ;
9961 bool temp2 = false ;
9962 PyObject * obj0 = 0 ;
9963 PyObject * obj1 = 0 ;
9964 char * kwnames[] = {
9965 (char *) "self",(char *) "source", NULL
9966 };
9967
9968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
9969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9970 if (!SWIG_IsOK(res1)) {
9971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9972 }
9973 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9974 {
9975 arg2 = wxString_in_helper(obj1);
9976 if (arg2 == NULL) SWIG_fail;
9977 temp2 = true;
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 {
9986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9987 }
9988 {
9989 if (temp2)
9990 delete arg2;
9991 }
9992 return resultobj;
9993 fail:
9994 {
9995 if (temp2)
9996 delete arg2;
9997 }
9998 return NULL;
9999 }
10000
10001
10002 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10003 PyObject *resultobj = 0;
10004 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10005 wxString result;
10006 void *argp1 = 0 ;
10007 int res1 = 0 ;
10008 PyObject *swig_obj[1] ;
10009
10010 if (!args) SWIG_fail;
10011 swig_obj[0] = args;
10012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10013 if (!SWIG_IsOK(res1)) {
10014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10015 }
10016 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 result = (arg1)->GetOpenedPage();
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 {
10024 #if wxUSE_UNICODE
10025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10026 #else
10027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10028 #endif
10029 }
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10037 PyObject *resultobj = 0;
10038 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10039 wxString result;
10040 void *argp1 = 0 ;
10041 int res1 = 0 ;
10042 PyObject *swig_obj[1] ;
10043
10044 if (!args) SWIG_fail;
10045 swig_obj[0] = args;
10046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10047 if (!SWIG_IsOK(res1)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10049 }
10050 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (arg1)->GetOpenedAnchor();
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 {
10058 #if wxUSE_UNICODE
10059 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10060 #else
10061 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10062 #endif
10063 }
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10071 PyObject *resultobj = 0;
10072 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10073 wxString result;
10074 void *argp1 = 0 ;
10075 int res1 = 0 ;
10076 PyObject *swig_obj[1] ;
10077
10078 if (!args) SWIG_fail;
10079 swig_obj[0] = args;
10080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10081 if (!SWIG_IsOK(res1)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10083 }
10084 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 result = (arg1)->GetOpenedPageTitle();
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 {
10092 #if wxUSE_UNICODE
10093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10094 #else
10095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10096 #endif
10097 }
10098 return resultobj;
10099 fail:
10100 return NULL;
10101 }
10102
10103
10104 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj = 0;
10106 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10107 wxFrame *arg2 = (wxFrame *) 0 ;
10108 wxString *arg3 = 0 ;
10109 void *argp1 = 0 ;
10110 int res1 = 0 ;
10111 void *argp2 = 0 ;
10112 int res2 = 0 ;
10113 bool temp3 = false ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
10116 PyObject * obj2 = 0 ;
10117 char * kwnames[] = {
10118 (char *) "self",(char *) "frame",(char *) "format", NULL
10119 };
10120
10121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10123 if (!SWIG_IsOK(res1)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10125 }
10126 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10127 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10128 if (!SWIG_IsOK(res2)) {
10129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10130 }
10131 arg2 = reinterpret_cast< wxFrame * >(argp2);
10132 {
10133 arg3 = wxString_in_helper(obj2);
10134 if (arg3 == NULL) SWIG_fail;
10135 temp3 = true;
10136 }
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_Py_Void();
10144 {
10145 if (temp3)
10146 delete arg3;
10147 }
10148 return resultobj;
10149 fail:
10150 {
10151 if (temp3)
10152 delete arg3;
10153 }
10154 return NULL;
10155 }
10156
10157
10158 SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10159 PyObject *resultobj = 0;
10160 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10161 wxFrame *result = 0 ;
10162 void *argp1 = 0 ;
10163 int res1 = 0 ;
10164 PyObject *swig_obj[1] ;
10165
10166 if (!args) SWIG_fail;
10167 swig_obj[0] = args;
10168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10169 if (!SWIG_IsOK(res1)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10171 }
10172 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 result = (wxFrame *)(arg1)->GetRelatedFrame();
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 {
10180 resultobj = wxPyMake_wxObject(result, 0);
10181 }
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj = 0;
10190 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10191 int arg2 ;
10192 void *argp1 = 0 ;
10193 int res1 = 0 ;
10194 int val2 ;
10195 int ecode2 = 0 ;
10196 PyObject * obj0 = 0 ;
10197 PyObject * obj1 = 0 ;
10198 char * kwnames[] = {
10199 (char *) "self",(char *) "bar", NULL
10200 };
10201
10202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10204 if (!SWIG_IsOK(res1)) {
10205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10206 }
10207 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10208 ecode2 = SWIG_AsVal_int(obj1, &val2);
10209 if (!SWIG_IsOK(ecode2)) {
10210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10211 }
10212 arg2 = static_cast< int >(val2);
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 (arg1)->SetRelatedStatusBar(arg2);
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 resultobj = SWIG_Py_Void();
10220 return resultobj;
10221 fail:
10222 return NULL;
10223 }
10224
10225
10226 SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj = 0;
10228 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10229 wxString arg2 ;
10230 wxString arg3 ;
10231 PyObject *arg4 = (PyObject *) NULL ;
10232 void *argp1 = 0 ;
10233 int res1 = 0 ;
10234 PyObject * obj0 = 0 ;
10235 PyObject * obj1 = 0 ;
10236 PyObject * obj2 = 0 ;
10237 PyObject * obj3 = 0 ;
10238 char * kwnames[] = {
10239 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10240 };
10241
10242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10244 if (!SWIG_IsOK(res1)) {
10245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10246 }
10247 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10248 {
10249 wxString* sptr = wxString_in_helper(obj1);
10250 if (sptr == NULL) SWIG_fail;
10251 arg2 = *sptr;
10252 delete sptr;
10253 }
10254 {
10255 wxString* sptr = wxString_in_helper(obj2);
10256 if (sptr == NULL) SWIG_fail;
10257 arg3 = *sptr;
10258 delete sptr;
10259 }
10260 if (obj3) {
10261 arg4 = obj3;
10262 }
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 resultobj = SWIG_Py_Void();
10270 return resultobj;
10271 fail:
10272 return NULL;
10273 }
10274
10275
10276 SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10277 PyObject *resultobj = 0;
10278 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10279 int arg2 = (int) -1 ;
10280 wxString const &arg3_defvalue = wxPyEmptyString ;
10281 wxString *arg3 = (wxString *) &arg3_defvalue ;
10282 wxString const &arg4_defvalue = wxPyEmptyString ;
10283 wxString *arg4 = (wxString *) &arg4_defvalue ;
10284 void *argp1 = 0 ;
10285 int res1 = 0 ;
10286 int val2 ;
10287 int ecode2 = 0 ;
10288 bool temp3 = false ;
10289 bool temp4 = false ;
10290 PyObject * obj0 = 0 ;
10291 PyObject * obj1 = 0 ;
10292 PyObject * obj2 = 0 ;
10293 PyObject * obj3 = 0 ;
10294 char * kwnames[] = {
10295 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10296 };
10297
10298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10300 if (!SWIG_IsOK(res1)) {
10301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10302 }
10303 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10304 if (obj1) {
10305 ecode2 = SWIG_AsVal_int(obj1, &val2);
10306 if (!SWIG_IsOK(ecode2)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10308 }
10309 arg2 = static_cast< int >(val2);
10310 }
10311 if (obj2) {
10312 {
10313 arg3 = wxString_in_helper(obj2);
10314 if (arg3 == NULL) SWIG_fail;
10315 temp3 = true;
10316 }
10317 }
10318 if (obj3) {
10319 {
10320 arg4 = wxString_in_helper(obj3);
10321 if (arg4 == NULL) SWIG_fail;
10322 temp4 = true;
10323 }
10324 }
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 resultobj = SWIG_Py_Void();
10332 {
10333 if (temp3)
10334 delete arg3;
10335 }
10336 {
10337 if (temp4)
10338 delete arg4;
10339 }
10340 return resultobj;
10341 fail:
10342 {
10343 if (temp3)
10344 delete arg3;
10345 }
10346 {
10347 if (temp4)
10348 delete arg4;
10349 }
10350 return NULL;
10351 }
10352
10353
10354 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj = 0;
10356 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10357 int arg2 ;
10358 void *argp1 = 0 ;
10359 int res1 = 0 ;
10360 int val2 ;
10361 int ecode2 = 0 ;
10362 PyObject * obj0 = 0 ;
10363 PyObject * obj1 = 0 ;
10364 char * kwnames[] = {
10365 (char *) "self",(char *) "b", NULL
10366 };
10367
10368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10370 if (!SWIG_IsOK(res1)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10372 }
10373 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10374 ecode2 = SWIG_AsVal_int(obj1, &val2);
10375 if (!SWIG_IsOK(ecode2)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10377 }
10378 arg2 = static_cast< int >(val2);
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->SetBorders(arg2);
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 resultobj = SWIG_Py_Void();
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj = 0;
10394 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10395 wxBitmap *arg2 = 0 ;
10396 void *argp1 = 0 ;
10397 int res1 = 0 ;
10398 void *argp2 = 0 ;
10399 int res2 = 0 ;
10400 PyObject * obj0 = 0 ;
10401 PyObject * obj1 = 0 ;
10402 char * kwnames[] = {
10403 (char *) "self",(char *) "bmpBg", NULL
10404 };
10405
10406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
10407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10408 if (!SWIG_IsOK(res1)) {
10409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10410 }
10411 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10412 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10413 if (!SWIG_IsOK(res2)) {
10414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10415 }
10416 if (!argp2) {
10417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10418 }
10419 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 resultobj = SWIG_Py_Void();
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj = 0;
10435 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10436 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10437 wxString arg3 = (wxString) wxPyEmptyString ;
10438 void *argp1 = 0 ;
10439 int res1 = 0 ;
10440 void *argp2 = 0 ;
10441 int res2 = 0 ;
10442 PyObject * obj0 = 0 ;
10443 PyObject * obj1 = 0 ;
10444 PyObject * obj2 = 0 ;
10445 char * kwnames[] = {
10446 (char *) "self",(char *) "cfg",(char *) "path", NULL
10447 };
10448
10449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10451 if (!SWIG_IsOK(res1)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10453 }
10454 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10455 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10456 if (!SWIG_IsOK(res2)) {
10457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10458 }
10459 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10460 if (obj2) {
10461 {
10462 wxString* sptr = wxString_in_helper(obj2);
10463 if (sptr == NULL) SWIG_fail;
10464 arg3 = *sptr;
10465 delete sptr;
10466 }
10467 }
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 (arg1)->ReadCustomization(arg2,arg3);
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 resultobj = SWIG_Py_Void();
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10482 PyObject *resultobj = 0;
10483 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10484 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10485 wxString arg3 = (wxString) wxPyEmptyString ;
10486 void *argp1 = 0 ;
10487 int res1 = 0 ;
10488 void *argp2 = 0 ;
10489 int res2 = 0 ;
10490 PyObject * obj0 = 0 ;
10491 PyObject * obj1 = 0 ;
10492 PyObject * obj2 = 0 ;
10493 char * kwnames[] = {
10494 (char *) "self",(char *) "cfg",(char *) "path", NULL
10495 };
10496
10497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10499 if (!SWIG_IsOK(res1)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10501 }
10502 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10504 if (!SWIG_IsOK(res2)) {
10505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10506 }
10507 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10508 if (obj2) {
10509 {
10510 wxString* sptr = wxString_in_helper(obj2);
10511 if (sptr == NULL) SWIG_fail;
10512 arg3 = *sptr;
10513 delete sptr;
10514 }
10515 }
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 (arg1)->WriteCustomization(arg2,arg3);
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 resultobj = SWIG_Py_Void();
10523 return resultobj;
10524 fail:
10525 return NULL;
10526 }
10527
10528
10529 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10530 PyObject *resultobj = 0;
10531 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10532 bool result;
10533 void *argp1 = 0 ;
10534 int res1 = 0 ;
10535 PyObject *swig_obj[1] ;
10536
10537 if (!args) SWIG_fail;
10538 swig_obj[0] = args;
10539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10540 if (!SWIG_IsOK(res1)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10542 }
10543 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = (bool)(arg1)->HistoryBack();
10547 wxPyEndAllowThreads(__tstate);
10548 if (PyErr_Occurred()) SWIG_fail;
10549 }
10550 {
10551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10552 }
10553 return resultobj;
10554 fail:
10555 return NULL;
10556 }
10557
10558
10559 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10560 PyObject *resultobj = 0;
10561 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10562 bool result;
10563 void *argp1 = 0 ;
10564 int res1 = 0 ;
10565 PyObject *swig_obj[1] ;
10566
10567 if (!args) SWIG_fail;
10568 swig_obj[0] = args;
10569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10570 if (!SWIG_IsOK(res1)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10572 }
10573 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 result = (bool)(arg1)->HistoryForward();
10577 wxPyEndAllowThreads(__tstate);
10578 if (PyErr_Occurred()) SWIG_fail;
10579 }
10580 {
10581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10582 }
10583 return resultobj;
10584 fail:
10585 return NULL;
10586 }
10587
10588
10589 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10590 PyObject *resultobj = 0;
10591 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10592 bool result;
10593 void *argp1 = 0 ;
10594 int res1 = 0 ;
10595 PyObject *swig_obj[1] ;
10596
10597 if (!args) SWIG_fail;
10598 swig_obj[0] = args;
10599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10600 if (!SWIG_IsOK(res1)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10602 }
10603 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = (bool)(arg1)->HistoryCanBack();
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 {
10611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10612 }
10613 return resultobj;
10614 fail:
10615 return NULL;
10616 }
10617
10618
10619 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10620 PyObject *resultobj = 0;
10621 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10622 bool result;
10623 void *argp1 = 0 ;
10624 int res1 = 0 ;
10625 PyObject *swig_obj[1] ;
10626
10627 if (!args) SWIG_fail;
10628 swig_obj[0] = args;
10629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10630 if (!SWIG_IsOK(res1)) {
10631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10632 }
10633 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10634 {
10635 PyThreadState* __tstate = wxPyBeginAllowThreads();
10636 result = (bool)(arg1)->HistoryCanForward();
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 {
10641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10642 }
10643 return resultobj;
10644 fail:
10645 return NULL;
10646 }
10647
10648
10649 SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10650 PyObject *resultobj = 0;
10651 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10652 void *argp1 = 0 ;
10653 int res1 = 0 ;
10654 PyObject *swig_obj[1] ;
10655
10656 if (!args) SWIG_fail;
10657 swig_obj[0] = args;
10658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10659 if (!SWIG_IsOK(res1)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10661 }
10662 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 (arg1)->HistoryClear();
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 resultobj = SWIG_Py_Void();
10670 return resultobj;
10671 fail:
10672 return NULL;
10673 }
10674
10675
10676 SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10677 PyObject *resultobj = 0;
10678 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10679 wxHtmlContainerCell *result = 0 ;
10680 void *argp1 = 0 ;
10681 int res1 = 0 ;
10682 PyObject *swig_obj[1] ;
10683
10684 if (!args) SWIG_fail;
10685 swig_obj[0] = args;
10686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10687 if (!SWIG_IsOK(res1)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10689 }
10690 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10698 return resultobj;
10699 fail:
10700 return NULL;
10701 }
10702
10703
10704 SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10705 PyObject *resultobj = 0;
10706 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10707 wxHtmlWinParser *result = 0 ;
10708 void *argp1 = 0 ;
10709 int res1 = 0 ;
10710 PyObject *swig_obj[1] ;
10711
10712 if (!args) SWIG_fail;
10713 swig_obj[0] = args;
10714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10715 if (!SWIG_IsOK(res1)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10717 }
10718 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (wxHtmlWinParser *)(arg1)->GetParser();
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 }
10725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10726 return resultobj;
10727 fail:
10728 return NULL;
10729 }
10730
10731
10732 SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10733 PyObject *resultobj = 0;
10734 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10735 wxString *arg2 = 0 ;
10736 bool result;
10737 void *argp1 = 0 ;
10738 int res1 = 0 ;
10739 bool temp2 = false ;
10740 PyObject * obj0 = 0 ;
10741 PyObject * obj1 = 0 ;
10742 char * kwnames[] = {
10743 (char *) "self",(char *) "anchor", NULL
10744 };
10745
10746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10748 if (!SWIG_IsOK(res1)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10750 }
10751 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10752 {
10753 arg2 = wxString_in_helper(obj1);
10754 if (arg2 == NULL) SWIG_fail;
10755 temp2 = true;
10756 }
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 {
10764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10765 }
10766 {
10767 if (temp2)
10768 delete arg2;
10769 }
10770 return resultobj;
10771 fail:
10772 {
10773 if (temp2)
10774 delete arg2;
10775 }
10776 return NULL;
10777 }
10778
10779
10780 SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj = 0;
10782 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10783 wxString *arg2 = 0 ;
10784 bool result;
10785 void *argp1 = 0 ;
10786 int res1 = 0 ;
10787 bool temp2 = false ;
10788 PyObject * obj0 = 0 ;
10789 PyObject * obj1 = 0 ;
10790 char * kwnames[] = {
10791 (char *) "self",(char *) "anchor", NULL
10792 };
10793
10794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10796 if (!SWIG_IsOK(res1)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10798 }
10799 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10800 {
10801 arg2 = wxString_in_helper(obj1);
10802 if (arg2 == NULL) SWIG_fail;
10803 temp2 = true;
10804 }
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 {
10812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10813 }
10814 {
10815 if (temp2)
10816 delete arg2;
10817 }
10818 return resultobj;
10819 fail:
10820 {
10821 if (temp2)
10822 delete arg2;
10823 }
10824 return NULL;
10825 }
10826
10827
10828 SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10829 PyObject *resultobj = 0;
10830 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10831 void *argp1 = 0 ;
10832 int res1 = 0 ;
10833 PyObject * obj0 = 0 ;
10834 char * kwnames[] = {
10835 (char *) "filter", NULL
10836 };
10837
10838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10840 if (!SWIG_IsOK(res1)) {
10841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10842 }
10843 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 wxPyHtmlWindow::AddFilter(arg1);
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 resultobj = SWIG_Py_Void();
10851 return resultobj;
10852 fail:
10853 return NULL;
10854 }
10855
10856
10857 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj = 0;
10859 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10860 wxPoint *arg2 = 0 ;
10861 void *argp1 = 0 ;
10862 int res1 = 0 ;
10863 wxPoint temp2 ;
10864 PyObject * obj0 = 0 ;
10865 PyObject * obj1 = 0 ;
10866 char * kwnames[] = {
10867 (char *) "self",(char *) "pos", NULL
10868 };
10869
10870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10872 if (!SWIG_IsOK(res1)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10874 }
10875 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10876 {
10877 arg2 = &temp2;
10878 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10879 }
10880 {
10881 PyThreadState* __tstate = wxPyBeginAllowThreads();
10882 (arg1)->SelectWord((wxPoint const &)*arg2);
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 resultobj = SWIG_Py_Void();
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj = 0;
10895 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10896 wxPoint *arg2 = 0 ;
10897 void *argp1 = 0 ;
10898 int res1 = 0 ;
10899 wxPoint temp2 ;
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
10902 char * kwnames[] = {
10903 (char *) "self",(char *) "pos", NULL
10904 };
10905
10906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10908 if (!SWIG_IsOK(res1)) {
10909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10910 }
10911 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10912 {
10913 arg2 = &temp2;
10914 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10915 }
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SelectLine((wxPoint const &)*arg2);
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 resultobj = SWIG_Py_Void();
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10930 PyObject *resultobj = 0;
10931 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10932 void *argp1 = 0 ;
10933 int res1 = 0 ;
10934 PyObject *swig_obj[1] ;
10935
10936 if (!args) SWIG_fail;
10937 swig_obj[0] = args;
10938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10939 if (!SWIG_IsOK(res1)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10941 }
10942 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 (arg1)->SelectAll();
10946 wxPyEndAllowThreads(__tstate);
10947 if (PyErr_Occurred()) SWIG_fail;
10948 }
10949 resultobj = SWIG_Py_Void();
10950 return resultobj;
10951 fail:
10952 return NULL;
10953 }
10954
10955
10956 SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10957 PyObject *resultobj = 0;
10958 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10959 wxString result;
10960 void *argp1 = 0 ;
10961 int res1 = 0 ;
10962 PyObject *swig_obj[1] ;
10963
10964 if (!args) SWIG_fail;
10965 swig_obj[0] = args;
10966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10967 if (!SWIG_IsOK(res1)) {
10968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10969 }
10970 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = (arg1)->SelectionToText();
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 {
10978 #if wxUSE_UNICODE
10979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10980 #else
10981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10982 #endif
10983 }
10984 return resultobj;
10985 fail:
10986 return NULL;
10987 }
10988
10989
10990 SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10991 PyObject *resultobj = 0;
10992 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10993 wxString result;
10994 void *argp1 = 0 ;
10995 int res1 = 0 ;
10996 PyObject *swig_obj[1] ;
10997
10998 if (!args) SWIG_fail;
10999 swig_obj[0] = args;
11000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11001 if (!SWIG_IsOK(res1)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11003 }
11004 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = (arg1)->ToText();
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 {
11012 #if wxUSE_UNICODE
11013 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11014 #else
11015 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11016 #endif
11017 }
11018 return resultobj;
11019 fail:
11020 return NULL;
11021 }
11022
11023
11024 SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj = 0;
11026 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11027 wxHtmlLinkInfo *arg2 = 0 ;
11028 void *argp1 = 0 ;
11029 int res1 = 0 ;
11030 void *argp2 = 0 ;
11031 int res2 = 0 ;
11032 PyObject * obj0 = 0 ;
11033 PyObject * obj1 = 0 ;
11034 char * kwnames[] = {
11035 (char *) "self",(char *) "link", NULL
11036 };
11037
11038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
11039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11040 if (!SWIG_IsOK(res1)) {
11041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11042 }
11043 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11044 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
11045 if (!SWIG_IsOK(res2)) {
11046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11047 }
11048 if (!argp2) {
11049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11050 }
11051 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 resultobj = SWIG_Py_Void();
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj = 0;
11067 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11068 wxString *arg2 = 0 ;
11069 void *argp1 = 0 ;
11070 int res1 = 0 ;
11071 bool temp2 = false ;
11072 PyObject * obj0 = 0 ;
11073 PyObject * obj1 = 0 ;
11074 char * kwnames[] = {
11075 (char *) "self",(char *) "title", NULL
11076 };
11077
11078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11080 if (!SWIG_IsOK(res1)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11082 }
11083 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11084 {
11085 arg2 = wxString_in_helper(obj1);
11086 if (arg2 == NULL) SWIG_fail;
11087 temp2 = true;
11088 }
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 (arg1)->OnSetTitle((wxString const &)*arg2);
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 resultobj = SWIG_Py_Void();
11096 {
11097 if (temp2)
11098 delete arg2;
11099 }
11100 return resultobj;
11101 fail:
11102 {
11103 if (temp2)
11104 delete arg2;
11105 }
11106 return NULL;
11107 }
11108
11109
11110 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj = 0;
11112 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11113 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11114 int arg3 ;
11115 int arg4 ;
11116 void *argp1 = 0 ;
11117 int res1 = 0 ;
11118 void *argp2 = 0 ;
11119 int res2 = 0 ;
11120 int val3 ;
11121 int ecode3 = 0 ;
11122 int val4 ;
11123 int ecode4 = 0 ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 PyObject * obj2 = 0 ;
11127 PyObject * obj3 = 0 ;
11128 char * kwnames[] = {
11129 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11130 };
11131
11132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11134 if (!SWIG_IsOK(res1)) {
11135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11136 }
11137 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11138 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11139 if (!SWIG_IsOK(res2)) {
11140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11141 }
11142 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11143 ecode3 = SWIG_AsVal_int(obj2, &val3);
11144 if (!SWIG_IsOK(ecode3)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11146 }
11147 arg3 = static_cast< int >(val3);
11148 ecode4 = SWIG_AsVal_int(obj3, &val4);
11149 if (!SWIG_IsOK(ecode4)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11151 }
11152 arg4 = static_cast< int >(val4);
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 resultobj = SWIG_Py_Void();
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11167 PyObject *resultobj = 0;
11168 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11169 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11170 int arg3 ;
11171 int arg4 ;
11172 wxMouseEvent *arg5 = 0 ;
11173 bool result;
11174 void *argp1 = 0 ;
11175 int res1 = 0 ;
11176 void *argp2 = 0 ;
11177 int res2 = 0 ;
11178 int val3 ;
11179 int ecode3 = 0 ;
11180 int val4 ;
11181 int ecode4 = 0 ;
11182 void *argp5 = 0 ;
11183 int res5 = 0 ;
11184 PyObject * obj0 = 0 ;
11185 PyObject * obj1 = 0 ;
11186 PyObject * obj2 = 0 ;
11187 PyObject * obj3 = 0 ;
11188 PyObject * obj4 = 0 ;
11189 char * kwnames[] = {
11190 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11191 };
11192
11193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11195 if (!SWIG_IsOK(res1)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11197 }
11198 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11199 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11200 if (!SWIG_IsOK(res2)) {
11201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11202 }
11203 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11204 ecode3 = SWIG_AsVal_int(obj2, &val3);
11205 if (!SWIG_IsOK(ecode3)) {
11206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11207 }
11208 arg3 = static_cast< int >(val3);
11209 ecode4 = SWIG_AsVal_int(obj3, &val4);
11210 if (!SWIG_IsOK(ecode4)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11212 }
11213 arg4 = static_cast< int >(val4);
11214 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11215 if (!SWIG_IsOK(res5)) {
11216 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11217 }
11218 if (!argp5) {
11219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11220 }
11221 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 {
11229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11230 }
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj = 0;
11239 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11240 wxHtmlURLType arg2 ;
11241 wxString *arg3 = 0 ;
11242 wxString *arg4 = (wxString *) 0 ;
11243 wxHtmlOpeningStatus result;
11244 void *argp1 = 0 ;
11245 int res1 = 0 ;
11246 int val2 ;
11247 int ecode2 = 0 ;
11248 bool temp3 = false ;
11249 bool temp4 = false ;
11250 PyObject * obj0 = 0 ;
11251 PyObject * obj1 = 0 ;
11252 PyObject * obj2 = 0 ;
11253 PyObject * obj3 = 0 ;
11254 char * kwnames[] = {
11255 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11256 };
11257
11258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11260 if (!SWIG_IsOK(res1)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11262 }
11263 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11264 ecode2 = SWIG_AsVal_int(obj1, &val2);
11265 if (!SWIG_IsOK(ecode2)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11267 }
11268 arg2 = static_cast< wxHtmlURLType >(val2);
11269 {
11270 arg3 = wxString_in_helper(obj2);
11271 if (arg3 == NULL) SWIG_fail;
11272 temp3 = true;
11273 }
11274 {
11275 arg4 = wxString_in_helper(obj3);
11276 if (arg4 == NULL) SWIG_fail;
11277 temp4 = true;
11278 }
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = SWIG_From_int(static_cast< int >(result));
11286 {
11287 if (temp3)
11288 delete arg3;
11289 }
11290 {
11291 if (temp4)
11292 delete arg4;
11293 }
11294 return resultobj;
11295 fail:
11296 {
11297 if (temp3)
11298 delete arg3;
11299 }
11300 {
11301 if (temp4)
11302 delete arg4;
11303 }
11304 return NULL;
11305 }
11306
11307
11308 SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj = 0;
11310 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11311 SwigValueWrapper<wxVisualAttributes > result;
11312 int val1 ;
11313 int ecode1 = 0 ;
11314 PyObject * obj0 = 0 ;
11315 char * kwnames[] = {
11316 (char *) "variant", NULL
11317 };
11318
11319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11320 if (obj0) {
11321 ecode1 = SWIG_AsVal_int(obj0, &val1);
11322 if (!SWIG_IsOK(ecode1)) {
11323 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11324 }
11325 arg1 = static_cast< wxWindowVariant >(val1);
11326 }
11327 {
11328 if (!wxPyCheckForApp()) SWIG_fail;
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11335 return resultobj;
11336 fail:
11337 return NULL;
11338 }
11339
11340
11341 SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11342 PyObject *resultobj = 0;
11343 wxPyHtmlWindow::HTMLCursor arg1 ;
11344 wxCursor result;
11345 int val1 ;
11346 int ecode1 = 0 ;
11347 PyObject * obj0 = 0 ;
11348 char * kwnames[] = {
11349 (char *) "type", NULL
11350 };
11351
11352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11353 ecode1 = SWIG_AsVal_int(obj0, &val1);
11354 if (!SWIG_IsOK(ecode1)) {
11355 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11356 }
11357 arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11372 PyObject *obj;
11373 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11374 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11375 return SWIG_Py_Void();
11376 }
11377
11378 SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11379 return SWIG_Python_InitShadowInstance(args);
11380 }
11381
11382 SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11383 PyObject *resultobj = 0;
11384 wxHtmlDCRenderer *result = 0 ;
11385
11386 if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11387 {
11388 if (!wxPyCheckForApp()) SWIG_fail;
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11395 return resultobj;
11396 fail:
11397 return NULL;
11398 }
11399
11400
11401 SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11402 PyObject *resultobj = 0;
11403 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11404 void *argp1 = 0 ;
11405 int res1 = 0 ;
11406 PyObject *swig_obj[1] ;
11407
11408 if (!args) SWIG_fail;
11409 swig_obj[0] = args;
11410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11413 }
11414 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 delete arg1;
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_Py_Void();
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj = 0;
11431 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11432 wxDC *arg2 = (wxDC *) 0 ;
11433 int arg3 ;
11434 void *argp1 = 0 ;
11435 int res1 = 0 ;
11436 void *argp2 = 0 ;
11437 int res2 = 0 ;
11438 int val3 ;
11439 int ecode3 = 0 ;
11440 PyObject * obj0 = 0 ;
11441 PyObject * obj1 = 0 ;
11442 PyObject * obj2 = 0 ;
11443 char * kwnames[] = {
11444 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11445 };
11446
11447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11449 if (!SWIG_IsOK(res1)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11451 }
11452 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11453 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11454 if (!SWIG_IsOK(res2)) {
11455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11456 }
11457 arg2 = reinterpret_cast< wxDC * >(argp2);
11458 ecode3 = SWIG_AsVal_int(obj2, &val3);
11459 if (!SWIG_IsOK(ecode3)) {
11460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11461 }
11462 arg3 = static_cast< int >(val3);
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 (arg1)->SetDC(arg2,arg3);
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 resultobj = SWIG_Py_Void();
11470 return resultobj;
11471 fail:
11472 return NULL;
11473 }
11474
11475
11476 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11477 PyObject *resultobj = 0;
11478 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11479 int arg2 ;
11480 int arg3 ;
11481 void *argp1 = 0 ;
11482 int res1 = 0 ;
11483 int val2 ;
11484 int ecode2 = 0 ;
11485 int val3 ;
11486 int ecode3 = 0 ;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 PyObject * obj2 = 0 ;
11490 char * kwnames[] = {
11491 (char *) "self",(char *) "width",(char *) "height", NULL
11492 };
11493
11494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11496 if (!SWIG_IsOK(res1)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11498 }
11499 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11500 ecode2 = SWIG_AsVal_int(obj1, &val2);
11501 if (!SWIG_IsOK(ecode2)) {
11502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11503 }
11504 arg2 = static_cast< int >(val2);
11505 ecode3 = SWIG_AsVal_int(obj2, &val3);
11506 if (!SWIG_IsOK(ecode3)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11508 }
11509 arg3 = static_cast< int >(val3);
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 (arg1)->SetSize(arg2,arg3);
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 resultobj = SWIG_Py_Void();
11517 return resultobj;
11518 fail:
11519 return NULL;
11520 }
11521
11522
11523 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11524 PyObject *resultobj = 0;
11525 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11526 wxString *arg2 = 0 ;
11527 wxString const &arg3_defvalue = wxPyEmptyString ;
11528 wxString *arg3 = (wxString *) &arg3_defvalue ;
11529 bool arg4 = (bool) true ;
11530 void *argp1 = 0 ;
11531 int res1 = 0 ;
11532 bool temp2 = false ;
11533 bool temp3 = false ;
11534 bool val4 ;
11535 int ecode4 = 0 ;
11536 PyObject * obj0 = 0 ;
11537 PyObject * obj1 = 0 ;
11538 PyObject * obj2 = 0 ;
11539 PyObject * obj3 = 0 ;
11540 char * kwnames[] = {
11541 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11542 };
11543
11544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11546 if (!SWIG_IsOK(res1)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11548 }
11549 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11550 {
11551 arg2 = wxString_in_helper(obj1);
11552 if (arg2 == NULL) SWIG_fail;
11553 temp2 = true;
11554 }
11555 if (obj2) {
11556 {
11557 arg3 = wxString_in_helper(obj2);
11558 if (arg3 == NULL) SWIG_fail;
11559 temp3 = true;
11560 }
11561 }
11562 if (obj3) {
11563 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11564 if (!SWIG_IsOK(ecode4)) {
11565 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11566 }
11567 arg4 = static_cast< bool >(val4);
11568 }
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11572 wxPyEndAllowThreads(__tstate);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 }
11575 resultobj = SWIG_Py_Void();
11576 {
11577 if (temp2)
11578 delete arg2;
11579 }
11580 {
11581 if (temp3)
11582 delete arg3;
11583 }
11584 return resultobj;
11585 fail:
11586 {
11587 if (temp2)
11588 delete arg2;
11589 }
11590 {
11591 if (temp3)
11592 delete arg3;
11593 }
11594 return NULL;
11595 }
11596
11597
11598 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj = 0;
11600 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11601 wxString arg2 ;
11602 wxString arg3 ;
11603 PyObject *arg4 = (PyObject *) NULL ;
11604 void *argp1 = 0 ;
11605 int res1 = 0 ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 PyObject * obj2 = 0 ;
11609 PyObject * obj3 = 0 ;
11610 char * kwnames[] = {
11611 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11612 };
11613
11614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11616 if (!SWIG_IsOK(res1)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11618 }
11619 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11620 {
11621 wxString* sptr = wxString_in_helper(obj1);
11622 if (sptr == NULL) SWIG_fail;
11623 arg2 = *sptr;
11624 delete sptr;
11625 }
11626 {
11627 wxString* sptr = wxString_in_helper(obj2);
11628 if (sptr == NULL) SWIG_fail;
11629 arg3 = *sptr;
11630 delete sptr;
11631 }
11632 if (obj3) {
11633 arg4 = obj3;
11634 }
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 resultobj = SWIG_Py_Void();
11642 return resultobj;
11643 fail:
11644 return NULL;
11645 }
11646
11647
11648 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11649 PyObject *resultobj = 0;
11650 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11651 int arg2 = (int) -1 ;
11652 wxString const &arg3_defvalue = wxPyEmptyString ;
11653 wxString *arg3 = (wxString *) &arg3_defvalue ;
11654 wxString const &arg4_defvalue = wxPyEmptyString ;
11655 wxString *arg4 = (wxString *) &arg4_defvalue ;
11656 void *argp1 = 0 ;
11657 int res1 = 0 ;
11658 int val2 ;
11659 int ecode2 = 0 ;
11660 bool temp3 = false ;
11661 bool temp4 = false ;
11662 PyObject * obj0 = 0 ;
11663 PyObject * obj1 = 0 ;
11664 PyObject * obj2 = 0 ;
11665 PyObject * obj3 = 0 ;
11666 char * kwnames[] = {
11667 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11668 };
11669
11670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11672 if (!SWIG_IsOK(res1)) {
11673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11674 }
11675 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11676 if (obj1) {
11677 ecode2 = SWIG_AsVal_int(obj1, &val2);
11678 if (!SWIG_IsOK(ecode2)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11680 }
11681 arg2 = static_cast< int >(val2);
11682 }
11683 if (obj2) {
11684 {
11685 arg3 = wxString_in_helper(obj2);
11686 if (arg3 == NULL) SWIG_fail;
11687 temp3 = true;
11688 }
11689 }
11690 if (obj3) {
11691 {
11692 arg4 = wxString_in_helper(obj3);
11693 if (arg4 == NULL) SWIG_fail;
11694 temp4 = true;
11695 }
11696 }
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 resultobj = SWIG_Py_Void();
11704 {
11705 if (temp3)
11706 delete arg3;
11707 }
11708 {
11709 if (temp4)
11710 delete arg4;
11711 }
11712 return resultobj;
11713 fail:
11714 {
11715 if (temp3)
11716 delete arg3;
11717 }
11718 {
11719 if (temp4)
11720 delete arg4;
11721 }
11722 return NULL;
11723 }
11724
11725
11726 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj = 0;
11728 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11729 int arg2 ;
11730 int arg3 ;
11731 wxArrayInt *arg4 = 0 ;
11732 int arg5 = (int) 0 ;
11733 int arg6 = (int) FALSE ;
11734 int arg7 = (int) INT_MAX ;
11735 int result;
11736 void *argp1 = 0 ;
11737 int res1 = 0 ;
11738 int val2 ;
11739 int ecode2 = 0 ;
11740 int val3 ;
11741 int ecode3 = 0 ;
11742 bool temp4 = false ;
11743 int val5 ;
11744 int ecode5 = 0 ;
11745 int val6 ;
11746 int ecode6 = 0 ;
11747 int val7 ;
11748 int ecode7 = 0 ;
11749 PyObject * obj0 = 0 ;
11750 PyObject * obj1 = 0 ;
11751 PyObject * obj2 = 0 ;
11752 PyObject * obj3 = 0 ;
11753 PyObject * obj4 = 0 ;
11754 PyObject * obj5 = 0 ;
11755 PyObject * obj6 = 0 ;
11756 char * kwnames[] = {
11757 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11758 };
11759
11760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11762 if (!SWIG_IsOK(res1)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11764 }
11765 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11766 ecode2 = SWIG_AsVal_int(obj1, &val2);
11767 if (!SWIG_IsOK(ecode2)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11769 }
11770 arg2 = static_cast< int >(val2);
11771 ecode3 = SWIG_AsVal_int(obj2, &val3);
11772 if (!SWIG_IsOK(ecode3)) {
11773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11774 }
11775 arg3 = static_cast< int >(val3);
11776 {
11777 if (! PySequence_Check(obj3)) {
11778 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11779 SWIG_fail;
11780 }
11781 arg4 = new wxArrayInt;
11782 temp4 = true;
11783 int i, len=PySequence_Length(obj3);
11784 for (i=0; i<len; i++) {
11785 PyObject* item = PySequence_GetItem(obj3, i);
11786 PyObject* number = PyNumber_Int(item);
11787 arg4->Add(PyInt_AS_LONG(number));
11788 Py_DECREF(item);
11789 Py_DECREF(number);
11790 }
11791 }
11792 if (obj4) {
11793 ecode5 = SWIG_AsVal_int(obj4, &val5);
11794 if (!SWIG_IsOK(ecode5)) {
11795 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11796 }
11797 arg5 = static_cast< int >(val5);
11798 }
11799 if (obj5) {
11800 ecode6 = SWIG_AsVal_int(obj5, &val6);
11801 if (!SWIG_IsOK(ecode6)) {
11802 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11803 }
11804 arg6 = static_cast< int >(val6);
11805 }
11806 if (obj6) {
11807 ecode7 = SWIG_AsVal_int(obj6, &val7);
11808 if (!SWIG_IsOK(ecode7)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11810 }
11811 arg7 = static_cast< int >(val7);
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 resultobj = SWIG_From_int(static_cast< int >(result));
11820 {
11821 if (temp4) delete arg4;
11822 }
11823 return resultobj;
11824 fail:
11825 {
11826 if (temp4) delete arg4;
11827 }
11828 return NULL;
11829 }
11830
11831
11832 SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11833 PyObject *resultobj = 0;
11834 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11835 int result;
11836 void *argp1 = 0 ;
11837 int res1 = 0 ;
11838 PyObject *swig_obj[1] ;
11839
11840 if (!args) SWIG_fail;
11841 swig_obj[0] = args;
11842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11843 if (!SWIG_IsOK(res1)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11845 }
11846 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 result = (int)(arg1)->GetTotalHeight();
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 resultobj = SWIG_From_int(static_cast< int >(result));
11854 return resultobj;
11855 fail:
11856 return NULL;
11857 }
11858
11859
11860 SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11861 PyObject *obj;
11862 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11863 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11864 return SWIG_Py_Void();
11865 }
11866
11867 SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11868 return SWIG_Python_InitShadowInstance(args);
11869 }
11870
11871 SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11872 PyObject *resultobj = 0;
11873 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11874 wxString *arg1 = (wxString *) &arg1_defvalue ;
11875 wxHtmlPrintout *result = 0 ;
11876 bool temp1 = false ;
11877 PyObject * obj0 = 0 ;
11878 char * kwnames[] = {
11879 (char *) "title", NULL
11880 };
11881
11882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11883 if (obj0) {
11884 {
11885 arg1 = wxString_in_helper(obj0);
11886 if (arg1 == NULL) SWIG_fail;
11887 temp1 = true;
11888 }
11889 }
11890 {
11891 if (!wxPyCheckForApp()) SWIG_fail;
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11898 {
11899 if (temp1)
11900 delete arg1;
11901 }
11902 return resultobj;
11903 fail:
11904 {
11905 if (temp1)
11906 delete arg1;
11907 }
11908 return NULL;
11909 }
11910
11911
11912 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11913 PyObject *resultobj = 0;
11914 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11915 wxString *arg2 = 0 ;
11916 wxString const &arg3_defvalue = wxPyEmptyString ;
11917 wxString *arg3 = (wxString *) &arg3_defvalue ;
11918 bool arg4 = (bool) true ;
11919 void *argp1 = 0 ;
11920 int res1 = 0 ;
11921 bool temp2 = false ;
11922 bool temp3 = false ;
11923 bool val4 ;
11924 int ecode4 = 0 ;
11925 PyObject * obj0 = 0 ;
11926 PyObject * obj1 = 0 ;
11927 PyObject * obj2 = 0 ;
11928 PyObject * obj3 = 0 ;
11929 char * kwnames[] = {
11930 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11931 };
11932
11933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11935 if (!SWIG_IsOK(res1)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11937 }
11938 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11939 {
11940 arg2 = wxString_in_helper(obj1);
11941 if (arg2 == NULL) SWIG_fail;
11942 temp2 = true;
11943 }
11944 if (obj2) {
11945 {
11946 arg3 = wxString_in_helper(obj2);
11947 if (arg3 == NULL) SWIG_fail;
11948 temp3 = true;
11949 }
11950 }
11951 if (obj3) {
11952 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11953 if (!SWIG_IsOK(ecode4)) {
11954 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11955 }
11956 arg4 = static_cast< bool >(val4);
11957 }
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11961 wxPyEndAllowThreads(__tstate);
11962 if (PyErr_Occurred()) SWIG_fail;
11963 }
11964 resultobj = SWIG_Py_Void();
11965 {
11966 if (temp2)
11967 delete arg2;
11968 }
11969 {
11970 if (temp3)
11971 delete arg3;
11972 }
11973 return resultobj;
11974 fail:
11975 {
11976 if (temp2)
11977 delete arg2;
11978 }
11979 {
11980 if (temp3)
11981 delete arg3;
11982 }
11983 return NULL;
11984 }
11985
11986
11987 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj = 0;
11989 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11990 wxString *arg2 = 0 ;
11991 void *argp1 = 0 ;
11992 int res1 = 0 ;
11993 bool temp2 = false ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char * kwnames[] = {
11997 (char *) "self",(char *) "htmlfile", NULL
11998 };
11999
12000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
12001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12002 if (!SWIG_IsOK(res1)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12004 }
12005 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12006 {
12007 arg2 = wxString_in_helper(obj1);
12008 if (arg2 == NULL) SWIG_fail;
12009 temp2 = true;
12010 }
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->SetHtmlFile((wxString const &)*arg2);
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_Py_Void();
12018 {
12019 if (temp2)
12020 delete arg2;
12021 }
12022 return resultobj;
12023 fail:
12024 {
12025 if (temp2)
12026 delete arg2;
12027 }
12028 return NULL;
12029 }
12030
12031
12032 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj = 0;
12034 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12035 wxString *arg2 = 0 ;
12036 int arg3 = (int) wxPAGE_ALL ;
12037 void *argp1 = 0 ;
12038 int res1 = 0 ;
12039 bool temp2 = false ;
12040 int val3 ;
12041 int ecode3 = 0 ;
12042 PyObject * obj0 = 0 ;
12043 PyObject * obj1 = 0 ;
12044 PyObject * obj2 = 0 ;
12045 char * kwnames[] = {
12046 (char *) "self",(char *) "header",(char *) "pg", NULL
12047 };
12048
12049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12051 if (!SWIG_IsOK(res1)) {
12052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12053 }
12054 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12055 {
12056 arg2 = wxString_in_helper(obj1);
12057 if (arg2 == NULL) SWIG_fail;
12058 temp2 = true;
12059 }
12060 if (obj2) {
12061 ecode3 = SWIG_AsVal_int(obj2, &val3);
12062 if (!SWIG_IsOK(ecode3)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12064 }
12065 arg3 = static_cast< int >(val3);
12066 }
12067 {
12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
12069 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 resultobj = SWIG_Py_Void();
12074 {
12075 if (temp2)
12076 delete arg2;
12077 }
12078 return resultobj;
12079 fail:
12080 {
12081 if (temp2)
12082 delete arg2;
12083 }
12084 return NULL;
12085 }
12086
12087
12088 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12089 PyObject *resultobj = 0;
12090 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12091 wxString *arg2 = 0 ;
12092 int arg3 = (int) wxPAGE_ALL ;
12093 void *argp1 = 0 ;
12094 int res1 = 0 ;
12095 bool temp2 = false ;
12096 int val3 ;
12097 int ecode3 = 0 ;
12098 PyObject * obj0 = 0 ;
12099 PyObject * obj1 = 0 ;
12100 PyObject * obj2 = 0 ;
12101 char * kwnames[] = {
12102 (char *) "self",(char *) "footer",(char *) "pg", NULL
12103 };
12104
12105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12107 if (!SWIG_IsOK(res1)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12109 }
12110 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12111 {
12112 arg2 = wxString_in_helper(obj1);
12113 if (arg2 == NULL) SWIG_fail;
12114 temp2 = true;
12115 }
12116 if (obj2) {
12117 ecode3 = SWIG_AsVal_int(obj2, &val3);
12118 if (!SWIG_IsOK(ecode3)) {
12119 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12120 }
12121 arg3 = static_cast< int >(val3);
12122 }
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 resultobj = SWIG_Py_Void();
12130 {
12131 if (temp2)
12132 delete arg2;
12133 }
12134 return resultobj;
12135 fail:
12136 {
12137 if (temp2)
12138 delete arg2;
12139 }
12140 return NULL;
12141 }
12142
12143
12144 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj = 0;
12146 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12147 wxString arg2 ;
12148 wxString arg3 ;
12149 PyObject *arg4 = (PyObject *) NULL ;
12150 void *argp1 = 0 ;
12151 int res1 = 0 ;
12152 PyObject * obj0 = 0 ;
12153 PyObject * obj1 = 0 ;
12154 PyObject * obj2 = 0 ;
12155 PyObject * obj3 = 0 ;
12156 char * kwnames[] = {
12157 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12158 };
12159
12160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12162 if (!SWIG_IsOK(res1)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12164 }
12165 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12166 {
12167 wxString* sptr = wxString_in_helper(obj1);
12168 if (sptr == NULL) SWIG_fail;
12169 arg2 = *sptr;
12170 delete sptr;
12171 }
12172 {
12173 wxString* sptr = wxString_in_helper(obj2);
12174 if (sptr == NULL) SWIG_fail;
12175 arg3 = *sptr;
12176 delete sptr;
12177 }
12178 if (obj3) {
12179 arg4 = obj3;
12180 }
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_Py_Void();
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = 0;
12196 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12197 int arg2 = (int) -1 ;
12198 wxString const &arg3_defvalue = wxPyEmptyString ;
12199 wxString *arg3 = (wxString *) &arg3_defvalue ;
12200 wxString const &arg4_defvalue = wxPyEmptyString ;
12201 wxString *arg4 = (wxString *) &arg4_defvalue ;
12202 void *argp1 = 0 ;
12203 int res1 = 0 ;
12204 int val2 ;
12205 int ecode2 = 0 ;
12206 bool temp3 = false ;
12207 bool temp4 = false ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 PyObject * obj2 = 0 ;
12211 PyObject * obj3 = 0 ;
12212 char * kwnames[] = {
12213 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12214 };
12215
12216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12218 if (!SWIG_IsOK(res1)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12220 }
12221 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12222 if (obj1) {
12223 ecode2 = SWIG_AsVal_int(obj1, &val2);
12224 if (!SWIG_IsOK(ecode2)) {
12225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12226 }
12227 arg2 = static_cast< int >(val2);
12228 }
12229 if (obj2) {
12230 {
12231 arg3 = wxString_in_helper(obj2);
12232 if (arg3 == NULL) SWIG_fail;
12233 temp3 = true;
12234 }
12235 }
12236 if (obj3) {
12237 {
12238 arg4 = wxString_in_helper(obj3);
12239 if (arg4 == NULL) SWIG_fail;
12240 temp4 = true;
12241 }
12242 }
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 resultobj = SWIG_Py_Void();
12250 {
12251 if (temp3)
12252 delete arg3;
12253 }
12254 {
12255 if (temp4)
12256 delete arg4;
12257 }
12258 return resultobj;
12259 fail:
12260 {
12261 if (temp3)
12262 delete arg3;
12263 }
12264 {
12265 if (temp4)
12266 delete arg4;
12267 }
12268 return NULL;
12269 }
12270
12271
12272 SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj = 0;
12274 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12275 float arg2 = (float) 25.2 ;
12276 float arg3 = (float) 25.2 ;
12277 float arg4 = (float) 25.2 ;
12278 float arg5 = (float) 25.2 ;
12279 float arg6 = (float) 5 ;
12280 void *argp1 = 0 ;
12281 int res1 = 0 ;
12282 float val2 ;
12283 int ecode2 = 0 ;
12284 float val3 ;
12285 int ecode3 = 0 ;
12286 float val4 ;
12287 int ecode4 = 0 ;
12288 float val5 ;
12289 int ecode5 = 0 ;
12290 float val6 ;
12291 int ecode6 = 0 ;
12292 PyObject * obj0 = 0 ;
12293 PyObject * obj1 = 0 ;
12294 PyObject * obj2 = 0 ;
12295 PyObject * obj3 = 0 ;
12296 PyObject * obj4 = 0 ;
12297 PyObject * obj5 = 0 ;
12298 char * kwnames[] = {
12299 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12300 };
12301
12302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12304 if (!SWIG_IsOK(res1)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12306 }
12307 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12308 if (obj1) {
12309 ecode2 = SWIG_AsVal_float(obj1, &val2);
12310 if (!SWIG_IsOK(ecode2)) {
12311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12312 }
12313 arg2 = static_cast< float >(val2);
12314 }
12315 if (obj2) {
12316 ecode3 = SWIG_AsVal_float(obj2, &val3);
12317 if (!SWIG_IsOK(ecode3)) {
12318 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12319 }
12320 arg3 = static_cast< float >(val3);
12321 }
12322 if (obj3) {
12323 ecode4 = SWIG_AsVal_float(obj3, &val4);
12324 if (!SWIG_IsOK(ecode4)) {
12325 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12326 }
12327 arg4 = static_cast< float >(val4);
12328 }
12329 if (obj4) {
12330 ecode5 = SWIG_AsVal_float(obj4, &val5);
12331 if (!SWIG_IsOK(ecode5)) {
12332 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12333 }
12334 arg5 = static_cast< float >(val5);
12335 }
12336 if (obj5) {
12337 ecode6 = SWIG_AsVal_float(obj5, &val6);
12338 if (!SWIG_IsOK(ecode6)) {
12339 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12340 }
12341 arg6 = static_cast< float >(val6);
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 resultobj = SWIG_Py_Void();
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj = 0;
12358 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12359 void *argp1 = 0 ;
12360 int res1 = 0 ;
12361 PyObject * obj0 = 0 ;
12362 char * kwnames[] = {
12363 (char *) "filter", NULL
12364 };
12365
12366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12368 if (!SWIG_IsOK(res1)) {
12369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12370 }
12371 arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 wxHtmlPrintout::AddFilter(arg1);
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 resultobj = SWIG_Py_Void();
12379 return resultobj;
12380 fail:
12381 return NULL;
12382 }
12383
12384
12385 SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12386 PyObject *resultobj = 0;
12387
12388 if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 wxHtmlPrintout::CleanUpStatics();
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 resultobj = SWIG_Py_Void();
12396 return resultobj;
12397 fail:
12398 return NULL;
12399 }
12400
12401
12402 SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12403 PyObject *obj;
12404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12405 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12406 return SWIG_Py_Void();
12407 }
12408
12409 SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12410 return SWIG_Python_InitShadowInstance(args);
12411 }
12412
12413 SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj = 0;
12415 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12416 wxString *arg1 = (wxString *) &arg1_defvalue ;
12417 wxWindow *arg2 = (wxWindow *) NULL ;
12418 wxHtmlEasyPrinting *result = 0 ;
12419 bool temp1 = false ;
12420 void *argp2 = 0 ;
12421 int res2 = 0 ;
12422 PyObject * obj0 = 0 ;
12423 PyObject * obj1 = 0 ;
12424 char * kwnames[] = {
12425 (char *) "name",(char *) "parentWindow", NULL
12426 };
12427
12428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12429 if (obj0) {
12430 {
12431 arg1 = wxString_in_helper(obj0);
12432 if (arg1 == NULL) SWIG_fail;
12433 temp1 = true;
12434 }
12435 }
12436 if (obj1) {
12437 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12438 if (!SWIG_IsOK(res2)) {
12439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12440 }
12441 arg2 = reinterpret_cast< wxWindow * >(argp2);
12442 }
12443 {
12444 if (!wxPyCheckForApp()) SWIG_fail;
12445 PyThreadState* __tstate = wxPyBeginAllowThreads();
12446 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12451 {
12452 if (temp1)
12453 delete arg1;
12454 }
12455 return resultobj;
12456 fail:
12457 {
12458 if (temp1)
12459 delete arg1;
12460 }
12461 return NULL;
12462 }
12463
12464
12465 SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12466 PyObject *resultobj = 0;
12467 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12468 void *argp1 = 0 ;
12469 int res1 = 0 ;
12470 PyObject *swig_obj[1] ;
12471
12472 if (!args) SWIG_fail;
12473 swig_obj[0] = args;
12474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12475 if (!SWIG_IsOK(res1)) {
12476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12477 }
12478 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 delete arg1;
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 resultobj = SWIG_Py_Void();
12487 return resultobj;
12488 fail:
12489 return NULL;
12490 }
12491
12492
12493 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj = 0;
12495 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12496 wxString *arg2 = 0 ;
12497 void *argp1 = 0 ;
12498 int res1 = 0 ;
12499 bool temp2 = false ;
12500 PyObject * obj0 = 0 ;
12501 PyObject * obj1 = 0 ;
12502 char * kwnames[] = {
12503 (char *) "self",(char *) "htmlfile", NULL
12504 };
12505
12506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12508 if (!SWIG_IsOK(res1)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12510 }
12511 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12512 {
12513 arg2 = wxString_in_helper(obj1);
12514 if (arg2 == NULL) SWIG_fail;
12515 temp2 = true;
12516 }
12517 {
12518 PyThreadState* __tstate = wxPyBeginAllowThreads();
12519 (arg1)->PreviewFile((wxString const &)*arg2);
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 resultobj = SWIG_Py_Void();
12524 {
12525 if (temp2)
12526 delete arg2;
12527 }
12528 return resultobj;
12529 fail:
12530 {
12531 if (temp2)
12532 delete arg2;
12533 }
12534 return NULL;
12535 }
12536
12537
12538 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj = 0;
12540 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12541 wxString *arg2 = 0 ;
12542 wxString const &arg3_defvalue = wxPyEmptyString ;
12543 wxString *arg3 = (wxString *) &arg3_defvalue ;
12544 void *argp1 = 0 ;
12545 int res1 = 0 ;
12546 bool temp2 = false ;
12547 bool temp3 = false ;
12548 PyObject * obj0 = 0 ;
12549 PyObject * obj1 = 0 ;
12550 PyObject * obj2 = 0 ;
12551 char * kwnames[] = {
12552 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12553 };
12554
12555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12557 if (!SWIG_IsOK(res1)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12559 }
12560 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12561 {
12562 arg2 = wxString_in_helper(obj1);
12563 if (arg2 == NULL) SWIG_fail;
12564 temp2 = true;
12565 }
12566 if (obj2) {
12567 {
12568 arg3 = wxString_in_helper(obj2);
12569 if (arg3 == NULL) SWIG_fail;
12570 temp3 = true;
12571 }
12572 }
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
12575 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 resultobj = SWIG_Py_Void();
12580 {
12581 if (temp2)
12582 delete arg2;
12583 }
12584 {
12585 if (temp3)
12586 delete arg3;
12587 }
12588 return resultobj;
12589 fail:
12590 {
12591 if (temp2)
12592 delete arg2;
12593 }
12594 {
12595 if (temp3)
12596 delete arg3;
12597 }
12598 return NULL;
12599 }
12600
12601
12602 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj = 0;
12604 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12605 wxString *arg2 = 0 ;
12606 void *argp1 = 0 ;
12607 int res1 = 0 ;
12608 bool temp2 = false ;
12609 PyObject * obj0 = 0 ;
12610 PyObject * obj1 = 0 ;
12611 char * kwnames[] = {
12612 (char *) "self",(char *) "htmlfile", NULL
12613 };
12614
12615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12617 if (!SWIG_IsOK(res1)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12619 }
12620 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12621 {
12622 arg2 = wxString_in_helper(obj1);
12623 if (arg2 == NULL) SWIG_fail;
12624 temp2 = true;
12625 }
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 (arg1)->PrintFile((wxString const &)*arg2);
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 resultobj = SWIG_Py_Void();
12633 {
12634 if (temp2)
12635 delete arg2;
12636 }
12637 return resultobj;
12638 fail:
12639 {
12640 if (temp2)
12641 delete arg2;
12642 }
12643 return NULL;
12644 }
12645
12646
12647 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj = 0;
12649 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12650 wxString *arg2 = 0 ;
12651 wxString const &arg3_defvalue = wxPyEmptyString ;
12652 wxString *arg3 = (wxString *) &arg3_defvalue ;
12653 void *argp1 = 0 ;
12654 int res1 = 0 ;
12655 bool temp2 = false ;
12656 bool temp3 = false ;
12657 PyObject * obj0 = 0 ;
12658 PyObject * obj1 = 0 ;
12659 PyObject * obj2 = 0 ;
12660 char * kwnames[] = {
12661 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12662 };
12663
12664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12666 if (!SWIG_IsOK(res1)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12668 }
12669 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12670 {
12671 arg2 = wxString_in_helper(obj1);
12672 if (arg2 == NULL) SWIG_fail;
12673 temp2 = true;
12674 }
12675 if (obj2) {
12676 {
12677 arg3 = wxString_in_helper(obj2);
12678 if (arg3 == NULL) SWIG_fail;
12679 temp3 = true;
12680 }
12681 }
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 resultobj = SWIG_Py_Void();
12689 {
12690 if (temp2)
12691 delete arg2;
12692 }
12693 {
12694 if (temp3)
12695 delete arg3;
12696 }
12697 return resultobj;
12698 fail:
12699 {
12700 if (temp2)
12701 delete arg2;
12702 }
12703 {
12704 if (temp3)
12705 delete arg3;
12706 }
12707 return NULL;
12708 }
12709
12710
12711 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12712 PyObject *resultobj = 0;
12713 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12714 void *argp1 = 0 ;
12715 int res1 = 0 ;
12716 PyObject *swig_obj[1] ;
12717
12718 if (!args) SWIG_fail;
12719 swig_obj[0] = args;
12720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12721 if (!SWIG_IsOK(res1)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12723 }
12724 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 (arg1)->PageSetup();
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = SWIG_Py_Void();
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj = 0;
12740 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12741 wxString *arg2 = 0 ;
12742 int arg3 = (int) wxPAGE_ALL ;
12743 void *argp1 = 0 ;
12744 int res1 = 0 ;
12745 bool temp2 = false ;
12746 int val3 ;
12747 int ecode3 = 0 ;
12748 PyObject * obj0 = 0 ;
12749 PyObject * obj1 = 0 ;
12750 PyObject * obj2 = 0 ;
12751 char * kwnames[] = {
12752 (char *) "self",(char *) "header",(char *) "pg", NULL
12753 };
12754
12755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12757 if (!SWIG_IsOK(res1)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12759 }
12760 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12761 {
12762 arg2 = wxString_in_helper(obj1);
12763 if (arg2 == NULL) SWIG_fail;
12764 temp2 = true;
12765 }
12766 if (obj2) {
12767 ecode3 = SWIG_AsVal_int(obj2, &val3);
12768 if (!SWIG_IsOK(ecode3)) {
12769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12770 }
12771 arg3 = static_cast< int >(val3);
12772 }
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 resultobj = SWIG_Py_Void();
12780 {
12781 if (temp2)
12782 delete arg2;
12783 }
12784 return resultobj;
12785 fail:
12786 {
12787 if (temp2)
12788 delete arg2;
12789 }
12790 return NULL;
12791 }
12792
12793
12794 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12795 PyObject *resultobj = 0;
12796 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12797 wxString *arg2 = 0 ;
12798 int arg3 = (int) wxPAGE_ALL ;
12799 void *argp1 = 0 ;
12800 int res1 = 0 ;
12801 bool temp2 = false ;
12802 int val3 ;
12803 int ecode3 = 0 ;
12804 PyObject * obj0 = 0 ;
12805 PyObject * obj1 = 0 ;
12806 PyObject * obj2 = 0 ;
12807 char * kwnames[] = {
12808 (char *) "self",(char *) "footer",(char *) "pg", NULL
12809 };
12810
12811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12813 if (!SWIG_IsOK(res1)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12815 }
12816 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12817 {
12818 arg2 = wxString_in_helper(obj1);
12819 if (arg2 == NULL) SWIG_fail;
12820 temp2 = true;
12821 }
12822 if (obj2) {
12823 ecode3 = SWIG_AsVal_int(obj2, &val3);
12824 if (!SWIG_IsOK(ecode3)) {
12825 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12826 }
12827 arg3 = static_cast< int >(val3);
12828 }
12829 {
12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
12831 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 resultobj = SWIG_Py_Void();
12836 {
12837 if (temp2)
12838 delete arg2;
12839 }
12840 return resultobj;
12841 fail:
12842 {
12843 if (temp2)
12844 delete arg2;
12845 }
12846 return NULL;
12847 }
12848
12849
12850 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj = 0;
12852 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12853 wxString arg2 ;
12854 wxString arg3 ;
12855 PyObject *arg4 = (PyObject *) NULL ;
12856 void *argp1 = 0 ;
12857 int res1 = 0 ;
12858 PyObject * obj0 = 0 ;
12859 PyObject * obj1 = 0 ;
12860 PyObject * obj2 = 0 ;
12861 PyObject * obj3 = 0 ;
12862 char * kwnames[] = {
12863 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12864 };
12865
12866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12868 if (!SWIG_IsOK(res1)) {
12869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12870 }
12871 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12872 {
12873 wxString* sptr = wxString_in_helper(obj1);
12874 if (sptr == NULL) SWIG_fail;
12875 arg2 = *sptr;
12876 delete sptr;
12877 }
12878 {
12879 wxString* sptr = wxString_in_helper(obj2);
12880 if (sptr == NULL) SWIG_fail;
12881 arg3 = *sptr;
12882 delete sptr;
12883 }
12884 if (obj3) {
12885 arg4 = obj3;
12886 }
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 resultobj = SWIG_Py_Void();
12894 return resultobj;
12895 fail:
12896 return NULL;
12897 }
12898
12899
12900 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj = 0;
12902 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12903 int arg2 = (int) -1 ;
12904 wxString const &arg3_defvalue = wxPyEmptyString ;
12905 wxString *arg3 = (wxString *) &arg3_defvalue ;
12906 wxString const &arg4_defvalue = wxPyEmptyString ;
12907 wxString *arg4 = (wxString *) &arg4_defvalue ;
12908 void *argp1 = 0 ;
12909 int res1 = 0 ;
12910 int val2 ;
12911 int ecode2 = 0 ;
12912 bool temp3 = false ;
12913 bool temp4 = false ;
12914 PyObject * obj0 = 0 ;
12915 PyObject * obj1 = 0 ;
12916 PyObject * obj2 = 0 ;
12917 PyObject * obj3 = 0 ;
12918 char * kwnames[] = {
12919 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12920 };
12921
12922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12924 if (!SWIG_IsOK(res1)) {
12925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12926 }
12927 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12928 if (obj1) {
12929 ecode2 = SWIG_AsVal_int(obj1, &val2);
12930 if (!SWIG_IsOK(ecode2)) {
12931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12932 }
12933 arg2 = static_cast< int >(val2);
12934 }
12935 if (obj2) {
12936 {
12937 arg3 = wxString_in_helper(obj2);
12938 if (arg3 == NULL) SWIG_fail;
12939 temp3 = true;
12940 }
12941 }
12942 if (obj3) {
12943 {
12944 arg4 = wxString_in_helper(obj3);
12945 if (arg4 == NULL) SWIG_fail;
12946 temp4 = true;
12947 }
12948 }
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 resultobj = SWIG_Py_Void();
12956 {
12957 if (temp3)
12958 delete arg3;
12959 }
12960 {
12961 if (temp4)
12962 delete arg4;
12963 }
12964 return resultobj;
12965 fail:
12966 {
12967 if (temp3)
12968 delete arg3;
12969 }
12970 {
12971 if (temp4)
12972 delete arg4;
12973 }
12974 return NULL;
12975 }
12976
12977
12978 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12979 PyObject *resultobj = 0;
12980 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12981 wxPrintData *result = 0 ;
12982 void *argp1 = 0 ;
12983 int res1 = 0 ;
12984 PyObject *swig_obj[1] ;
12985
12986 if (!args) SWIG_fail;
12987 swig_obj[0] = args;
12988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12989 if (!SWIG_IsOK(res1)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12991 }
12992 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 result = (wxPrintData *)(arg1)->GetPrintData();
12996 wxPyEndAllowThreads(__tstate);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 }
12999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
13000 return resultobj;
13001 fail:
13002 return NULL;
13003 }
13004
13005
13006 SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13007 PyObject *resultobj = 0;
13008 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13009 wxPageSetupDialogData *result = 0 ;
13010 void *argp1 = 0 ;
13011 int res1 = 0 ;
13012 PyObject *swig_obj[1] ;
13013
13014 if (!args) SWIG_fail;
13015 swig_obj[0] = args;
13016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13017 if (!SWIG_IsOK(res1)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13019 }
13020 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13021 {
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) SWIG_fail;
13026 }
13027 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
13028 return resultobj;
13029 fail:
13030 return NULL;
13031 }
13032
13033
13034 SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13035 PyObject *obj;
13036 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13037 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
13038 return SWIG_Py_Void();
13039 }
13040
13041 SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13042 return SWIG_Python_InitShadowInstance(args);
13043 }
13044
13045 SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13046 PyObject *resultobj = 0;
13047 wxString *arg1 = 0 ;
13048 wxString *arg2 = 0 ;
13049 wxString *arg3 = 0 ;
13050 wxString *arg4 = 0 ;
13051 wxHtmlBookRecord *result = 0 ;
13052 bool temp1 = false ;
13053 bool temp2 = false ;
13054 bool temp3 = false ;
13055 bool temp4 = false ;
13056 PyObject * obj0 = 0 ;
13057 PyObject * obj1 = 0 ;
13058 PyObject * obj2 = 0 ;
13059 PyObject * obj3 = 0 ;
13060 char * kwnames[] = {
13061 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13062 };
13063
13064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13065 {
13066 arg1 = wxString_in_helper(obj0);
13067 if (arg1 == NULL) SWIG_fail;
13068 temp1 = true;
13069 }
13070 {
13071 arg2 = wxString_in_helper(obj1);
13072 if (arg2 == NULL) SWIG_fail;
13073 temp2 = true;
13074 }
13075 {
13076 arg3 = wxString_in_helper(obj2);
13077 if (arg3 == NULL) SWIG_fail;
13078 temp3 = true;
13079 }
13080 {
13081 arg4 = wxString_in_helper(obj3);
13082 if (arg4 == NULL) SWIG_fail;
13083 temp4 = true;
13084 }
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13092 {
13093 if (temp1)
13094 delete arg1;
13095 }
13096 {
13097 if (temp2)
13098 delete arg2;
13099 }
13100 {
13101 if (temp3)
13102 delete arg3;
13103 }
13104 {
13105 if (temp4)
13106 delete arg4;
13107 }
13108 return resultobj;
13109 fail:
13110 {
13111 if (temp1)
13112 delete arg1;
13113 }
13114 {
13115 if (temp2)
13116 delete arg2;
13117 }
13118 {
13119 if (temp3)
13120 delete arg3;
13121 }
13122 {
13123 if (temp4)
13124 delete arg4;
13125 }
13126 return NULL;
13127 }
13128
13129
13130 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13131 PyObject *resultobj = 0;
13132 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13133 wxString result;
13134 void *argp1 = 0 ;
13135 int res1 = 0 ;
13136 PyObject *swig_obj[1] ;
13137
13138 if (!args) SWIG_fail;
13139 swig_obj[0] = args;
13140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13141 if (!SWIG_IsOK(res1)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13143 }
13144 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13145 {
13146 PyThreadState* __tstate = wxPyBeginAllowThreads();
13147 result = (arg1)->GetBookFile();
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 {
13152 #if wxUSE_UNICODE
13153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13154 #else
13155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13156 #endif
13157 }
13158 return resultobj;
13159 fail:
13160 return NULL;
13161 }
13162
13163
13164 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13165 PyObject *resultobj = 0;
13166 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13167 wxString result;
13168 void *argp1 = 0 ;
13169 int res1 = 0 ;
13170 PyObject *swig_obj[1] ;
13171
13172 if (!args) SWIG_fail;
13173 swig_obj[0] = args;
13174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13175 if (!SWIG_IsOK(res1)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13177 }
13178 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 result = (arg1)->GetTitle();
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 {
13186 #if wxUSE_UNICODE
13187 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13188 #else
13189 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13190 #endif
13191 }
13192 return resultobj;
13193 fail:
13194 return NULL;
13195 }
13196
13197
13198 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13199 PyObject *resultobj = 0;
13200 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13201 wxString result;
13202 void *argp1 = 0 ;
13203 int res1 = 0 ;
13204 PyObject *swig_obj[1] ;
13205
13206 if (!args) SWIG_fail;
13207 swig_obj[0] = args;
13208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13209 if (!SWIG_IsOK(res1)) {
13210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13211 }
13212 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (arg1)->GetStart();
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 {
13220 #if wxUSE_UNICODE
13221 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13222 #else
13223 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13224 #endif
13225 }
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 PyObject *resultobj = 0;
13234 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13235 wxString result;
13236 void *argp1 = 0 ;
13237 int res1 = 0 ;
13238 PyObject *swig_obj[1] ;
13239
13240 if (!args) SWIG_fail;
13241 swig_obj[0] = args;
13242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13243 if (!SWIG_IsOK(res1)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13245 }
13246 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 result = (arg1)->GetBasePath();
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 {
13254 #if wxUSE_UNICODE
13255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13256 #else
13257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13258 #endif
13259 }
13260 return resultobj;
13261 fail:
13262 return NULL;
13263 }
13264
13265
13266 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj = 0;
13268 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13269 int arg2 ;
13270 int arg3 ;
13271 void *argp1 = 0 ;
13272 int res1 = 0 ;
13273 int val2 ;
13274 int ecode2 = 0 ;
13275 int val3 ;
13276 int ecode3 = 0 ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 PyObject * obj2 = 0 ;
13280 char * kwnames[] = {
13281 (char *) "self",(char *) "start",(char *) "end", NULL
13282 };
13283
13284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13286 if (!SWIG_IsOK(res1)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13288 }
13289 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13290 ecode2 = SWIG_AsVal_int(obj1, &val2);
13291 if (!SWIG_IsOK(ecode2)) {
13292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13293 }
13294 arg2 = static_cast< int >(val2);
13295 ecode3 = SWIG_AsVal_int(obj2, &val3);
13296 if (!SWIG_IsOK(ecode3)) {
13297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13298 }
13299 arg3 = static_cast< int >(val3);
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 (arg1)->SetContentsRange(arg2,arg3);
13303 wxPyEndAllowThreads(__tstate);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 resultobj = SWIG_Py_Void();
13307 return resultobj;
13308 fail:
13309 return NULL;
13310 }
13311
13312
13313 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13314 PyObject *resultobj = 0;
13315 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13316 int result;
13317 void *argp1 = 0 ;
13318 int res1 = 0 ;
13319 PyObject *swig_obj[1] ;
13320
13321 if (!args) SWIG_fail;
13322 swig_obj[0] = args;
13323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13324 if (!SWIG_IsOK(res1)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13326 }
13327 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 result = (int)(arg1)->GetContentsStart();
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 resultobj = SWIG_From_int(static_cast< int >(result));
13335 return resultobj;
13336 fail:
13337 return NULL;
13338 }
13339
13340
13341 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13342 PyObject *resultobj = 0;
13343 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13344 int result;
13345 void *argp1 = 0 ;
13346 int res1 = 0 ;
13347 PyObject *swig_obj[1] ;
13348
13349 if (!args) SWIG_fail;
13350 swig_obj[0] = args;
13351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13352 if (!SWIG_IsOK(res1)) {
13353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13354 }
13355 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13356 {
13357 PyThreadState* __tstate = wxPyBeginAllowThreads();
13358 result = (int)(arg1)->GetContentsEnd();
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 resultobj = SWIG_From_int(static_cast< int >(result));
13363 return resultobj;
13364 fail:
13365 return NULL;
13366 }
13367
13368
13369 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13370 PyObject *resultobj = 0;
13371 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13372 wxString *arg2 = 0 ;
13373 void *argp1 = 0 ;
13374 int res1 = 0 ;
13375 bool temp2 = false ;
13376 PyObject * obj0 = 0 ;
13377 PyObject * obj1 = 0 ;
13378 char * kwnames[] = {
13379 (char *) "self",(char *) "title", NULL
13380 };
13381
13382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13384 if (!SWIG_IsOK(res1)) {
13385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13386 }
13387 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13388 {
13389 arg2 = wxString_in_helper(obj1);
13390 if (arg2 == NULL) SWIG_fail;
13391 temp2 = true;
13392 }
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 (arg1)->SetTitle((wxString const &)*arg2);
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 resultobj = SWIG_Py_Void();
13400 {
13401 if (temp2)
13402 delete arg2;
13403 }
13404 return resultobj;
13405 fail:
13406 {
13407 if (temp2)
13408 delete arg2;
13409 }
13410 return NULL;
13411 }
13412
13413
13414 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj = 0;
13416 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13417 wxString *arg2 = 0 ;
13418 void *argp1 = 0 ;
13419 int res1 = 0 ;
13420 bool temp2 = false ;
13421 PyObject * obj0 = 0 ;
13422 PyObject * obj1 = 0 ;
13423 char * kwnames[] = {
13424 (char *) "self",(char *) "path", NULL
13425 };
13426
13427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13429 if (!SWIG_IsOK(res1)) {
13430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13431 }
13432 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13433 {
13434 arg2 = wxString_in_helper(obj1);
13435 if (arg2 == NULL) SWIG_fail;
13436 temp2 = true;
13437 }
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 (arg1)->SetBasePath((wxString const &)*arg2);
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 resultobj = SWIG_Py_Void();
13445 {
13446 if (temp2)
13447 delete arg2;
13448 }
13449 return resultobj;
13450 fail:
13451 {
13452 if (temp2)
13453 delete arg2;
13454 }
13455 return NULL;
13456 }
13457
13458
13459 SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj = 0;
13461 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13462 wxString *arg2 = 0 ;
13463 void *argp1 = 0 ;
13464 int res1 = 0 ;
13465 bool temp2 = false ;
13466 PyObject * obj0 = 0 ;
13467 PyObject * obj1 = 0 ;
13468 char * kwnames[] = {
13469 (char *) "self",(char *) "start", NULL
13470 };
13471
13472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
13473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13474 if (!SWIG_IsOK(res1)) {
13475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13476 }
13477 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13478 {
13479 arg2 = wxString_in_helper(obj1);
13480 if (arg2 == NULL) SWIG_fail;
13481 temp2 = true;
13482 }
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 (arg1)->SetStart((wxString const &)*arg2);
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 resultobj = SWIG_Py_Void();
13490 {
13491 if (temp2)
13492 delete arg2;
13493 }
13494 return resultobj;
13495 fail:
13496 {
13497 if (temp2)
13498 delete arg2;
13499 }
13500 return NULL;
13501 }
13502
13503
13504 SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13505 PyObject *resultobj = 0;
13506 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13507 wxString *arg2 = 0 ;
13508 wxString result;
13509 void *argp1 = 0 ;
13510 int res1 = 0 ;
13511 bool temp2 = false ;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 char * kwnames[] = {
13515 (char *) "self",(char *) "page", NULL
13516 };
13517
13518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13520 if (!SWIG_IsOK(res1)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13522 }
13523 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13524 {
13525 arg2 = wxString_in_helper(obj1);
13526 if (arg2 == NULL) SWIG_fail;
13527 temp2 = true;
13528 }
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 {
13536 #if wxUSE_UNICODE
13537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13538 #else
13539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13540 #endif
13541 }
13542 {
13543 if (temp2)
13544 delete arg2;
13545 }
13546 return resultobj;
13547 fail:
13548 {
13549 if (temp2)
13550 delete arg2;
13551 }
13552 return NULL;
13553 }
13554
13555
13556 SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13557 PyObject *obj;
13558 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13559 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13560 return SWIG_Py_Void();
13561 }
13562
13563 SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13564 return SWIG_Python_InitShadowInstance(args);
13565 }
13566
13567 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13568 PyObject *resultobj = 0;
13569 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13570 bool result;
13571 void *argp1 = 0 ;
13572 int res1 = 0 ;
13573 PyObject *swig_obj[1] ;
13574
13575 if (!args) SWIG_fail;
13576 swig_obj[0] = args;
13577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13578 if (!SWIG_IsOK(res1)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13580 }
13581 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 result = (bool)(arg1)->Search();
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 {
13589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13590 }
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13598 PyObject *resultobj = 0;
13599 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13600 bool result;
13601 void *argp1 = 0 ;
13602 int res1 = 0 ;
13603 PyObject *swig_obj[1] ;
13604
13605 if (!args) SWIG_fail;
13606 swig_obj[0] = args;
13607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13608 if (!SWIG_IsOK(res1)) {
13609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13610 }
13611 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 result = (bool)(arg1)->IsActive();
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 {
13619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13620 }
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13628 PyObject *resultobj = 0;
13629 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13630 int result;
13631 void *argp1 = 0 ;
13632 int res1 = 0 ;
13633 PyObject *swig_obj[1] ;
13634
13635 if (!args) SWIG_fail;
13636 swig_obj[0] = args;
13637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13638 if (!SWIG_IsOK(res1)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13640 }
13641 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 result = (int)(arg1)->GetCurIndex();
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 resultobj = SWIG_From_int(static_cast< int >(result));
13649 return resultobj;
13650 fail:
13651 return NULL;
13652 }
13653
13654
13655 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13656 PyObject *resultobj = 0;
13657 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13658 int result;
13659 void *argp1 = 0 ;
13660 int res1 = 0 ;
13661 PyObject *swig_obj[1] ;
13662
13663 if (!args) SWIG_fail;
13664 swig_obj[0] = args;
13665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13666 if (!SWIG_IsOK(res1)) {
13667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13668 }
13669 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (int)(arg1)->GetMaxIndex();
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 resultobj = SWIG_From_int(static_cast< int >(result));
13677 return resultobj;
13678 fail:
13679 return NULL;
13680 }
13681
13682
13683 SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13684 PyObject *resultobj = 0;
13685 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13686 wxString *result = 0 ;
13687 void *argp1 = 0 ;
13688 int res1 = 0 ;
13689 PyObject *swig_obj[1] ;
13690
13691 if (!args) SWIG_fail;
13692 swig_obj[0] = args;
13693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13694 if (!SWIG_IsOK(res1)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13696 }
13697 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 {
13701 wxString const &_result_ref = (arg1)->GetName();
13702 result = (wxString *) &_result_ref;
13703 }
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 {
13708 #if wxUSE_UNICODE
13709 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13710 #else
13711 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13712 #endif
13713 }
13714 return resultobj;
13715 fail:
13716 return NULL;
13717 }
13718
13719
13720 SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13721 PyObject *obj;
13722 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13723 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13724 return SWIG_Py_Void();
13725 }
13726
13727 SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13728 PyObject *resultobj = 0;
13729 wxHtmlHelpData *result = 0 ;
13730
13731 if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (wxHtmlHelpData *)new wxHtmlHelpData();
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13739 return resultobj;
13740 fail:
13741 return NULL;
13742 }
13743
13744
13745 SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13746 PyObject *resultobj = 0;
13747 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13748 void *argp1 = 0 ;
13749 int res1 = 0 ;
13750 PyObject *swig_obj[1] ;
13751
13752 if (!args) SWIG_fail;
13753 swig_obj[0] = args;
13754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13755 if (!SWIG_IsOK(res1)) {
13756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13757 }
13758 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 delete arg1;
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 resultobj = SWIG_Py_Void();
13767 return resultobj;
13768 fail:
13769 return NULL;
13770 }
13771
13772
13773 SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj = 0;
13775 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13776 wxString *arg2 = 0 ;
13777 void *argp1 = 0 ;
13778 int res1 = 0 ;
13779 bool temp2 = false ;
13780 PyObject * obj0 = 0 ;
13781 PyObject * obj1 = 0 ;
13782 char * kwnames[] = {
13783 (char *) "self",(char *) "path", NULL
13784 };
13785
13786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13788 if (!SWIG_IsOK(res1)) {
13789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13790 }
13791 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13792 {
13793 arg2 = wxString_in_helper(obj1);
13794 if (arg2 == NULL) SWIG_fail;
13795 temp2 = true;
13796 }
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 (arg1)->SetTempDir((wxString const &)*arg2);
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 resultobj = SWIG_Py_Void();
13804 {
13805 if (temp2)
13806 delete arg2;
13807 }
13808 return resultobj;
13809 fail:
13810 {
13811 if (temp2)
13812 delete arg2;
13813 }
13814 return NULL;
13815 }
13816
13817
13818 SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj = 0;
13820 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13821 wxString *arg2 = 0 ;
13822 bool result;
13823 void *argp1 = 0 ;
13824 int res1 = 0 ;
13825 bool temp2 = false ;
13826 PyObject * obj0 = 0 ;
13827 PyObject * obj1 = 0 ;
13828 char * kwnames[] = {
13829 (char *) "self",(char *) "book", NULL
13830 };
13831
13832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13834 if (!SWIG_IsOK(res1)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13836 }
13837 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13838 {
13839 arg2 = wxString_in_helper(obj1);
13840 if (arg2 == NULL) SWIG_fail;
13841 temp2 = true;
13842 }
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 {
13850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13851 }
13852 {
13853 if (temp2)
13854 delete arg2;
13855 }
13856 return resultobj;
13857 fail:
13858 {
13859 if (temp2)
13860 delete arg2;
13861 }
13862 return NULL;
13863 }
13864
13865
13866 SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj = 0;
13868 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13869 wxString *arg2 = 0 ;
13870 wxString result;
13871 void *argp1 = 0 ;
13872 int res1 = 0 ;
13873 bool temp2 = false ;
13874 PyObject * obj0 = 0 ;
13875 PyObject * obj1 = 0 ;
13876 char * kwnames[] = {
13877 (char *) "self",(char *) "page", NULL
13878 };
13879
13880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
13881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13882 if (!SWIG_IsOK(res1)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13884 }
13885 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13886 {
13887 arg2 = wxString_in_helper(obj1);
13888 if (arg2 == NULL) SWIG_fail;
13889 temp2 = true;
13890 }
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 result = (arg1)->FindPageByName((wxString const &)*arg2);
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 {
13898 #if wxUSE_UNICODE
13899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13900 #else
13901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13902 #endif
13903 }
13904 {
13905 if (temp2)
13906 delete arg2;
13907 }
13908 return resultobj;
13909 fail:
13910 {
13911 if (temp2)
13912 delete arg2;
13913 }
13914 return NULL;
13915 }
13916
13917
13918 SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj = 0;
13920 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13921 int arg2 ;
13922 wxString result;
13923 void *argp1 = 0 ;
13924 int res1 = 0 ;
13925 int val2 ;
13926 int ecode2 = 0 ;
13927 PyObject * obj0 = 0 ;
13928 PyObject * obj1 = 0 ;
13929 char * kwnames[] = {
13930 (char *) "self",(char *) "id", NULL
13931 };
13932
13933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
13934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13935 if (!SWIG_IsOK(res1)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13937 }
13938 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13939 ecode2 = SWIG_AsVal_int(obj1, &val2);
13940 if (!SWIG_IsOK(ecode2)) {
13941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13942 }
13943 arg2 = static_cast< int >(val2);
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 result = (arg1)->FindPageById(arg2);
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 {
13951 #if wxUSE_UNICODE
13952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13953 #else
13954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13955 #endif
13956 }
13957 return resultobj;
13958 fail:
13959 return NULL;
13960 }
13961
13962
13963 SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13964 PyObject *resultobj = 0;
13965 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13966 wxHtmlBookRecArray *result = 0 ;
13967 void *argp1 = 0 ;
13968 int res1 = 0 ;
13969 PyObject *swig_obj[1] ;
13970
13971 if (!args) SWIG_fail;
13972 swig_obj[0] = args;
13973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13974 if (!SWIG_IsOK(res1)) {
13975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13976 }
13977 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 {
13981 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
13982 result = (wxHtmlBookRecArray *) &_result_ref;
13983 }
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
13988 return resultobj;
13989 fail:
13990 return NULL;
13991 }
13992
13993
13994 SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13995 PyObject *obj;
13996 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13997 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
13998 return SWIG_Py_Void();
13999 }
14000
14001 SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14002 return SWIG_Python_InitShadowInstance(args);
14003 }
14004
14005 SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14006 PyObject *resultobj = 0;
14007 wxWindow *arg1 = (wxWindow *) 0 ;
14008 int arg2 ;
14009 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14010 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14011 wxSize const &arg4_defvalue = wxDefaultSize ;
14012 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14013 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14014 int arg6 = (int) wxHF_DEFAULT_STYLE ;
14015 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
14016 wxHtmlHelpWindow *result = 0 ;
14017 void *argp1 = 0 ;
14018 int res1 = 0 ;
14019 int val2 ;
14020 int ecode2 = 0 ;
14021 wxPoint temp3 ;
14022 wxSize temp4 ;
14023 int val5 ;
14024 int ecode5 = 0 ;
14025 int val6 ;
14026 int ecode6 = 0 ;
14027 void *argp7 = 0 ;
14028 int res7 = 0 ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 PyObject * obj2 = 0 ;
14032 PyObject * obj3 = 0 ;
14033 PyObject * obj4 = 0 ;
14034 PyObject * obj5 = 0 ;
14035 PyObject * obj6 = 0 ;
14036 char * kwnames[] = {
14037 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14038 };
14039
14040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14042 if (!SWIG_IsOK(res1)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14044 }
14045 arg1 = reinterpret_cast< wxWindow * >(argp1);
14046 ecode2 = SWIG_AsVal_int(obj1, &val2);
14047 if (!SWIG_IsOK(ecode2)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14049 }
14050 arg2 = static_cast< int >(val2);
14051 if (obj2) {
14052 {
14053 arg3 = &temp3;
14054 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14055 }
14056 }
14057 if (obj3) {
14058 {
14059 arg4 = &temp4;
14060 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14061 }
14062 }
14063 if (obj4) {
14064 ecode5 = SWIG_AsVal_int(obj4, &val5);
14065 if (!SWIG_IsOK(ecode5)) {
14066 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14067 }
14068 arg5 = static_cast< int >(val5);
14069 }
14070 if (obj5) {
14071 ecode6 = SWIG_AsVal_int(obj5, &val6);
14072 if (!SWIG_IsOK(ecode6)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14074 }
14075 arg6 = static_cast< int >(val6);
14076 }
14077 if (obj6) {
14078 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14079 if (!SWIG_IsOK(res7)) {
14080 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14081 }
14082 arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14083 }
14084 {
14085 if (!wxPyCheckForApp()) SWIG_fail;
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj = 0;
14100 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14101 wxHtmlHelpWindow *result = 0 ;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 PyObject * obj0 = 0 ;
14105 char * kwnames[] = {
14106 (char *) "data", NULL
14107 };
14108
14109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14110 if (obj0) {
14111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14112 if (!SWIG_IsOK(res1)) {
14113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14114 }
14115 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14116 }
14117 {
14118 if (!wxPyCheckForApp()) SWIG_fail;
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj = 0;
14133 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14134 wxWindow *arg2 = (wxWindow *) 0 ;
14135 int arg3 ;
14136 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14137 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14138 wxSize const &arg5_defvalue = wxDefaultSize ;
14139 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14140 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14141 int arg7 = (int) wxHF_DEFAULT_STYLE ;
14142 bool result;
14143 void *argp1 = 0 ;
14144 int res1 = 0 ;
14145 void *argp2 = 0 ;
14146 int res2 = 0 ;
14147 int val3 ;
14148 int ecode3 = 0 ;
14149 wxPoint temp4 ;
14150 wxSize temp5 ;
14151 int val6 ;
14152 int ecode6 = 0 ;
14153 int val7 ;
14154 int ecode7 = 0 ;
14155 PyObject * obj0 = 0 ;
14156 PyObject * obj1 = 0 ;
14157 PyObject * obj2 = 0 ;
14158 PyObject * obj3 = 0 ;
14159 PyObject * obj4 = 0 ;
14160 PyObject * obj5 = 0 ;
14161 PyObject * obj6 = 0 ;
14162 char * kwnames[] = {
14163 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14164 };
14165
14166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14168 if (!SWIG_IsOK(res1)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14170 }
14171 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14173 if (!SWIG_IsOK(res2)) {
14174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14175 }
14176 arg2 = reinterpret_cast< wxWindow * >(argp2);
14177 ecode3 = SWIG_AsVal_int(obj2, &val3);
14178 if (!SWIG_IsOK(ecode3)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14180 }
14181 arg3 = static_cast< int >(val3);
14182 if (obj3) {
14183 {
14184 arg4 = &temp4;
14185 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14186 }
14187 }
14188 if (obj4) {
14189 {
14190 arg5 = &temp5;
14191 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14192 }
14193 }
14194 if (obj5) {
14195 ecode6 = SWIG_AsVal_int(obj5, &val6);
14196 if (!SWIG_IsOK(ecode6)) {
14197 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14198 }
14199 arg6 = static_cast< int >(val6);
14200 }
14201 if (obj6) {
14202 ecode7 = SWIG_AsVal_int(obj6, &val7);
14203 if (!SWIG_IsOK(ecode7)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14205 }
14206 arg7 = static_cast< int >(val7);
14207 }
14208 {
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14216 }
14217 return resultobj;
14218 fail:
14219 return NULL;
14220 }
14221
14222
14223 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14224 PyObject *resultobj = 0;
14225 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14226 wxHtmlHelpData *result = 0 ;
14227 void *argp1 = 0 ;
14228 int res1 = 0 ;
14229 PyObject *swig_obj[1] ;
14230
14231 if (!args) SWIG_fail;
14232 swig_obj[0] = args;
14233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14234 if (!SWIG_IsOK(res1)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14236 }
14237 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = (wxHtmlHelpData *)(arg1)->GetData();
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14245 return resultobj;
14246 fail:
14247 return NULL;
14248 }
14249
14250
14251 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14252 PyObject *resultobj = 0;
14253 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14254 wxHtmlHelpController *result = 0 ;
14255 void *argp1 = 0 ;
14256 int res1 = 0 ;
14257 PyObject *swig_obj[1] ;
14258
14259 if (!args) SWIG_fail;
14260 swig_obj[0] = args;
14261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14262 if (!SWIG_IsOK(res1)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14264 }
14265 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14273 return resultobj;
14274 fail:
14275 return NULL;
14276 }
14277
14278
14279 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj = 0;
14281 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14282 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14283 void *argp1 = 0 ;
14284 int res1 = 0 ;
14285 int res2 = 0 ;
14286 PyObject * obj0 = 0 ;
14287 PyObject * obj1 = 0 ;
14288 char * kwnames[] = {
14289 (char *) "self",(char *) "controller", NULL
14290 };
14291
14292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14294 if (!SWIG_IsOK(res1)) {
14295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14296 }
14297 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14298 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14299 if (!SWIG_IsOK(res2)) {
14300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14301 }
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 (arg1)->SetController(arg2);
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 resultobj = SWIG_Py_Void();
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj = 0;
14317 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14318 wxString *arg2 = 0 ;
14319 bool result;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 bool temp2 = false ;
14323 PyObject * obj0 = 0 ;
14324 PyObject * obj1 = 0 ;
14325 char * kwnames[] = {
14326 (char *) "self",(char *) "x", NULL
14327 };
14328
14329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14331 if (!SWIG_IsOK(res1)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14333 }
14334 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14335 {
14336 arg2 = wxString_in_helper(obj1);
14337 if (arg2 == NULL) SWIG_fail;
14338 temp2 = true;
14339 }
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 result = (bool)(arg1)->Display((wxString const &)*arg2);
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 {
14347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14348 }
14349 {
14350 if (temp2)
14351 delete arg2;
14352 }
14353 return resultobj;
14354 fail:
14355 {
14356 if (temp2)
14357 delete arg2;
14358 }
14359 return NULL;
14360 }
14361
14362
14363 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14364 PyObject *resultobj = 0;
14365 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14366 int arg2 ;
14367 bool result;
14368 void *argp1 = 0 ;
14369 int res1 = 0 ;
14370 int val2 ;
14371 int ecode2 = 0 ;
14372 PyObject * obj0 = 0 ;
14373 PyObject * obj1 = 0 ;
14374 char * kwnames[] = {
14375 (char *) "self",(char *) "id", NULL
14376 };
14377
14378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14380 if (!SWIG_IsOK(res1)) {
14381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14382 }
14383 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14384 ecode2 = SWIG_AsVal_int(obj1, &val2);
14385 if (!SWIG_IsOK(ecode2)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14387 }
14388 arg2 = static_cast< int >(val2);
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (bool)(arg1)->Display(arg2);
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 {
14396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14397 }
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14405 PyObject *resultobj = 0;
14406 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14407 bool result;
14408 void *argp1 = 0 ;
14409 int res1 = 0 ;
14410 PyObject *swig_obj[1] ;
14411
14412 if (!args) SWIG_fail;
14413 swig_obj[0] = args;
14414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14415 if (!SWIG_IsOK(res1)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14417 }
14418 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 result = (bool)(arg1)->DisplayContents();
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 {
14426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14427 }
14428 return resultobj;
14429 fail:
14430 return NULL;
14431 }
14432
14433
14434 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14435 PyObject *resultobj = 0;
14436 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14437 bool result;
14438 void *argp1 = 0 ;
14439 int res1 = 0 ;
14440 PyObject *swig_obj[1] ;
14441
14442 if (!args) SWIG_fail;
14443 swig_obj[0] = args;
14444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14445 if (!SWIG_IsOK(res1)) {
14446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14447 }
14448 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 result = (bool)(arg1)->DisplayIndex();
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 {
14456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14457 }
14458 return resultobj;
14459 fail:
14460 return NULL;
14461 }
14462
14463
14464 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj = 0;
14466 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14467 wxString *arg2 = 0 ;
14468 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14469 bool result;
14470 void *argp1 = 0 ;
14471 int res1 = 0 ;
14472 bool temp2 = false ;
14473 void *argp3 ;
14474 int res3 = 0 ;
14475 PyObject * obj0 = 0 ;
14476 PyObject * obj1 = 0 ;
14477 PyObject * obj2 = 0 ;
14478 char * kwnames[] = {
14479 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14480 };
14481
14482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14484 if (!SWIG_IsOK(res1)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14486 }
14487 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14488 {
14489 arg2 = wxString_in_helper(obj1);
14490 if (arg2 == NULL) SWIG_fail;
14491 temp2 = true;
14492 }
14493 if (obj2) {
14494 {
14495 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14496 if (!SWIG_IsOK(res3)) {
14497 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14498 }
14499 if (!argp3) {
14500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14501 } else {
14502 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14503 arg3 = *temp;
14504 if (SWIG_IsNewObj(res3)) delete temp;
14505 }
14506 }
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 {
14515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14516 }
14517 {
14518 if (temp2)
14519 delete arg2;
14520 }
14521 return resultobj;
14522 fail:
14523 {
14524 if (temp2)
14525 delete arg2;
14526 }
14527 return NULL;
14528 }
14529
14530
14531 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj = 0;
14533 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14534 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14535 wxString const &arg3_defvalue = wxEmptyString ;
14536 wxString *arg3 = (wxString *) &arg3_defvalue ;
14537 void *argp1 = 0 ;
14538 int res1 = 0 ;
14539 void *argp2 = 0 ;
14540 int res2 = 0 ;
14541 bool temp3 = false ;
14542 PyObject * obj0 = 0 ;
14543 PyObject * obj1 = 0 ;
14544 PyObject * obj2 = 0 ;
14545 char * kwnames[] = {
14546 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14547 };
14548
14549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14551 if (!SWIG_IsOK(res1)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14553 }
14554 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14555 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14556 if (!SWIG_IsOK(res2)) {
14557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14558 }
14559 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14560 if (obj2) {
14561 {
14562 arg3 = wxString_in_helper(obj2);
14563 if (arg3 == NULL) SWIG_fail;
14564 temp3 = true;
14565 }
14566 }
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 resultobj = SWIG_Py_Void();
14574 {
14575 if (temp3)
14576 delete arg3;
14577 }
14578 return resultobj;
14579 fail:
14580 {
14581 if (temp3)
14582 delete arg3;
14583 }
14584 return NULL;
14585 }
14586
14587
14588 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj = 0;
14590 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14591 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14592 wxString const &arg3_defvalue = wxEmptyString ;
14593 wxString *arg3 = (wxString *) &arg3_defvalue ;
14594 void *argp1 = 0 ;
14595 int res1 = 0 ;
14596 void *argp2 = 0 ;
14597 int res2 = 0 ;
14598 bool temp3 = false ;
14599 PyObject * obj0 = 0 ;
14600 PyObject * obj1 = 0 ;
14601 PyObject * obj2 = 0 ;
14602 char * kwnames[] = {
14603 (char *) "self",(char *) "cfg",(char *) "path", NULL
14604 };
14605
14606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14608 if (!SWIG_IsOK(res1)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14610 }
14611 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14612 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14613 if (!SWIG_IsOK(res2)) {
14614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14615 }
14616 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14617 if (obj2) {
14618 {
14619 arg3 = wxString_in_helper(obj2);
14620 if (arg3 == NULL) SWIG_fail;
14621 temp3 = true;
14622 }
14623 }
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 resultobj = SWIG_Py_Void();
14631 {
14632 if (temp3)
14633 delete arg3;
14634 }
14635 return resultobj;
14636 fail:
14637 {
14638 if (temp3)
14639 delete arg3;
14640 }
14641 return NULL;
14642 }
14643
14644
14645 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14646 PyObject *resultobj = 0;
14647 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14648 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14649 wxString const &arg3_defvalue = wxEmptyString ;
14650 wxString *arg3 = (wxString *) &arg3_defvalue ;
14651 void *argp1 = 0 ;
14652 int res1 = 0 ;
14653 void *argp2 = 0 ;
14654 int res2 = 0 ;
14655 bool temp3 = false ;
14656 PyObject * obj0 = 0 ;
14657 PyObject * obj1 = 0 ;
14658 PyObject * obj2 = 0 ;
14659 char * kwnames[] = {
14660 (char *) "self",(char *) "cfg",(char *) "path", NULL
14661 };
14662
14663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14665 if (!SWIG_IsOK(res1)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14667 }
14668 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14670 if (!SWIG_IsOK(res2)) {
14671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14672 }
14673 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14674 if (obj2) {
14675 {
14676 arg3 = wxString_in_helper(obj2);
14677 if (arg3 == NULL) SWIG_fail;
14678 temp3 = true;
14679 }
14680 }
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 resultobj = SWIG_Py_Void();
14688 {
14689 if (temp3)
14690 delete arg3;
14691 }
14692 return resultobj;
14693 fail:
14694 {
14695 if (temp3)
14696 delete arg3;
14697 }
14698 return NULL;
14699 }
14700
14701
14702 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14703 PyObject *resultobj = 0;
14704 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14705 void *argp1 = 0 ;
14706 int res1 = 0 ;
14707 PyObject *swig_obj[1] ;
14708
14709 if (!args) SWIG_fail;
14710 swig_obj[0] = args;
14711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14712 if (!SWIG_IsOK(res1)) {
14713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14714 }
14715 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 (arg1)->NotifyPageChanged();
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 resultobj = SWIG_Py_Void();
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14730 PyObject *resultobj = 0;
14731 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14732 void *argp1 = 0 ;
14733 int res1 = 0 ;
14734 PyObject *swig_obj[1] ;
14735
14736 if (!args) SWIG_fail;
14737 swig_obj[0] = args;
14738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14739 if (!SWIG_IsOK(res1)) {
14740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14741 }
14742 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 (arg1)->RefreshLists();
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 resultobj = SWIG_Py_Void();
14750 return resultobj;
14751 fail:
14752 return NULL;
14753 }
14754
14755
14756 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14757 PyObject *resultobj = 0;
14758 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14759 wxHtmlWindow *result = 0 ;
14760 void *argp1 = 0 ;
14761 int res1 = 0 ;
14762 PyObject *swig_obj[1] ;
14763
14764 if (!args) SWIG_fail;
14765 swig_obj[0] = args;
14766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14767 if (!SWIG_IsOK(res1)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14769 }
14770 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 );
14778 return resultobj;
14779 fail:
14780 return NULL;
14781 }
14782
14783
14784 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14785 PyObject *resultobj = 0;
14786 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14787 wxSplitterWindow *result = 0 ;
14788 void *argp1 = 0 ;
14789 int res1 = 0 ;
14790 PyObject *swig_obj[1] ;
14791
14792 if (!args) SWIG_fail;
14793 swig_obj[0] = args;
14794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14795 if (!SWIG_IsOK(res1)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14797 }
14798 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14806 return resultobj;
14807 fail:
14808 return NULL;
14809 }
14810
14811
14812 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14813 PyObject *resultobj = 0;
14814 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14815 wxToolBar *result = 0 ;
14816 void *argp1 = 0 ;
14817 int res1 = 0 ;
14818 PyObject *swig_obj[1] ;
14819
14820 if (!args) SWIG_fail;
14821 swig_obj[0] = args;
14822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14823 if (!SWIG_IsOK(res1)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14825 }
14826 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14830 wxPyEndAllowThreads(__tstate);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 {
14834 resultobj = wxPyMake_wxObject(result, (bool)0);
14835 }
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14843 PyObject *resultobj = 0;
14844 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14845 wxHtmlHelpFrameCfg *result = 0 ;
14846 void *argp1 = 0 ;
14847 int res1 = 0 ;
14848 PyObject *swig_obj[1] ;
14849
14850 if (!args) SWIG_fail;
14851 swig_obj[0] = args;
14852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14853 if (!SWIG_IsOK(res1)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14855 }
14856 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 {
14860 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14861 result = (wxHtmlHelpFrameCfg *) &_result_ref;
14862 }
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14867 return resultobj;
14868 fail:
14869 return NULL;
14870 }
14871
14872
14873 SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14874 PyObject *resultobj = 0;
14875 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14876 wxTreeCtrl *result = 0 ;
14877 void *argp1 = 0 ;
14878 int res1 = 0 ;
14879 PyObject *swig_obj[1] ;
14880
14881 if (!args) SWIG_fail;
14882 swig_obj[0] = args;
14883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14884 if (!SWIG_IsOK(res1)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14886 }
14887 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
14895 return resultobj;
14896 fail:
14897 return NULL;
14898 }
14899
14900
14901 SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14902 PyObject *obj;
14903 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14904 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
14905 return SWIG_Py_Void();
14906 }
14907
14908 SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14909 return SWIG_Python_InitShadowInstance(args);
14910 }
14911
14912 SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj = 0;
14914 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14915 int arg2 = (int) 0 ;
14916 wxHtmlWindowEvent *result = 0 ;
14917 int val1 ;
14918 int ecode1 = 0 ;
14919 int val2 ;
14920 int ecode2 = 0 ;
14921 PyObject * obj0 = 0 ;
14922 PyObject * obj1 = 0 ;
14923 char * kwnames[] = {
14924 (char *) "commandType",(char *) "id", NULL
14925 };
14926
14927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail;
14928 if (obj0) {
14929 ecode1 = SWIG_AsVal_int(obj0, &val1);
14930 if (!SWIG_IsOK(ecode1)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14932 }
14933 arg1 = static_cast< wxEventType >(val1);
14934 }
14935 if (obj1) {
14936 ecode2 = SWIG_AsVal_int(obj1, &val2);
14937 if (!SWIG_IsOK(ecode2)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14939 }
14940 arg2 = static_cast< int >(val2);
14941 }
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 );
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj = 0;
14957 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
14958 wxString *arg2 = 0 ;
14959 void *argp1 = 0 ;
14960 int res1 = 0 ;
14961 bool temp2 = false ;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 char * kwnames[] = {
14965 (char *) "self",(char *) "url", NULL
14966 };
14967
14968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
14969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
14970 if (!SWIG_IsOK(res1)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14972 }
14973 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
14974 {
14975 arg2 = wxString_in_helper(obj1);
14976 if (arg2 == NULL) SWIG_fail;
14977 temp2 = true;
14978 }
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 (arg1)->SetURL((wxString const &)*arg2);
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 resultobj = SWIG_Py_Void();
14986 {
14987 if (temp2)
14988 delete arg2;
14989 }
14990 return resultobj;
14991 fail:
14992 {
14993 if (temp2)
14994 delete arg2;
14995 }
14996 return NULL;
14997 }
14998
14999
15000 SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15001 PyObject *resultobj = 0;
15002 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
15003 wxString *result = 0 ;
15004 void *argp1 = 0 ;
15005 int res1 = 0 ;
15006 PyObject *swig_obj[1] ;
15007
15008 if (!args) SWIG_fail;
15009 swig_obj[0] = args;
15010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15011 if (!SWIG_IsOK(res1)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15013 }
15014 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 {
15018 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
15019 result = (wxString *) &_result_ref;
15020 }
15021 wxPyEndAllowThreads(__tstate);
15022 if (PyErr_Occurred()) SWIG_fail;
15023 }
15024 {
15025 #if wxUSE_UNICODE
15026 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15027 #else
15028 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15029 #endif
15030 }
15031 return resultobj;
15032 fail:
15033 return NULL;
15034 }
15035
15036
15037 SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15038 PyObject *obj;
15039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15040 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj));
15041 return SWIG_Py_Void();
15042 }
15043
15044 SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15045 return SWIG_Python_InitShadowInstance(args);
15046 }
15047
15048 SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj = 0;
15050 wxWindow *arg1 = (wxWindow *) 0 ;
15051 int arg2 ;
15052 wxString const &arg3_defvalue = wxPyEmptyString ;
15053 wxString *arg3 = (wxString *) &arg3_defvalue ;
15054 int arg4 = (int) wxHF_DEFAULTSTYLE ;
15055 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15056 wxHtmlHelpFrame *result = 0 ;
15057 void *argp1 = 0 ;
15058 int res1 = 0 ;
15059 int val2 ;
15060 int ecode2 = 0 ;
15061 bool temp3 = false ;
15062 int val4 ;
15063 int ecode4 = 0 ;
15064 void *argp5 = 0 ;
15065 int res5 = 0 ;
15066 PyObject * obj0 = 0 ;
15067 PyObject * obj1 = 0 ;
15068 PyObject * obj2 = 0 ;
15069 PyObject * obj3 = 0 ;
15070 PyObject * obj4 = 0 ;
15071 char * kwnames[] = {
15072 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15073 };
15074
15075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15077 if (!SWIG_IsOK(res1)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15079 }
15080 arg1 = reinterpret_cast< wxWindow * >(argp1);
15081 ecode2 = SWIG_AsVal_int(obj1, &val2);
15082 if (!SWIG_IsOK(ecode2)) {
15083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15084 }
15085 arg2 = static_cast< int >(val2);
15086 if (obj2) {
15087 {
15088 arg3 = wxString_in_helper(obj2);
15089 if (arg3 == NULL) SWIG_fail;
15090 temp3 = true;
15091 }
15092 }
15093 if (obj3) {
15094 ecode4 = SWIG_AsVal_int(obj3, &val4);
15095 if (!SWIG_IsOK(ecode4)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15097 }
15098 arg4 = static_cast< int >(val4);
15099 }
15100 if (obj4) {
15101 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15102 if (!SWIG_IsOK(res5)) {
15103 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15104 }
15105 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15106 }
15107 {
15108 if (!wxPyCheckForApp()) SWIG_fail;
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15115 {
15116 if (temp3)
15117 delete arg3;
15118 }
15119 return resultobj;
15120 fail:
15121 {
15122 if (temp3)
15123 delete arg3;
15124 }
15125 return NULL;
15126 }
15127
15128
15129 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj = 0;
15131 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15132 wxHtmlHelpFrame *result = 0 ;
15133 void *argp1 = 0 ;
15134 int res1 = 0 ;
15135 PyObject * obj0 = 0 ;
15136 char * kwnames[] = {
15137 (char *) "data", NULL
15138 };
15139
15140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15141 if (obj0) {
15142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15143 if (!SWIG_IsOK(res1)) {
15144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15145 }
15146 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15147 }
15148 {
15149 if (!wxPyCheckForApp()) SWIG_fail;
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj = 0;
15164 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15165 wxWindow *arg2 = (wxWindow *) 0 ;
15166 int arg3 ;
15167 wxString const &arg4_defvalue = wxPyEmptyString ;
15168 wxString *arg4 = (wxString *) &arg4_defvalue ;
15169 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15170 bool result;
15171 void *argp1 = 0 ;
15172 int res1 = 0 ;
15173 void *argp2 = 0 ;
15174 int res2 = 0 ;
15175 int val3 ;
15176 int ecode3 = 0 ;
15177 bool temp4 = false ;
15178 int val5 ;
15179 int ecode5 = 0 ;
15180 PyObject * obj0 = 0 ;
15181 PyObject * obj1 = 0 ;
15182 PyObject * obj2 = 0 ;
15183 PyObject * obj3 = 0 ;
15184 PyObject * obj4 = 0 ;
15185 char * kwnames[] = {
15186 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15187 };
15188
15189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15191 if (!SWIG_IsOK(res1)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15193 }
15194 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15196 if (!SWIG_IsOK(res2)) {
15197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15198 }
15199 arg2 = reinterpret_cast< wxWindow * >(argp2);
15200 ecode3 = SWIG_AsVal_int(obj2, &val3);
15201 if (!SWIG_IsOK(ecode3)) {
15202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15203 }
15204 arg3 = static_cast< int >(val3);
15205 if (obj3) {
15206 {
15207 arg4 = wxString_in_helper(obj3);
15208 if (arg4 == NULL) SWIG_fail;
15209 temp4 = true;
15210 }
15211 }
15212 if (obj4) {
15213 ecode5 = SWIG_AsVal_int(obj4, &val5);
15214 if (!SWIG_IsOK(ecode5)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15216 }
15217 arg5 = static_cast< int >(val5);
15218 }
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 {
15226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15227 }
15228 {
15229 if (temp4)
15230 delete arg4;
15231 }
15232 return resultobj;
15233 fail:
15234 {
15235 if (temp4)
15236 delete arg4;
15237 }
15238 return NULL;
15239 }
15240
15241
15242 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15243 PyObject *resultobj = 0;
15244 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15245 wxHtmlHelpData *result = 0 ;
15246 void *argp1 = 0 ;
15247 int res1 = 0 ;
15248 PyObject *swig_obj[1] ;
15249
15250 if (!args) SWIG_fail;
15251 swig_obj[0] = args;
15252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15253 if (!SWIG_IsOK(res1)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15255 }
15256 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 result = (wxHtmlHelpData *)(arg1)->GetData();
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15264 return resultobj;
15265 fail:
15266 return NULL;
15267 }
15268
15269
15270 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj = 0;
15272 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15273 wxString *arg2 = 0 ;
15274 void *argp1 = 0 ;
15275 int res1 = 0 ;
15276 bool temp2 = false ;
15277 PyObject * obj0 = 0 ;
15278 PyObject * obj1 = 0 ;
15279 char * kwnames[] = {
15280 (char *) "self",(char *) "format", NULL
15281 };
15282
15283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15285 if (!SWIG_IsOK(res1)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15287 }
15288 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15289 {
15290 arg2 = wxString_in_helper(obj1);
15291 if (arg2 == NULL) SWIG_fail;
15292 temp2 = true;
15293 }
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
15296 (arg1)->SetTitleFormat((wxString const &)*arg2);
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 resultobj = SWIG_Py_Void();
15301 {
15302 if (temp2)
15303 delete arg2;
15304 }
15305 return resultobj;
15306 fail:
15307 {
15308 if (temp2)
15309 delete arg2;
15310 }
15311 return NULL;
15312 }
15313
15314
15315 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15316 PyObject *resultobj = 0;
15317 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15318 void *argp1 = 0 ;
15319 int res1 = 0 ;
15320 PyObject *swig_obj[1] ;
15321
15322 if (!args) SWIG_fail;
15323 swig_obj[0] = args;
15324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15325 if (!SWIG_IsOK(res1)) {
15326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15327 }
15328 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 (arg1)->AddGrabIfNeeded();
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 resultobj = SWIG_Py_Void();
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15343 PyObject *resultobj = 0;
15344 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15345 wxHtmlHelpController *result = 0 ;
15346 void *argp1 = 0 ;
15347 int res1 = 0 ;
15348 PyObject *swig_obj[1] ;
15349
15350 if (!args) SWIG_fail;
15351 swig_obj[0] = args;
15352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15353 if (!SWIG_IsOK(res1)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15355 }
15356 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj = 0;
15372 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15373 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15374 void *argp1 = 0 ;
15375 int res1 = 0 ;
15376 int res2 = 0 ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 char * kwnames[] = {
15380 (char *) "self",(char *) "controller", NULL
15381 };
15382
15383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15385 if (!SWIG_IsOK(res1)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15387 }
15388 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15389 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15390 if (!SWIG_IsOK(res2)) {
15391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15392 }
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 (arg1)->SetController(arg2);
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 resultobj = SWIG_Py_Void();
15400 return resultobj;
15401 fail:
15402 return NULL;
15403 }
15404
15405
15406 SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15407 PyObject *resultobj = 0;
15408 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15409 wxHtmlHelpWindow *result = 0 ;
15410 void *argp1 = 0 ;
15411 int res1 = 0 ;
15412 PyObject *swig_obj[1] ;
15413
15414 if (!args) SWIG_fail;
15415 swig_obj[0] = args;
15416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15417 if (!SWIG_IsOK(res1)) {
15418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15419 }
15420 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15421 {
15422 PyThreadState* __tstate = wxPyBeginAllowThreads();
15423 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 {
15428 resultobj = wxPyMake_wxObject(result, 0);
15429 }
15430 return resultobj;
15431 fail:
15432 return NULL;
15433 }
15434
15435
15436 SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15437 PyObject *obj;
15438 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15439 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15440 return SWIG_Py_Void();
15441 }
15442
15443 SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15444 return SWIG_Python_InitShadowInstance(args);
15445 }
15446
15447 SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj = 0;
15449 wxWindow *arg1 = (wxWindow *) 0 ;
15450 int arg2 ;
15451 wxString const &arg3_defvalue = wxPyEmptyString ;
15452 wxString *arg3 = (wxString *) &arg3_defvalue ;
15453 int arg4 = (int) wxHF_DEFAULT_STYLE ;
15454 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15455 wxHtmlHelpDialog *result = 0 ;
15456 void *argp1 = 0 ;
15457 int res1 = 0 ;
15458 int val2 ;
15459 int ecode2 = 0 ;
15460 bool temp3 = false ;
15461 int val4 ;
15462 int ecode4 = 0 ;
15463 void *argp5 = 0 ;
15464 int res5 = 0 ;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
15467 PyObject * obj2 = 0 ;
15468 PyObject * obj3 = 0 ;
15469 PyObject * obj4 = 0 ;
15470 char * kwnames[] = {
15471 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15472 };
15473
15474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15476 if (!SWIG_IsOK(res1)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15478 }
15479 arg1 = reinterpret_cast< wxWindow * >(argp1);
15480 ecode2 = SWIG_AsVal_int(obj1, &val2);
15481 if (!SWIG_IsOK(ecode2)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15483 }
15484 arg2 = static_cast< int >(val2);
15485 if (obj2) {
15486 {
15487 arg3 = wxString_in_helper(obj2);
15488 if (arg3 == NULL) SWIG_fail;
15489 temp3 = true;
15490 }
15491 }
15492 if (obj3) {
15493 ecode4 = SWIG_AsVal_int(obj3, &val4);
15494 if (!SWIG_IsOK(ecode4)) {
15495 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15496 }
15497 arg4 = static_cast< int >(val4);
15498 }
15499 if (obj4) {
15500 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15501 if (!SWIG_IsOK(res5)) {
15502 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15503 }
15504 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15505 }
15506 {
15507 if (!wxPyCheckForApp()) SWIG_fail;
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15514 {
15515 if (temp3)
15516 delete arg3;
15517 }
15518 return resultobj;
15519 fail:
15520 {
15521 if (temp3)
15522 delete arg3;
15523 }
15524 return NULL;
15525 }
15526
15527
15528 SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj = 0;
15530 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15531 wxHtmlHelpDialog *result = 0 ;
15532 void *argp1 = 0 ;
15533 int res1 = 0 ;
15534 PyObject * obj0 = 0 ;
15535 char * kwnames[] = {
15536 (char *) "data", NULL
15537 };
15538
15539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15540 if (obj0) {
15541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15542 if (!SWIG_IsOK(res1)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15544 }
15545 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15546 }
15547 {
15548 if (!wxPyCheckForApp()) SWIG_fail;
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj = 0;
15563 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15564 wxWindow *arg2 = (wxWindow *) 0 ;
15565 int arg3 ;
15566 wxString const &arg4_defvalue = wxPyEmptyString ;
15567 wxString *arg4 = (wxString *) &arg4_defvalue ;
15568 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15569 bool result;
15570 void *argp1 = 0 ;
15571 int res1 = 0 ;
15572 void *argp2 = 0 ;
15573 int res2 = 0 ;
15574 int val3 ;
15575 int ecode3 = 0 ;
15576 bool temp4 = false ;
15577 int val5 ;
15578 int ecode5 = 0 ;
15579 PyObject * obj0 = 0 ;
15580 PyObject * obj1 = 0 ;
15581 PyObject * obj2 = 0 ;
15582 PyObject * obj3 = 0 ;
15583 PyObject * obj4 = 0 ;
15584 char * kwnames[] = {
15585 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15586 };
15587
15588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15590 if (!SWIG_IsOK(res1)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15592 }
15593 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15595 if (!SWIG_IsOK(res2)) {
15596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15597 }
15598 arg2 = reinterpret_cast< wxWindow * >(argp2);
15599 ecode3 = SWIG_AsVal_int(obj2, &val3);
15600 if (!SWIG_IsOK(ecode3)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15602 }
15603 arg3 = static_cast< int >(val3);
15604 if (obj3) {
15605 {
15606 arg4 = wxString_in_helper(obj3);
15607 if (arg4 == NULL) SWIG_fail;
15608 temp4 = true;
15609 }
15610 }
15611 if (obj4) {
15612 ecode5 = SWIG_AsVal_int(obj4, &val5);
15613 if (!SWIG_IsOK(ecode5)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15615 }
15616 arg5 = static_cast< int >(val5);
15617 }
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 {
15625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15626 }
15627 {
15628 if (temp4)
15629 delete arg4;
15630 }
15631 return resultobj;
15632 fail:
15633 {
15634 if (temp4)
15635 delete arg4;
15636 }
15637 return NULL;
15638 }
15639
15640
15641 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15642 PyObject *resultobj = 0;
15643 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15644 wxHtmlHelpData *result = 0 ;
15645 void *argp1 = 0 ;
15646 int res1 = 0 ;
15647 PyObject *swig_obj[1] ;
15648
15649 if (!args) SWIG_fail;
15650 swig_obj[0] = args;
15651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15652 if (!SWIG_IsOK(res1)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15654 }
15655 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 result = (wxHtmlHelpData *)(arg1)->GetData();
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15670 PyObject *resultobj = 0;
15671 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15672 wxHtmlHelpController *result = 0 ;
15673 void *argp1 = 0 ;
15674 int res1 = 0 ;
15675 PyObject *swig_obj[1] ;
15676
15677 if (!args) SWIG_fail;
15678 swig_obj[0] = args;
15679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15682 }
15683 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15684 {
15685 PyThreadState* __tstate = wxPyBeginAllowThreads();
15686 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15691 return resultobj;
15692 fail:
15693 return NULL;
15694 }
15695
15696
15697 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj = 0;
15699 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15700 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15701 void *argp1 = 0 ;
15702 int res1 = 0 ;
15703 int res2 = 0 ;
15704 PyObject * obj0 = 0 ;
15705 PyObject * obj1 = 0 ;
15706 char * kwnames[] = {
15707 (char *) "self",(char *) "controller", NULL
15708 };
15709
15710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15712 if (!SWIG_IsOK(res1)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15714 }
15715 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15716 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15717 if (!SWIG_IsOK(res2)) {
15718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15719 }
15720 {
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 (arg1)->SetController(arg2);
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 resultobj = SWIG_Py_Void();
15727 return resultobj;
15728 fail:
15729 return NULL;
15730 }
15731
15732
15733 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15734 PyObject *resultobj = 0;
15735 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15736 wxHtmlHelpWindow *result = 0 ;
15737 void *argp1 = 0 ;
15738 int res1 = 0 ;
15739 PyObject *swig_obj[1] ;
15740
15741 if (!args) SWIG_fail;
15742 swig_obj[0] = args;
15743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15746 }
15747 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 {
15755 resultobj = wxPyMake_wxObject(result, 0);
15756 }
15757 return resultobj;
15758 fail:
15759 return NULL;
15760 }
15761
15762
15763 SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj = 0;
15765 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15766 wxString *arg2 = 0 ;
15767 void *argp1 = 0 ;
15768 int res1 = 0 ;
15769 bool temp2 = false ;
15770 PyObject * obj0 = 0 ;
15771 PyObject * obj1 = 0 ;
15772 char * kwnames[] = {
15773 (char *) "self",(char *) "format", NULL
15774 };
15775
15776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15778 if (!SWIG_IsOK(res1)) {
15779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15780 }
15781 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15782 {
15783 arg2 = wxString_in_helper(obj1);
15784 if (arg2 == NULL) SWIG_fail;
15785 temp2 = true;
15786 }
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 (arg1)->SetTitleFormat((wxString const &)*arg2);
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 resultobj = SWIG_Py_Void();
15794 {
15795 if (temp2)
15796 delete arg2;
15797 }
15798 return resultobj;
15799 fail:
15800 {
15801 if (temp2)
15802 delete arg2;
15803 }
15804 return NULL;
15805 }
15806
15807
15808 SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15809 PyObject *obj;
15810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15811 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
15812 return SWIG_Py_Void();
15813 }
15814
15815 SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15816 return SWIG_Python_InitShadowInstance(args);
15817 }
15818
15819 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15820 PyObject *resultobj = 0;
15821 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15822 wxString *arg2 = 0 ;
15823 int arg3 ;
15824 bool result;
15825 void *argp1 = 0 ;
15826 int res1 = 0 ;
15827 bool temp2 = false ;
15828 int val3 ;
15829 int ecode3 = 0 ;
15830
15831 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
15832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15833 if (!SWIG_IsOK(res1)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15835 }
15836 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15837 {
15838 arg2 = wxString_in_helper(swig_obj[1]);
15839 if (arg2 == NULL) SWIG_fail;
15840 temp2 = true;
15841 }
15842 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
15843 if (!SWIG_IsOK(ecode3)) {
15844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15845 }
15846 arg3 = static_cast< int >(val3);
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 {
15854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15855 }
15856 {
15857 if (temp2)
15858 delete arg2;
15859 }
15860 return resultobj;
15861 fail:
15862 {
15863 if (temp2)
15864 delete arg2;
15865 }
15866 return NULL;
15867 }
15868
15869
15870 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15871 PyObject *resultobj = 0;
15872 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15873 wxString *arg2 = 0 ;
15874 bool result;
15875 void *argp1 = 0 ;
15876 int res1 = 0 ;
15877 bool temp2 = false ;
15878
15879 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
15880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15881 if (!SWIG_IsOK(res1)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15883 }
15884 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15885 {
15886 arg2 = wxString_in_helper(swig_obj[1]);
15887 if (arg2 == NULL) SWIG_fail;
15888 temp2 = true;
15889 }
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 {
15897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15898 }
15899 {
15900 if (temp2)
15901 delete arg2;
15902 }
15903 return resultobj;
15904 fail:
15905 {
15906 if (temp2)
15907 delete arg2;
15908 }
15909 return NULL;
15910 }
15911
15912
15913 SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
15914 int argc;
15915 PyObject *argv[4];
15916
15917 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
15918 --argc;
15919 if (argc == 2) {
15920 return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
15921 }
15922 if (argc == 3) {
15923 return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
15924 }
15925
15926 fail:
15927 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15928 return NULL;
15929 }
15930
15931
15932 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15933 PyObject *resultobj = 0;
15934 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15935 wxString *arg2 = 0 ;
15936 long arg3 = (long) 0 ;
15937 void *argp1 = 0 ;
15938 int res1 = 0 ;
15939 bool temp2 = false ;
15940 long val3 ;
15941 int ecode3 = 0 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 PyObject * obj2 = 0 ;
15945 char * kwnames[] = {
15946 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15947 };
15948
15949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15951 if (!SWIG_IsOK(res1)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15953 }
15954 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15955 {
15956 arg2 = wxString_in_helper(obj1);
15957 if (arg2 == NULL) SWIG_fail;
15958 temp2 = true;
15959 }
15960 if (obj2) {
15961 ecode3 = SWIG_AsVal_long(obj2, &val3);
15962 if (!SWIG_IsOK(ecode3)) {
15963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15964 }
15965 arg3 = static_cast< long >(val3);
15966 }
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 (arg1)->SetViewer((wxString const &)*arg2,arg3);
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 resultobj = SWIG_Py_Void();
15974 {
15975 if (temp2)
15976 delete arg2;
15977 }
15978 return resultobj;
15979 fail:
15980 {
15981 if (temp2)
15982 delete arg2;
15983 }
15984 return NULL;
15985 }
15986
15987
15988 SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj = 0;
15990 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15991 wxString const &arg2_defvalue = wxEmptyString ;
15992 wxString *arg2 = (wxString *) &arg2_defvalue ;
15993 bool result;
15994 void *argp1 = 0 ;
15995 int res1 = 0 ;
15996 bool temp2 = false ;
15997 PyObject * obj0 = 0 ;
15998 PyObject * obj1 = 0 ;
15999 char * kwnames[] = {
16000 (char *) "self",(char *) "file", NULL
16001 };
16002
16003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
16004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16005 if (!SWIG_IsOK(res1)) {
16006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16007 }
16008 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16009 if (obj1) {
16010 {
16011 arg2 = wxString_in_helper(obj1);
16012 if (arg2 == NULL) SWIG_fail;
16013 temp2 = true;
16014 }
16015 }
16016 {
16017 PyThreadState* __tstate = wxPyBeginAllowThreads();
16018 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16019 wxPyEndAllowThreads(__tstate);
16020 if (PyErr_Occurred()) SWIG_fail;
16021 }
16022 {
16023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16024 }
16025 {
16026 if (temp2)
16027 delete arg2;
16028 }
16029 return resultobj;
16030 fail:
16031 {
16032 if (temp2)
16033 delete arg2;
16034 }
16035 return NULL;
16036 }
16037
16038
16039 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16040 PyObject *resultobj = 0;
16041 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16042 bool result;
16043 void *argp1 = 0 ;
16044 int res1 = 0 ;
16045 PyObject *swig_obj[1] ;
16046
16047 if (!args) SWIG_fail;
16048 swig_obj[0] = args;
16049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16050 if (!SWIG_IsOK(res1)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16052 }
16053 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 result = (bool)(arg1)->DisplayContents();
16057 wxPyEndAllowThreads(__tstate);
16058 if (PyErr_Occurred()) SWIG_fail;
16059 }
16060 {
16061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16062 }
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16070 PyObject *resultobj = 0;
16071 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16072 int arg2 ;
16073 bool result;
16074 void *argp1 = 0 ;
16075 int res1 = 0 ;
16076 int val2 ;
16077 int ecode2 = 0 ;
16078
16079 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16081 if (!SWIG_IsOK(res1)) {
16082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16083 }
16084 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16085 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16086 if (!SWIG_IsOK(ecode2)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16088 }
16089 arg2 = static_cast< int >(val2);
16090 {
16091 PyThreadState* __tstate = wxPyBeginAllowThreads();
16092 result = (bool)(arg1)->DisplaySection(arg2);
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16098 }
16099 return resultobj;
16100 fail:
16101 return NULL;
16102 }
16103
16104
16105 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj = 0;
16107 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16108 int arg2 ;
16109 bool result;
16110 void *argp1 = 0 ;
16111 int res1 = 0 ;
16112 int val2 ;
16113 int ecode2 = 0 ;
16114 PyObject * obj0 = 0 ;
16115 PyObject * obj1 = 0 ;
16116 char * kwnames[] = {
16117 (char *) "self",(char *) "contextId", NULL
16118 };
16119
16120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16122 if (!SWIG_IsOK(res1)) {
16123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16124 }
16125 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16126 ecode2 = SWIG_AsVal_int(obj1, &val2);
16127 if (!SWIG_IsOK(ecode2)) {
16128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16129 }
16130 arg2 = static_cast< int >(val2);
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 result = (bool)(arg1)->DisplayContextPopup(arg2);
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 {
16138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16139 }
16140 return resultobj;
16141 fail:
16142 return NULL;
16143 }
16144
16145
16146 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16147 PyObject *resultobj = 0;
16148 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16149 wxString *arg2 = 0 ;
16150 wxPoint *arg3 = 0 ;
16151 bool result;
16152 void *argp1 = 0 ;
16153 int res1 = 0 ;
16154 bool temp2 = false ;
16155 wxPoint temp3 ;
16156 PyObject * obj0 = 0 ;
16157 PyObject * obj1 = 0 ;
16158 PyObject * obj2 = 0 ;
16159 char * kwnames[] = {
16160 (char *) "self",(char *) "text",(char *) "pos", NULL
16161 };
16162
16163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16165 if (!SWIG_IsOK(res1)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16167 }
16168 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16169 {
16170 arg2 = wxString_in_helper(obj1);
16171 if (arg2 == NULL) SWIG_fail;
16172 temp2 = true;
16173 }
16174 {
16175 arg3 = &temp3;
16176 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16177 }
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 {
16185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16186 }
16187 {
16188 if (temp2)
16189 delete arg2;
16190 }
16191 return resultobj;
16192 fail:
16193 {
16194 if (temp2)
16195 delete arg2;
16196 }
16197 return NULL;
16198 }
16199
16200
16201 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16202 PyObject *resultobj = 0;
16203 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16204 wxString *arg2 = 0 ;
16205 bool result;
16206 void *argp1 = 0 ;
16207 int res1 = 0 ;
16208 bool temp2 = false ;
16209
16210 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16212 if (!SWIG_IsOK(res1)) {
16213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16214 }
16215 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16216 {
16217 arg2 = wxString_in_helper(swig_obj[1]);
16218 if (arg2 == NULL) SWIG_fail;
16219 temp2 = true;
16220 }
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 {
16228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16229 }
16230 {
16231 if (temp2)
16232 delete arg2;
16233 }
16234 return resultobj;
16235 fail:
16236 {
16237 if (temp2)
16238 delete arg2;
16239 }
16240 return NULL;
16241 }
16242
16243
16244 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16245 int argc;
16246 PyObject *argv[3];
16247
16248 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16249 --argc;
16250 if (argc == 2) {
16251 int _v = 0;
16252 {
16253 {
16254 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16255 }
16256 }
16257 if (!_v) goto check_1;
16258 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16259 }
16260 check_1:
16261
16262 if (argc == 2) {
16263 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16264 }
16265
16266 fail:
16267 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16268 return NULL;
16269 }
16270
16271
16272 SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj = 0;
16274 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16275 long arg2 ;
16276 bool result;
16277 void *argp1 = 0 ;
16278 int res1 = 0 ;
16279 long val2 ;
16280 int ecode2 = 0 ;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 char * kwnames[] = {
16284 (char *) "self",(char *) "blockNo", NULL
16285 };
16286
16287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16289 if (!SWIG_IsOK(res1)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16291 }
16292 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16293 ecode2 = SWIG_AsVal_long(obj1, &val2);
16294 if (!SWIG_IsOK(ecode2)) {
16295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16296 }
16297 arg2 = static_cast< long >(val2);
16298 {
16299 PyThreadState* __tstate = wxPyBeginAllowThreads();
16300 result = (bool)(arg1)->DisplayBlock(arg2);
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 {
16305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16306 }
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj = 0;
16315 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16316 wxString *arg2 = 0 ;
16317 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16318 bool result;
16319 void *argp1 = 0 ;
16320 int res1 = 0 ;
16321 bool temp2 = false ;
16322 void *argp3 ;
16323 int res3 = 0 ;
16324 PyObject * obj0 = 0 ;
16325 PyObject * obj1 = 0 ;
16326 PyObject * obj2 = 0 ;
16327 char * kwnames[] = {
16328 (char *) "self",(char *) "k",(char *) "mode", NULL
16329 };
16330
16331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16333 if (!SWIG_IsOK(res1)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16335 }
16336 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16337 {
16338 arg2 = wxString_in_helper(obj1);
16339 if (arg2 == NULL) SWIG_fail;
16340 temp2 = true;
16341 }
16342 if (obj2) {
16343 {
16344 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16345 if (!SWIG_IsOK(res3)) {
16346 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16347 }
16348 if (!argp3) {
16349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16350 } else {
16351 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16352 arg3 = *temp;
16353 if (SWIG_IsNewObj(res3)) delete temp;
16354 }
16355 }
16356 }
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 {
16364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16365 }
16366 {
16367 if (temp2)
16368 delete arg2;
16369 }
16370 return resultobj;
16371 fail:
16372 {
16373 if (temp2)
16374 delete arg2;
16375 }
16376 return NULL;
16377 }
16378
16379
16380 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj = 0;
16382 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16383 wxString *arg2 = 0 ;
16384 wxSize *arg3 = 0 ;
16385 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16386 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16387 bool arg5 = (bool) false ;
16388 void *argp1 = 0 ;
16389 int res1 = 0 ;
16390 bool temp2 = false ;
16391 wxSize temp3 ;
16392 wxPoint temp4 ;
16393 bool val5 ;
16394 int ecode5 = 0 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 PyObject * obj2 = 0 ;
16398 PyObject * obj3 = 0 ;
16399 PyObject * obj4 = 0 ;
16400 char * kwnames[] = {
16401 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16402 };
16403
16404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16406 if (!SWIG_IsOK(res1)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16408 }
16409 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16410 {
16411 arg2 = wxString_in_helper(obj1);
16412 if (arg2 == NULL) SWIG_fail;
16413 temp2 = true;
16414 }
16415 {
16416 arg3 = &temp3;
16417 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16418 }
16419 if (obj3) {
16420 {
16421 arg4 = &temp4;
16422 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16423 }
16424 }
16425 if (obj4) {
16426 ecode5 = SWIG_AsVal_bool(obj4, &val5);
16427 if (!SWIG_IsOK(ecode5)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16429 }
16430 arg5 = static_cast< bool >(val5);
16431 }
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16435 wxPyEndAllowThreads(__tstate);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 resultobj = SWIG_Py_Void();
16439 {
16440 if (temp2)
16441 delete arg2;
16442 }
16443 return resultobj;
16444 fail:
16445 {
16446 if (temp2)
16447 delete arg2;
16448 }
16449 return NULL;
16450 }
16451
16452
16453 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16454 PyObject *resultobj = 0;
16455 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16456 wxSize *arg2 = (wxSize *) NULL ;
16457 wxPoint *arg3 = (wxPoint *) NULL ;
16458 bool *arg4 = (bool *) NULL ;
16459 wxFrame *result = 0 ;
16460 void *argp1 = 0 ;
16461 int res1 = 0 ;
16462 void *argp2 = 0 ;
16463 int res2 = 0 ;
16464 void *argp3 = 0 ;
16465 int res3 = 0 ;
16466 void *argp4 = 0 ;
16467 int res4 = 0 ;
16468 PyObject * obj0 = 0 ;
16469 PyObject * obj1 = 0 ;
16470 PyObject * obj2 = 0 ;
16471 PyObject * obj3 = 0 ;
16472 char * kwnames[] = {
16473 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16474 };
16475
16476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16478 if (!SWIG_IsOK(res1)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16480 }
16481 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16482 if (obj1) {
16483 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
16484 if (!SWIG_IsOK(res2)) {
16485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16486 }
16487 arg2 = reinterpret_cast< wxSize * >(argp2);
16488 }
16489 if (obj2) {
16490 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
16491 if (!SWIG_IsOK(res3)) {
16492 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16493 }
16494 arg3 = reinterpret_cast< wxPoint * >(argp3);
16495 }
16496 if (obj3) {
16497 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
16498 if (!SWIG_IsOK(res4)) {
16499 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16500 }
16501 arg4 = reinterpret_cast< bool * >(argp4);
16502 }
16503 {
16504 PyThreadState* __tstate = wxPyBeginAllowThreads();
16505 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
16506 wxPyEndAllowThreads(__tstate);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 }
16509 {
16510 resultobj = wxPyMake_wxObject(result, 0);
16511 }
16512 return resultobj;
16513 fail:
16514 return NULL;
16515 }
16516
16517
16518 SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16519 PyObject *resultobj = 0;
16520 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16521 bool result;
16522 void *argp1 = 0 ;
16523 int res1 = 0 ;
16524 PyObject *swig_obj[1] ;
16525
16526 if (!args) SWIG_fail;
16527 swig_obj[0] = args;
16528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16529 if (!SWIG_IsOK(res1)) {
16530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16531 }
16532 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (bool)(arg1)->Quit();
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 {
16540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16541 }
16542 return resultobj;
16543 fail:
16544 return NULL;
16545 }
16546
16547
16548 SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16549 PyObject *resultobj = 0;
16550 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16551 void *argp1 = 0 ;
16552 int res1 = 0 ;
16553 PyObject *swig_obj[1] ;
16554
16555 if (!args) SWIG_fail;
16556 swig_obj[0] = args;
16557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16558 if (!SWIG_IsOK(res1)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16560 }
16561 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 (arg1)->OnQuit();
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 resultobj = SWIG_Py_Void();
16569 return resultobj;
16570 fail:
16571 return NULL;
16572 }
16573
16574
16575 SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj = 0;
16577 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16578 wxWindow *arg2 = (wxWindow *) 0 ;
16579 void *argp1 = 0 ;
16580 int res1 = 0 ;
16581 void *argp2 = 0 ;
16582 int res2 = 0 ;
16583 PyObject * obj0 = 0 ;
16584 PyObject * obj1 = 0 ;
16585 char * kwnames[] = {
16586 (char *) "self",(char *) "win", NULL
16587 };
16588
16589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16591 if (!SWIG_IsOK(res1)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16593 }
16594 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16595 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16596 if (!SWIG_IsOK(res2)) {
16597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16598 }
16599 arg2 = reinterpret_cast< wxWindow * >(argp2);
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 (arg1)->SetParentWindow(arg2);
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 resultobj = SWIG_Py_Void();
16607 return resultobj;
16608 fail:
16609 return NULL;
16610 }
16611
16612
16613 SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16614 PyObject *resultobj = 0;
16615 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16616 wxWindow *result = 0 ;
16617 void *argp1 = 0 ;
16618 int res1 = 0 ;
16619 PyObject *swig_obj[1] ;
16620
16621 if (!args) SWIG_fail;
16622 swig_obj[0] = args;
16623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16624 if (!SWIG_IsOK(res1)) {
16625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16626 }
16627 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 {
16635 resultobj = wxPyMake_wxObject(result, 0);
16636 }
16637 return resultobj;
16638 fail:
16639 return NULL;
16640 }
16641
16642
16643 SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16644 PyObject *obj;
16645 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16646 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16647 return SWIG_Py_Void();
16648 }
16649
16650 SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj = 0;
16652 int arg1 = (int) wxHF_DEFAULT_STYLE ;
16653 wxWindow *arg2 = (wxWindow *) NULL ;
16654 wxHtmlHelpController *result = 0 ;
16655 int val1 ;
16656 int ecode1 = 0 ;
16657 void *argp2 = 0 ;
16658 int res2 = 0 ;
16659 PyObject * obj0 = 0 ;
16660 PyObject * obj1 = 0 ;
16661 char * kwnames[] = {
16662 (char *) "style",(char *) "parentWindow", NULL
16663 };
16664
16665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16666 if (obj0) {
16667 ecode1 = SWIG_AsVal_int(obj0, &val1);
16668 if (!SWIG_IsOK(ecode1)) {
16669 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16670 }
16671 arg1 = static_cast< int >(val1);
16672 }
16673 if (obj1) {
16674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16675 if (!SWIG_IsOK(res2)) {
16676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16677 }
16678 arg2 = reinterpret_cast< wxWindow * >(argp2);
16679 }
16680 {
16681 if (!wxPyCheckForApp()) SWIG_fail;
16682 PyThreadState* __tstate = wxPyBeginAllowThreads();
16683 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16688 return resultobj;
16689 fail:
16690 return NULL;
16691 }
16692
16693
16694 SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16695 PyObject *resultobj = 0;
16696 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16697 void *argp1 = 0 ;
16698 int res1 = 0 ;
16699 PyObject *swig_obj[1] ;
16700
16701 if (!args) SWIG_fail;
16702 swig_obj[0] = args;
16703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16704 if (!SWIG_IsOK(res1)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16706 }
16707 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16708 {
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 delete arg1;
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 resultobj = SWIG_Py_Void();
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16723 PyObject *resultobj = 0;
16724 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16725 wxHtmlHelpWindow *result = 0 ;
16726 void *argp1 = 0 ;
16727 int res1 = 0 ;
16728 PyObject *swig_obj[1] ;
16729
16730 if (!args) SWIG_fail;
16731 swig_obj[0] = args;
16732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16733 if (!SWIG_IsOK(res1)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16735 }
16736 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744 resultobj = wxPyMake_wxObject(result, 0);
16745 }
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj = 0;
16754 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16755 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
16756 void *argp1 = 0 ;
16757 int res1 = 0 ;
16758 void *argp2 = 0 ;
16759 int res2 = 0 ;
16760 PyObject * obj0 = 0 ;
16761 PyObject * obj1 = 0 ;
16762 char * kwnames[] = {
16763 (char *) "self",(char *) "helpWindow", NULL
16764 };
16765
16766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16768 if (!SWIG_IsOK(res1)) {
16769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16770 }
16771 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16772 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
16773 if (!SWIG_IsOK(res2)) {
16774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16775 }
16776 arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
16777 {
16778 PyThreadState* __tstate = wxPyBeginAllowThreads();
16779 (arg1)->SetHelpWindow(arg2);
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 resultobj = SWIG_Py_Void();
16784 return resultobj;
16785 fail:
16786 return NULL;
16787 }
16788
16789
16790 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16791 PyObject *resultobj = 0;
16792 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16793 wxHtmlHelpFrame *result = 0 ;
16794 void *argp1 = 0 ;
16795 int res1 = 0 ;
16796 PyObject *swig_obj[1] ;
16797
16798 if (!args) SWIG_fail;
16799 swig_obj[0] = args;
16800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16801 if (!SWIG_IsOK(res1)) {
16802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16803 }
16804 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 {
16812 resultobj = wxPyMake_wxObject(result, 0);
16813 }
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16821 PyObject *resultobj = 0;
16822 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16823 wxHtmlHelpDialog *result = 0 ;
16824 void *argp1 = 0 ;
16825 int res1 = 0 ;
16826 PyObject *swig_obj[1] ;
16827
16828 if (!args) SWIG_fail;
16829 swig_obj[0] = args;
16830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16831 if (!SWIG_IsOK(res1)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16833 }
16834 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 {
16842 resultobj = wxPyMake_wxObject(result, 0);
16843 }
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj = 0;
16852 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16853 wxString *arg2 = 0 ;
16854 void *argp1 = 0 ;
16855 int res1 = 0 ;
16856 bool temp2 = false ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 char * kwnames[] = {
16860 (char *) "self",(char *) "format", NULL
16861 };
16862
16863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
16864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16865 if (!SWIG_IsOK(res1)) {
16866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16867 }
16868 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16869 {
16870 arg2 = wxString_in_helper(obj1);
16871 if (arg2 == NULL) SWIG_fail;
16872 temp2 = true;
16873 }
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 (arg1)->SetTitleFormat((wxString const &)*arg2);
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 resultobj = SWIG_Py_Void();
16881 {
16882 if (temp2)
16883 delete arg2;
16884 }
16885 return resultobj;
16886 fail:
16887 {
16888 if (temp2)
16889 delete arg2;
16890 }
16891 return NULL;
16892 }
16893
16894
16895 SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16896 PyObject *resultobj = 0;
16897 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16898 wxString *arg2 = 0 ;
16899 void *argp1 = 0 ;
16900 int res1 = 0 ;
16901 bool temp2 = false ;
16902 PyObject * obj0 = 0 ;
16903 PyObject * obj1 = 0 ;
16904 char * kwnames[] = {
16905 (char *) "self",(char *) "path", NULL
16906 };
16907
16908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
16909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16910 if (!SWIG_IsOK(res1)) {
16911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16912 }
16913 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16914 {
16915 arg2 = wxString_in_helper(obj1);
16916 if (arg2 == NULL) SWIG_fail;
16917 temp2 = true;
16918 }
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 (arg1)->SetTempDir((wxString const &)*arg2);
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 resultobj = SWIG_Py_Void();
16926 {
16927 if (temp2)
16928 delete arg2;
16929 }
16930 return resultobj;
16931 fail:
16932 {
16933 if (temp2)
16934 delete arg2;
16935 }
16936 return NULL;
16937 }
16938
16939
16940 SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16941 PyObject *resultobj = 0;
16942 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16943 wxString *arg2 = 0 ;
16944 int arg3 = (int) false ;
16945 bool result;
16946 void *argp1 = 0 ;
16947 int res1 = 0 ;
16948 bool temp2 = false ;
16949 int val3 ;
16950 int ecode3 = 0 ;
16951 PyObject * obj0 = 0 ;
16952 PyObject * obj1 = 0 ;
16953 PyObject * obj2 = 0 ;
16954 char * kwnames[] = {
16955 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16956 };
16957
16958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16960 if (!SWIG_IsOK(res1)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16962 }
16963 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16964 {
16965 arg2 = wxString_in_helper(obj1);
16966 if (arg2 == NULL) SWIG_fail;
16967 temp2 = true;
16968 }
16969 if (obj2) {
16970 ecode3 = SWIG_AsVal_int(obj2, &val3);
16971 if (!SWIG_IsOK(ecode3)) {
16972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16973 }
16974 arg3 = static_cast< int >(val3);
16975 }
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 {
16983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16984 }
16985 {
16986 if (temp2)
16987 delete arg2;
16988 }
16989 return resultobj;
16990 fail:
16991 {
16992 if (temp2)
16993 delete arg2;
16994 }
16995 return NULL;
16996 }
16997
16998
16999 SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj = 0;
17001 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17002 wxString *arg2 = 0 ;
17003 void *argp1 = 0 ;
17004 int res1 = 0 ;
17005 bool temp2 = false ;
17006 PyObject * obj0 = 0 ;
17007 PyObject * obj1 = 0 ;
17008 char * kwnames[] = {
17009 (char *) "self",(char *) "x", NULL
17010 };
17011
17012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17014 if (!SWIG_IsOK(res1)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17016 }
17017 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17018 {
17019 arg2 = wxString_in_helper(obj1);
17020 if (arg2 == NULL) SWIG_fail;
17021 temp2 = true;
17022 }
17023 {
17024 PyThreadState* __tstate = wxPyBeginAllowThreads();
17025 (arg1)->Display((wxString const &)*arg2);
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 resultobj = SWIG_Py_Void();
17030 {
17031 if (temp2)
17032 delete arg2;
17033 }
17034 return resultobj;
17035 fail:
17036 {
17037 if (temp2)
17038 delete arg2;
17039 }
17040 return NULL;
17041 }
17042
17043
17044 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17045 PyObject *resultobj = 0;
17046 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17047 int arg2 ;
17048 void *argp1 = 0 ;
17049 int res1 = 0 ;
17050 int val2 ;
17051 int ecode2 = 0 ;
17052 PyObject * obj0 = 0 ;
17053 PyObject * obj1 = 0 ;
17054 char * kwnames[] = {
17055 (char *) "self",(char *) "id", NULL
17056 };
17057
17058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17060 if (!SWIG_IsOK(res1)) {
17061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17062 }
17063 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17064 ecode2 = SWIG_AsVal_int(obj1, &val2);
17065 if (!SWIG_IsOK(ecode2)) {
17066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17067 }
17068 arg2 = static_cast< int >(val2);
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 (arg1)->Display(arg2);
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 resultobj = SWIG_Py_Void();
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17083 PyObject *resultobj = 0;
17084 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17085 void *argp1 = 0 ;
17086 int res1 = 0 ;
17087 PyObject *swig_obj[1] ;
17088
17089 if (!args) SWIG_fail;
17090 swig_obj[0] = args;
17091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17092 if (!SWIG_IsOK(res1)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17094 }
17095 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 (arg1)->DisplayContents();
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 resultobj = SWIG_Py_Void();
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17110 PyObject *resultobj = 0;
17111 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17112 void *argp1 = 0 ;
17113 int res1 = 0 ;
17114 PyObject *swig_obj[1] ;
17115
17116 if (!args) SWIG_fail;
17117 swig_obj[0] = args;
17118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17119 if (!SWIG_IsOK(res1)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17121 }
17122 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 (arg1)->DisplayIndex();
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 resultobj = SWIG_Py_Void();
17130 return resultobj;
17131 fail:
17132 return NULL;
17133 }
17134
17135
17136 SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17137 PyObject *resultobj = 0;
17138 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17139 wxString *arg2 = 0 ;
17140 bool result;
17141 void *argp1 = 0 ;
17142 int res1 = 0 ;
17143 bool temp2 = false ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 char * kwnames[] = {
17147 (char *) "self",(char *) "keyword", NULL
17148 };
17149
17150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17152 if (!SWIG_IsOK(res1)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17154 }
17155 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17156 {
17157 arg2 = wxString_in_helper(obj1);
17158 if (arg2 == NULL) SWIG_fail;
17159 temp2 = true;
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 {
17168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17169 }
17170 {
17171 if (temp2)
17172 delete arg2;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp2)
17178 delete arg2;
17179 }
17180 return NULL;
17181 }
17182
17183
17184 SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj = 0;
17186 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17187 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17188 wxString const &arg3_defvalue = wxPyEmptyString ;
17189 wxString *arg3 = (wxString *) &arg3_defvalue ;
17190 void *argp1 = 0 ;
17191 int res1 = 0 ;
17192 void *argp2 = 0 ;
17193 int res2 = 0 ;
17194 bool temp3 = false ;
17195 PyObject * obj0 = 0 ;
17196 PyObject * obj1 = 0 ;
17197 PyObject * obj2 = 0 ;
17198 char * kwnames[] = {
17199 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17200 };
17201
17202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17204 if (!SWIG_IsOK(res1)) {
17205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17206 }
17207 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17208 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17209 if (!SWIG_IsOK(res2)) {
17210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17211 }
17212 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17213 if (obj2) {
17214 {
17215 arg3 = wxString_in_helper(obj2);
17216 if (arg3 == NULL) SWIG_fail;
17217 temp3 = true;
17218 }
17219 }
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
17223 wxPyEndAllowThreads(__tstate);
17224 if (PyErr_Occurred()) SWIG_fail;
17225 }
17226 resultobj = SWIG_Py_Void();
17227 {
17228 if (temp3)
17229 delete arg3;
17230 }
17231 return resultobj;
17232 fail:
17233 {
17234 if (temp3)
17235 delete arg3;
17236 }
17237 return NULL;
17238 }
17239
17240
17241 SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17242 PyObject *resultobj = 0;
17243 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17244 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17245 wxString arg3 = (wxString) wxPyEmptyString ;
17246 void *argp1 = 0 ;
17247 int res1 = 0 ;
17248 void *argp2 = 0 ;
17249 int res2 = 0 ;
17250 PyObject * obj0 = 0 ;
17251 PyObject * obj1 = 0 ;
17252 PyObject * obj2 = 0 ;
17253 char * kwnames[] = {
17254 (char *) "self",(char *) "cfg",(char *) "path", NULL
17255 };
17256
17257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17259 if (!SWIG_IsOK(res1)) {
17260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17261 }
17262 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17263 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17264 if (!SWIG_IsOK(res2)) {
17265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17266 }
17267 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17268 if (obj2) {
17269 {
17270 wxString* sptr = wxString_in_helper(obj2);
17271 if (sptr == NULL) SWIG_fail;
17272 arg3 = *sptr;
17273 delete sptr;
17274 }
17275 }
17276 {
17277 PyThreadState* __tstate = wxPyBeginAllowThreads();
17278 (arg1)->ReadCustomization(arg2,arg3);
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 resultobj = SWIG_Py_Void();
17283 return resultobj;
17284 fail:
17285 return NULL;
17286 }
17287
17288
17289 SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj = 0;
17291 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17292 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17293 wxString arg3 = (wxString) wxPyEmptyString ;
17294 void *argp1 = 0 ;
17295 int res1 = 0 ;
17296 void *argp2 = 0 ;
17297 int res2 = 0 ;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 PyObject * obj2 = 0 ;
17301 char * kwnames[] = {
17302 (char *) "self",(char *) "cfg",(char *) "path", NULL
17303 };
17304
17305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17307 if (!SWIG_IsOK(res1)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17309 }
17310 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17311 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17312 if (!SWIG_IsOK(res2)) {
17313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17314 }
17315 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17316 if (obj2) {
17317 {
17318 wxString* sptr = wxString_in_helper(obj2);
17319 if (sptr == NULL) SWIG_fail;
17320 arg3 = *sptr;
17321 delete sptr;
17322 }
17323 }
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 (arg1)->WriteCustomization(arg2,arg3);
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 resultobj = SWIG_Py_Void();
17331 return resultobj;
17332 fail:
17333 return NULL;
17334 }
17335
17336
17337 SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17338 PyObject *resultobj = 0;
17339 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17340 void *argp1 = 0 ;
17341 int res1 = 0 ;
17342 PyObject *swig_obj[1] ;
17343
17344 if (!args) SWIG_fail;
17345 swig_obj[0] = args;
17346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17347 if (!SWIG_IsOK(res1)) {
17348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17349 }
17350 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 (arg1)->MakeModalIfNeeded();
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 resultobj = SWIG_Py_Void();
17358 return resultobj;
17359 fail:
17360 return NULL;
17361 }
17362
17363
17364 SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17365 PyObject *resultobj = 0;
17366 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17367 wxWindow *result = 0 ;
17368 void *argp1 = 0 ;
17369 int res1 = 0 ;
17370 PyObject *swig_obj[1] ;
17371
17372 if (!args) SWIG_fail;
17373 swig_obj[0] = args;
17374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17375 if (!SWIG_IsOK(res1)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17377 }
17378 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = (wxWindow *)(arg1)->FindTopLevelWindow();
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 {
17386 resultobj = wxPyMake_wxObject(result, 0);
17387 }
17388 return resultobj;
17389 fail:
17390 return NULL;
17391 }
17392
17393
17394 SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17395 PyObject *obj;
17396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17397 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17398 return SWIG_Py_Void();
17399 }
17400
17401 SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17402 return SWIG_Python_InitShadowInstance(args);
17403 }
17404
17405 SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj = 0;
17407 wxWindow *arg1 = (wxWindow *) 0 ;
17408 wxString *arg2 = 0 ;
17409 wxString const &arg3_defvalue = wxEmptyString ;
17410 wxString *arg3 = (wxString *) &arg3_defvalue ;
17411 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17412 wxHtmlModalHelp *result = 0 ;
17413 void *argp1 = 0 ;
17414 int res1 = 0 ;
17415 bool temp2 = false ;
17416 bool temp3 = false ;
17417 int val4 ;
17418 int ecode4 = 0 ;
17419 PyObject * obj0 = 0 ;
17420 PyObject * obj1 = 0 ;
17421 PyObject * obj2 = 0 ;
17422 PyObject * obj3 = 0 ;
17423 char * kwnames[] = {
17424 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17425 };
17426
17427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17429 if (!SWIG_IsOK(res1)) {
17430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17431 }
17432 arg1 = reinterpret_cast< wxWindow * >(argp1);
17433 {
17434 arg2 = wxString_in_helper(obj1);
17435 if (arg2 == NULL) SWIG_fail;
17436 temp2 = true;
17437 }
17438 if (obj2) {
17439 {
17440 arg3 = wxString_in_helper(obj2);
17441 if (arg3 == NULL) SWIG_fail;
17442 temp3 = true;
17443 }
17444 }
17445 if (obj3) {
17446 ecode4 = SWIG_AsVal_int(obj3, &val4);
17447 if (!SWIG_IsOK(ecode4)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17449 }
17450 arg4 = static_cast< int >(val4);
17451 }
17452 {
17453 PyThreadState* __tstate = wxPyBeginAllowThreads();
17454 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17455 wxPyEndAllowThreads(__tstate);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17459 {
17460 if (temp2)
17461 delete arg2;
17462 }
17463 {
17464 if (temp3)
17465 delete arg3;
17466 }
17467 return resultobj;
17468 fail:
17469 {
17470 if (temp2)
17471 delete arg2;
17472 }
17473 {
17474 if (temp3)
17475 delete arg3;
17476 }
17477 return NULL;
17478 }
17479
17480
17481 SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17482 PyObject *obj;
17483 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17484 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17485 return SWIG_Py_Void();
17486 }
17487
17488 SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17489 return SWIG_Python_InitShadowInstance(args);
17490 }
17491
17492 static PyMethodDef SwigMethods[] = {
17493 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17494 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17495 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17496 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17497 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
17498 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17499 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17500 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
17501 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17502 { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
17503 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17504 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
17505 { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17506 { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17507 { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17508 { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17509 { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
17510 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17511 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
17512 { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
17513 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17514 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
17515 { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
17516 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
17517 { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
17518 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17519 { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
17520 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17521 { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
17522 { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
17523 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17524 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17525 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17526 { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17527 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17528 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
17529 { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
17530 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
17531 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17532 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17533 { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17534 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
17535 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
17536 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17537 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
17538 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
17539 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
17540 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
17541 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
17542 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17543 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
17544 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
17545 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
17546 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
17547 { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
17548 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17549 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
17550 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
17551 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
17552 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17553 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17554 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17555 { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
17556 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
17557 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17558 { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
17559 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17560 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17561 { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
17562 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17563 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
17564 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17565 { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
17566 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17567 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
17568 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
17569 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17570 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
17571 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
17572 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
17573 { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17574 { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
17575 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17576 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
17577 { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17578 { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17579 { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17580 { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17581 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17582 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
17583 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17584 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17585 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17586 { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
17587 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
17588 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17589 { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17590 { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
17591 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
17592 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
17593 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17594 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
17595 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17596 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
17597 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
17598 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
17599 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17600 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17601 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17602 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
17603 { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17604 { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
17605 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17606 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
17607 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17608 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17609 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
17610 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
17611 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17612 { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17613 { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17614 { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17615 { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17616 { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17617 { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17618 { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17619 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17620 { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
17621 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17622 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17623 { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17624 { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17625 { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
17626 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17627 { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
17628 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
17629 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17630 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17631 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17632 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17633 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17634 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17635 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17636 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
17637 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
17638 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
17639 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17640 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
17641 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
17642 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17643 { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
17644 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17645 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17646 { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
17647 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17648 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17649 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
17650 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
17651 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
17652 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17653 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
17654 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
17655 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
17656 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
17657 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17658 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17659 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
17660 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
17661 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
17662 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
17663 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17664 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17665 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17666 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17667 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17668 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17669 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17670 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17671 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
17672 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
17673 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
17674 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
17675 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
17676 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17677 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
17678 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
17679 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17680 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
17681 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
17682 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17683 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
17684 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17685 { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
17686 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17687 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
17688 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
17689 { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17690 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17691 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17692 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17693 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17694 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17695 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17697 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
17698 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17699 { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
17700 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17701 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17702 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17703 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17704 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17705 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
17706 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17707 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17708 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
17709 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17710 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
17711 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
17712 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17713 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17714 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
17715 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17716 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17717 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17718 { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
17719 { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
17720 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
17721 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
17722 { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
17723 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
17724 { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
17725 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17726 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17727 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17728 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
17729 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
17730 { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
17731 { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
17732 { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
17733 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17734 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17735 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
17736 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17737 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
17738 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
17739 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17740 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
17741 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
17742 { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
17743 { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
17744 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17745 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17746 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17747 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17748 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17749 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
17750 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
17751 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
17752 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
17753 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
17754 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17755 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
17756 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17757 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17758 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17759 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17760 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17761 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17762 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
17763 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
17764 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
17765 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
17766 { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
17767 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
17768 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
17769 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
17770 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
17771 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
17772 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17773 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17774 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17775 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17776 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
17777 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
17778 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
17779 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
17780 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17781 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
17782 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
17783 { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
17784 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
17785 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
17786 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
17787 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
17788 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17789 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
17790 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17791 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
17792 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
17793 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
17794 { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
17795 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
17796 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
17797 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
17798 { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
17799 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
17800 { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
17801 { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
17802 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17803 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17804 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
17805 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
17806 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
17807 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
17808 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
17809 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17810 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17811 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17812 { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
17813 { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
17814 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17815 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17816 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17817 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
17818 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
17819 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17820 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17821 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17822 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17823 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
17824 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
17825 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
17826 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
17827 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
17828 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
17829 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
17830 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
17831 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
17832 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17833 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
17834 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL},
17835 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
17836 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL},
17837 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17838 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17839 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17840 { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
17841 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17842 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
17843 { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
17844 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17845 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
17846 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
17847 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
17848 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17849 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17850 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17851 { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
17852 { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
17853 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17854 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
17855 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17856 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
17857 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
17858 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
17859 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
17860 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17861 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
17862 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17863 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17864 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
17865 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
17866 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17867 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17868 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17869 { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
17870 { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
17871 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17872 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
17873 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
17874 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
17875 { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
17876 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
17877 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17878 { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
17879 { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
17880 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17881 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17882 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17883 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17884 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
17885 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
17886 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
17887 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17888 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17889 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17890 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17891 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
17892 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
17893 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
17894 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
17895 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
17896 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
17897 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
17898 { NULL, NULL, 0, NULL }
17899 };
17900
17901
17902 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17903
17904 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
17905 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
17906 }
17907 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17908 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17909 }
17910 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17911 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17912 }
17913 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17914 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17915 }
17916 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17917 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17918 }
17919 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17920 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17921 }
17922 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17923 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17924 }
17925 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
17926 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
17927 }
17928 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17929 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17930 }
17931 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17932 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17933 }
17934 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
17935 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
17936 }
17937 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17938 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17939 }
17940 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17941 return (void *)((wxEvent *) ((wxPyEvent *) x));
17942 }
17943 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
17944 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
17945 }
17946 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17947 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17948 }
17949 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17950 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17951 }
17952 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17953 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17954 }
17955 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17956 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17957 }
17958 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17959 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17960 }
17961 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17962 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17963 }
17964 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17965 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17966 }
17967 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17968 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17969 }
17970 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
17971 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
17972 }
17973 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
17974 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
17975 }
17976 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17977 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17978 }
17979 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17980 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17981 }
17982 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17983 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17984 }
17985 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17986 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17987 }
17988 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17989 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17990 }
17991 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
17992 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17993 }
17994 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
17995 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
17996 }
17997 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
17998 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
17999 }
18000 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18001 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18002 }
18003 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18004 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18005 }
18006 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18007 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18008 }
18009 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18010 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18011 }
18012 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18013 return (void *)((wxEvent *) ((wxShowEvent *) x));
18014 }
18015 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
18016 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18017 }
18018 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18019 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18020 }
18021 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18022 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18023 }
18024 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18025 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18026 }
18027 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18028 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18029 }
18030 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18031 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18032 }
18033 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18034 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18035 }
18036 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18037 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18038 }
18039 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18040 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18041 }
18042 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18043 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18044 }
18045 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18046 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18047 }
18048 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18049 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18050 }
18051 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18052 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18053 }
18054 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
18055 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18056 }
18057 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
18058 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
18059 }
18060 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18061 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18062 }
18063 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18064 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18065 }
18066 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18067 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18068 }
18069 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18070 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18071 }
18072 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18073 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18074 }
18075 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18076 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18077 }
18078 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18079 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18080 }
18081 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18082 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18083 }
18084 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18085 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18086 }
18087 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18088 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18089 }
18090 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18091 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18092 }
18093 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18094 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18095 }
18096 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
18097 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18098 }
18099 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18100 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18101 }
18102 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18103 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18104 }
18105 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18106 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18107 }
18108 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18109 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18110 }
18111 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18112 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18113 }
18114 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18115 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18116 }
18117 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18118 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18119 }
18120 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18121 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18122 }
18123 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18124 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18125 }
18126 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18127 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18128 }
18129 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18130 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
18131 }
18132 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18133 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
18134 }
18135 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18136 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
18137 }
18138 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18139 return (void *)((wxEvtHandler *) ((wxWindow *) x));
18140 }
18141 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18142 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18143 }
18144 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18145 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
18146 }
18147 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18148 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
18149 }
18150 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18151 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18152 }
18153 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18154 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18155 }
18156 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18157 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
18158 }
18159 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18160 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18161 }
18162 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18163 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18164 }
18165 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18166 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18167 }
18168 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18169 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18170 }
18171 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18172 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18173 }
18174 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18176 }
18177 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18178 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
18179 }
18180 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18181 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18182 }
18183 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18184 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18185 }
18186 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18187 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18188 }
18189 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18190 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18191 }
18192 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18193 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18194 }
18195 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18196 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18197 }
18198 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18199 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18200 }
18201 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18203 }
18204 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18206 }
18207 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18209 }
18210 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18212 }
18213 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18215 }
18216 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18218 }
18219 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18221 }
18222 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18223 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18224 }
18225 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18226 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
18227 }
18228 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
18229 return (void *)((wxFrame *) ((wxProgressDialog *) x));
18230 }
18231 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18232 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
18233 }
18234 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18235 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18236 }
18237 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18238 return (void *)((wxFrame *) ((wxMiniFrame *) x));
18239 }
18240 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18241 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
18242 }
18243 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18244 return (void *)((wxFrame *) ((wxSplashScreen *) x));
18245 }
18246 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18247 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
18248 }
18249 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18250 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
18251 }
18252 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18253 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18254 }
18255 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18257 }
18258 static void *_p_wxEventTo_p_wxObject(void *x) {
18259 return (void *)((wxObject *) ((wxEvent *) x));
18260 }
18261 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18262 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
18263 }
18264 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18265 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18266 }
18267 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18268 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18269 }
18270 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18271 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
18272 }
18273 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18275 }
18276 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18278 }
18279 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18280 return (void *)((wxObject *) ((wxHtmlTag *) x));
18281 }
18282 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18283 return (void *)((wxObject *) ((wxMenuItem *) x));
18284 }
18285 static void *_p_wxImageTo_p_wxObject(void *x) {
18286 return (void *)((wxObject *) ((wxImage *) x));
18287 }
18288 static void *_p_wxPySizerTo_p_wxObject(void *x) {
18289 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18290 }
18291 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18292 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
18293 }
18294 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18295 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18296 }
18297 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18298 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
18299 }
18300 static void *_p_wxPyAppTo_p_wxObject(void *x) {
18301 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18302 }
18303 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18305 }
18306 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18308 }
18309 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18310 return (void *)((wxObject *) ((wxFindReplaceData *) x));
18311 }
18312 static void *_p_wxValidatorTo_p_wxObject(void *x) {
18313 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18314 }
18315 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18316 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18317 }
18318 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18319 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18320 }
18321 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18322 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18323 }
18324 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18325 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18326 }
18327 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18328 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
18329 }
18330 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18331 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18332 }
18333 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18334 return (void *)((wxObject *) ((wxPrintDialogData *) x));
18335 }
18336 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18337 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
18338 }
18339 static void *_p_wxPrinterTo_p_wxObject(void *x) {
18340 return (void *)((wxObject *) ((wxPrinter *) x));
18341 }
18342 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18344 }
18345 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18346 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
18347 }
18348 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18349 return (void *)((wxObject *) ((wxHtmlParser *) x));
18350 }
18351 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18352 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18353 }
18354 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18355 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18356 }
18357 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18358 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18359 }
18360 static void *_p_wxControlTo_p_wxObject(void *x) {
18361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18362 }
18363 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18365 }
18366 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18367 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18368 }
18369 static void *_p_wxColourDataTo_p_wxObject(void *x) {
18370 return (void *)((wxObject *) ((wxColourData *) x));
18371 }
18372 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18373 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18374 }
18375 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18376 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18377 }
18378 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18379 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18380 }
18381 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18382 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18383 }
18384 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18385 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18386 }
18387 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18388 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18389 }
18390 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18392 }
18393 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18394 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18395 }
18396 static void *_p_wxDateEventTo_p_wxObject(void *x) {
18397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
18398 }
18399 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18400 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
18401 }
18402 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18403 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
18404 }
18405 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18406 return (void *)((wxObject *) ((wxPyPrintout *) x));
18407 }
18408 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18410 }
18411 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18412 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
18413 }
18414 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18415 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18416 }
18417 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18418 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18419 }
18420 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18422 }
18423 static void *_p_wxSashEventTo_p_wxObject(void *x) {
18424 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
18425 }
18426 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18428 }
18429 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18431 }
18432 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18433 return (void *)((wxObject *) ((wxPrintData *) x));
18434 }
18435 static void *_p_wxFontDataTo_p_wxObject(void *x) {
18436 return (void *)((wxObject *) ((wxFontData *) x));
18437 }
18438 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18440 }
18441 static void *_p_wxFrameTo_p_wxObject(void *x) {
18442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18443 }
18444 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18446 }
18447 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18448 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18449 }
18450 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18452 }
18453 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18454 return (void *)((wxObject *) ((wxFileSystem *) x));
18455 }
18456 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18457 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
18458 }
18459 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18460 return (void *)((wxObject *) ((wxPrintPreview *) x));
18461 }
18462 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18463 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18464 }
18465 static void *_p_wxSizerTo_p_wxObject(void *x) {
18466 return (void *)((wxObject *) ((wxSizer *) x));
18467 }
18468 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18469 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18470 }
18471 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18472 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18473 }
18474 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18475 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18476 }
18477 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18478 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
18479 }
18480 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18481 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18482 }
18483 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18484 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18485 }
18486 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
18487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
18488 }
18489 static void *_p_wxFSFileTo_p_wxObject(void *x) {
18490 return (void *)((wxObject *) ((wxFSFile *) x));
18491 }
18492 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18493 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
18494 }
18495 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18496 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18497 }
18498 static void *_p_wxMenuTo_p_wxObject(void *x) {
18499 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18500 }
18501 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18502 return (void *)((wxObject *) ((wxSizerItem *) x));
18503 }
18504 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18505 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18506 }
18507 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18508 return (void *)((wxObject *) ((wxPrintDialog *) x));
18509 }
18510 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18511 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
18512 }
18513 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18515 }
18516 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18518 }
18519 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18521 }
18522 static void *_p_wxDialogTo_p_wxObject(void *x) {
18523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18524 }
18525 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18526 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18527 }
18528 static void *_p_wxPyEventTo_p_wxObject(void *x) {
18529 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18530 }
18531 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18533 }
18534 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18535 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18536 }
18537 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18538 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
18539 }
18540 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18541 return (void *)((wxObject *) ((wxEvtHandler *) x));
18542 }
18543 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18544 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18545 }
18546 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18547 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18548 }
18549 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18550 return (void *)((wxObject *) ((wxImageHandler *) x));
18551 }
18552 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18553 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
18554 }
18555 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18556 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18557 }
18558 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18559 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18560 }
18561 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18562 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18563 }
18564 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18565 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18566 }
18567 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18568 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18569 }
18570 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18571 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18572 }
18573 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18574 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18575 }
18576 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18577 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18578 }
18579 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18580 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18581 }
18582 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
18583 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18584 }
18585 static void *_p_wxShowEventTo_p_wxObject(void *x) {
18586 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18587 }
18588 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
18590 }
18591 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18593 }
18594 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18596 }
18597 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
18599 }
18600 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18602 }
18603 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18605 }
18606 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18608 }
18609 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
18611 }
18612 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18614 }
18615 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
18617 }
18618 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
18620 }
18621 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
18623 }
18624 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
18626 }
18627 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18629 }
18630 static void *_p_wxWindowTo_p_wxObject(void *x) {
18631 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18632 }
18633 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18634 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
18635 }
18636 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18637 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
18638 }
18639 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18641 }
18642 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18644 }
18645 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18647 }
18648 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
18649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18650 }
18651 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18653 }
18654 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18656 }
18657 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18659 }
18660 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18662 }
18663 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18665 }
18666 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18667 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
18668 }
18669 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
18671 }
18672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18673 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18674 }
18675 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18676 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18677 }
18678 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18679 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18680 }
18681 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18682 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18683 }
18684 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18685 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
18686 }
18687 static void *_p_wxPanelTo_p_wxObject(void *x) {
18688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
18689 }
18690 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
18691 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
18692 }
18693 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18694 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
18695 }
18696 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
18697 return (void *)((wxObject *) ((wxHtmlCell *) x));
18698 }
18699 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18700 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
18701 }
18702 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18703 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
18704 }
18705 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18706 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
18707 }
18708 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
18710 }
18711 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
18712 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
18713 }
18714 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
18715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
18716 }
18717 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18719 }
18720 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18721 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18722 }
18723 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18724 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18725 }
18726 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
18727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18728 }
18729 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
18730 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
18731 }
18732 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
18734 }
18735 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
18736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18737 }
18738 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
18739 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18740 }
18741 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
18742 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
18743 }
18744 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18745 return (void *)((wxWindow *) ((wxMenuBar *) x));
18746 }
18747 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
18748 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18749 }
18750 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
18751 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18752 }
18753 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
18754 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18755 }
18756 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
18757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18758 }
18759 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
18760 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18761 }
18762 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
18763 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18764 }
18765 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
18766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18767 }
18768 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
18769 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18770 }
18771 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
18772 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18773 }
18774 static void *_p_wxPanelTo_p_wxWindow(void *x) {
18775 return (void *)((wxWindow *) ((wxPanel *) x));
18776 }
18777 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
18778 return (void *)((wxWindow *) ((wxStatusBar *) x));
18779 }
18780 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
18781 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
18782 }
18783 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
18784 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18785 }
18786 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
18787 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18788 }
18789 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
18790 return (void *)((wxWindow *) ((wxPopupWindow *) x));
18791 }
18792 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
18793 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
18794 }
18795 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
18796 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
18797 }
18798 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
18799 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
18800 }
18801 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
18802 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
18803 }
18804 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
18805 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
18806 }
18807 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
18808 return (void *)((wxWindow *) ((wxSashWindow *) x));
18809 }
18810 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
18811 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
18812 }
18813 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
18814 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18815 }
18816 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
18817 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18818 }
18819 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
18820 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
18821 }
18822 static void *_p_wxControlTo_p_wxWindow(void *x) {
18823 return (void *)((wxWindow *) ((wxControl *) x));
18824 }
18825 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
18826 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18827 }
18828 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
18829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18830 }
18831 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
18832 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18833 }
18834 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18835 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18836 }
18837 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
18838 return (void *)((wxWindow *) ((wxPyWindow *) x));
18839 }
18840 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
18841 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18842 }
18843 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
18844 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18845 }
18846 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
18847 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18848 }
18849 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
18850 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
18851 }
18852 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
18853 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18854 }
18855 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
18856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18857 }
18858 static void *_p_wxFrameTo_p_wxWindow(void *x) {
18859 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
18860 }
18861 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
18862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18863 }
18864 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
18865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18866 }
18867 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
18868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18869 }
18870 static void *_p_wxDialogTo_p_wxWindow(void *x) {
18871 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
18872 }
18873 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
18874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18875 }
18876 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
18877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18878 }
18879 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
18880 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18881 }
18882 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
18883 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18884 }
18885 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
18886 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
18887 }
18888 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
18889 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
18890 }
18891 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
18892 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
18893 }
18894 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
18895 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
18896 }
18897 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
18898 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
18899 }
18900 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
18901 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
18902 }
18903 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
18904 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
18905 }
18906 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
18907 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
18908 }
18909 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
18910 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
18911 }
18912 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
18913 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
18914 }
18915 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
18916 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
18917 }
18918 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
18919 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
18920 }
18921 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
18922 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
18923 }
18924 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
18925 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18926 }
18927 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
18928 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
18929 }
18930 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18931 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
18932 }
18933 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18934 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
18935 }
18936 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
18937 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
18938 }
18939 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
18940 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
18941 }
18942 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
18943 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
18944 }
18945 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
18946 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
18947 }
18948 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18949 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
18950 }
18951 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18952 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18953 }
18954 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
18955 return (void *)((wxDialog *) ((wxColourDialog *) x));
18956 }
18957 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
18958 return (void *)((wxDialog *) ((wxDirDialog *) x));
18959 }
18960 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
18961 return (void *)((wxDialog *) ((wxFontDialog *) x));
18962 }
18963 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
18964 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
18965 }
18966 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
18967 return (void *)((wxDialog *) ((wxFileDialog *) x));
18968 }
18969 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
18970 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
18971 }
18972 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
18973 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
18974 }
18975 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
18976 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
18977 }
18978 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
18979 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18980 }
18981 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
18982 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
18983 }
18984 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
18985 return (void *)((wxDialog *) ((wxMessageDialog *) x));
18986 }
18987 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
18988 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
18989 }
18990 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
18991 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
18992 }
18993 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
18994 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
18995 }
18996 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
18997 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18998 }
18999 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
19000 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
19001 }
19002 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
19003 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
19004 }
19005 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
19006 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
19007 }
19008 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
19009 return (void *)((wxPanel *) ((wxPyPanel *) x));
19010 }
19011 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
19012 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
19013 }
19014 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
19015 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
19016 }
19017 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
19018 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
19019 }
19020 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19021 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
19022 }
19023 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19024 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
19025 }
19026 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19027 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
19028 }
19029 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19030 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19031 }
19032 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19033 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
19034 }
19035 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
19036 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
19037 }
19038 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19039 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
19040 }
19041 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19042 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
19043 }
19044 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19045 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19046 }
19047 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19048 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19049 }
19050 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19051 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19052 }
19053 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19054 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
19055 }
19056 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19057 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19058 }
19059 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
19060 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
19061 }
19062 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19063 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19064 }
19065 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19066 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
19067 }
19068 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19069 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19070 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};
19071 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19072 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19073 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19074 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19075 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19076 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19077 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19078 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19079 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19080 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19081 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19082 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19083 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19084 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19085 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19086 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19087 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19088 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19089 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19090 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19091 static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19092 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19093 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19094 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19095 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19096 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19097 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19102 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19103 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19104 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19105 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19106 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19108 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19109 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19110 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19111 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19112 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19113 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19117 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19125 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19126 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19138 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19150 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19154 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19155 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19156 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19157 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19158 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19159 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19160 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19161 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19162 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19163 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19164 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19165 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19166 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19167 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19168 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19169 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19170 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19171 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19172 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19173 static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19174 static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19175 static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19176 static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19177 static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19178 static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19179 static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19180 static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19181 static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19182 static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19183 static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19184 static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19185 static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19186 static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19187 static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19188 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19190 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19191 static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19192 static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19193 static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19194 static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19195 static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19196 static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19197 static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19198 static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19199 static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19200 static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19201 static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19202 static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19203 static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19204 static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19205 static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19206 static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19207 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19208 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19209 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19210 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19211 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19212 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19213 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19214 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19215 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19216 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19217 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
19218 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19219 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19220 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19221 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19222 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19223 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19224 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19225 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19226 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
19229 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19230 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19231 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
19232 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19233 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19234 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19235 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19236 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19237 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19238 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19239 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19240 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19241 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19242 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19243 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19244 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19245 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19246 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19247 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19248 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19249 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19250 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19251 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19252 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19253 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19254 static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19255 static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19256 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19257 static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19258 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19259 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19260 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19261 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19262 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19263 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19264 static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19265 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19266 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19267
19268 static swig_type_info *swig_type_initial[] = {
19269 &_swigt__p_bool,
19270 &_swigt__p_char,
19271 &_swigt__p_form_ops_t,
19272 &_swigt__p_int,
19273 &_swigt__p_unsigned_char,
19274 &_swigt__p_unsigned_int,
19275 &_swigt__p_unsigned_long,
19276 &_swigt__p_wxANIHandler,
19277 &_swigt__p_wxAcceleratorTable,
19278 &_swigt__p_wxActivateEvent,
19279 &_swigt__p_wxArrayInt,
19280 &_swigt__p_wxBMPHandler,
19281 &_swigt__p_wxBitmap,
19282 &_swigt__p_wxBoxSizer,
19283 &_swigt__p_wxCURHandler,
19284 &_swigt__p_wxCalculateLayoutEvent,
19285 &_swigt__p_wxChildFocusEvent,
19286 &_swigt__p_wxClipboardTextEvent,
19287 &_swigt__p_wxCloseEvent,
19288 &_swigt__p_wxColour,
19289 &_swigt__p_wxColourData,
19290 &_swigt__p_wxColourDialog,
19291 &_swigt__p_wxCommandEvent,
19292 &_swigt__p_wxConfigBase,
19293 &_swigt__p_wxContextMenuEvent,
19294 &_swigt__p_wxControl,
19295 &_swigt__p_wxControlWithItems,
19296 &_swigt__p_wxCursor,
19297 &_swigt__p_wxDC,
19298 &_swigt__p_wxDateEvent,
19299 &_swigt__p_wxDefaultHtmlRenderingStyle,
19300 &_swigt__p_wxDialog,
19301 &_swigt__p_wxDirDialog,
19302 &_swigt__p_wxDisplayChangedEvent,
19303 &_swigt__p_wxDropFilesEvent,
19304 &_swigt__p_wxDuplexMode,
19305 &_swigt__p_wxEraseEvent,
19306 &_swigt__p_wxEvent,
19307 &_swigt__p_wxEvtHandler,
19308 &_swigt__p_wxFSFile,
19309 &_swigt__p_wxFileDialog,
19310 &_swigt__p_wxFileSystem,
19311 &_swigt__p_wxFindDialogEvent,
19312 &_swigt__p_wxFindReplaceData,
19313 &_swigt__p_wxFindReplaceDialog,
19314 &_swigt__p_wxFlexGridSizer,
19315 &_swigt__p_wxFocusEvent,
19316 &_swigt__p_wxFont,
19317 &_swigt__p_wxFontData,
19318 &_swigt__p_wxFontDialog,
19319 &_swigt__p_wxFrame,
19320 &_swigt__p_wxGBSizerItem,
19321 &_swigt__p_wxGIFHandler,
19322 &_swigt__p_wxGridBagSizer,
19323 &_swigt__p_wxGridSizer,
19324 &_swigt__p_wxHelpControllerBase,
19325 &_swigt__p_wxHelpSearchMode,
19326 &_swigt__p_wxHtmlBookRecArray,
19327 &_swigt__p_wxHtmlBookRecord,
19328 &_swigt__p_wxHtmlCell,
19329 &_swigt__p_wxHtmlColourCell,
19330 &_swigt__p_wxHtmlContainerCell,
19331 &_swigt__p_wxHtmlDCRenderer,
19332 &_swigt__p_wxHtmlEasyPrinting,
19333 &_swigt__p_wxHtmlFilter,
19334 &_swigt__p_wxHtmlFontCell,
19335 &_swigt__p_wxHtmlHelpController,
19336 &_swigt__p_wxHtmlHelpData,
19337 &_swigt__p_wxHtmlHelpDialog,
19338 &_swigt__p_wxHtmlHelpFrame,
19339 &_swigt__p_wxHtmlHelpFrameCfg,
19340 &_swigt__p_wxHtmlHelpWindow,
19341 &_swigt__p_wxHtmlLinkInfo,
19342 &_swigt__p_wxHtmlModalHelp,
19343 &_swigt__p_wxHtmlParser,
19344 &_swigt__p_wxHtmlPrintout,
19345 &_swigt__p_wxHtmlRenderingInfo,
19346 &_swigt__p_wxHtmlRenderingState,
19347 &_swigt__p_wxHtmlRenderingStyle,
19348 &_swigt__p_wxHtmlSearchStatus,
19349 &_swigt__p_wxHtmlSelection,
19350 &_swigt__p_wxHtmlTag,
19351 &_swigt__p_wxHtmlTagHandler,
19352 &_swigt__p_wxHtmlWidgetCell,
19353 &_swigt__p_wxHtmlWinParser,
19354 &_swigt__p_wxHtmlWindow,
19355 &_swigt__p_wxHtmlWindowEvent,
19356 &_swigt__p_wxHtmlWindowInterface,
19357 &_swigt__p_wxHtmlWordCell,
19358 &_swigt__p_wxICOHandler,
19359 &_swigt__p_wxIconizeEvent,
19360 &_swigt__p_wxIdleEvent,
19361 &_swigt__p_wxImage,
19362 &_swigt__p_wxImageHandler,
19363 &_swigt__p_wxIndividualLayoutConstraint,
19364 &_swigt__p_wxInitDialogEvent,
19365 &_swigt__p_wxJPEGHandler,
19366 &_swigt__p_wxKeyEvent,
19367 &_swigt__p_wxLayoutAlgorithm,
19368 &_swigt__p_wxLayoutConstraints,
19369 &_swigt__p_wxMDIChildFrame,
19370 &_swigt__p_wxMDIClientWindow,
19371 &_swigt__p_wxMDIParentFrame,
19372 &_swigt__p_wxMaximizeEvent,
19373 &_swigt__p_wxMenu,
19374 &_swigt__p_wxMenuBar,
19375 &_swigt__p_wxMenuEvent,
19376 &_swigt__p_wxMenuItem,
19377 &_swigt__p_wxMessageDialog,
19378 &_swigt__p_wxMiniFrame,
19379 &_swigt__p_wxMouseCaptureChangedEvent,
19380 &_swigt__p_wxMouseEvent,
19381 &_swigt__p_wxMoveEvent,
19382 &_swigt__p_wxMultiChoiceDialog,
19383 &_swigt__p_wxNavigationKeyEvent,
19384 &_swigt__p_wxNcPaintEvent,
19385 &_swigt__p_wxNotifyEvent,
19386 &_swigt__p_wxNumberEntryDialog,
19387 &_swigt__p_wxObject,
19388 &_swigt__p_wxPCXHandler,
19389 &_swigt__p_wxPNGHandler,
19390 &_swigt__p_wxPNMHandler,
19391 &_swigt__p_wxPageSetupDialog,
19392 &_swigt__p_wxPageSetupDialogData,
19393 &_swigt__p_wxPaintEvent,
19394 &_swigt__p_wxPaletteChangedEvent,
19395 &_swigt__p_wxPanel,
19396 &_swigt__p_wxPaperSize,
19397 &_swigt__p_wxPasswordEntryDialog,
19398 &_swigt__p_wxPoint,
19399 &_swigt__p_wxPopupWindow,
19400 &_swigt__p_wxPreviewCanvas,
19401 &_swigt__p_wxPreviewControlBar,
19402 &_swigt__p_wxPreviewFrame,
19403 &_swigt__p_wxPrintData,
19404 &_swigt__p_wxPrintDialog,
19405 &_swigt__p_wxPrintDialogData,
19406 &_swigt__p_wxPrintPreview,
19407 &_swigt__p_wxPrinter,
19408 &_swigt__p_wxProgressDialog,
19409 &_swigt__p_wxPyApp,
19410 &_swigt__p_wxPyCommandEvent,
19411 &_swigt__p_wxPyEvent,
19412 &_swigt__p_wxPyHtmlFilter,
19413 &_swigt__p_wxPyHtmlListBox,
19414 &_swigt__p_wxPyHtmlTagHandler,
19415 &_swigt__p_wxPyHtmlWinTagHandler,
19416 &_swigt__p_wxPyHtmlWindow,
19417 &_swigt__p_wxPyImageHandler,
19418 &_swigt__p_wxPyPanel,
19419 &_swigt__p_wxPyPopupTransientWindow,
19420 &_swigt__p_wxPyPreviewControlBar,
19421 &_swigt__p_wxPyPreviewFrame,
19422 &_swigt__p_wxPyPrintPreview,
19423 &_swigt__p_wxPyPrintout,
19424 &_swigt__p_wxPyScrolledWindow,
19425 &_swigt__p_wxPySizer,
19426 &_swigt__p_wxPyTaskBarIcon,
19427 &_swigt__p_wxPyVListBox,
19428 &_swigt__p_wxPyVScrolledWindow,
19429 &_swigt__p_wxPyValidator,
19430 &_swigt__p_wxPyWindow,
19431 &_swigt__p_wxQueryLayoutInfoEvent,
19432 &_swigt__p_wxQueryNewPaletteEvent,
19433 &_swigt__p_wxSashEvent,
19434 &_swigt__p_wxSashLayoutWindow,
19435 &_swigt__p_wxSashWindow,
19436 &_swigt__p_wxScrollEvent,
19437 &_swigt__p_wxScrollWinEvent,
19438 &_swigt__p_wxScrolledWindow,
19439 &_swigt__p_wxSetCursorEvent,
19440 &_swigt__p_wxShowEvent,
19441 &_swigt__p_wxSingleChoiceDialog,
19442 &_swigt__p_wxSize,
19443 &_swigt__p_wxSizeEvent,
19444 &_swigt__p_wxSizer,
19445 &_swigt__p_wxSizerItem,
19446 &_swigt__p_wxSplashScreen,
19447 &_swigt__p_wxSplashScreenWindow,
19448 &_swigt__p_wxSplitterEvent,
19449 &_swigt__p_wxSplitterWindow,
19450 &_swigt__p_wxStaticBoxSizer,
19451 &_swigt__p_wxStatusBar,
19452 &_swigt__p_wxStdDialogButtonSizer,
19453 &_swigt__p_wxString,
19454 &_swigt__p_wxSysColourChangedEvent,
19455 &_swigt__p_wxTIFFHandler,
19456 &_swigt__p_wxTaskBarIconEvent,
19457 &_swigt__p_wxTextEntryDialog,
19458 &_swigt__p_wxTipWindow,
19459 &_swigt__p_wxTopLevelWindow,
19460 &_swigt__p_wxTreeCtrl,
19461 &_swigt__p_wxUpdateUIEvent,
19462 &_swigt__p_wxValidator,
19463 &_swigt__p_wxVisualAttributes,
19464 &_swigt__p_wxWindow,
19465 &_swigt__p_wxWindowCreateEvent,
19466 &_swigt__p_wxWindowDestroyEvent,
19467 &_swigt__p_wxXPMHandler,
19468 };
19469
19470 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
19471 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19472 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19473 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19474 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19475 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19476 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
19477 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
19478 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19479 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19480 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19481 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19482 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
19483 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
19484 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19485 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19486 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19487 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
19489 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
19490 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
19492 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}};
19493 static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19500 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19501 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
19508 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}};
19509 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19516 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19552 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19553 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
19556 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19557 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
19571 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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
19575 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}};
19576 static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19579 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}};
19580 static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19587 static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19588 static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19594 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}};
19595 static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19598 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}};
19599 static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19610 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}};
19611 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19629 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19634 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19638 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19639 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19646 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19647 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19648 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19649 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
19650 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
19651 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
19652 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}};
19653 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19654 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19655 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19656 static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19657 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}};
19658 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19659 static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19660 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}};
19661 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}};
19662 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
19663 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19664 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
19665 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_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}};
19666 static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
19667 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
19668 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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
19669
19670 static swig_cast_info *swig_cast_initial[] = {
19671 _swigc__p_bool,
19672 _swigc__p_char,
19673 _swigc__p_form_ops_t,
19674 _swigc__p_int,
19675 _swigc__p_unsigned_char,
19676 _swigc__p_unsigned_int,
19677 _swigc__p_unsigned_long,
19678 _swigc__p_wxANIHandler,
19679 _swigc__p_wxAcceleratorTable,
19680 _swigc__p_wxActivateEvent,
19681 _swigc__p_wxArrayInt,
19682 _swigc__p_wxBMPHandler,
19683 _swigc__p_wxBitmap,
19684 _swigc__p_wxBoxSizer,
19685 _swigc__p_wxCURHandler,
19686 _swigc__p_wxCalculateLayoutEvent,
19687 _swigc__p_wxChildFocusEvent,
19688 _swigc__p_wxClipboardTextEvent,
19689 _swigc__p_wxCloseEvent,
19690 _swigc__p_wxColour,
19691 _swigc__p_wxColourData,
19692 _swigc__p_wxColourDialog,
19693 _swigc__p_wxCommandEvent,
19694 _swigc__p_wxConfigBase,
19695 _swigc__p_wxContextMenuEvent,
19696 _swigc__p_wxControl,
19697 _swigc__p_wxControlWithItems,
19698 _swigc__p_wxCursor,
19699 _swigc__p_wxDC,
19700 _swigc__p_wxDateEvent,
19701 _swigc__p_wxDefaultHtmlRenderingStyle,
19702 _swigc__p_wxDialog,
19703 _swigc__p_wxDirDialog,
19704 _swigc__p_wxDisplayChangedEvent,
19705 _swigc__p_wxDropFilesEvent,
19706 _swigc__p_wxDuplexMode,
19707 _swigc__p_wxEraseEvent,
19708 _swigc__p_wxEvent,
19709 _swigc__p_wxEvtHandler,
19710 _swigc__p_wxFSFile,
19711 _swigc__p_wxFileDialog,
19712 _swigc__p_wxFileSystem,
19713 _swigc__p_wxFindDialogEvent,
19714 _swigc__p_wxFindReplaceData,
19715 _swigc__p_wxFindReplaceDialog,
19716 _swigc__p_wxFlexGridSizer,
19717 _swigc__p_wxFocusEvent,
19718 _swigc__p_wxFont,
19719 _swigc__p_wxFontData,
19720 _swigc__p_wxFontDialog,
19721 _swigc__p_wxFrame,
19722 _swigc__p_wxGBSizerItem,
19723 _swigc__p_wxGIFHandler,
19724 _swigc__p_wxGridBagSizer,
19725 _swigc__p_wxGridSizer,
19726 _swigc__p_wxHelpControllerBase,
19727 _swigc__p_wxHelpSearchMode,
19728 _swigc__p_wxHtmlBookRecArray,
19729 _swigc__p_wxHtmlBookRecord,
19730 _swigc__p_wxHtmlCell,
19731 _swigc__p_wxHtmlColourCell,
19732 _swigc__p_wxHtmlContainerCell,
19733 _swigc__p_wxHtmlDCRenderer,
19734 _swigc__p_wxHtmlEasyPrinting,
19735 _swigc__p_wxHtmlFilter,
19736 _swigc__p_wxHtmlFontCell,
19737 _swigc__p_wxHtmlHelpController,
19738 _swigc__p_wxHtmlHelpData,
19739 _swigc__p_wxHtmlHelpDialog,
19740 _swigc__p_wxHtmlHelpFrame,
19741 _swigc__p_wxHtmlHelpFrameCfg,
19742 _swigc__p_wxHtmlHelpWindow,
19743 _swigc__p_wxHtmlLinkInfo,
19744 _swigc__p_wxHtmlModalHelp,
19745 _swigc__p_wxHtmlParser,
19746 _swigc__p_wxHtmlPrintout,
19747 _swigc__p_wxHtmlRenderingInfo,
19748 _swigc__p_wxHtmlRenderingState,
19749 _swigc__p_wxHtmlRenderingStyle,
19750 _swigc__p_wxHtmlSearchStatus,
19751 _swigc__p_wxHtmlSelection,
19752 _swigc__p_wxHtmlTag,
19753 _swigc__p_wxHtmlTagHandler,
19754 _swigc__p_wxHtmlWidgetCell,
19755 _swigc__p_wxHtmlWinParser,
19756 _swigc__p_wxHtmlWindow,
19757 _swigc__p_wxHtmlWindowEvent,
19758 _swigc__p_wxHtmlWindowInterface,
19759 _swigc__p_wxHtmlWordCell,
19760 _swigc__p_wxICOHandler,
19761 _swigc__p_wxIconizeEvent,
19762 _swigc__p_wxIdleEvent,
19763 _swigc__p_wxImage,
19764 _swigc__p_wxImageHandler,
19765 _swigc__p_wxIndividualLayoutConstraint,
19766 _swigc__p_wxInitDialogEvent,
19767 _swigc__p_wxJPEGHandler,
19768 _swigc__p_wxKeyEvent,
19769 _swigc__p_wxLayoutAlgorithm,
19770 _swigc__p_wxLayoutConstraints,
19771 _swigc__p_wxMDIChildFrame,
19772 _swigc__p_wxMDIClientWindow,
19773 _swigc__p_wxMDIParentFrame,
19774 _swigc__p_wxMaximizeEvent,
19775 _swigc__p_wxMenu,
19776 _swigc__p_wxMenuBar,
19777 _swigc__p_wxMenuEvent,
19778 _swigc__p_wxMenuItem,
19779 _swigc__p_wxMessageDialog,
19780 _swigc__p_wxMiniFrame,
19781 _swigc__p_wxMouseCaptureChangedEvent,
19782 _swigc__p_wxMouseEvent,
19783 _swigc__p_wxMoveEvent,
19784 _swigc__p_wxMultiChoiceDialog,
19785 _swigc__p_wxNavigationKeyEvent,
19786 _swigc__p_wxNcPaintEvent,
19787 _swigc__p_wxNotifyEvent,
19788 _swigc__p_wxNumberEntryDialog,
19789 _swigc__p_wxObject,
19790 _swigc__p_wxPCXHandler,
19791 _swigc__p_wxPNGHandler,
19792 _swigc__p_wxPNMHandler,
19793 _swigc__p_wxPageSetupDialog,
19794 _swigc__p_wxPageSetupDialogData,
19795 _swigc__p_wxPaintEvent,
19796 _swigc__p_wxPaletteChangedEvent,
19797 _swigc__p_wxPanel,
19798 _swigc__p_wxPaperSize,
19799 _swigc__p_wxPasswordEntryDialog,
19800 _swigc__p_wxPoint,
19801 _swigc__p_wxPopupWindow,
19802 _swigc__p_wxPreviewCanvas,
19803 _swigc__p_wxPreviewControlBar,
19804 _swigc__p_wxPreviewFrame,
19805 _swigc__p_wxPrintData,
19806 _swigc__p_wxPrintDialog,
19807 _swigc__p_wxPrintDialogData,
19808 _swigc__p_wxPrintPreview,
19809 _swigc__p_wxPrinter,
19810 _swigc__p_wxProgressDialog,
19811 _swigc__p_wxPyApp,
19812 _swigc__p_wxPyCommandEvent,
19813 _swigc__p_wxPyEvent,
19814 _swigc__p_wxPyHtmlFilter,
19815 _swigc__p_wxPyHtmlListBox,
19816 _swigc__p_wxPyHtmlTagHandler,
19817 _swigc__p_wxPyHtmlWinTagHandler,
19818 _swigc__p_wxPyHtmlWindow,
19819 _swigc__p_wxPyImageHandler,
19820 _swigc__p_wxPyPanel,
19821 _swigc__p_wxPyPopupTransientWindow,
19822 _swigc__p_wxPyPreviewControlBar,
19823 _swigc__p_wxPyPreviewFrame,
19824 _swigc__p_wxPyPrintPreview,
19825 _swigc__p_wxPyPrintout,
19826 _swigc__p_wxPyScrolledWindow,
19827 _swigc__p_wxPySizer,
19828 _swigc__p_wxPyTaskBarIcon,
19829 _swigc__p_wxPyVListBox,
19830 _swigc__p_wxPyVScrolledWindow,
19831 _swigc__p_wxPyValidator,
19832 _swigc__p_wxPyWindow,
19833 _swigc__p_wxQueryLayoutInfoEvent,
19834 _swigc__p_wxQueryNewPaletteEvent,
19835 _swigc__p_wxSashEvent,
19836 _swigc__p_wxSashLayoutWindow,
19837 _swigc__p_wxSashWindow,
19838 _swigc__p_wxScrollEvent,
19839 _swigc__p_wxScrollWinEvent,
19840 _swigc__p_wxScrolledWindow,
19841 _swigc__p_wxSetCursorEvent,
19842 _swigc__p_wxShowEvent,
19843 _swigc__p_wxSingleChoiceDialog,
19844 _swigc__p_wxSize,
19845 _swigc__p_wxSizeEvent,
19846 _swigc__p_wxSizer,
19847 _swigc__p_wxSizerItem,
19848 _swigc__p_wxSplashScreen,
19849 _swigc__p_wxSplashScreenWindow,
19850 _swigc__p_wxSplitterEvent,
19851 _swigc__p_wxSplitterWindow,
19852 _swigc__p_wxStaticBoxSizer,
19853 _swigc__p_wxStatusBar,
19854 _swigc__p_wxStdDialogButtonSizer,
19855 _swigc__p_wxString,
19856 _swigc__p_wxSysColourChangedEvent,
19857 _swigc__p_wxTIFFHandler,
19858 _swigc__p_wxTaskBarIconEvent,
19859 _swigc__p_wxTextEntryDialog,
19860 _swigc__p_wxTipWindow,
19861 _swigc__p_wxTopLevelWindow,
19862 _swigc__p_wxTreeCtrl,
19863 _swigc__p_wxUpdateUIEvent,
19864 _swigc__p_wxValidator,
19865 _swigc__p_wxVisualAttributes,
19866 _swigc__p_wxWindow,
19867 _swigc__p_wxWindowCreateEvent,
19868 _swigc__p_wxWindowDestroyEvent,
19869 _swigc__p_wxXPMHandler,
19870 };
19871
19872
19873 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19874
19875 static swig_const_info swig_const_table[] = {
19876 {0, 0, 0, 0.0, 0, 0}};
19877
19878 #ifdef __cplusplus
19879 }
19880 #endif
19881 /* -----------------------------------------------------------------------------
19882 * Type initialization:
19883 * This problem is tough by the requirement that no dynamic
19884 * memory is used. Also, since swig_type_info structures store pointers to
19885 * swig_cast_info structures and swig_cast_info structures store pointers back
19886 * to swig_type_info structures, we need some lookup code at initialization.
19887 * The idea is that swig generates all the structures that are needed.
19888 * The runtime then collects these partially filled structures.
19889 * The SWIG_InitializeModule function takes these initial arrays out of
19890 * swig_module, and does all the lookup, filling in the swig_module.types
19891 * array with the correct data and linking the correct swig_cast_info
19892 * structures together.
19893 *
19894 * The generated swig_type_info structures are assigned staticly to an initial
19895 * array. We just loop though that array, and handle each type individually.
19896 * First we lookup if this type has been already loaded, and if so, use the
19897 * loaded structure instead of the generated one. Then we have to fill in the
19898 * cast linked list. The cast data is initially stored in something like a
19899 * two-dimensional array. Each row corresponds to a type (there are the same
19900 * number of rows as there are in the swig_type_initial array). Each entry in
19901 * a column is one of the swig_cast_info structures for that type.
19902 * The cast_initial array is actually an array of arrays, because each row has
19903 * a variable number of columns. So to actually build the cast linked list,
19904 * we find the array of casts associated with the type, and loop through it
19905 * adding the casts to the list. The one last trick we need to do is making
19906 * sure the type pointer in the swig_cast_info struct is correct.
19907 *
19908 * First off, we lookup the cast->type name to see if it is already loaded.
19909 * There are three cases to handle:
19910 * 1) If the cast->type has already been loaded AND the type we are adding
19911 * casting info to has not been loaded (it is in this module), THEN we
19912 * replace the cast->type pointer with the type pointer that has already
19913 * been loaded.
19914 * 2) If BOTH types (the one we are adding casting info to, and the
19915 * cast->type) are loaded, THEN the cast info has already been loaded by
19916 * the previous module so we just ignore it.
19917 * 3) Finally, if cast->type has not already been loaded, then we add that
19918 * swig_cast_info to the linked list (because the cast->type) pointer will
19919 * be correct.
19920 * ----------------------------------------------------------------------------- */
19921
19922 #ifdef __cplusplus
19923 extern "C" {
19924 #if 0
19925 } /* c-mode */
19926 #endif
19927 #endif
19928
19929 #if 0
19930 #define SWIGRUNTIME_DEBUG
19931 #endif
19932
19933 SWIGRUNTIME void
19934 SWIG_InitializeModule(void *clientdata) {
19935 size_t i;
19936 swig_module_info *module_head;
19937 static int init_run = 0;
19938
19939 clientdata = clientdata;
19940
19941 if (init_run) return;
19942 init_run = 1;
19943
19944 /* Initialize the swig_module */
19945 swig_module.type_initial = swig_type_initial;
19946 swig_module.cast_initial = swig_cast_initial;
19947
19948 /* Try and load any already created modules */
19949 module_head = SWIG_GetModule(clientdata);
19950 if (module_head) {
19951 swig_module.next = module_head->next;
19952 module_head->next = &swig_module;
19953 } else {
19954 /* This is the first module loaded */
19955 swig_module.next = &swig_module;
19956 SWIG_SetModule(clientdata, &swig_module);
19957 }
19958
19959 /* Now work on filling in swig_module.types */
19960 #ifdef SWIGRUNTIME_DEBUG
19961 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
19962 #endif
19963 for (i = 0; i < swig_module.size; ++i) {
19964 swig_type_info *type = 0;
19965 swig_type_info *ret;
19966 swig_cast_info *cast;
19967
19968 #ifdef SWIGRUNTIME_DEBUG
19969 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
19970 #endif
19971
19972 /* if there is another module already loaded */
19973 if (swig_module.next != &swig_module) {
19974 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
19975 }
19976 if (type) {
19977 /* Overwrite clientdata field */
19978 #ifdef SWIGRUNTIME_DEBUG
19979 printf("SWIG_InitializeModule: found type %s\n", type->name);
19980 #endif
19981 if (swig_module.type_initial[i]->clientdata) {
19982 type->clientdata = swig_module.type_initial[i]->clientdata;
19983 #ifdef SWIGRUNTIME_DEBUG
19984 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
19985 #endif
19986 }
19987 } else {
19988 type = swig_module.type_initial[i];
19989 }
19990
19991 /* Insert casting types */
19992 cast = swig_module.cast_initial[i];
19993 while (cast->type) {
19994 /* Don't need to add information already in the list */
19995 ret = 0;
19996 #ifdef SWIGRUNTIME_DEBUG
19997 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
19998 #endif
19999 if (swig_module.next != &swig_module) {
20000 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
20001 #ifdef SWIGRUNTIME_DEBUG
20002 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20003 #endif
20004 }
20005 if (ret) {
20006 if (type == swig_module.type_initial[i]) {
20007 #ifdef SWIGRUNTIME_DEBUG
20008 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20009 #endif
20010 cast->type = ret;
20011 ret = 0;
20012 } else {
20013 /* Check for casting already in the list */
20014 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20015 #ifdef SWIGRUNTIME_DEBUG
20016 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20017 #endif
20018 if (!ocast) ret = 0;
20019 }
20020 }
20021
20022 if (!ret) {
20023 #ifdef SWIGRUNTIME_DEBUG
20024 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20025 #endif
20026 if (type->cast) {
20027 type->cast->prev = cast;
20028 cast->next = type->cast;
20029 }
20030 type->cast = cast;
20031 }
20032 cast++;
20033 }
20034 /* Set entry in modules->types array equal to the type */
20035 swig_module.types[i] = type;
20036 }
20037 swig_module.types[i] = 0;
20038
20039 #ifdef SWIGRUNTIME_DEBUG
20040 printf("**** SWIG_InitializeModule: Cast List ******\n");
20041 for (i = 0; i < swig_module.size; ++i) {
20042 int j = 0;
20043 swig_cast_info *cast = swig_module.cast_initial[i];
20044 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20045 while (cast->type) {
20046 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20047 cast++;
20048 ++j;
20049 }
20050 printf("---- Total casts: %d\n",j);
20051 }
20052 printf("**** SWIG_InitializeModule: Cast List ******\n");
20053 #endif
20054 }
20055
20056 /* This function will propagate the clientdata field of type to
20057 * any new swig_type_info structures that have been added into the list
20058 * of equivalent types. It is like calling
20059 * SWIG_TypeClientData(type, clientdata) a second time.
20060 */
20061 SWIGRUNTIME void
20062 SWIG_PropagateClientData(void) {
20063 size_t i;
20064 swig_cast_info *equiv;
20065 static int init_run = 0;
20066
20067 if (init_run) return;
20068 init_run = 1;
20069
20070 for (i = 0; i < swig_module.size; i++) {
20071 if (swig_module.types[i]->clientdata) {
20072 equiv = swig_module.types[i]->cast;
20073 while (equiv) {
20074 if (!equiv->converter) {
20075 if (equiv->type && !equiv->type->clientdata)
20076 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20077 }
20078 equiv = equiv->next;
20079 }
20080 }
20081 }
20082 }
20083
20084 #ifdef __cplusplus
20085 #if 0
20086 {
20087 /* c-mode */
20088 #endif
20089 }
20090 #endif
20091
20092
20093
20094 #ifdef __cplusplus
20095 extern "C" {
20096 #endif
20097
20098 /* Python-specific SWIG API */
20099 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20100 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20101 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20102
20103 /* -----------------------------------------------------------------------------
20104 * global variable support code.
20105 * ----------------------------------------------------------------------------- */
20106
20107 typedef struct swig_globalvar {
20108 char *name; /* Name of global variable */
20109 PyObject *(*get_attr)(void); /* Return the current value */
20110 int (*set_attr)(PyObject *); /* Set the value */
20111 struct swig_globalvar *next;
20112 } swig_globalvar;
20113
20114 typedef struct swig_varlinkobject {
20115 PyObject_HEAD
20116 swig_globalvar *vars;
20117 } swig_varlinkobject;
20118
20119 SWIGINTERN PyObject *
20120 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
20121 return PyString_FromString("<Swig global variables>");
20122 }
20123
20124 SWIGINTERN PyObject *
20125 swig_varlink_str(swig_varlinkobject *v) {
20126 PyObject *str = PyString_FromString("(");
20127 swig_globalvar *var;
20128 for (var = v->vars; var; var=var->next) {
20129 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
20130 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
20131 }
20132 PyString_ConcatAndDel(&str,PyString_FromString(")"));
20133 return str;
20134 }
20135
20136 SWIGINTERN int
20137 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
20138 PyObject *str = swig_varlink_str(v);
20139 fprintf(fp,"Swig global variables ");
20140 fprintf(fp,"%s\n", PyString_AsString(str));
20141 Py_DECREF(str);
20142 return 0;
20143 }
20144
20145 SWIGINTERN void
20146 swig_varlink_dealloc(swig_varlinkobject *v) {
20147 swig_globalvar *var = v->vars;
20148 while (var) {
20149 swig_globalvar *n = var->next;
20150 free(var->name);
20151 free(var);
20152 var = n;
20153 }
20154 }
20155
20156 SWIGINTERN PyObject *
20157 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20158 PyObject *res = NULL;
20159 swig_globalvar *var = v->vars;
20160 while (var) {
20161 if (strcmp(var->name,n) == 0) {
20162 res = (*var->get_attr)();
20163 break;
20164 }
20165 var = var->next;
20166 }
20167 if (res == NULL && !PyErr_Occurred()) {
20168 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20169 }
20170 return res;
20171 }
20172
20173 SWIGINTERN int
20174 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20175 int res = 1;
20176 swig_globalvar *var = v->vars;
20177 while (var) {
20178 if (strcmp(var->name,n) == 0) {
20179 res = (*var->set_attr)(p);
20180 break;
20181 }
20182 var = var->next;
20183 }
20184 if (res == 1 && !PyErr_Occurred()) {
20185 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20186 }
20187 return res;
20188 }
20189
20190 SWIGINTERN PyTypeObject*
20191 swig_varlink_type(void) {
20192 static char varlink__doc__[] = "Swig var link object";
20193 static PyTypeObject varlink_type;
20194 static int type_init = 0;
20195 if (!type_init) {
20196 const PyTypeObject tmp
20197 = {
20198 PyObject_HEAD_INIT(NULL)
20199 0, /* Number of items in variable part (ob_size) */
20200 (char *)"swigvarlink", /* Type name (tp_name) */
20201 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20202 0, /* Itemsize (tp_itemsize) */
20203 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
20204 (printfunc) swig_varlink_print, /* Print (tp_print) */
20205 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20206 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20207 0, /* tp_compare */
20208 (reprfunc) swig_varlink_repr, /* tp_repr */
20209 0, /* tp_as_number */
20210 0, /* tp_as_sequence */
20211 0, /* tp_as_mapping */
20212 0, /* tp_hash */
20213 0, /* tp_call */
20214 (reprfunc)swig_varlink_str, /* tp_str */
20215 0, /* tp_getattro */
20216 0, /* tp_setattro */
20217 0, /* tp_as_buffer */
20218 0, /* tp_flags */
20219 varlink__doc__, /* tp_doc */
20220 0, /* tp_traverse */
20221 0, /* tp_clear */
20222 0, /* tp_richcompare */
20223 0, /* tp_weaklistoffset */
20224 #if PY_VERSION_HEX >= 0x02020000
20225 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20226 #endif
20227 #if PY_VERSION_HEX >= 0x02030000
20228 0, /* tp_del */
20229 #endif
20230 #ifdef COUNT_ALLOCS
20231 0,0,0,0 /* tp_alloc -> tp_next */
20232 #endif
20233 };
20234 varlink_type = tmp;
20235 varlink_type.ob_type = &PyType_Type;
20236 type_init = 1;
20237 }
20238 return &varlink_type;
20239 }
20240
20241 /* Create a variable linking object for use later */
20242 SWIGINTERN PyObject *
20243 SWIG_Python_newvarlink(void) {
20244 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20245 if (result) {
20246 result->vars = 0;
20247 }
20248 return ((PyObject*) result);
20249 }
20250
20251 SWIGINTERN void
20252 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
20253 swig_varlinkobject *v = (swig_varlinkobject *) p;
20254 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20255 if (gv) {
20256 size_t size = strlen(name)+1;
20257 gv->name = (char *)malloc(size);
20258 if (gv->name) {
20259 strncpy(gv->name,name,size);
20260 gv->get_attr = get_attr;
20261 gv->set_attr = set_attr;
20262 gv->next = v->vars;
20263 }
20264 }
20265 v->vars = gv;
20266 }
20267
20268 SWIGINTERN PyObject *
20269 SWIG_globals() {
20270 static PyObject *_SWIG_globals = 0;
20271 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
20272 return _SWIG_globals;
20273 }
20274
20275 /* -----------------------------------------------------------------------------
20276 * constants/methods manipulation
20277 * ----------------------------------------------------------------------------- */
20278
20279 /* Install Constants */
20280 SWIGINTERN void
20281 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20282 PyObject *obj = 0;
20283 size_t i;
20284 for (i = 0; constants[i].type; ++i) {
20285 switch(constants[i].type) {
20286 case SWIG_PY_POINTER:
20287 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20288 break;
20289 case SWIG_PY_BINARY:
20290 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20291 break;
20292 default:
20293 obj = 0;
20294 break;
20295 }
20296 if (obj) {
20297 PyDict_SetItemString(d, constants[i].name, obj);
20298 Py_DECREF(obj);
20299 }
20300 }
20301 }
20302
20303 /* -----------------------------------------------------------------------------*/
20304 /* Fix SwigMethods to carry the callback ptrs when needed */
20305 /* -----------------------------------------------------------------------------*/
20306
20307 SWIGINTERN void
20308 SWIG_Python_FixMethods(PyMethodDef *methods,
20309 swig_const_info *const_table,
20310 swig_type_info **types,
20311 swig_type_info **types_initial) {
20312 size_t i;
20313 for (i = 0; methods[i].ml_name; ++i) {
20314 const char *c = methods[i].ml_doc;
20315 if (c && (c = strstr(c, "swig_ptr: "))) {
20316 int j;
20317 swig_const_info *ci = 0;
20318 const char *name = c + 10;
20319 for (j = 0; const_table[j].type; ++j) {
20320 if (strncmp(const_table[j].name, name,
20321 strlen(const_table[j].name)) == 0) {
20322 ci = &(const_table[j]);
20323 break;
20324 }
20325 }
20326 if (ci) {
20327 size_t shift = (ci->ptype) - types;
20328 swig_type_info *ty = types_initial[shift];
20329 size_t ldoc = (c - methods[i].ml_doc);
20330 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20331 char *ndoc = (char*)malloc(ldoc + lptr + 10);
20332 if (ndoc) {
20333 char *buff = ndoc;
20334 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20335 if (ptr) {
20336 strncpy(buff, methods[i].ml_doc, ldoc);
20337 buff += ldoc;
20338 strncpy(buff, "swig_ptr: ", 10);
20339 buff += 10;
20340 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20341 methods[i].ml_doc = ndoc;
20342 }
20343 }
20344 }
20345 }
20346 }
20347 }
20348
20349 #ifdef __cplusplus
20350 }
20351 #endif
20352
20353 /* -----------------------------------------------------------------------------*
20354 * Partial Init method
20355 * -----------------------------------------------------------------------------*/
20356
20357 #ifdef __cplusplus
20358 extern "C"
20359 #endif
20360 SWIGEXPORT void SWIG_init(void) {
20361 PyObject *m, *d;
20362
20363 /* Fix SwigMethods to carry the callback ptrs when needed */
20364 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
20365
20366 m = Py_InitModule((char *) SWIG_name, SwigMethods);
20367 d = PyModule_GetDict(m);
20368
20369 SWIG_InitializeModule(0);
20370 SWIG_InstallConstants(d,swig_const_table);
20371
20372
20373 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
20374 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
20375 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
20376 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
20377 SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
20378 SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
20379 SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
20380 SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
20381 SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
20382 SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
20383 SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
20384 SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
20385 SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
20386 SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
20387 SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
20388 SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
20389 SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
20390 SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
20391 SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
20392 SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
20393 SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
20394 SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
20395 SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
20396 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1)));
20397 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2)));
20398 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3)));
20399 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4)));
20400 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5)));
20401 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6)));
20402 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7)));
20403 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
20404 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
20405 SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
20406 SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
20407 SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
20408 SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
20409 SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
20410 SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
20411 SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
20412 SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
20413 SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
20414 SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
20415 SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
20416 SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
20417 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
20418 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
20419 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
20420 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
20421 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
20422 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
20423 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
20424 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
20425 SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
20426 SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
20427 SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
20428 SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
20429 SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
20430 SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
20431 SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
20432 SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
20433 SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
20434 SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
20435 SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
20436 SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
20437 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
20438 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
20439 SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
20440 SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
20441 SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
20442 SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
20443 SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
20444 SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
20445 SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
20446 SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
20447 SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
20448 SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
20449 SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
20450 SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
20451 SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
20452 SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
20453 SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
20454 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
20455 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
20456 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
20457 SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
20458 SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
20459 SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
20460 SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
20461 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
20462 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
20463 SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
20464 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
20465 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
20466 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
20467 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
20468 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
20469 SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
20470
20471 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20472 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20473 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20474 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
20475
20476 }
20477