]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/html_wrap.cpp
typo fix
[wxWidgets.git] / wxPython / src / msw / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 3 * Version 1.3.29
d14a1e28
RD
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
554f62e9 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d14a1e28
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d14a1e28
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
RD
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
093d3ff1 46#endif
d14a1e28 47
7449af73
RD
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
554f62e9
RD
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__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
RD
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
554f62e9
RD
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
7449af73
RD
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
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
RD
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
554f62e9
RD
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
7449af73 126
9fd4be55 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d14a1e28 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d14a1e28 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d14a1e28 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
d14a1e28 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
RD
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)
d14a1e28 147#else
7449af73 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
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*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
554f62e9
RD
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)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE 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
7449af73
RD
309#include <string.h>
310
d14a1e28
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
7449af73 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
7449af73
RD
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 */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
7449af73
RD
328/* Structure to store a type and conversion function used for casting */
329typedef 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.*/
339typedef 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
093d3ff1
RD
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*/
355SWIGRUNTIME int
356SWIG_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;
554f62e9 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_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 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
7449af73
RD
389SWIGRUNTIME int
390SWIG_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;
093d3ff1 397 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73 401 return equiv;
093d3ff1
RD
402}
403
7449af73
RD
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
093d3ff1
RD
427/*
428 Check the typename
429*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
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 */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
7449af73 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_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*/
466SWIGRUNTIMEINLINE const char *
467SWIG_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*/
475SWIGRUNTIME const char *
476SWIG_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. */
554f62e9 481 if (!type) return NULL;
093d3ff1
RD
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
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
7449af73
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
7449af73
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
RD
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*/
526SWIGRUNTIME swig_type_info *
527SWIG_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);
093d3ff1 556 }
7449af73
RD
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*/
571SWIGRUNTIME swig_type_info *
572SWIG_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);
093d3ff1 591 }
7449af73
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1 595}
d14a1e28 596
093d3ff1
RD
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
7449af73 606 register unsigned char uu = *u;
093d3ff1
RD
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*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 622 register unsigned char uu;
093d3ff1
RD
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
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_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
655SWIGRUNTIME const char *
656SWIG_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
668SWIGRUNTIME char *
669SWIG_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
683SWIGRUNTIME const char *
684SWIG_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}
d14a1e28
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
RD
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
093d3ff1 714
554f62e9
RD
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
736static PyObject *
737PyString_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
093d3ff1 764#endif
554f62e9
RD
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
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
093d3ff1
RD
799
800/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1
RD
802 * ----------------------------------------------------------------------------- */
803
554f62e9
RD
804SWIGRUNTIME PyObject*
805SWIG_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}
093d3ff1 846
554f62e9
RD
847
848SWIGRUNTIME void
849SWIG_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
093d3ff1
RD
935#endif
936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952/* Constant Types */
d14a1e28
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
d14a1e28
RD
956/* Constant information structure */
957typedef struct swig_const_info {
554f62e9
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
d14a1e28
RD
964} swig_const_info;
965
093d3ff1 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
972
973
554f62e9
RD
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 *
093d3ff1
RD
978 * pyrun.swg
979 *
554f62e9
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
554f62e9 984 * ----------------------------------------------------------------------------- */
093d3ff1 985
d14a1e28 986/* Common SWIG API */
d14a1e28 987
96221a45
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
554f62e9
RD
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
d14a1e28 1000
554f62e9
RD
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)
d14a1e28 1004
554f62e9
RD
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)
d14a1e28 1008
554f62e9
RD
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)
d14a1e28 1012
554f62e9
RD
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)
7449af73 1016
093d3ff1 1017
554f62e9 1018/* Runtime API */
093d3ff1 1019
554f62e9
RD
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)
7449af73 1023
554f62e9
RD
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
7449af73 1029
093d3ff1 1030
554f62e9 1031/* Runtime API implementation */
093d3ff1 1032
554f62e9 1033/* Error manipulation */
093d3ff1 1034
554f62e9
RD
1035SWIGINTERN void
1036SWIG_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;
093d3ff1
RD
1041}
1042
554f62e9
RD
1043SWIGINTERN void
1044SWIG_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;
d14a1e28 1048}
093d3ff1 1049
554f62e9 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1051
554f62e9 1052/* Set a constant value */
093d3ff1 1053
554f62e9
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
093d3ff1
RD
1058}
1059
554f62e9 1060/* Append a value to the result obj */
093d3ff1 1061
554f62e9
RD
1062SWIGINTERN PyObject*
1063SWIG_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;
093d3ff1 1088 } else {
554f62e9
RD
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);
093d3ff1 1100 }
554f62e9
RD
1101 return result;
1102#endif
093d3ff1
RD
1103}
1104
554f62e9 1105/* Unpack the argument tuple */
093d3ff1 1106
554f62e9
RD
1107SWIGINTERN int
1108SWIG_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
1173extern "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
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_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
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_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
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_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
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_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
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_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
1373SWIGRUNTIME int
1374PySwigObject_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
1390SWIGRUNTIME PyObject *
1391PySwigObject_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
1398SWIGRUNTIME int
1399PySwigObject_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
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_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
1457SWIGRUNTIME PyObject*
1458PySwigObject_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
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_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
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_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
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_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
1514SWIGINTERN PyObject*
1515PySwigObject_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
1550static PyMethodDef
1551swigobject_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
1561static PyMethodDef
1562swigobject_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
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME 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*/
093d3ff1
RD
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*/
7449af73 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
554f62e9 1616 static PyTypeObject pyswigobject_type;
7449af73 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
554f62e9
RD
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 */
093d3ff1 1632#endif
554f62e9
RD
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 */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
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 */
093d3ff1
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
554f62e9 1674 0, /* tp_del */
d14a1e28 1675#endif
093d3ff1 1676#ifdef COUNT_ALLOCS
554f62e9 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
554f62e9 1679 };
7449af73 1680 pyswigobject_type = tmp;
554f62e9 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
7449af73 1684 return &pyswigobject_type;
093d3ff1 1685}
c32bde28 1686
093d3ff1 1687SWIGRUNTIME PyObject *
554f62e9 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1689{
554f62e9
RD
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;
7449af73 1696 }
554f62e9 1697 return (PyObject *)sobj;
093d3ff1 1698}
d14a1e28 1699
093d3ff1
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d14a1e28 1703
093d3ff1
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
554f62e9 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
d14a1e28 1710
093d3ff1 1711SWIGRUNTIME int
554f62e9 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
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 }
554f62e9 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
9d7dfdff 1724
093d3ff1
RD
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
554f62e9 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1733 }
1734}
c32bde28 1735
093d3ff1
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
554f62e9 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
554f62e9
RD
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);
093d3ff1
RD
1754}
1755
554f62e9 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1757
1758SWIGRUNTIME PyTypeObject*
7449af73 1759PySwigPacked_type(void) {
554f62e9
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_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
1780SWIGRUNTIME 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 */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
554f62e9 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
554f62e9 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
554f62e9 1842 };
7449af73 1843 pyswigpacked_type = tmp;
554f62e9 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
7449af73 1847 return &pyswigpacked_type;
093d3ff1
RD
1848}
1849
1850SWIGRUNTIME PyObject *
554f62e9 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
554f62e9
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
7449af73
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
554f62e9
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
7449af73 1864 }
093d3ff1 1865 }
554f62e9 1866 return (PyObject *) sobj;
093d3ff1
RD
1867}
1868
554f62e9 1869SWIGRUNTIME swig_type_info *
093d3ff1
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
554f62e9
RD
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 }
093d3ff1
RD
1880}
1881
093d3ff1 1882/* -----------------------------------------------------------------------------
554f62e9 1883 * pointers/data manipulation
093d3ff1
RD
1884 * ----------------------------------------------------------------------------- */
1885
554f62e9
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
093d3ff1 1891
554f62e9
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
093d3ff1 1898
554f62e9 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1900
554f62e9
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
554f62e9
RD
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);
093d3ff1 1926 } else {
554f62e9
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
554f62e9
RD
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;
093d3ff1
RD
1947 }
1948}
1949
554f62e9
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_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 }
093d3ff1 1961 }
554f62e9 1962 return 0;
093d3ff1
RD
1963}
1964
554f62e9
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
554f62e9
RD
1968SWIG_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 }
093d3ff1 1992 } else {
554f62e9
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
554f62e9
RD
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 }
093d3ff1
RD
2042 }
2043}
2044
554f62e9
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
554f62e9
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
554f62e9
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
96221a45 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
554f62e9
RD
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;
093d3ff1
RD
2069 }
2070}
2071
554f62e9 2072/* Convert a packed value value */
093d3ff1 2073
093d3ff1 2074SWIGRUNTIME int
554f62e9
RD
2075SWIG_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 }
093d3ff1 2084 }
554f62e9
RD
2085 return SWIG_OK;
2086}
093d3ff1 2087
554f62e9
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
093d3ff1 2091
554f62e9
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
093d3ff1 2096
554f62e9
RD
2097SWIGRUNTIME PyObject*
2098SWIG_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 }
093d3ff1 2115 }
554f62e9
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
554f62e9
RD
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);
093d3ff1 2126 }
554f62e9
RD
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;
093d3ff1 2140 }
554f62e9
RD
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;
093d3ff1 2147 }
554f62e9
RD
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
093d3ff1
RD
2158}
2159
554f62e9
RD
2160SWIGRUNTIME void
2161SWIG_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 }
093d3ff1 2175#endif
554f62e9
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
093d3ff1 2180
554f62e9
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_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]);
093d3ff1 2191 } else {
554f62e9 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
554f62e9 2194 return SWIG_Py_Void();
093d3ff1 2195 }
554f62e9
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
554f62e9 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
554f62e9
RD
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;
093d3ff1 2213 }
093d3ff1 2214 }
554f62e9 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
554f62e9
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
7449af73
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
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 }
093d3ff1 2248#endif
7449af73
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
7449af73
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2256SWIGINTERN int
2257PyModule_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");
554f62e9 2263 return SWIG_ERROR;
7449af73
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
554f62e9 2268 return SWIG_ERROR;
7449af73
RD
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));
554f62e9 2276 return SWIG_ERROR;
7449af73
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
554f62e9 2279 return SWIG_ERROR;
7449af73 2280 Py_DECREF(o);
554f62e9 2281 return SWIG_OK;
093d3ff1 2282}
7449af73 2283#endif
093d3ff1 2284
554f62e9
RD
2285SWIGRUNTIME void
2286SWIG_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
7449af73
RD
2301SWIGRUNTIME void
2302SWIG_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);
554f62e9 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2310 } else {
2311 Py_XDECREF(pointer);
7449af73
RD
2312 }
2313}
8edf1c75 2314
554f62e9
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
554f62e9
RD
2321
2322SWIGRUNTIME swig_type_info *
2323SWIG_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
2351SWIGRUNTIME int
2352SWIG_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
2376SWIGRUNTIME int
2377SWIG_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
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_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
2397SWIGRUNTIME void
2398SWIG_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 */
2435SWIGRUNTIME void *
2436SWIG_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) -------- */
2f4c0a16 2465
7449af73
RD
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]
704eda0c
RD
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]
27e45892
RD
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]
10044bf1
RD
2657#define SWIGTYPE_p_wxUpdateUIEvent swig_types[191]
2658#define SWIGTYPE_p_wxValidator swig_types[192]
2659#define SWIGTYPE_p_wxVisualAttributes swig_types[193]
2660#define SWIGTYPE_p_wxWindow swig_types[194]
2661#define SWIGTYPE_p_wxWindowCreateEvent swig_types[195]
2662#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[196]
2663#define SWIGTYPE_p_wxXPMHandler swig_types[197]
2664static swig_type_info *swig_types[199];
2665static swig_module_info swig_module = {swig_types, 198, 0, 0, 0, 0};
7449af73
RD
2666#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2667#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
8edf1c75 2668
093d3ff1 2669/* -------- TYPES TABLE (END) -------- */
8edf1c75 2670
554f62e9
RD
2671#if (PY_VERSION_HEX <= 0x02000000)
2672# if !defined(SWIG_PYTHON_CLASSIC)
2673# error "This python version requires to use swig with the '-classic' option"
2674# endif
2675#endif
2676#if (PY_VERSION_HEX <= 0x02020000)
2677# error "This python version requires to use swig with the '-nomodern' option"
2678#endif
2679#if (PY_VERSION_HEX <= 0x02020000)
2680# error "This python version requires to use swig with the '-nomodernargs' option"
2681#endif
2682#ifndef METH_O
2683# error "This python version requires to use swig with the '-nofastunpack' option"
2684#endif
8edf1c75 2685
093d3ff1
RD
2686/*-----------------------------------------------
2687 @(target):= _html.so
2688 ------------------------------------------------*/
2689#define SWIG_init init_html
2690
2691#define SWIG_name "_html"
8edf1c75 2692
554f62e9
RD
2693#define SWIGVERSION 0x010329
2694
2695
2696#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2697#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2698
2699
2700#include <stdexcept>
2701
2702
2703namespace swig {
2704 class PyObject_ptr {
2705 protected:
2706 PyObject *_obj;
2707
2708 public:
2709 PyObject_ptr() :_obj(0)
2710 {
2711 }
2712
2713 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2714 {
2715 Py_XINCREF(_obj);
2716 }
2717
2718 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2719 {
2720 if (initial_ref) Py_XINCREF(_obj);
2721 }
2722
2723 PyObject_ptr & operator=(const PyObject_ptr& item)
2724 {
2725 Py_XINCREF(item._obj);
2726 Py_XDECREF(_obj);
2727 _obj = item._obj;
2728 return *this;
2729 }
2730
2731 ~PyObject_ptr()
2732 {
2733 Py_XDECREF(_obj);
2734 }
2735
2736 operator PyObject *() const
2737 {
2738 return _obj;
2739 }
2740
2741 PyObject *operator->() const
2742 {
2743 return _obj;
2744 }
2745 };
2746}
2747
2748
2749namespace swig {
2750 struct PyObject_var : PyObject_ptr {
2751 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2752
2753 PyObject_var & operator = (PyObject* obj)
2754 {
2755 Py_XDECREF(_obj);
2756 _obj = obj;
2757 return *this;
2758 }
2759 };
2760}
2761
2762
d14a1e28
RD
2763#include "wx/wxPython/wxPython.h"
2764#include "wx/wxPython/pyclasses.h"
2765#include "wx/wxPython/pyistream.h"
2766#include "wx/wxPython/printfw.h"
2767
2768#include <wx/html/htmlwin.h>
2769#include <wx/html/htmprint.h>
2770#include <wx/html/helpctrl.h>
7449af73
RD
2771#include <wx/html/helpwnd.h>
2772#include <wx/html/helpfrm.h>
2773#include <wx/html/helpdlg.h>
d14a1e28
RD
2774
2775
d03fd34d
RD
2776 static const wxString wxPyEmptyString(wxEmptyString);
2777 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2778 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2779 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
8edf1c75 2780
554f62e9 2781 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2782
2783
554f62e9
RD
2784SWIGINTERNINLINE PyObject *
2785SWIG_From_int (int value)
2786{
2787 return SWIG_From_long (value);
2788}
2f4c0a16
RD
2789
2790
554f62e9
RD
2791#include <limits.h>
2792#ifndef LLONG_MIN
2793# define LLONG_MIN LONG_LONG_MIN
2794#endif
2795#ifndef LLONG_MAX
2796# define LLONG_MAX LONG_LONG_MAX
2797#endif
2798#ifndef ULLONG_MAX
2799# define ULLONG_MAX ULONG_LONG_MAX
2800#endif
2f4c0a16
RD
2801
2802
093d3ff1 2803SWIGINTERN int
554f62e9 2804SWIG_AsVal_long (PyObject* obj, long* val)
2f4c0a16 2805{
c32bde28
RD
2806 if (PyNumber_Check(obj)) {
2807 if (val) *val = PyInt_AsLong(obj);
554f62e9 2808 return SWIG_OK;
c32bde28 2809 }
554f62e9 2810 return SWIG_TypeError;
2f4c0a16
RD
2811}
2812
2813
093d3ff1 2814SWIGINTERN int
554f62e9
RD
2815SWIG_AsVal_int (PyObject * obj, int *val)
2816{
c32bde28 2817 long v;
554f62e9
RD
2818 int res = SWIG_AsVal_long (obj, &v);
2819 if (SWIG_IsOK(res)) {
2820 if ((v < INT_MIN || v > INT_MAX)) {
2821 return SWIG_OverflowError;
c32bde28 2822 } else {
554f62e9 2823 if (val) *val = static_cast< int >(v);
c32bde28 2824 }
554f62e9
RD
2825 }
2826 return res;
8edf1c75
RD
2827}
2828
554f62e9 2829SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2830 int* temp = NULL;
2831 if (sizes) temp = int_LIST_helper(sizes);
2832 self->SetFonts(normal_face, fixed_face, temp);
2833 if (temp)
2834 delete [] temp;
2835 }
2836
2837class wxPyHtmlTagHandler : public wxHtmlTagHandler {
7449af73 2838 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
d14a1e28
RD
2839public:
2840 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2841
2842 wxHtmlParser* GetParser() { return m_Parser; }
2843 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
2844
2845 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2846 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2847
2848 PYPRIVATE;
2849};
2850
2851IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
2852
2853IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
2854IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
2855
2856
2857class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
7449af73 2858 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
d14a1e28
RD
2859public:
2860 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2861
2862 wxHtmlWinParser* GetParser() { return m_WParser; }
2863 void ParseInner(const wxHtmlTag& tag)
2864 { wxHtmlWinTagHandler::ParseInner(tag); }
2865
2866 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2867 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2868
2869 PYPRIVATE;
2870};
2871
2872IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
2873
2874IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
2875IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
2876
2877
2878
2879class wxPyHtmlTagsModule : public wxHtmlTagsModule {
2880public:
2881 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
2882 m_tagHandlerClass = thc;
2883 Py_INCREF(m_tagHandlerClass);
2884 RegisterModule(this);
2885 wxHtmlWinParser::AddModule(this);
2886 }
2887
2888 void OnExit() {
5a446332 2889 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2890 Py_DECREF(m_tagHandlerClass);
2891 m_tagHandlerClass = NULL;
2892 for (size_t x=0; x < m_objArray.GetCount(); x++) {
2893 PyObject* obj = (PyObject*)m_objArray.Item(x);
2894 Py_DECREF(obj);
2895 }
4f89f6a3 2896 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2897 };
2898
2899 void FillHandlersTable(wxHtmlWinParser *parser) {
2900 // Wave our magic wand... (if it works it's a miracle! ;-)
2901
2902 // First, make a new instance of the tag handler
5a446332 2903 wxPyBlock_t blocked = wxPyBeginBlockThreads();
fb757066
RD
2904 PyObject* arg = PyTuple_New(0);
2905 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 2906 Py_DECREF(arg);
7449af73 2907
d14a1e28
RD
2908 // now figure out where it's C++ object is...
2909 wxPyHtmlWinTagHandler* thPtr;
fb757066 2910 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
4f89f6a3 2911 wxPyEndBlockThreads(blocked);
d14a1e28 2912 return;
fb757066 2913 }
4f89f6a3 2914 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2915
2916 // add it,
2917 parser->AddTagHandler(thPtr);
2918
2919 // and track it.
2920 m_objArray.Add(obj);
2921 }
2922
2923private:
2924 PyObject* m_tagHandlerClass;
2925 wxArrayPtrVoid m_objArray;
2926
2927};
2928
2929
2930 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
2931 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2932 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2933 new wxPyHtmlTagsModule(tagHandlerClass);
2934 }
2935
2936
7449af73 2937SWIGINTERNINLINE PyObject*
554f62e9 2938 SWIG_From_bool (bool value)
093d3ff1 2939{
554f62e9 2940 return PyBool_FromLong(value ? 1 : 0);
093d3ff1
RD
2941}
2942
2943
093d3ff1 2944SWIGINTERN int
554f62e9 2945SWIG_AsVal_bool (PyObject *obj, bool *val)
2f4c0a16 2946{
c32bde28
RD
2947 if (obj == Py_True) {
2948 if (val) *val = true;
554f62e9
RD
2949 return SWIG_OK;
2950 } else if (obj == Py_False) {
c32bde28 2951 if (val) *val = false;
554f62e9 2952 return SWIG_OK;
093d3ff1 2953 } else {
554f62e9
RD
2954 long v = 0;
2955 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2956 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2957 return res;
2f4c0a16 2958 }
c32bde28
RD
2959}
2960
c32bde28 2961
093d3ff1 2962SWIGINTERN int
554f62e9 2963SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
c32bde28
RD
2964{
2965 long v = 0;
2966 if (SWIG_AsVal_long(obj, &v) && v < 0) {
554f62e9 2967 return SWIG_TypeError;
c32bde28
RD
2968 }
2969 else if (val)
2970 *val = (unsigned long)v;
554f62e9 2971 return SWIG_OK;
2f4c0a16
RD
2972}
2973
2974
093d3ff1 2975SWIGINTERN int
554f62e9
RD
2976SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2977{
c32bde28 2978 unsigned long v;
554f62e9
RD
2979 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2980 if (SWIG_IsOK(res)) {
2981 if ((v > UINT_MAX)) {
2982 return SWIG_OverflowError;
2983 } else {
2984 if (val) *val = static_cast< unsigned int >(v);
c32bde28 2985 }
554f62e9
RD
2986 }
2987 return res;
c32bde28 2988}
8edf1c75
RD
2989
2990
554f62e9
RD
2991SWIGINTERNINLINE PyObject*
2992SWIG_From_unsigned_SS_long (unsigned long value)
8edf1c75 2993{
554f62e9
RD
2994 return (value > LONG_MAX) ?
2995 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
c32bde28
RD
2996}
2997
554f62e9
RD
2998
2999SWIGINTERNINLINE PyObject *
3000SWIG_From_unsigned_SS_int (unsigned int value)
3001{
3002 return SWIG_From_unsigned_SS_long (value);
2f4c0a16
RD
3003}
3004
d14a1e28
RD
3005 // here's the C++ version
3006class wxPyHtmlFilter : public wxHtmlFilter {
7449af73 3007 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
d14a1e28
RD
3008public:
3009 wxPyHtmlFilter() : wxHtmlFilter() {}
3010
423f194a 3011 // returns True if this filter is able to open&read given file
d14a1e28 3012 virtual bool CanRead(const wxFSFile& file) const {
ae8162c8 3013 bool rval = false;
d14a1e28 3014 bool found;
5a446332 3015 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3016 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 3017 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
3018 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3019 Py_DECREF(obj);
3020 }
4f89f6a3 3021 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3022 return rval;
3023 }
3024
3025
3026 // Reads given file and returns HTML document.
3027 // Returns empty string if opening failed
3028 virtual wxString ReadFile(const wxFSFile& file) const {
3029 wxString rval;
3030 bool found;
5a446332 3031 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3032 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 3033 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
3034 PyObject* ro;
3035 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
3036 Py_DECREF(obj);
3037 if (ro) {
3038 rval = Py2wxString(ro);
3039 Py_DECREF(ro);
3040 }
3041 }
4f89f6a3 3042 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3043 return rval;
3044 }
3045
3046 PYPRIVATE;
3047};
3048
3049IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
3050
3051
3052class wxPyHtmlWindow : public wxHtmlWindow {
7449af73 3053 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
d14a1e28
RD
3054public:
3055 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
3056 const wxPoint& pos = wxDefaultPosition,
3057 const wxSize& size = wxDefaultSize,
3058 long style = wxHW_DEFAULT_STYLE,
3059 const wxString& name = wxPyHtmlWindowNameStr)
3060 : wxHtmlWindow(parent, id, pos, size, style, name) {};
3061 wxPyHtmlWindow() : wxHtmlWindow() {};
3062
3063 bool ScrollToAnchor(const wxString& anchor) {
3064 return wxHtmlWindow::ScrollToAnchor(anchor);
3065 }
3066
3067 bool HasAnchor(const wxString& anchor) {
3068 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
3069 return c!=NULL;
3070 }
3071
3072 void OnLinkClicked(const wxHtmlLinkInfo& link);
d14a1e28
RD
3073
3074 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
3075 const wxString& url,
3076 wxString *redirect) const;
3077
3078 DEC_PYCALLBACK__STRING(OnSetTitle);
3079 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
e9d6f3a4
RD
3080 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
3081
d14a1e28
RD
3082 PYPRIVATE;
3083};
3084
3085IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
3086IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
3087IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
e9d6f3a4 3088IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
d14a1e28
RD
3089
3090
3091void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
3092 bool found;
5a446332 3093 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3094 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3095 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3096 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3097 Py_DECREF(obj);
3098 }
4f89f6a3 3099 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3100 if (! found)
3101 wxHtmlWindow::OnLinkClicked(link);
3102}
d14a1e28
RD
3103
3104
3105wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
3106 const wxString& url,
3107 wxString *redirect) const {
3108 bool found;
3109 wxHtmlOpeningStatus rval;
5a446332 3110 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3111 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
3112 PyObject* ro;
3113 PyObject* s = wx2PyString(url);
3114 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
3115 Py_DECREF(s);
3116 if (PyString_Check(ro)
3117#if PYTHON_API_VERSION >= 1009
3118 || PyUnicode_Check(ro)
3119#endif
3120 ) {
3121 *redirect = Py2wxString(ro);
3122 rval = wxHTML_REDIRECT;
3123 }
3124 else {
3125 PyObject* num = PyNumber_Int(ro);
3126 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
3127 Py_DECREF(num);
3128 }
3129 Py_DECREF(ro);
3130 }
4f89f6a3 3131 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3132 if (! found)
3133 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
3134 return rval;
3135}
3136
3137
3138
554f62e9 3139SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3140 int* temp = NULL;
3141 if (sizes) temp = int_LIST_helper(sizes);
3142 self->SetFonts(normal_face, fixed_face, temp);
3143 if (temp)
3144 delete [] temp;
3145 }
554f62e9 3146SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3147 int* temp = NULL;
3148 if (sizes) temp = int_LIST_helper(sizes);
3149 self->SetFonts(normal_face, fixed_face, temp);
3150 if (temp)
3151 delete [] temp;
3152 }
554f62e9 3153SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3154 int* temp = NULL;
3155 if (sizes) temp = int_LIST_helper(sizes);
3156 self->SetFonts(normal_face, fixed_face, temp);
3157 if (temp)
3158 delete [] temp;
3159 }
8edf1c75 3160
2f4c0a16 3161#include <float.h>
2f4c0a16
RD
3162
3163
093d3ff1 3164SWIGINTERN int
554f62e9 3165SWIG_AsVal_double (PyObject *obj, double* val)
8edf1c75 3166{
c32bde28
RD
3167 if (PyNumber_Check(obj)) {
3168 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 3169 return SWIG_OK;
69223c70 3170 }
554f62e9 3171 return SWIG_TypeError;
c32bde28
RD
3172}
3173
3174
093d3ff1 3175SWIGINTERN int
554f62e9 3176SWIG_AsVal_float (PyObject * obj, float *val)
c32bde28 3177{
c32bde28 3178 double v;
554f62e9
RD
3179 int res = SWIG_AsVal_double (obj, &v);
3180 if (SWIG_IsOK(res)) {
3181 if ((v < -FLT_MAX || v > FLT_MAX)) {
3182 return SWIG_OverflowError;
c32bde28 3183 } else {
554f62e9 3184 if (val) *val = static_cast< float >(v);
c32bde28 3185 }
554f62e9
RD
3186 }
3187 return res;
8edf1c75
RD
3188}
3189
554f62e9 3190SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3191 int* temp = NULL;
3192 if (sizes) temp = int_LIST_helper(sizes);
3193 self->SetFonts(normal_face, fixed_face, temp);
3194 if (temp)
3195 delete [] temp;
3196 }
10044bf1
RD
3197
3198 typedef wxTreeCtrl wxPyTreeCtrl;
3199
d14a1e28
RD
3200#ifdef __cplusplus
3201extern "C" {
3202#endif
554f62e9
RD
3203SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3204 SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3205 return 1;
d03fd34d
RD
3206}
3207
3208
554f62e9
RD
3209SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3210 PyObject *pyobj = 0;
3211
3212 {
d03fd34d 3213#if wxUSE_UNICODE
554f62e9 3214 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
d03fd34d 3215#else
554f62e9 3216 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
d03fd34d 3217#endif
554f62e9
RD
3218 }
3219 return pyobj;
d03fd34d
RD
3220}
3221
3222
554f62e9
RD
3223SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3224 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3225 return 1;
d03fd34d
RD
3226}
3227
3228
554f62e9
RD
3229SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3230 PyObject *pyobj = 0;
3231
3232 {
d03fd34d 3233#if wxUSE_UNICODE
554f62e9 3234 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
d03fd34d 3235#else
554f62e9 3236 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
d03fd34d 3237#endif
554f62e9
RD
3238 }
3239 return pyobj;
d03fd34d
RD
3240}
3241
3242
554f62e9
RD
3243SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3244 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3245 return 1;
d03fd34d
RD
3246}
3247
3248
554f62e9
RD
3249SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3250 PyObject *pyobj = 0;
3251
3252 {
d03fd34d 3253#if wxUSE_UNICODE
554f62e9 3254 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
d03fd34d 3255#else
554f62e9 3256 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
d03fd34d 3257#endif
554f62e9
RD
3258 }
3259 return pyobj;
3260}
3261
3262
3263SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj = 0;
3265 wxString *arg1 = 0 ;
3266 wxString const &arg2_defvalue = wxPyEmptyString ;
3267 wxString *arg2 = (wxString *) &arg2_defvalue ;
3268 wxHtmlLinkInfo *result = 0 ;
3269 bool temp1 = false ;
3270 bool temp2 = false ;
3271 PyObject * obj0 = 0 ;
3272 PyObject * obj1 = 0 ;
3273 char * kwnames[] = {
3274 (char *) "href",(char *) "target", NULL
3275 };
3276
3277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3278 {
3279 arg1 = wxString_in_helper(obj0);
3280 if (arg1 == NULL) SWIG_fail;
3281 temp1 = true;
3282 }
3283 if (obj1) {
d14a1e28 3284 {
554f62e9
RD
3285 arg2 = wxString_in_helper(obj1);
3286 if (arg2 == NULL) SWIG_fail;
3287 temp2 = true;
d14a1e28 3288 }
554f62e9
RD
3289 }
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3297 {
3298 if (temp1)
3299 delete arg1;
3300 }
3301 {
3302 if (temp2)
3303 delete arg2;
3304 }
3305 return resultobj;
3306fail:
3307 {
3308 if (temp1)
3309 delete arg1;
3310 }
3311 {
3312 if (temp2)
3313 delete arg2;
3314 }
3315 return NULL;
d14a1e28
RD
3316}
3317
3318
554f62e9
RD
3319SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3320 PyObject *resultobj = 0;
3321 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3322 wxString result;
3323 void *argp1 = 0 ;
3324 int res1 = 0 ;
3325 PyObject *swig_obj[1] ;
3326
3327 if (!args) SWIG_fail;
3328 swig_obj[0] = args;
3329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3330 if (!SWIG_IsOK(res1)) {
3331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3332 }
3333 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 result = (arg1)->GetHref();
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 {
d14a1e28 3341#if wxUSE_UNICODE
554f62e9 3342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3343#else
554f62e9 3344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3345#endif
554f62e9
RD
3346 }
3347 return resultobj;
3348fail:
3349 return NULL;
d14a1e28
RD
3350}
3351
3352
554f62e9
RD
3353SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3354 PyObject *resultobj = 0;
3355 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3356 wxString result;
3357 void *argp1 = 0 ;
3358 int res1 = 0 ;
3359 PyObject *swig_obj[1] ;
3360
3361 if (!args) SWIG_fail;
3362 swig_obj[0] = args;
3363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3364 if (!SWIG_IsOK(res1)) {
3365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3366 }
3367 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3368 {
3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
3370 result = (arg1)->GetTarget();
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 {
d14a1e28 3375#if wxUSE_UNICODE
554f62e9 3376 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3377#else
554f62e9 3378 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3379#endif
554f62e9
RD
3380 }
3381 return resultobj;
3382fail:
3383 return NULL;
d14a1e28
RD
3384}
3385
3386
554f62e9
RD
3387SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3388 PyObject *resultobj = 0;
3389 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3390 wxMouseEvent *result = 0 ;
3391 void *argp1 = 0 ;
3392 int res1 = 0 ;
3393 PyObject *swig_obj[1] ;
3394
3395 if (!args) SWIG_fail;
3396 swig_obj[0] = args;
3397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3398 if (!SWIG_IsOK(res1)) {
3399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3400 }
3401 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 result = (wxMouseEvent *)(arg1)->GetEvent();
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 {
3409 resultobj = wxPyMake_wxObject(result, (bool)0);
3410 }
3411 return resultobj;
3412fail:
3413 return NULL;
d14a1e28
RD
3414}
3415
3416
554f62e9
RD
3417SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3418 PyObject *resultobj = 0;
3419 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3420 wxHtmlCell *result = 0 ;
3421 void *argp1 = 0 ;
3422 int res1 = 0 ;
3423 PyObject *swig_obj[1] ;
3424
3425 if (!args) SWIG_fail;
3426 swig_obj[0] = args;
3427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3428 if (!SWIG_IsOK(res1)) {
3429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3430 }
3431 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3439 return resultobj;
3440fail:
3441 return NULL;
3442}
3443
3444
3445SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3446 PyObject *resultobj = 0;
3447 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3448 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3449 void *argp1 = 0 ;
3450 int res1 = 0 ;
3451 void *argp2 = 0 ;
3452 int res2 = 0 ;
3453 PyObject * obj0 = 0 ;
3454 PyObject * obj1 = 0 ;
3455 char * kwnames[] = {
3456 (char *) "self",(char *) "e", NULL
3457 };
3458
3459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3461 if (!SWIG_IsOK(res1)) {
3462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3463 }
3464 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3466 if (!SWIG_IsOK(res2)) {
3467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3468 }
3469 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SetEvent((wxMouseEvent const *)arg2);
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 resultobj = SWIG_Py_Void();
3477 return resultobj;
3478fail:
3479 return NULL;
3480}
3481
3482
3483SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj = 0;
3485 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3486 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3487 void *argp1 = 0 ;
3488 int res1 = 0 ;
3489 void *argp2 = 0 ;
3490 int res2 = 0 ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 char * kwnames[] = {
3494 (char *) "self",(char *) "e", NULL
3495 };
3496
3497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3499 if (!SWIG_IsOK(res1)) {
3500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3501 }
3502 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3504 if (!SWIG_IsOK(res2)) {
3505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3506 }
3507 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
3510 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 resultobj = SWIG_Py_Void();
3515 return resultobj;
3516fail:
3517 return NULL;
d14a1e28
RD
3518}
3519
3520
554f62e9
RD
3521SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3522 PyObject *obj;
3523 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3524 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3525 return SWIG_Py_Void();
d14a1e28
RD
3526}
3527
554f62e9
RD
3528SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3529 return SWIG_Python_InitShadowInstance(args);
3530}
d14a1e28 3531
554f62e9
RD
3532SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3533 PyObject *resultobj = 0;
3534 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3535 wxString result;
3536 void *argp1 = 0 ;
3537 int res1 = 0 ;
3538 PyObject *swig_obj[1] ;
3539
3540 if (!args) SWIG_fail;
3541 swig_obj[0] = args;
3542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3543 if (!SWIG_IsOK(res1)) {
3544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3545 }
3546 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 result = (arg1)->GetName();
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 {
3554#if wxUSE_UNICODE
3555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3556#else
3557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3558#endif
3559 }
3560 return resultobj;
3561fail:
3562 return NULL;
3563}
3564
3565
3566SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj = 0;
3568 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3569 wxString *arg2 = 0 ;
3570 bool result;
3571 void *argp1 = 0 ;
3572 int res1 = 0 ;
3573 bool temp2 = false ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 char * kwnames[] = {
3577 (char *) "self",(char *) "par", NULL
3578 };
3579
3580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3582 if (!SWIG_IsOK(res1)) {
3583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3584 }
3585 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3586 {
3587 arg2 = wxString_in_helper(obj1);
3588 if (arg2 == NULL) SWIG_fail;
3589 temp2 = true;
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3594 wxPyEndAllowThreads(__tstate);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 }
3597 {
3598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3599 }
3600 {
3601 if (temp2)
3602 delete arg2;
3603 }
3604 return resultobj;
3605fail:
3606 {
3607 if (temp2)
3608 delete arg2;
3609 }
3610 return NULL;
3611}
3612
3613
3614SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj = 0;
3616 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3617 wxString *arg2 = 0 ;
3618 int arg3 = (int) false ;
3619 wxString result;
3620 void *argp1 = 0 ;
3621 int res1 = 0 ;
3622 bool temp2 = false ;
3623 int val3 ;
3624 int ecode3 = 0 ;
3625 PyObject * obj0 = 0 ;
3626 PyObject * obj1 = 0 ;
3627 PyObject * obj2 = 0 ;
3628 char * kwnames[] = {
3629 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3630 };
3631
3632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3634 if (!SWIG_IsOK(res1)) {
3635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3636 }
3637 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3638 {
3639 arg2 = wxString_in_helper(obj1);
3640 if (arg2 == NULL) SWIG_fail;
3641 temp2 = true;
3642 }
3643 if (obj2) {
3644 ecode3 = SWIG_AsVal_int(obj2, &val3);
3645 if (!SWIG_IsOK(ecode3)) {
3646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3647 }
3648 arg3 = static_cast< int >(val3);
3649 }
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
3656 {
3657#if wxUSE_UNICODE
3658 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3659#else
3660 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3661#endif
3662 }
3663 {
3664 if (temp2)
3665 delete arg2;
3666 }
3667 return resultobj;
3668fail:
3669 {
3670 if (temp2)
3671 delete arg2;
3672 }
3673 return NULL;
d14a1e28
RD
3674}
3675
3676
554f62e9
RD
3677SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3678 PyObject *resultobj = 0;
3679 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3680 wxString result;
3681 void *argp1 = 0 ;
3682 int res1 = 0 ;
3683 PyObject *swig_obj[1] ;
3684
3685 if (!args) SWIG_fail;
3686 swig_obj[0] = args;
3687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3688 if (!SWIG_IsOK(res1)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3690 }
3691 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 result = (arg1)->GetAllParams();
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
d14a1e28 3699#if wxUSE_UNICODE
554f62e9 3700 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3701#else
554f62e9 3702 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3703#endif
554f62e9
RD
3704 }
3705 return resultobj;
3706fail:
3707 return NULL;
d14a1e28
RD
3708}
3709
3710
554f62e9
RD
3711SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3712 PyObject *resultobj = 0;
3713 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3714 bool result;
3715 void *argp1 = 0 ;
3716 int res1 = 0 ;
3717 PyObject *swig_obj[1] ;
3718
3719 if (!args) SWIG_fail;
3720 swig_obj[0] = args;
3721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3722 if (!SWIG_IsOK(res1)) {
3723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3724 }
3725 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 result = (bool)(arg1)->HasEnding();
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 {
3733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3734 }
3735 return resultobj;
3736fail:
3737 return NULL;
d14a1e28
RD
3738}
3739
3740
554f62e9
RD
3741SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3742 PyObject *resultobj = 0;
3743 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3744 int result;
3745 void *argp1 = 0 ;
3746 int res1 = 0 ;
3747 PyObject *swig_obj[1] ;
3748
3749 if (!args) SWIG_fail;
3750 swig_obj[0] = args;
3751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3752 if (!SWIG_IsOK(res1)) {
3753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3754 }
3755 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3756 {
3757 PyThreadState* __tstate = wxPyBeginAllowThreads();
3758 result = (int)(arg1)->GetBeginPos();
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 resultobj = SWIG_From_int(static_cast< int >(result));
3763 return resultobj;
3764fail:
3765 return NULL;
d14a1e28
RD
3766}
3767
3768
554f62e9
RD
3769SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3770 PyObject *resultobj = 0;
3771 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3772 int result;
3773 void *argp1 = 0 ;
3774 int res1 = 0 ;
3775 PyObject *swig_obj[1] ;
3776
3777 if (!args) SWIG_fail;
3778 swig_obj[0] = args;
3779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3780 if (!SWIG_IsOK(res1)) {
3781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3782 }
3783 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (int)(arg1)->GetEndPos1();
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 resultobj = SWIG_From_int(static_cast< int >(result));
3791 return resultobj;
3792fail:
3793 return NULL;
d14a1e28
RD
3794}
3795
3796
554f62e9
RD
3797SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3798 PyObject *resultobj = 0;
3799 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3800 int result;
3801 void *argp1 = 0 ;
3802 int res1 = 0 ;
3803 PyObject *swig_obj[1] ;
3804
3805 if (!args) SWIG_fail;
3806 swig_obj[0] = args;
3807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3808 if (!SWIG_IsOK(res1)) {
3809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3810 }
3811 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 result = (int)(arg1)->GetEndPos2();
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 resultobj = SWIG_From_int(static_cast< int >(result));
3819 return resultobj;
3820fail:
3821 return NULL;
3822}
3823
3824
3825SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3826 PyObject *obj;
3827 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3828 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3829 return SWIG_Py_Void();
3830}
3831
3832SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3833 PyObject *resultobj = 0;
3834 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3835 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3836 void *argp1 = 0 ;
3837 int res1 = 0 ;
3838 void *argp2 = 0 ;
3839 int res2 = 0 ;
3840 PyObject * obj0 = 0 ;
3841 PyObject * obj1 = 0 ;
3842 char * kwnames[] = {
3843 (char *) "self",(char *) "fs", NULL
3844 };
3845
3846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3848 if (!SWIG_IsOK(res1)) {
3849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3850 }
3851 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3853 if (!SWIG_IsOK(res2)) {
3854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3855 }
3856 arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 (arg1)->SetFS(arg2);
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = SWIG_Py_Void();
3864 return resultobj;
3865fail:
3866 return NULL;
d14a1e28
RD
3867}
3868
3869
554f62e9
RD
3870SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3871 PyObject *resultobj = 0;
3872 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3873 wxFileSystem *result = 0 ;
3874 void *argp1 = 0 ;
3875 int res1 = 0 ;
3876 PyObject *swig_obj[1] ;
3877
3878 if (!args) SWIG_fail;
3879 swig_obj[0] = args;
3880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3881 if (!SWIG_IsOK(res1)) {
3882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3883 }
3884 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (wxFileSystem *)(arg1)->GetFS();
3888 wxPyEndAllowThreads(__tstate);
3889 if (PyErr_Occurred()) SWIG_fail;
3890 }
3891 {
3892 resultobj = wxPyMake_wxObject(result, (bool)0);
3893 }
3894 return resultobj;
3895fail:
3896 return NULL;
3897}
3898
3899
3900SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj = 0;
3902 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3903 wxString *arg2 = 0 ;
3904 wxObject *result = 0 ;
3905 void *argp1 = 0 ;
3906 int res1 = 0 ;
3907 bool temp2 = false ;
3908 PyObject * obj0 = 0 ;
3909 PyObject * obj1 = 0 ;
3910 char * kwnames[] = {
3911 (char *) "self",(char *) "source", NULL
3912 };
3913
3914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3916 if (!SWIG_IsOK(res1)) {
3917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3918 }
3919 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3920 {
3921 arg2 = wxString_in_helper(obj1);
3922 if (arg2 == NULL) SWIG_fail;
3923 temp2 = true;
3924 }
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 {
3932 resultobj = wxPyMake_wxObject(result, (bool)0);
3933 }
3934 {
3935 if (temp2)
3936 delete arg2;
3937 }
3938 return resultobj;
3939fail:
3940 {
3941 if (temp2)
3942 delete arg2;
3943 }
3944 return NULL;
d14a1e28
RD
3945}
3946
3947
554f62e9
RD
3948SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3949 PyObject *resultobj = 0;
3950 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3951 wxString *arg2 = 0 ;
3952 void *argp1 = 0 ;
3953 int res1 = 0 ;
3954 bool temp2 = false ;
3955 PyObject * obj0 = 0 ;
3956 PyObject * obj1 = 0 ;
3957 char * kwnames[] = {
3958 (char *) "self",(char *) "source", NULL
3959 };
3960
3961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3963 if (!SWIG_IsOK(res1)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3965 }
3966 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3967 {
3968 arg2 = wxString_in_helper(obj1);
3969 if (arg2 == NULL) SWIG_fail;
3970 temp2 = true;
3971 }
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 (arg1)->InitParser((wxString const &)*arg2);
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 resultobj = SWIG_Py_Void();
3979 {
3980 if (temp2)
3981 delete arg2;
3982 }
3983 return resultobj;
3984fail:
3985 {
3986 if (temp2)
3987 delete arg2;
3988 }
3989 return NULL;
d14a1e28
RD
3990}
3991
3992
554f62e9
RD
3993SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3994 PyObject *resultobj = 0;
3995 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3996 void *argp1 = 0 ;
3997 int res1 = 0 ;
3998 PyObject *swig_obj[1] ;
3999
4000 if (!args) SWIG_fail;
4001 swig_obj[0] = args;
4002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4003 if (!SWIG_IsOK(res1)) {
4004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4005 }
4006 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 (arg1)->DoneParser();
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 resultobj = SWIG_Py_Void();
4014 return resultobj;
4015fail:
4016 return NULL;
4017}
4018
4019
4020SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj = 0;
4022 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4023 int arg2 ;
4024 int arg3 ;
4025 void *argp1 = 0 ;
4026 int res1 = 0 ;
4027 int val2 ;
4028 int ecode2 = 0 ;
4029 int val3 ;
4030 int ecode3 = 0 ;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 PyObject * obj2 = 0 ;
4034 char * kwnames[] = {
4035 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4036 };
4037
4038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4040 if (!SWIG_IsOK(res1)) {
4041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4042 }
4043 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4044 ecode2 = SWIG_AsVal_int(obj1, &val2);
4045 if (!SWIG_IsOK(ecode2)) {
4046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4047 }
4048 arg2 = static_cast< int >(val2);
4049 ecode3 = SWIG_AsVal_int(obj2, &val3);
4050 if (!SWIG_IsOK(ecode3)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4052 }
4053 arg3 = static_cast< int >(val3);
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 (arg1)->DoParsing(arg2,arg3);
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 resultobj = SWIG_Py_Void();
4061 return resultobj;
4062fail:
4063 return NULL;
d14a1e28
RD
4064}
4065
4066
554f62e9
RD
4067SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4068 PyObject *resultobj = 0;
4069 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4070 void *argp1 = 0 ;
4071 int res1 = 0 ;
4072 PyObject *swig_obj[1] ;
4073
4074 if (!args) SWIG_fail;
4075 swig_obj[0] = args;
4076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4077 if (!SWIG_IsOK(res1)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4079 }
4080 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 (arg1)->StopParsing();
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 resultobj = SWIG_Py_Void();
4088 return resultobj;
4089fail:
4090 return NULL;
4091}
4092
4093
4094SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4095 PyObject *resultobj = 0;
4096 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4097 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4098 void *argp1 = 0 ;
4099 int res1 = 0 ;
4100 void *argp2 = 0 ;
4101 int res2 = 0 ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 char * kwnames[] = {
4105 (char *) "self",(char *) "handler", NULL
4106 };
4107
4108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4110 if (!SWIG_IsOK(res1)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4112 }
4113 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4114 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4115 if (!SWIG_IsOK(res2)) {
4116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4117 }
4118 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 (arg1)->AddTagHandler(arg2);
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 resultobj = SWIG_Py_Void();
4126 return resultobj;
4127fail:
4128 return NULL;
d14a1e28
RD
4129}
4130
4131
554f62e9
RD
4132SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4133 PyObject *resultobj = 0;
4134 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4135 wxString *result = 0 ;
4136 void *argp1 = 0 ;
4137 int res1 = 0 ;
4138 PyObject *swig_obj[1] ;
4139
4140 if (!args) SWIG_fail;
4141 swig_obj[0] = args;
4142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4143 if (!SWIG_IsOK(res1)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4145 }
4146 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (wxString *)(arg1)->GetSource();
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 {
4154#if wxUSE_UNICODE
4155 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4156#else
4157 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4158#endif
4159 }
4160 return resultobj;
4161fail:
4162 return NULL;
4163}
4164
4165
4166SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4167 PyObject *resultobj = 0;
4168 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4169 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4170 wxString arg3 ;
4171 void *argp1 = 0 ;
4172 int res1 = 0 ;
4173 void *argp2 = 0 ;
4174 int res2 = 0 ;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 PyObject * obj2 = 0 ;
4178 char * kwnames[] = {
4179 (char *) "self",(char *) "handler",(char *) "tags", NULL
4180 };
4181
4182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4184 if (!SWIG_IsOK(res1)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4186 }
4187 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4189 if (!SWIG_IsOK(res2)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4191 }
4192 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4193 {
4194 wxString* sptr = wxString_in_helper(obj2);
4195 if (sptr == NULL) SWIG_fail;
4196 arg3 = *sptr;
4197 delete sptr;
4198 }
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 (arg1)->PushTagHandler(arg2,arg3);
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 resultobj = SWIG_Py_Void();
4206 return resultobj;
4207fail:
4208 return NULL;
d14a1e28
RD
4209}
4210
4211
554f62e9
RD
4212SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4213 PyObject *resultobj = 0;
4214 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4215 void *argp1 = 0 ;
4216 int res1 = 0 ;
4217 PyObject *swig_obj[1] ;
4218
4219 if (!args) SWIG_fail;
4220 swig_obj[0] = args;
4221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4222 if (!SWIG_IsOK(res1)) {
4223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4224 }
4225 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->PopTagHandler();
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 resultobj = SWIG_Py_Void();
4233 return resultobj;
4234fail:
4235 return NULL;
d14a1e28
RD
4236}
4237
4238
e9d6f3a4
RD
4239SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj = 0;
4241 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4242 wxHtmlTag *arg2 = 0 ;
4243 wxString result;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 char * kwnames[] = {
4251 (char *) "self",(char *) "tag", NULL
4252 };
4253
4254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4256 if (!SWIG_IsOK(res1)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4258 }
4259 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4260 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4261 if (!SWIG_IsOK(res2)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4263 }
4264 if (!argp2) {
4265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4266 }
4267 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 {
4275#if wxUSE_UNICODE
4276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4277#else
4278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4279#endif
4280 }
4281 return resultobj;
4282fail:
4283 return NULL;
4284}
4285
4286
554f62e9
RD
4287SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4288 PyObject *obj;
4289 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4290 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4291 return SWIG_Py_Void();
d14a1e28
RD
4292}
4293
554f62e9
RD
4294SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj = 0;
4296 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4297 wxHtmlWinParser *result = 0 ;
4298 void *argp1 = 0 ;
4299 int res1 = 0 ;
4300 PyObject * obj0 = 0 ;
4301 char * kwnames[] = {
4302 (char *) "wnd", NULL
4303 };
4304
4305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4306 if (obj0) {
4307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4308 if (!SWIG_IsOK(res1)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
d14a1e28 4310 }
554f62e9
RD
4311 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4312 }
4313 {
4314 PyThreadState* __tstate = wxPyBeginAllowThreads();
4315 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4320 return resultobj;
4321fail:
4322 return NULL;
4323}
4324
4325
4326SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj = 0;
4328 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4329 wxDC *arg2 = (wxDC *) 0 ;
4330 void *argp1 = 0 ;
4331 int res1 = 0 ;
4332 void *argp2 = 0 ;
4333 int res2 = 0 ;
4334 PyObject * obj0 = 0 ;
4335 PyObject * obj1 = 0 ;
4336 char * kwnames[] = {
4337 (char *) "self",(char *) "dc", NULL
4338 };
4339
4340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4342 if (!SWIG_IsOK(res1)) {
4343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4344 }
4345 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4346 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4347 if (!SWIG_IsOK(res2)) {
4348 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4349 }
4350 arg2 = reinterpret_cast< wxDC * >(argp2);
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 (arg1)->SetDC(arg2);
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 resultobj = SWIG_Py_Void();
4358 return resultobj;
4359fail:
4360 return NULL;
d14a1e28
RD
4361}
4362
4363
554f62e9
RD
4364SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4365 PyObject *resultobj = 0;
4366 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4367 wxDC *result = 0 ;
4368 void *argp1 = 0 ;
4369 int res1 = 0 ;
4370 PyObject *swig_obj[1] ;
4371
4372 if (!args) SWIG_fail;
4373 swig_obj[0] = args;
4374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4375 if (!SWIG_IsOK(res1)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4377 }
4378 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 result = (wxDC *)(arg1)->GetDC();
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 {
4386 resultobj = wxPyMake_wxObject(result, (bool)0);
4387 }
4388 return resultobj;
4389fail:
4390 return NULL;
d14a1e28
RD
4391}
4392
4393
554f62e9
RD
4394SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4395 PyObject *resultobj = 0;
4396 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4397 int result;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 PyObject *swig_obj[1] ;
4401
4402 if (!args) SWIG_fail;
4403 swig_obj[0] = args;
4404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4405 if (!SWIG_IsOK(res1)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4407 }
4408 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 result = (int)(arg1)->GetCharHeight();
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 resultobj = SWIG_From_int(static_cast< int >(result));
4416 return resultobj;
4417fail:
4418 return NULL;
d14a1e28
RD
4419}
4420
4421
554f62e9
RD
4422SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4423 PyObject *resultobj = 0;
4424 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4425 int result;
4426 void *argp1 = 0 ;
4427 int res1 = 0 ;
4428 PyObject *swig_obj[1] ;
4429
4430 if (!args) SWIG_fail;
4431 swig_obj[0] = args;
4432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4433 if (!SWIG_IsOK(res1)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4435 }
4436 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (int)(arg1)->GetCharWidth();
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 resultobj = SWIG_From_int(static_cast< int >(result));
4444 return resultobj;
4445fail:
4446 return NULL;
d14a1e28
RD
4447}
4448
4449
554f62e9
RD
4450SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4451 PyObject *resultobj = 0;
4452 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4453 wxPyHtmlWindow *result = 0 ;
4454 void *argp1 = 0 ;
4455 int res1 = 0 ;
4456 PyObject *swig_obj[1] ;
4457
4458 if (!args) SWIG_fail;
4459 swig_obj[0] = args;
4460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4461 if (!SWIG_IsOK(res1)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4463 }
4464 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 {
4472 resultobj = wxPyMake_wxObject(result, (bool)0);
4473 }
4474 return resultobj;
4475fail:
4476 return NULL;
4477}
4478
4479
e9d6f3a4
RD
4480SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4481 PyObject *resultobj = 0;
4482 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4483 wxHtmlWindowInterface *result = 0 ;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 PyObject *swig_obj[1] ;
4487
4488 if (!args) SWIG_fail;
4489 swig_obj[0] = args;
4490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4491 if (!SWIG_IsOK(res1)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4493 }
4494 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4502 return resultobj;
4503fail:
4504 return NULL;
4505}
4506
4507
554f62e9
RD
4508SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj = 0;
4510 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4511 wxString arg2 ;
4512 wxString arg3 ;
4513 PyObject *arg4 = (PyObject *) NULL ;
4514 void *argp1 = 0 ;
4515 int res1 = 0 ;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4518 PyObject * obj2 = 0 ;
4519 PyObject * obj3 = 0 ;
4520 char * kwnames[] = {
4521 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4522 };
4523
4524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4526 if (!SWIG_IsOK(res1)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4528 }
4529 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4530 {
4531 wxString* sptr = wxString_in_helper(obj1);
4532 if (sptr == NULL) SWIG_fail;
4533 arg2 = *sptr;
4534 delete sptr;
4535 }
4536 {
4537 wxString* sptr = wxString_in_helper(obj2);
4538 if (sptr == NULL) SWIG_fail;
4539 arg3 = *sptr;
4540 delete sptr;
4541 }
4542 if (obj3) {
4543 arg4 = obj3;
4544 }
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = SWIG_Py_Void();
4552 return resultobj;
4553fail:
4554 return NULL;
4555}
4556
4557
4558SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj = 0;
4560 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4561 int arg2 = (int) -1 ;
4562 wxString const &arg3_defvalue = wxPyEmptyString ;
4563 wxString *arg3 = (wxString *) &arg3_defvalue ;
4564 wxString const &arg4_defvalue = wxPyEmptyString ;
4565 wxString *arg4 = (wxString *) &arg4_defvalue ;
4566 void *argp1 = 0 ;
4567 int res1 = 0 ;
4568 int val2 ;
4569 int ecode2 = 0 ;
4570 bool temp3 = false ;
4571 bool temp4 = false ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 PyObject * obj2 = 0 ;
4575 PyObject * obj3 = 0 ;
4576 char * kwnames[] = {
4577 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4578 };
4579
4580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4582 if (!SWIG_IsOK(res1)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4584 }
4585 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4586 if (obj1) {
4587 ecode2 = SWIG_AsVal_int(obj1, &val2);
4588 if (!SWIG_IsOK(ecode2)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4590 }
4591 arg2 = static_cast< int >(val2);
4592 }
4593 if (obj2) {
d14a1e28 4594 {
554f62e9
RD
4595 arg3 = wxString_in_helper(obj2);
4596 if (arg3 == NULL) SWIG_fail;
4597 temp3 = true;
d14a1e28 4598 }
554f62e9
RD
4599 }
4600 if (obj3) {
d14a1e28 4601 {
554f62e9
RD
4602 arg4 = wxString_in_helper(obj3);
4603 if (arg4 == NULL) SWIG_fail;
4604 temp4 = true;
d14a1e28 4605 }
554f62e9
RD
4606 }
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_Py_Void();
4614 {
4615 if (temp3)
4616 delete arg3;
4617 }
4618 {
4619 if (temp4)
4620 delete arg4;
4621 }
4622 return resultobj;
4623fail:
4624 {
4625 if (temp3)
4626 delete arg3;
4627 }
4628 {
4629 if (temp4)
4630 delete arg4;
4631 }
4632 return NULL;
d14a1e28
RD
4633}
4634
4635
554f62e9
RD
4636SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4637 PyObject *resultobj = 0;
4638 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4639 wxHtmlContainerCell *result = 0 ;
4640 void *argp1 = 0 ;
4641 int res1 = 0 ;
4642 PyObject *swig_obj[1] ;
4643
4644 if (!args) SWIG_fail;
4645 swig_obj[0] = args;
4646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4647 if (!SWIG_IsOK(res1)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4649 }
4650 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4658 return resultobj;
4659fail:
4660 return NULL;
d14a1e28
RD
4661}
4662
4663
554f62e9
RD
4664SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4665 PyObject *resultobj = 0;
4666 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4667 wxHtmlContainerCell *result = 0 ;
4668 void *argp1 = 0 ;
4669 int res1 = 0 ;
4670 PyObject *swig_obj[1] ;
4671
4672 if (!args) SWIG_fail;
4673 swig_obj[0] = args;
4674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4675 if (!SWIG_IsOK(res1)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4677 }
4678 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4686 return resultobj;
4687fail:
4688 return NULL;
4689}
4690
4691
4692SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj = 0;
4694 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4695 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4696 wxHtmlContainerCell *result = 0 ;
4697 void *argp1 = 0 ;
4698 int res1 = 0 ;
4699 void *argp2 = 0 ;
4700 int res2 = 0 ;
4701 PyObject * obj0 = 0 ;
4702 PyObject * obj1 = 0 ;
4703 char * kwnames[] = {
4704 (char *) "self",(char *) "c", NULL
4705 };
4706
4707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4709 if (!SWIG_IsOK(res1)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4711 }
4712 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4714 if (!SWIG_IsOK(res2)) {
4715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4716 }
4717 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4725 return resultobj;
4726fail:
4727 return NULL;
d14a1e28
RD
4728}
4729
4730
554f62e9
RD
4731SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4732 PyObject *resultobj = 0;
4733 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4734 wxHtmlContainerCell *result = 0 ;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 PyObject *swig_obj[1] ;
4738
4739 if (!args) SWIG_fail;
4740 swig_obj[0] = args;
4741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4742 if (!SWIG_IsOK(res1)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4744 }
4745 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4753 return resultobj;
4754fail:
4755 return NULL;
d14a1e28
RD
4756}
4757
4758
554f62e9
RD
4759SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4760 PyObject *resultobj = 0;
4761 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4762 int result;
4763 void *argp1 = 0 ;
4764 int res1 = 0 ;
4765 PyObject *swig_obj[1] ;
4766
4767 if (!args) SWIG_fail;
4768 swig_obj[0] = args;
4769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4770 if (!SWIG_IsOK(res1)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4772 }
4773 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 result = (int)(arg1)->GetFontSize();
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 resultobj = SWIG_From_int(static_cast< int >(result));
4781 return resultobj;
4782fail:
4783 return NULL;
4784}
4785
4786
4787SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4788 PyObject *resultobj = 0;
4789 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4790 int arg2 ;
4791 void *argp1 = 0 ;
4792 int res1 = 0 ;
4793 int val2 ;
4794 int ecode2 = 0 ;
4795 PyObject * obj0 = 0 ;
4796 PyObject * obj1 = 0 ;
4797 char * kwnames[] = {
4798 (char *) "self",(char *) "s", NULL
4799 };
4800
4801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4803 if (!SWIG_IsOK(res1)) {
4804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4805 }
4806 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4807 ecode2 = SWIG_AsVal_int(obj1, &val2);
4808 if (!SWIG_IsOK(ecode2)) {
4809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4810 }
4811 arg2 = static_cast< int >(val2);
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 (arg1)->SetFontSize(arg2);
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 resultobj = SWIG_Py_Void();
4819 return resultobj;
4820fail:
4821 return NULL;
d14a1e28
RD
4822}
4823
4824
554f62e9
RD
4825SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4826 PyObject *resultobj = 0;
4827 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4828 int result;
4829 void *argp1 = 0 ;
4830 int res1 = 0 ;
4831 PyObject *swig_obj[1] ;
4832
4833 if (!args) SWIG_fail;
4834 swig_obj[0] = args;
4835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4836 if (!SWIG_IsOK(res1)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4838 }
4839 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = (int)(arg1)->GetFontBold();
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 resultobj = SWIG_From_int(static_cast< int >(result));
4847 return resultobj;
4848fail:
4849 return NULL;
4850}
4851
4852
4853SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj = 0;
4855 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4856 int arg2 ;
4857 void *argp1 = 0 ;
4858 int res1 = 0 ;
4859 int val2 ;
4860 int ecode2 = 0 ;
4861 PyObject * obj0 = 0 ;
4862 PyObject * obj1 = 0 ;
4863 char * kwnames[] = {
4864 (char *) "self",(char *) "x", NULL
4865 };
4866
4867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4869 if (!SWIG_IsOK(res1)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4871 }
4872 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4873 ecode2 = SWIG_AsVal_int(obj1, &val2);
4874 if (!SWIG_IsOK(ecode2)) {
4875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4876 }
4877 arg2 = static_cast< int >(val2);
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 (arg1)->SetFontBold(arg2);
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 resultobj = SWIG_Py_Void();
4885 return resultobj;
4886fail:
4887 return NULL;
d14a1e28
RD
4888}
4889
4890
554f62e9
RD
4891SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4892 PyObject *resultobj = 0;
4893 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4894 int result;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 PyObject *swig_obj[1] ;
4898
4899 if (!args) SWIG_fail;
4900 swig_obj[0] = args;
4901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4902 if (!SWIG_IsOK(res1)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4904 }
4905 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 result = (int)(arg1)->GetFontItalic();
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 resultobj = SWIG_From_int(static_cast< int >(result));
4913 return resultobj;
4914fail:
4915 return NULL;
4916}
4917
4918
4919SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj = 0;
4921 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4922 int arg2 ;
4923 void *argp1 = 0 ;
4924 int res1 = 0 ;
4925 int val2 ;
4926 int ecode2 = 0 ;
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 char * kwnames[] = {
4930 (char *) "self",(char *) "x", NULL
4931 };
4932
4933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4935 if (!SWIG_IsOK(res1)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4937 }
4938 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4939 ecode2 = SWIG_AsVal_int(obj1, &val2);
4940 if (!SWIG_IsOK(ecode2)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4942 }
4943 arg2 = static_cast< int >(val2);
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->SetFontItalic(arg2);
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 resultobj = SWIG_Py_Void();
4951 return resultobj;
4952fail:
4953 return NULL;
d14a1e28
RD
4954}
4955
4956
554f62e9
RD
4957SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4958 PyObject *resultobj = 0;
4959 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4960 int result;
4961 void *argp1 = 0 ;
4962 int res1 = 0 ;
4963 PyObject *swig_obj[1] ;
4964
4965 if (!args) SWIG_fail;
4966 swig_obj[0] = args;
4967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4968 if (!SWIG_IsOK(res1)) {
4969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4970 }
4971 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 result = (int)(arg1)->GetFontUnderlined();
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 resultobj = SWIG_From_int(static_cast< int >(result));
4979 return resultobj;
4980fail:
4981 return NULL;
4982}
4983
4984
4985SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj = 0;
4987 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4988 int arg2 ;
4989 void *argp1 = 0 ;
4990 int res1 = 0 ;
4991 int val2 ;
4992 int ecode2 = 0 ;
4993 PyObject * obj0 = 0 ;
4994 PyObject * obj1 = 0 ;
4995 char * kwnames[] = {
4996 (char *) "self",(char *) "x", NULL
4997 };
4998
4999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
5000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5001 if (!SWIG_IsOK(res1)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5003 }
5004 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5005 ecode2 = SWIG_AsVal_int(obj1, &val2);
5006 if (!SWIG_IsOK(ecode2)) {
5007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5008 }
5009 arg2 = static_cast< int >(val2);
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 (arg1)->SetFontUnderlined(arg2);
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 resultobj = SWIG_Py_Void();
5017 return resultobj;
5018fail:
5019 return NULL;
d14a1e28
RD
5020}
5021
5022
554f62e9
RD
5023SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5024 PyObject *resultobj = 0;
5025 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5026 int result;
5027 void *argp1 = 0 ;
5028 int res1 = 0 ;
5029 PyObject *swig_obj[1] ;
5030
5031 if (!args) SWIG_fail;
5032 swig_obj[0] = args;
5033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5034 if (!SWIG_IsOK(res1)) {
5035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5036 }
5037 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (int)(arg1)->GetFontFixed();
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 resultobj = SWIG_From_int(static_cast< int >(result));
5045 return resultobj;
5046fail:
5047 return NULL;
5048}
5049
5050
5051SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj = 0;
5053 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5054 int arg2 ;
5055 void *argp1 = 0 ;
5056 int res1 = 0 ;
5057 int val2 ;
5058 int ecode2 = 0 ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 char * kwnames[] = {
5062 (char *) "self",(char *) "x", NULL
5063 };
5064
5065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5067 if (!SWIG_IsOK(res1)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5069 }
5070 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5071 ecode2 = SWIG_AsVal_int(obj1, &val2);
5072 if (!SWIG_IsOK(ecode2)) {
5073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5074 }
5075 arg2 = static_cast< int >(val2);
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 (arg1)->SetFontFixed(arg2);
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 resultobj = SWIG_Py_Void();
5083 return resultobj;
5084fail:
5085 return NULL;
30ee79f7
RD
5086}
5087
5088
554f62e9
RD
5089SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5090 PyObject *resultobj = 0;
5091 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5092 int result;
5093 void *argp1 = 0 ;
5094 int res1 = 0 ;
5095 PyObject *swig_obj[1] ;
5096
5097 if (!args) SWIG_fail;
5098 swig_obj[0] = args;
5099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5100 if (!SWIG_IsOK(res1)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5102 }
5103 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (int)(arg1)->GetAlign();
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 resultobj = SWIG_From_int(static_cast< int >(result));
5111 return resultobj;
5112fail:
5113 return NULL;
5114}
5115
5116
5117SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj = 0;
5119 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5120 int arg2 ;
5121 void *argp1 = 0 ;
5122 int res1 = 0 ;
5123 int val2 ;
5124 int ecode2 = 0 ;
5125 PyObject * obj0 = 0 ;
5126 PyObject * obj1 = 0 ;
5127 char * kwnames[] = {
5128 (char *) "self",(char *) "a", NULL
5129 };
5130
5131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5133 if (!SWIG_IsOK(res1)) {
5134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5135 }
5136 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5137 ecode2 = SWIG_AsVal_int(obj1, &val2);
5138 if (!SWIG_IsOK(ecode2)) {
5139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5140 }
5141 arg2 = static_cast< int >(val2);
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->SetAlign(arg2);
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 resultobj = SWIG_Py_Void();
5149 return resultobj;
5150fail:
5151 return NULL;
d14a1e28
RD
5152}
5153
5154
554f62e9
RD
5155SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5156 PyObject *resultobj = 0;
5157 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5158 wxColour result;
5159 void *argp1 = 0 ;
5160 int res1 = 0 ;
5161 PyObject *swig_obj[1] ;
5162
5163 if (!args) SWIG_fail;
5164 swig_obj[0] = args;
5165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5166 if (!SWIG_IsOK(res1)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5168 }
5169 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (arg1)->GetLinkColor();
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5177 return resultobj;
5178fail:
5179 return NULL;
5180}
5181
5182
5183SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj = 0;
5185 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5186 wxColour *arg2 = 0 ;
5187 void *argp1 = 0 ;
5188 int res1 = 0 ;
5189 wxColour temp2 ;
5190 PyObject * obj0 = 0 ;
5191 PyObject * obj1 = 0 ;
5192 char * kwnames[] = {
5193 (char *) "self",(char *) "clr", NULL
5194 };
5195
5196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5198 if (!SWIG_IsOK(res1)) {
5199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5200 }
5201 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5202 {
5203 arg2 = &temp2;
5204 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5205 }
5206 {
5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
5208 (arg1)->SetLinkColor((wxColour const &)*arg2);
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) SWIG_fail;
5211 }
5212 resultobj = SWIG_Py_Void();
5213 return resultobj;
5214fail:
5215 return NULL;
d14a1e28
RD
5216}
5217
5218
554f62e9
RD
5219SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5220 PyObject *resultobj = 0;
5221 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5222 wxColour result;
5223 void *argp1 = 0 ;
5224 int res1 = 0 ;
5225 PyObject *swig_obj[1] ;
5226
5227 if (!args) SWIG_fail;
5228 swig_obj[0] = args;
5229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5230 if (!SWIG_IsOK(res1)) {
5231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5232 }
5233 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = (arg1)->GetActualColor();
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5241 return resultobj;
5242fail:
5243 return NULL;
5244}
5245
5246
5247SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj = 0;
5249 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5250 wxColour *arg2 = 0 ;
5251 void *argp1 = 0 ;
5252 int res1 = 0 ;
5253 wxColour temp2 ;
5254 PyObject * obj0 = 0 ;
5255 PyObject * obj1 = 0 ;
5256 char * kwnames[] = {
5257 (char *) "self",(char *) "clr", NULL
5258 };
5259
5260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5262 if (!SWIG_IsOK(res1)) {
5263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5264 }
5265 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5266 {
5267 arg2 = &temp2;
5268 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5269 }
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 (arg1)->SetActualColor((wxColour const &)*arg2);
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 resultobj = SWIG_Py_Void();
5277 return resultobj;
5278fail:
5279 return NULL;
5280}
5281
5282
5283SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj = 0;
5285 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5286 wxString *arg2 = 0 ;
5287 void *argp1 = 0 ;
5288 int res1 = 0 ;
5289 bool temp2 = false ;
5290 PyObject * obj0 = 0 ;
5291 PyObject * obj1 = 0 ;
5292 char * kwnames[] = {
5293 (char *) "self",(char *) "link", NULL
5294 };
5295
5296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5298 if (!SWIG_IsOK(res1)) {
5299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5300 }
5301 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5302 {
5303 arg2 = wxString_in_helper(obj1);
5304 if (arg2 == NULL) SWIG_fail;
5305 temp2 = true;
5306 }
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 (arg1)->SetLink((wxString const &)*arg2);
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 resultobj = SWIG_Py_Void();
5314 {
5315 if (temp2)
5316 delete arg2;
5317 }
5318 return resultobj;
5319fail:
5320 {
5321 if (temp2)
5322 delete arg2;
5323 }
5324 return NULL;
d14a1e28
RD
5325}
5326
5327
554f62e9
RD
5328SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5329 PyObject *resultobj = 0;
5330 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5331 wxFont *result = 0 ;
5332 void *argp1 = 0 ;
5333 int res1 = 0 ;
5334 PyObject *swig_obj[1] ;
5335
5336 if (!args) SWIG_fail;
5337 swig_obj[0] = args;
5338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5339 if (!SWIG_IsOK(res1)) {
5340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5341 }
5342 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 result = (wxFont *)(arg1)->CreateCurrentFont();
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5350 return resultobj;
5351fail:
5352 return NULL;
d14a1e28
RD
5353}
5354
5355
554f62e9
RD
5356SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5357 PyObject *resultobj = 0;
5358 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5359 SwigValueWrapper<wxHtmlLinkInfo > result;
5360 void *argp1 = 0 ;
5361 int res1 = 0 ;
5362 PyObject *swig_obj[1] ;
5363
5364 if (!args) SWIG_fail;
5365 swig_obj[0] = args;
5366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5367 if (!SWIG_IsOK(res1)) {
5368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5369 }
5370 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 result = (arg1)->GetLink();
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5378 return resultobj;
5379fail:
5380 return NULL;
d14a1e28
RD
5381}
5382
5383
554f62e9
RD
5384SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5385 PyObject *obj;
5386 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5387 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5388 return SWIG_Py_Void();
d14a1e28
RD
5389}
5390
554f62e9
RD
5391SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5392 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
5393}
5394
554f62e9
RD
5395SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5396 PyObject *resultobj = 0;
5397 wxPyHtmlTagHandler *result = 0 ;
5398
5399 if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5400 {
5401 PyThreadState* __tstate = wxPyBeginAllowThreads();
5402 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5403 wxPyEndAllowThreads(__tstate);
5404 if (PyErr_Occurred()) SWIG_fail;
5405 }
5406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5407 return resultobj;
5408fail:
5409 return NULL;
5410}
5411
5412
5413SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5414 PyObject *resultobj = 0;
5415 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5416 PyObject *arg2 = (PyObject *) 0 ;
5417 PyObject *arg3 = (PyObject *) 0 ;
5418 void *argp1 = 0 ;
5419 int res1 = 0 ;
5420 PyObject * obj0 = 0 ;
5421 PyObject * obj1 = 0 ;
5422 PyObject * obj2 = 0 ;
5423 char * kwnames[] = {
5424 (char *) "self",(char *) "self",(char *) "_class", NULL
5425 };
5426
5427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5429 if (!SWIG_IsOK(res1)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5431 }
5432 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5433 arg2 = obj1;
5434 arg3 = obj2;
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 (arg1)->_setCallbackInfo(arg2,arg3);
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 resultobj = SWIG_Py_Void();
5442 return resultobj;
5443fail:
5444 return NULL;
5445}
5446
5447
5448SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj = 0;
5450 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5451 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5452 void *argp1 = 0 ;
5453 int res1 = 0 ;
5454 void *argp2 = 0 ;
5455 int res2 = 0 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char * kwnames[] = {
5459 (char *) "self",(char *) "parser", NULL
5460 };
5461
5462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5464 if (!SWIG_IsOK(res1)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5466 }
5467 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5468 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5469 if (!SWIG_IsOK(res2)) {
5470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5471 }
5472 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->SetParser(arg2);
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 resultobj = SWIG_Py_Void();
5480 return resultobj;
5481fail:
5482 return NULL;
d14a1e28
RD
5483}
5484
5485
554f62e9
RD
5486SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5487 PyObject *resultobj = 0;
5488 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5489 wxHtmlParser *result = 0 ;
5490 void *argp1 = 0 ;
5491 int res1 = 0 ;
5492 PyObject *swig_obj[1] ;
5493
5494 if (!args) SWIG_fail;
5495 swig_obj[0] = args;
5496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5497 if (!SWIG_IsOK(res1)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5499 }
5500 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (wxHtmlParser *)(arg1)->GetParser();
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5508 return resultobj;
5509fail:
5510 return NULL;
5511}
5512
5513
5514SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj = 0;
5516 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5517 wxHtmlTag *arg2 = 0 ;
5518 void *argp1 = 0 ;
5519 int res1 = 0 ;
5520 void *argp2 = 0 ;
5521 int res2 = 0 ;
5522 PyObject * obj0 = 0 ;
5523 PyObject * obj1 = 0 ;
5524 char * kwnames[] = {
5525 (char *) "self",(char *) "tag", NULL
5526 };
5527
5528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5530 if (!SWIG_IsOK(res1)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5532 }
5533 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5534 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5535 if (!SWIG_IsOK(res2)) {
5536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5537 }
5538 if (!argp2) {
5539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5540 }
5541 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 resultobj = SWIG_Py_Void();
5549 return resultobj;
5550fail:
5551 return NULL;
d14a1e28
RD
5552}
5553
5554
554f62e9
RD
5555SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5556 PyObject *obj;
5557 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5558 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5559 return SWIG_Py_Void();
d14a1e28
RD
5560}
5561
554f62e9
RD
5562SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5563 return SWIG_Python_InitShadowInstance(args);
5564}
d14a1e28 5565
554f62e9
RD
5566SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5567 PyObject *resultobj = 0;
5568 wxPyHtmlWinTagHandler *result = 0 ;
5569
5570 if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5578 return resultobj;
5579fail:
5580 return NULL;
5581}
5582
5583
5584SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj = 0;
5586 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5587 PyObject *arg2 = (PyObject *) 0 ;
5588 PyObject *arg3 = (PyObject *) 0 ;
5589 void *argp1 = 0 ;
5590 int res1 = 0 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 PyObject * obj2 = 0 ;
5594 char * kwnames[] = {
5595 (char *) "self",(char *) "self",(char *) "_class", NULL
5596 };
5597
5598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5600 if (!SWIG_IsOK(res1)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5602 }
5603 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5604 arg2 = obj1;
5605 arg3 = obj2;
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 (arg1)->_setCallbackInfo(arg2,arg3);
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 resultobj = SWIG_Py_Void();
5613 return resultobj;
5614fail:
5615 return NULL;
5616}
5617
5618
5619SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj = 0;
5621 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5622 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5623 void *argp1 = 0 ;
5624 int res1 = 0 ;
5625 void *argp2 = 0 ;
5626 int res2 = 0 ;
5627 PyObject * obj0 = 0 ;
5628 PyObject * obj1 = 0 ;
5629 char * kwnames[] = {
5630 (char *) "self",(char *) "parser", NULL
5631 };
5632
5633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5635 if (!SWIG_IsOK(res1)) {
5636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5637 }
5638 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5639 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5640 if (!SWIG_IsOK(res2)) {
5641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5642 }
5643 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->SetParser(arg2);
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 resultobj = SWIG_Py_Void();
5651 return resultobj;
5652fail:
5653 return NULL;
d14a1e28
RD
5654}
5655
5656
554f62e9
RD
5657SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5658 PyObject *resultobj = 0;
5659 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5660 wxHtmlWinParser *result = 0 ;
5661 void *argp1 = 0 ;
5662 int res1 = 0 ;
5663 PyObject *swig_obj[1] ;
5664
5665 if (!args) SWIG_fail;
5666 swig_obj[0] = args;
5667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5668 if (!SWIG_IsOK(res1)) {
5669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5670 }
5671 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 result = (wxHtmlWinParser *)(arg1)->GetParser();
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5679 return resultobj;
5680fail:
5681 return NULL;
5682}
5683
5684
5685SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj = 0;
5687 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5688 wxHtmlTag *arg2 = 0 ;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 void *argp2 = 0 ;
5692 int res2 = 0 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char * kwnames[] = {
5696 (char *) "self",(char *) "tag", NULL
5697 };
5698
5699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5701 if (!SWIG_IsOK(res1)) {
5702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5703 }
5704 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5705 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5706 if (!SWIG_IsOK(res2)) {
5707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5708 }
5709 if (!argp2) {
5710 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5711 }
5712 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 resultobj = SWIG_Py_Void();
5720 return resultobj;
5721fail:
5722 return NULL;
d14a1e28
RD
5723}
5724
5725
554f62e9
RD
5726SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5727 PyObject *obj;
5728 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5729 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5730 return SWIG_Py_Void();
d14a1e28
RD
5731}
5732
554f62e9
RD
5733SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5734 return SWIG_Python_InitShadowInstance(args);
5735}
d14a1e28 5736
554f62e9
RD
5737SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj = 0;
5739 PyObject *arg1 = (PyObject *) 0 ;
5740 PyObject * obj0 = 0 ;
5741 char * kwnames[] = {
5742 (char *) "tagHandlerClass", NULL
5743 };
5744
5745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5746 arg1 = obj0;
5747 {
5748 PyThreadState* __tstate = wxPyBeginAllowThreads();
5749 wxHtmlWinParser_AddTagHandler(arg1);
5750 wxPyEndAllowThreads(__tstate);
5751 if (PyErr_Occurred()) SWIG_fail;
5752 }
5753 resultobj = SWIG_Py_Void();
5754 return resultobj;
5755fail:
5756 return NULL;
d14a1e28
RD
5757}
5758
5759
554f62e9
RD
5760SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5761 PyObject *resultobj = 0;
5762 wxHtmlSelection *result = 0 ;
5763
5764 if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5765 {
5766 PyThreadState* __tstate = wxPyBeginAllowThreads();
5767 result = (wxHtmlSelection *)new wxHtmlSelection();
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5772 return resultobj;
5773fail:
5774 return NULL;
d14a1e28
RD
5775}
5776
5777
554f62e9
RD
5778SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5779 PyObject *resultobj = 0;
5780 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5781 void *argp1 = 0 ;
5782 int res1 = 0 ;
5783 PyObject *swig_obj[1] ;
5784
5785 if (!args) SWIG_fail;
5786 swig_obj[0] = args;
5787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5788 if (!SWIG_IsOK(res1)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5790 }
5791 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 delete arg1;
d14a1e28 5795
554f62e9
RD
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 resultobj = SWIG_Py_Void();
5800 return resultobj;
5801fail:
5802 return NULL;
5803}
5804
5805
5806SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj = 0;
5808 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5809 wxPoint *arg2 = 0 ;
5810 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5811 wxPoint *arg4 = 0 ;
5812 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5813 void *argp1 = 0 ;
5814 int res1 = 0 ;
5815 wxPoint temp2 ;
5816 void *argp3 = 0 ;
5817 int res3 = 0 ;
5818 wxPoint temp4 ;
5819 void *argp5 = 0 ;
5820 int res5 = 0 ;
5821 PyObject * obj0 = 0 ;
5822 PyObject * obj1 = 0 ;
5823 PyObject * obj2 = 0 ;
5824 PyObject * obj3 = 0 ;
5825 PyObject * obj4 = 0 ;
5826 char * kwnames[] = {
5827 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5828 };
5829
5830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5832 if (!SWIG_IsOK(res1)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5834 }
5835 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5836 {
5837 arg2 = &temp2;
5838 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5839 }
5840 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5841 if (!SWIG_IsOK(res3)) {
5842 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5843 }
5844 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5845 {
5846 arg4 = &temp4;
5847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5848 }
5849 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5850 if (!SWIG_IsOK(res5)) {
5851 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5852 }
5853 arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 resultobj = SWIG_Py_Void();
5861 return resultobj;
5862fail:
5863 return NULL;
5864}
5865
5866
5867SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj = 0;
5869 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5870 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5871 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5872 void *argp1 = 0 ;
5873 int res1 = 0 ;
5874 void *argp2 = 0 ;
5875 int res2 = 0 ;
5876 void *argp3 = 0 ;
5877 int res3 = 0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880 PyObject * obj2 = 0 ;
5881 char * kwnames[] = {
5882 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5883 };
5884
5885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5887 if (!SWIG_IsOK(res1)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5889 }
5890 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5892 if (!SWIG_IsOK(res2)) {
5893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5894 }
5895 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5896 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5897 if (!SWIG_IsOK(res3)) {
5898 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5899 }
5900 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 resultobj = SWIG_Py_Void();
5908 return resultobj;
5909fail:
5910 return NULL;
d14a1e28
RD
5911}
5912
5913
554f62e9
RD
5914SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5915 PyObject *resultobj = 0;
5916 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5917 wxHtmlCell *result = 0 ;
5918 void *argp1 = 0 ;
5919 int res1 = 0 ;
5920 PyObject *swig_obj[1] ;
5921
5922 if (!args) SWIG_fail;
5923 swig_obj[0] = args;
5924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5925 if (!SWIG_IsOK(res1)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5927 }
5928 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 {
5936 resultobj = wxPyMake_wxObject(result, 0);
5937 }
5938 return resultobj;
5939fail:
5940 return NULL;
d14a1e28
RD
5941}
5942
5943
554f62e9
RD
5944SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5945 PyObject *resultobj = 0;
5946 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5947 wxHtmlCell *result = 0 ;
5948 void *argp1 = 0 ;
5949 int res1 = 0 ;
5950 PyObject *swig_obj[1] ;
5951
5952 if (!args) SWIG_fail;
5953 swig_obj[0] = args;
5954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5955 if (!SWIG_IsOK(res1)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5957 }
5958 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 {
5966 resultobj = wxPyMake_wxObject(result, 0);
5967 }
5968 return resultobj;
5969fail:
5970 return NULL;
d14a1e28
RD
5971}
5972
5973
554f62e9
RD
5974SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5975 PyObject *resultobj = 0;
5976 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5977 wxPoint *result = 0 ;
5978 void *argp1 = 0 ;
5979 int res1 = 0 ;
5980 PyObject *swig_obj[1] ;
5981
5982 if (!args) SWIG_fail;
5983 swig_obj[0] = args;
5984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5985 if (!SWIG_IsOK(res1)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5987 }
5988 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 5991 {
554f62e9
RD
5992 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
5993 result = (wxPoint *) &_result_ref;
d14a1e28 5994 }
554f62e9
RD
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
5999 return resultobj;
6000fail:
6001 return NULL;
d14a1e28
RD
6002}
6003
6004
554f62e9
RD
6005SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6006 PyObject *resultobj = 0;
6007 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6008 wxPoint *result = 0 ;
6009 void *argp1 = 0 ;
6010 int res1 = 0 ;
6011 PyObject *swig_obj[1] ;
6012
6013 if (!args) SWIG_fail;
6014 swig_obj[0] = args;
6015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6016 if (!SWIG_IsOK(res1)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6018 }
6019 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6022 {
554f62e9
RD
6023 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
6024 result = (wxPoint *) &_result_ref;
d14a1e28 6025 }
554f62e9
RD
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6030 return resultobj;
6031fail:
6032 return NULL;
d14a1e28
RD
6033}
6034
6035
554f62e9
RD
6036SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6037 PyObject *resultobj = 0;
6038 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6039 wxPoint *result = 0 ;
6040 void *argp1 = 0 ;
6041 int res1 = 0 ;
6042 PyObject *swig_obj[1] ;
6043
6044 if (!args) SWIG_fail;
6045 swig_obj[0] = args;
6046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6047 if (!SWIG_IsOK(res1)) {
6048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6049 }
6050 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6053 {
554f62e9
RD
6054 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6055 result = (wxPoint *) &_result_ref;
d14a1e28 6056 }
554f62e9
RD
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6061 return resultobj;
6062fail:
6063 return NULL;
d14a1e28
RD
6064}
6065
6066
554f62e9
RD
6067SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6068 PyObject *resultobj = 0;
6069 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6070 wxPoint *result = 0 ;
6071 void *argp1 = 0 ;
6072 int res1 = 0 ;
6073 PyObject *swig_obj[1] ;
6074
6075 if (!args) SWIG_fail;
6076 swig_obj[0] = args;
6077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6078 if (!SWIG_IsOK(res1)) {
6079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6080 }
6081 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6084 {
554f62e9
RD
6085 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6086 result = (wxPoint *) &_result_ref;
d14a1e28 6087 }
554f62e9
RD
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6092 return resultobj;
6093fail:
6094 return NULL;
6095}
6096
6097
6098SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj = 0;
6100 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6101 wxPoint *arg2 = 0 ;
6102 void *argp1 = 0 ;
6103 int res1 = 0 ;
6104 wxPoint temp2 ;
6105 PyObject * obj0 = 0 ;
6106 PyObject * obj1 = 0 ;
6107 char * kwnames[] = {
6108 (char *) "self",(char *) "pos", NULL
6109 };
6110
6111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6113 if (!SWIG_IsOK(res1)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6115 }
6116 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6117 {
6118 arg2 = &temp2;
6119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6120 }
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = SWIG_Py_Void();
6128 return resultobj;
6129fail:
6130 return NULL;
6131}
6132
6133
6134SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj = 0;
6136 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6137 wxPoint *arg2 = 0 ;
6138 void *argp1 = 0 ;
6139 int res1 = 0 ;
6140 wxPoint temp2 ;
6141 PyObject * obj0 = 0 ;
6142 PyObject * obj1 = 0 ;
6143 char * kwnames[] = {
6144 (char *) "self",(char *) "pos", NULL
6145 };
6146
6147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6149 if (!SWIG_IsOK(res1)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6151 }
6152 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6153 {
6154 arg2 = &temp2;
6155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6156 }
6157 {
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
6159 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 resultobj = SWIG_Py_Void();
6164 return resultobj;
6165fail:
6166 return NULL;
d14a1e28
RD
6167}
6168
6169
554f62e9
RD
6170SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6171 PyObject *resultobj = 0;
6172 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6173 void *argp1 = 0 ;
6174 int res1 = 0 ;
6175 PyObject *swig_obj[1] ;
6176
6177 if (!args) SWIG_fail;
6178 swig_obj[0] = args;
6179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6180 if (!SWIG_IsOK(res1)) {
6181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6182 }
6183 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 (arg1)->ClearPrivPos();
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 resultobj = SWIG_Py_Void();
6191 return resultobj;
6192fail:
6193 return NULL;
d14a1e28
RD
6194}
6195
6196
554f62e9
RD
6197SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6198 PyObject *resultobj = 0;
6199 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6200 bool result;
6201 void *argp1 = 0 ;
6202 int res1 = 0 ;
6203 PyObject *swig_obj[1] ;
6204
6205 if (!args) SWIG_fail;
6206 swig_obj[0] = args;
6207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6208 if (!SWIG_IsOK(res1)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6210 }
6211 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 resultobj = SWIG_From_bool(static_cast< bool >(result));
6219 return resultobj;
6220fail:
6221 return NULL;
d14a1e28
RD
6222}
6223
6224
554f62e9
RD
6225SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6226 PyObject *obj;
6227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6228 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6229 return SWIG_Py_Void();
d14a1e28
RD
6230}
6231
554f62e9
RD
6232SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 return SWIG_Python_InitShadowInstance(args);
6234}
d14a1e28 6235
554f62e9
RD
6236SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6237 PyObject *resultobj = 0;
6238 wxHtmlRenderingState *result = 0 ;
6239
6240 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6248 return resultobj;
6249fail:
6250 return NULL;
d14a1e28
RD
6251}
6252
6253
554f62e9
RD
6254SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6255 PyObject *resultobj = 0;
6256 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6257 void *argp1 = 0 ;
6258 int res1 = 0 ;
6259 PyObject *swig_obj[1] ;
6260
6261 if (!args) SWIG_fail;
6262 swig_obj[0] = args;
6263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6264 if (!SWIG_IsOK(res1)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6266 }
6267 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 delete arg1;
d14a1e28 6271
554f62e9
RD
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 resultobj = SWIG_Py_Void();
6276 return resultobj;
6277fail:
6278 return NULL;
6279}
6280
6281
6282SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj = 0;
6284 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6285 wxHtmlSelectionState arg2 ;
6286 void *argp1 = 0 ;
6287 int res1 = 0 ;
6288 int val2 ;
6289 int ecode2 = 0 ;
6290 PyObject * obj0 = 0 ;
6291 PyObject * obj1 = 0 ;
6292 char * kwnames[] = {
6293 (char *) "self",(char *) "s", NULL
6294 };
6295
6296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6298 if (!SWIG_IsOK(res1)) {
6299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6300 }
6301 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6302 ecode2 = SWIG_AsVal_int(obj1, &val2);
6303 if (!SWIG_IsOK(ecode2)) {
6304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6305 }
6306 arg2 = static_cast< wxHtmlSelectionState >(val2);
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 (arg1)->SetSelectionState(arg2);
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 resultobj = SWIG_Py_Void();
6314 return resultobj;
6315fail:
6316 return NULL;
d14a1e28
RD
6317}
6318
6319
554f62e9
RD
6320SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6321 PyObject *resultobj = 0;
6322 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6323 wxHtmlSelectionState result;
6324 void *argp1 = 0 ;
6325 int res1 = 0 ;
6326 PyObject *swig_obj[1] ;
6327
6328 if (!args) SWIG_fail;
6329 swig_obj[0] = args;
6330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6331 if (!SWIG_IsOK(res1)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6333 }
6334 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 resultobj = SWIG_From_int(static_cast< int >(result));
6342 return resultobj;
6343fail:
6344 return NULL;
6345}
6346
6347
6348SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj = 0;
6350 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6351 wxColour *arg2 = 0 ;
6352 void *argp1 = 0 ;
6353 int res1 = 0 ;
6354 wxColour temp2 ;
6355 PyObject * obj0 = 0 ;
6356 PyObject * obj1 = 0 ;
6357 char * kwnames[] = {
6358 (char *) "self",(char *) "c", NULL
6359 };
6360
6361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6363 if (!SWIG_IsOK(res1)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6365 }
6366 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6367 {
6368 arg2 = &temp2;
6369 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6370 }
6371 {
6372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6373 (arg1)->SetFgColour((wxColour const &)*arg2);
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 resultobj = SWIG_Py_Void();
6378 return resultobj;
6379fail:
6380 return NULL;
d14a1e28
RD
6381}
6382
6383
554f62e9
RD
6384SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6385 PyObject *resultobj = 0;
6386 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6387 wxColour *result = 0 ;
6388 void *argp1 = 0 ;
6389 int res1 = 0 ;
6390 PyObject *swig_obj[1] ;
6391
6392 if (!args) SWIG_fail;
6393 swig_obj[0] = args;
6394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6395 if (!SWIG_IsOK(res1)) {
6396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6397 }
6398 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6401 {
554f62e9
RD
6402 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6403 result = (wxColour *) &_result_ref;
d14a1e28 6404 }
554f62e9
RD
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6409 return resultobj;
6410fail:
6411 return NULL;
6412}
6413
6414
6415SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj = 0;
6417 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6418 wxColour *arg2 = 0 ;
6419 void *argp1 = 0 ;
6420 int res1 = 0 ;
6421 wxColour temp2 ;
6422 PyObject * obj0 = 0 ;
6423 PyObject * obj1 = 0 ;
6424 char * kwnames[] = {
6425 (char *) "self",(char *) "c", NULL
6426 };
6427
6428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6430 if (!SWIG_IsOK(res1)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6432 }
6433 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6434 {
6435 arg2 = &temp2;
6436 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6437 }
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->SetBgColour((wxColour const &)*arg2);
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 resultobj = SWIG_Py_Void();
6445 return resultobj;
6446fail:
6447 return NULL;
d14a1e28
RD
6448}
6449
6450
554f62e9
RD
6451SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6452 PyObject *resultobj = 0;
6453 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6454 wxColour *result = 0 ;
6455 void *argp1 = 0 ;
6456 int res1 = 0 ;
6457 PyObject *swig_obj[1] ;
6458
6459 if (!args) SWIG_fail;
6460 swig_obj[0] = args;
6461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6462 if (!SWIG_IsOK(res1)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6464 }
6465 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6468 {
554f62e9
RD
6469 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6470 result = (wxColour *) &_result_ref;
d14a1e28 6471 }
554f62e9
RD
6472 wxPyEndAllowThreads(__tstate);
6473 if (PyErr_Occurred()) SWIG_fail;
6474 }
6475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6476 return resultobj;
6477fail:
6478 return NULL;
d14a1e28
RD
6479}
6480
6481
554f62e9
RD
6482SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6483 PyObject *obj;
6484 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6485 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6486 return SWIG_Py_Void();
d14a1e28
RD
6487}
6488
554f62e9
RD
6489SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6490 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
6491}
6492
554f62e9
RD
6493SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj = 0;
6495 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6496 wxColour *arg2 = 0 ;
6497 wxColour result;
6498 void *argp1 = 0 ;
6499 int res1 = 0 ;
6500 wxColour temp2 ;
6501 PyObject * obj0 = 0 ;
6502 PyObject * obj1 = 0 ;
6503 char * kwnames[] = {
6504 (char *) "self",(char *) "clr", NULL
6505 };
6506
6507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6509 if (!SWIG_IsOK(res1)) {
6510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6511 }
6512 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6513 {
6514 arg2 = &temp2;
6515 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6516 }
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6524 return resultobj;
6525fail:
6526 return NULL;
6527}
6528
6529
6530SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj = 0;
6532 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6533 wxColour *arg2 = 0 ;
6534 wxColour result;
6535 void *argp1 = 0 ;
6536 int res1 = 0 ;
6537 wxColour temp2 ;
6538 PyObject * obj0 = 0 ;
6539 PyObject * obj1 = 0 ;
6540 char * kwnames[] = {
6541 (char *) "self",(char *) "clr", NULL
6542 };
6543
6544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6546 if (!SWIG_IsOK(res1)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6548 }
6549 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6550 {
6551 arg2 = &temp2;
6552 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6553 }
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6561 return resultobj;
6562fail:
6563 return NULL;
d14a1e28
RD
6564}
6565
6566
554f62e9
RD
6567SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6568 PyObject *obj;
6569 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6570 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6571 return SWIG_Py_Void();
d14a1e28
RD
6572}
6573
554f62e9
RD
6574SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6575 PyObject *obj;
6576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6577 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6578 return SWIG_Py_Void();
d14a1e28
RD
6579}
6580
554f62e9
RD
6581SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6582 PyObject *resultobj = 0;
6583 wxHtmlRenderingInfo *result = 0 ;
6584
6585 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6593 return resultobj;
6594fail:
6595 return NULL;
d14a1e28
RD
6596}
6597
6598
554f62e9
RD
6599SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6600 PyObject *resultobj = 0;
6601 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6602 void *argp1 = 0 ;
6603 int res1 = 0 ;
6604 PyObject *swig_obj[1] ;
6605
6606 if (!args) SWIG_fail;
6607 swig_obj[0] = args;
6608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6609 if (!SWIG_IsOK(res1)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6611 }
6612 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 delete arg1;
d14a1e28 6616
554f62e9
RD
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 resultobj = SWIG_Py_Void();
6621 return resultobj;
6622fail:
6623 return NULL;
6624}
6625
6626
6627SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj = 0;
6629 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6630 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6631 void *argp1 = 0 ;
6632 int res1 = 0 ;
6633 void *argp2 = 0 ;
6634 int res2 = 0 ;
6635 PyObject * obj0 = 0 ;
6636 PyObject * obj1 = 0 ;
6637 char * kwnames[] = {
6638 (char *) "self",(char *) "s", NULL
6639 };
6640
6641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6643 if (!SWIG_IsOK(res1)) {
6644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6645 }
6646 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6648 if (!SWIG_IsOK(res2)) {
6649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6650 }
6651 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 (arg1)->SetSelection(arg2);
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 resultobj = SWIG_Py_Void();
6659 return resultobj;
6660fail:
6661 return NULL;
d14a1e28
RD
6662}
6663
6664
554f62e9
RD
6665SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6666 PyObject *resultobj = 0;
6667 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6668 wxHtmlSelection *result = 0 ;
6669 void *argp1 = 0 ;
6670 int res1 = 0 ;
6671 PyObject *swig_obj[1] ;
6672
6673 if (!args) SWIG_fail;
6674 swig_obj[0] = args;
6675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6676 if (!SWIG_IsOK(res1)) {
6677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6678 }
6679 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6687 return resultobj;
6688fail:
6689 return NULL;
6690}
6691
6692
6693SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj = 0;
6695 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6696 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6697 void *argp1 = 0 ;
6698 int res1 = 0 ;
6699 void *argp2 = 0 ;
6700 int res2 = 0 ;
6701 PyObject * obj0 = 0 ;
6702 PyObject * obj1 = 0 ;
6703 char * kwnames[] = {
6704 (char *) "self",(char *) "style", NULL
6705 };
6706
6707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6709 if (!SWIG_IsOK(res1)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6711 }
6712 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6714 if (!SWIG_IsOK(res2)) {
6715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6716 }
6717 arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 (arg1)->SetStyle(arg2);
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 resultobj = SWIG_Py_Void();
6725 return resultobj;
6726fail:
6727 return NULL;
d14a1e28
RD
6728}
6729
6730
554f62e9
RD
6731SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6732 PyObject *resultobj = 0;
6733 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6734 wxHtmlRenderingStyle *result = 0 ;
6735 void *argp1 = 0 ;
6736 int res1 = 0 ;
6737 PyObject *swig_obj[1] ;
6738
6739 if (!args) SWIG_fail;
6740 swig_obj[0] = args;
6741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6742 if (!SWIG_IsOK(res1)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6744 }
6745 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1fcee84 6748 {
554f62e9
RD
6749 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6750 result = (wxHtmlRenderingStyle *) &_result_ref;
b1fcee84 6751 }
554f62e9
RD
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6756 return resultobj;
6757fail:
6758 return NULL;
d14a1e28
RD
6759}
6760
6761
554f62e9
RD
6762SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6763 PyObject *resultobj = 0;
6764 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6765 wxHtmlRenderingState *result = 0 ;
6766 void *argp1 = 0 ;
6767 int res1 = 0 ;
6768 PyObject *swig_obj[1] ;
6769
6770 if (!args) SWIG_fail;
6771 swig_obj[0] = args;
6772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6773 if (!SWIG_IsOK(res1)) {
6774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6775 }
6776 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1fcee84 6779 {
554f62e9
RD
6780 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6781 result = (wxHtmlRenderingState *) &_result_ref;
b1fcee84 6782 }
554f62e9
RD
6783 wxPyEndAllowThreads(__tstate);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
6786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6787 return resultobj;
6788fail:
6789 return NULL;
d14a1e28
RD
6790}
6791
6792
554f62e9
RD
6793SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6794 PyObject *obj;
6795 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6796 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6797 return SWIG_Py_Void();
d14a1e28
RD
6798}
6799
554f62e9
RD
6800SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6801 return SWIG_Python_InitShadowInstance(args);
6802}
d14a1e28 6803
554f62e9
RD
6804SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6805 PyObject *resultobj = 0;
6806 wxHtmlCell *result = 0 ;
6807
6808 if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxHtmlCell *)new wxHtmlCell();
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6816 return resultobj;
6817fail:
6818 return NULL;
d14a1e28
RD
6819}
6820
6821
554f62e9
RD
6822SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6823 PyObject *resultobj = 0;
6824 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6825 void *argp1 = 0 ;
6826 int res1 = 0 ;
6827 PyObject *swig_obj[1] ;
6828
6829 if (!args) SWIG_fail;
6830 swig_obj[0] = args;
6831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6832 if (!SWIG_IsOK(res1)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6834 }
6835 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6836 {
6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
6838 delete arg1;
d14a1e28 6839
554f62e9
RD
6840 wxPyEndAllowThreads(__tstate);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 resultobj = SWIG_Py_Void();
6844 return resultobj;
6845fail:
6846 return NULL;
d14a1e28
RD
6847}
6848
6849
554f62e9
RD
6850SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6851 PyObject *resultobj = 0;
6852 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6853 int result;
6854 void *argp1 = 0 ;
6855 int res1 = 0 ;
6856 PyObject *swig_obj[1] ;
6857
6858 if (!args) SWIG_fail;
6859 swig_obj[0] = args;
6860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6861 if (!SWIG_IsOK(res1)) {
6862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6863 }
6864 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (int)(arg1)->GetPosX();
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 resultobj = SWIG_From_int(static_cast< int >(result));
6872 return resultobj;
6873fail:
6874 return NULL;
d14a1e28
RD
6875}
6876
6877
554f62e9
RD
6878SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6879 PyObject *resultobj = 0;
6880 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6881 int result;
6882 void *argp1 = 0 ;
6883 int res1 = 0 ;
6884 PyObject *swig_obj[1] ;
6885
6886 if (!args) SWIG_fail;
6887 swig_obj[0] = args;
6888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6889 if (!SWIG_IsOK(res1)) {
6890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6891 }
6892 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (int)(arg1)->GetPosY();
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = SWIG_From_int(static_cast< int >(result));
6900 return resultobj;
6901fail:
6902 return NULL;
d14a1e28
RD
6903}
6904
6905
554f62e9
RD
6906SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6907 PyObject *resultobj = 0;
6908 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6909 int result;
6910 void *argp1 = 0 ;
6911 int res1 = 0 ;
6912 PyObject *swig_obj[1] ;
6913
6914 if (!args) SWIG_fail;
6915 swig_obj[0] = args;
6916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6917 if (!SWIG_IsOK(res1)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6919 }
6920 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (int)(arg1)->GetWidth();
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) SWIG_fail;
6926 }
6927 resultobj = SWIG_From_int(static_cast< int >(result));
6928 return resultobj;
6929fail:
6930 return NULL;
d14a1e28
RD
6931}
6932
6933
554f62e9
RD
6934SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6935 PyObject *resultobj = 0;
6936 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6937 int result;
6938 void *argp1 = 0 ;
6939 int res1 = 0 ;
6940 PyObject *swig_obj[1] ;
6941
6942 if (!args) SWIG_fail;
6943 swig_obj[0] = args;
6944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6945 if (!SWIG_IsOK(res1)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6947 }
6948 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (int)(arg1)->GetHeight();
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = SWIG_From_int(static_cast< int >(result));
6956 return resultobj;
6957fail:
6958 return NULL;
d14a1e28
RD
6959}
6960
6961
554f62e9
RD
6962SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6963 PyObject *resultobj = 0;
6964 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6965 int result;
6966 void *argp1 = 0 ;
6967 int res1 = 0 ;
6968 PyObject *swig_obj[1] ;
6969
6970 if (!args) SWIG_fail;
6971 swig_obj[0] = args;
6972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6973 if (!SWIG_IsOK(res1)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6975 }
6976 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6977 {
6978 PyThreadState* __tstate = wxPyBeginAllowThreads();
6979 result = (int)(arg1)->GetDescent();
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 resultobj = SWIG_From_int(static_cast< int >(result));
6984 return resultobj;
6985fail:
6986 return NULL;
d14a1e28
RD
6987}
6988
6989
554f62e9
RD
6990SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6991 PyObject *resultobj = 0;
6992 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6993 int result;
6994 void *argp1 = 0 ;
6995 int res1 = 0 ;
6996 PyObject *swig_obj[1] ;
6997
6998 if (!args) SWIG_fail;
6999 swig_obj[0] = args;
7000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7001 if (!SWIG_IsOK(res1)) {
7002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7003 }
7004 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 resultobj = SWIG_From_int(static_cast< int >(result));
7012 return resultobj;
7013fail:
7014 return NULL;
d14a1e28
RD
7015}
7016
7017
554f62e9
RD
7018SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7019 PyObject *resultobj = 0;
7020 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7021 wxString *result = 0 ;
7022 void *argp1 = 0 ;
7023 int res1 = 0 ;
7024 PyObject *swig_obj[1] ;
7025
7026 if (!args) SWIG_fail;
7027 swig_obj[0] = args;
7028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7029 if (!SWIG_IsOK(res1)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7031 }
7032 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 7035 {
554f62e9
RD
7036 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7037 result = (wxString *) &_result_ref;
d14a1e28 7038 }
554f62e9
RD
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 {
7043#if wxUSE_UNICODE
7044 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7045#else
7046 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7047#endif
7048 }
7049 return resultobj;
7050fail:
7051 return NULL;
7052}
7053
7054
7055SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7056 PyObject *resultobj = 0;
7057 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7058 wxString *arg2 = 0 ;
7059 void *argp1 = 0 ;
7060 int res1 = 0 ;
7061 bool temp2 = false ;
7062 PyObject * obj0 = 0 ;
7063 PyObject * obj1 = 0 ;
7064 char * kwnames[] = {
7065 (char *) "self",(char *) "id", NULL
7066 };
7067
7068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7070 if (!SWIG_IsOK(res1)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7072 }
7073 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7074 {
7075 arg2 = wxString_in_helper(obj1);
7076 if (arg2 == NULL) SWIG_fail;
7077 temp2 = true;
7078 }
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 (arg1)->SetId((wxString const &)*arg2);
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 resultobj = SWIG_Py_Void();
7086 {
7087 if (temp2)
7088 delete arg2;
7089 }
7090 return resultobj;
7091fail:
7092 {
7093 if (temp2)
7094 delete arg2;
7095 }
7096 return NULL;
7097}
7098
7099
7100SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7101 PyObject *resultobj = 0;
7102 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7103 int arg2 = (int) 0 ;
7104 int arg3 = (int) 0 ;
7105 wxHtmlLinkInfo *result = 0 ;
7106 void *argp1 = 0 ;
7107 int res1 = 0 ;
7108 int val2 ;
7109 int ecode2 = 0 ;
7110 int val3 ;
7111 int ecode3 = 0 ;
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 PyObject * obj2 = 0 ;
7115 char * kwnames[] = {
7116 (char *) "self",(char *) "x",(char *) "y", NULL
7117 };
7118
7119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7121 if (!SWIG_IsOK(res1)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7123 }
7124 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7125 if (obj1) {
7126 ecode2 = SWIG_AsVal_int(obj1, &val2);
7127 if (!SWIG_IsOK(ecode2)) {
7128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7129 }
7130 arg2 = static_cast< int >(val2);
7131 }
7132 if (obj2) {
7133 ecode3 = SWIG_AsVal_int(obj2, &val3);
7134 if (!SWIG_IsOK(ecode3)) {
7135 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7136 }
7137 arg3 = static_cast< int >(val3);
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7146 return resultobj;
7147fail:
7148 return NULL;
d14a1e28
RD
7149}
7150
7151
554f62e9
RD
7152SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7153 PyObject *resultobj = 0;
7154 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7155 wxHtmlCell *result = 0 ;
7156 void *argp1 = 0 ;
7157 int res1 = 0 ;
7158 PyObject *swig_obj[1] ;
7159
7160 if (!args) SWIG_fail;
7161 swig_obj[0] = args;
7162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7163 if (!SWIG_IsOK(res1)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7165 }
7166 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 result = (wxHtmlCell *)(arg1)->GetNext();
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 {
7174 resultobj = wxPyMake_wxObject(result, 0);
7175 }
7176 return resultobj;
7177fail:
7178 return NULL;
d14a1e28
RD
7179}
7180
7181
554f62e9
RD
7182SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7183 PyObject *resultobj = 0;
7184 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7185 wxHtmlContainerCell *result = 0 ;
7186 void *argp1 = 0 ;
7187 int res1 = 0 ;
7188 PyObject *swig_obj[1] ;
7189
7190 if (!args) SWIG_fail;
7191 swig_obj[0] = args;
7192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7193 if (!SWIG_IsOK(res1)) {
7194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7195 }
7196 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 result = (wxHtmlContainerCell *)(arg1)->GetParent();
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7204 return resultobj;
7205fail:
7206 return NULL;
d14a1e28
RD
7207}
7208
7209
554f62e9
RD
7210SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7211 PyObject *resultobj = 0;
7212 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7213 wxHtmlCell *result = 0 ;
7214 void *argp1 = 0 ;
7215 int res1 = 0 ;
7216 PyObject *swig_obj[1] ;
7217
7218 if (!args) SWIG_fail;
7219 swig_obj[0] = args;
7220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7221 if (!SWIG_IsOK(res1)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7223 }
7224 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 {
7232 resultobj = wxPyMake_wxObject(result, 0);
7233 }
7234 return resultobj;
7235fail:
7236 return NULL;
d14a1e28
RD
7237}
7238
7239
e9d6f3a4
RD
7240SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj = 0;
7242 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7243 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7244 wxCursor result;
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
7247 void *argp2 = 0 ;
7248 int res2 = 0 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 char * kwnames[] = {
7252 (char *) "self",(char *) "window", NULL
7253 };
7254
7255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7257 if (!SWIG_IsOK(res1)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7259 }
7260 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7262 if (!SWIG_IsOK(res2)) {
7263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7264 }
7265 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7273 return resultobj;
7274fail:
7275 return NULL;
7276}
7277
7278
554f62e9
RD
7279SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7280 PyObject *resultobj = 0;
7281 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7282 wxCursor result;
7283 void *argp1 = 0 ;
7284 int res1 = 0 ;
7285 PyObject *swig_obj[1] ;
7286
7287 if (!args) SWIG_fail;
7288 swig_obj[0] = args;
7289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7290 if (!SWIG_IsOK(res1)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7292 }
7293 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 result = ((wxHtmlCell const *)arg1)->GetCursor();
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7301 return resultobj;
7302fail:
7303 return NULL;
d14a1e28
RD
7304}
7305
7306
554f62e9
RD
7307SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7308 PyObject *resultobj = 0;
7309 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7310 bool result;
7311 void *argp1 = 0 ;
7312 int res1 = 0 ;
7313 PyObject *swig_obj[1] ;
7314
7315 if (!args) SWIG_fail;
7316 swig_obj[0] = args;
7317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7318 if (!SWIG_IsOK(res1)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7320 }
7321 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 {
7329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7330 }
7331 return resultobj;
7332fail:
7333 return NULL;
7334}
7335
7336
7337SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj = 0;
7339 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7340 wxHtmlLinkInfo *arg2 = 0 ;
7341 void *argp1 = 0 ;
7342 int res1 = 0 ;
7343 void *argp2 = 0 ;
7344 int res2 = 0 ;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 char * kwnames[] = {
7348 (char *) "self",(char *) "link", NULL
7349 };
7350
7351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7353 if (!SWIG_IsOK(res1)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7355 }
7356 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7357 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7358 if (!SWIG_IsOK(res2)) {
7359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7360 }
7361 if (!argp2) {
7362 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7363 }
7364 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 resultobj = SWIG_Py_Void();
7372 return resultobj;
7373fail:
7374 return NULL;
7375}
7376
7377
7378SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj = 0;
7380 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7381 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7382 int res1 = 0 ;
7383 int res2 = 0 ;
7384 PyObject * obj0 = 0 ;
7385 PyObject * obj1 = 0 ;
7386 char * kwnames[] = {
7387 (char *) "self",(char *) "cell", NULL
7388 };
7389
7390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7391 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7392 if (!SWIG_IsOK(res1)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7394 }
7395 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7396 if (!SWIG_IsOK(res2)) {
7397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7398 }
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 (arg1)->SetNext(arg2);
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_Py_Void();
7406 return resultobj;
7407fail:
7408 return NULL;
7409}
7410
7411
7412SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj = 0;
7414 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7415 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7416 void *argp1 = 0 ;
7417 int res1 = 0 ;
7418 void *argp2 = 0 ;
7419 int res2 = 0 ;
7420 PyObject * obj0 = 0 ;
7421 PyObject * obj1 = 0 ;
7422 char * kwnames[] = {
7423 (char *) "self",(char *) "p", NULL
7424 };
7425
7426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7428 if (!SWIG_IsOK(res1)) {
7429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7430 }
7431 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7432 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7433 if (!SWIG_IsOK(res2)) {
7434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7435 }
7436 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 (arg1)->SetParent(arg2);
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 resultobj = SWIG_Py_Void();
7444 return resultobj;
7445fail:
7446 return NULL;
7447}
7448
7449
7450SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7451 PyObject *resultobj = 0;
7452 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7453 int arg2 ;
7454 int arg3 ;
7455 void *argp1 = 0 ;
7456 int res1 = 0 ;
7457 int val2 ;
7458 int ecode2 = 0 ;
7459 int val3 ;
7460 int ecode3 = 0 ;
7461 PyObject * obj0 = 0 ;
7462 PyObject * obj1 = 0 ;
7463 PyObject * obj2 = 0 ;
7464 char * kwnames[] = {
7465 (char *) "self",(char *) "x",(char *) "y", NULL
7466 };
7467
7468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7470 if (!SWIG_IsOK(res1)) {
7471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7472 }
7473 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7474 ecode2 = SWIG_AsVal_int(obj1, &val2);
7475 if (!SWIG_IsOK(ecode2)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7477 }
7478 arg2 = static_cast< int >(val2);
7479 ecode3 = SWIG_AsVal_int(obj2, &val3);
7480 if (!SWIG_IsOK(ecode3)) {
7481 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7482 }
7483 arg3 = static_cast< int >(val3);
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 (arg1)->SetPos(arg2,arg3);
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 resultobj = SWIG_Py_Void();
7491 return resultobj;
7492fail:
7493 return NULL;
7494}
7495
7496
7497SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7498 PyObject *resultobj = 0;
7499 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7500 int arg2 ;
7501 void *argp1 = 0 ;
7502 int res1 = 0 ;
7503 int val2 ;
7504 int ecode2 = 0 ;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 char * kwnames[] = {
7508 (char *) "self",(char *) "w", NULL
7509 };
7510
7511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7513 if (!SWIG_IsOK(res1)) {
7514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7515 }
7516 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7517 ecode2 = SWIG_AsVal_int(obj1, &val2);
7518 if (!SWIG_IsOK(ecode2)) {
7519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7520 }
7521 arg2 = static_cast< int >(val2);
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 (arg1)->Layout(arg2);
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 resultobj = SWIG_Py_Void();
7529 return resultobj;
7530fail:
7531 return NULL;
7532}
7533
7534
7535SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj = 0;
7537 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7538 wxDC *arg2 = 0 ;
7539 int arg3 ;
7540 int arg4 ;
7541 int arg5 ;
7542 int arg6 ;
7543 wxHtmlRenderingInfo *arg7 = 0 ;
7544 void *argp1 = 0 ;
7545 int res1 = 0 ;
7546 void *argp2 = 0 ;
7547 int res2 = 0 ;
7548 int val3 ;
7549 int ecode3 = 0 ;
7550 int val4 ;
7551 int ecode4 = 0 ;
7552 int val5 ;
7553 int ecode5 = 0 ;
7554 int val6 ;
7555 int ecode6 = 0 ;
7556 void *argp7 = 0 ;
7557 int res7 = 0 ;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 PyObject * obj2 = 0 ;
7561 PyObject * obj3 = 0 ;
7562 PyObject * obj4 = 0 ;
7563 PyObject * obj5 = 0 ;
7564 PyObject * obj6 = 0 ;
7565 char * kwnames[] = {
7566 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7567 };
7568
7569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7571 if (!SWIG_IsOK(res1)) {
7572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7573 }
7574 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7576 if (!SWIG_IsOK(res2)) {
7577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7578 }
7579 if (!argp2) {
7580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7581 }
7582 arg2 = reinterpret_cast< wxDC * >(argp2);
7583 ecode3 = SWIG_AsVal_int(obj2, &val3);
7584 if (!SWIG_IsOK(ecode3)) {
7585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7586 }
7587 arg3 = static_cast< int >(val3);
7588 ecode4 = SWIG_AsVal_int(obj3, &val4);
7589 if (!SWIG_IsOK(ecode4)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7591 }
7592 arg4 = static_cast< int >(val4);
7593 ecode5 = SWIG_AsVal_int(obj4, &val5);
7594 if (!SWIG_IsOK(ecode5)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7596 }
7597 arg5 = static_cast< int >(val5);
7598 ecode6 = SWIG_AsVal_int(obj5, &val6);
7599 if (!SWIG_IsOK(ecode6)) {
7600 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7601 }
7602 arg6 = static_cast< int >(val6);
7603 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7604 if (!SWIG_IsOK(res7)) {
7605 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7606 }
7607 if (!argp7) {
7608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7609 }
7610 arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 resultobj = SWIG_Py_Void();
7618 return resultobj;
7619fail:
7620 return NULL;
7621}
7622
7623
7624SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj = 0;
7626 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7627 wxDC *arg2 = 0 ;
7628 int arg3 ;
7629 int arg4 ;
7630 wxHtmlRenderingInfo *arg5 = 0 ;
7631 void *argp1 = 0 ;
7632 int res1 = 0 ;
7633 void *argp2 = 0 ;
7634 int res2 = 0 ;
7635 int val3 ;
7636 int ecode3 = 0 ;
7637 int val4 ;
7638 int ecode4 = 0 ;
7639 void *argp5 = 0 ;
7640 int res5 = 0 ;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 PyObject * obj2 = 0 ;
7644 PyObject * obj3 = 0 ;
7645 PyObject * obj4 = 0 ;
7646 char * kwnames[] = {
7647 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7648 };
7649
7650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7652 if (!SWIG_IsOK(res1)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7654 }
7655 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7656 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7657 if (!SWIG_IsOK(res2)) {
7658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7659 }
7660 if (!argp2) {
7661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7662 }
7663 arg2 = reinterpret_cast< wxDC * >(argp2);
7664 ecode3 = SWIG_AsVal_int(obj2, &val3);
7665 if (!SWIG_IsOK(ecode3)) {
7666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7667 }
7668 arg3 = static_cast< int >(val3);
7669 ecode4 = SWIG_AsVal_int(obj3, &val4);
7670 if (!SWIG_IsOK(ecode4)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7672 }
7673 arg4 = static_cast< int >(val4);
7674 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7675 if (!SWIG_IsOK(res5)) {
7676 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7677 }
7678 if (!argp5) {
7679 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7680 }
7681 arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 resultobj = SWIG_Py_Void();
7689 return resultobj;
7690fail:
7691 return NULL;
7692}
7693
7694
7695SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj = 0;
7697 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7698 int arg2 ;
7699 void *arg3 = (void *) 0 ;
7700 wxHtmlCell *result = 0 ;
7701 void *argp1 = 0 ;
7702 int res1 = 0 ;
7703 int val2 ;
7704 int ecode2 = 0 ;
7705 int res3 ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 PyObject * obj2 = 0 ;
7709 char * kwnames[] = {
7710 (char *) "self",(char *) "condition",(char *) "param", NULL
7711 };
7712
7713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7715 if (!SWIG_IsOK(res1)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7717 }
7718 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7719 ecode2 = SWIG_AsVal_int(obj1, &val2);
7720 if (!SWIG_IsOK(ecode2)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7722 }
7723 arg2 = static_cast< int >(val2);
7724 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7725 if (!SWIG_IsOK(res3)) {
7726 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7727 }
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = wxPyMake_wxObject(result, 0);
7736 }
7737 return resultobj;
7738fail:
7739 return NULL;
7740}
7741
7742
e9d6f3a4
RD
7743SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj = 0;
7745 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7746 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7747 wxPoint *arg3 = 0 ;
7748 wxMouseEvent *arg4 = 0 ;
7749 bool result;
7750 void *argp1 = 0 ;
7751 int res1 = 0 ;
7752 void *argp2 = 0 ;
7753 int res2 = 0 ;
7754 wxPoint temp3 ;
7755 void *argp4 = 0 ;
7756 int res4 = 0 ;
7757 PyObject * obj0 = 0 ;
7758 PyObject * obj1 = 0 ;
7759 PyObject * obj2 = 0 ;
7760 PyObject * obj3 = 0 ;
7761 char * kwnames[] = {
7762 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7763 };
7764
7765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7767 if (!SWIG_IsOK(res1)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7769 }
7770 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7771 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7772 if (!SWIG_IsOK(res2)) {
7773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7774 }
7775 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7776 {
7777 arg3 = &temp3;
7778 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7779 }
7780 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7781 if (!SWIG_IsOK(res4)) {
7782 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7783 }
7784 if (!argp4) {
7785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7786 }
7787 arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 {
7795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7796 }
7797 return resultobj;
7798fail:
7799 return NULL;
7800}
7801
7802
554f62e9
RD
7803SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj = 0;
7805 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7806 bool arg2 ;
7807 void *argp1 = 0 ;
7808 int res1 = 0 ;
7809 bool val2 ;
7810 int ecode2 = 0 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 char * kwnames[] = {
7814 (char *) "self",(char *) "can", NULL
7815 };
7816
7817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7819 if (!SWIG_IsOK(res1)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7821 }
7822 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7823 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7824 if (!SWIG_IsOK(ecode2)) {
7825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7826 }
7827 arg2 = static_cast< bool >(val2);
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 (arg1)->SetCanLiveOnPagebreak(arg2);
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 resultobj = SWIG_Py_Void();
7835 return resultobj;
7836fail:
7837 return NULL;
d14a1e28
RD
7838}
7839
7840
554f62e9
RD
7841SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7842 PyObject *resultobj = 0;
7843 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7844 bool result;
7845 void *argp1 = 0 ;
7846 int res1 = 0 ;
7847 PyObject *swig_obj[1] ;
7848
7849 if (!args) SWIG_fail;
7850 swig_obj[0] = args;
7851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7852 if (!SWIG_IsOK(res1)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7854 }
7855 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 {
7863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7864 }
7865 return resultobj;
7866fail:
7867 return NULL;
d14a1e28
RD
7868}
7869
7870
554f62e9
RD
7871SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7872 PyObject *resultobj = 0;
7873 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7874 bool result;
7875 void *argp1 = 0 ;
7876 int res1 = 0 ;
7877 PyObject *swig_obj[1] ;
7878
7879 if (!args) SWIG_fail;
7880 swig_obj[0] = args;
7881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7882 if (!SWIG_IsOK(res1)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7884 }
7885 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 {
7893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7894 }
7895 return resultobj;
7896fail:
7897 return NULL;
7898}
7899
7900
7901SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj = 0;
7903 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7904 int arg2 ;
7905 int arg3 ;
7906 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7907 wxHtmlCell *result = 0 ;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 int val2 ;
7911 int ecode2 = 0 ;
7912 int val3 ;
7913 int ecode3 = 0 ;
7914 unsigned int val4 ;
7915 int ecode4 = 0 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 PyObject * obj2 = 0 ;
7919 PyObject * obj3 = 0 ;
7920 char * kwnames[] = {
7921 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7922 };
7923
7924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7926 if (!SWIG_IsOK(res1)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7928 }
7929 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7930 ecode2 = SWIG_AsVal_int(obj1, &val2);
7931 if (!SWIG_IsOK(ecode2)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7933 }
7934 arg2 = static_cast< int >(val2);
7935 ecode3 = SWIG_AsVal_int(obj2, &val3);
7936 if (!SWIG_IsOK(ecode3)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7938 }
7939 arg3 = static_cast< int >(val3);
7940 if (obj3) {
7941 ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7942 if (!SWIG_IsOK(ecode4)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7944 }
7945 arg4 = static_cast< unsigned int >(val4);
7946 }
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 {
7954 resultobj = wxPyMake_wxObject(result, 0);
7955 }
7956 return resultobj;
7957fail:
7958 return NULL;
d14a1e28
RD
7959}
7960
7961
e9d6f3a4 7962SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
554f62e9
RD
7963 PyObject *resultobj = 0;
7964 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
e9d6f3a4 7965 wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
554f62e9
RD
7966 wxPoint result;
7967 void *argp1 = 0 ;
7968 int res1 = 0 ;
e9d6f3a4
RD
7969 void *argp2 = 0 ;
7970 int res2 = 0 ;
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj1 = 0 ;
7973 char * kwnames[] = {
7974 (char *) "self",(char *) "rootCell", NULL
7975 };
7976
7977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
7978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7979 if (!SWIG_IsOK(res1)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7981 }
7982 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7983 if (obj1) {
7984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7985 if (!SWIG_IsOK(res2)) {
7986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7987 }
7988 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
7989 }
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
7997 return resultobj;
7998fail:
7999 return NULL;
8000}
8001
8002
8003SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8004 PyObject *resultobj = 0;
8005 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8006 wxHtmlCell *result = 0 ;
8007 void *argp1 = 0 ;
8008 int res1 = 0 ;
554f62e9
RD
8009 PyObject *swig_obj[1] ;
8010
8011 if (!args) SWIG_fail;
8012 swig_obj[0] = args;
8013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8014 if (!SWIG_IsOK(res1)) {
e9d6f3a4 8015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
554f62e9
RD
8016 }
8017 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 8020 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
554f62e9
RD
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
e9d6f3a4
RD
8024 {
8025 resultobj = wxPyMake_wxObject(result, 0);
8026 }
554f62e9
RD
8027 return resultobj;
8028fail:
8029 return NULL;
d14a1e28
RD
8030}
8031
8032
554f62e9
RD
8033SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8034 PyObject *resultobj = 0;
8035 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8036 wxHtmlCell *result = 0 ;
8037 void *argp1 = 0 ;
8038 int res1 = 0 ;
8039 PyObject *swig_obj[1] ;
8040
8041 if (!args) SWIG_fail;
8042 swig_obj[0] = args;
8043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8044 if (!SWIG_IsOK(res1)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8046 }
8047 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 {
8055 resultobj = wxPyMake_wxObject(result, 0);
8056 }
8057 return resultobj;
8058fail:
8059 return NULL;
d14a1e28
RD
8060}
8061
8062
554f62e9
RD
8063SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8064 PyObject *resultobj = 0;
8065 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8066 wxHtmlCell *result = 0 ;
8067 void *argp1 = 0 ;
8068 int res1 = 0 ;
8069 PyObject *swig_obj[1] ;
8070
8071 if (!args) SWIG_fail;
8072 swig_obj[0] = args;
8073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8074 if (!SWIG_IsOK(res1)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8076 }
8077 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 {
8085 resultobj = wxPyMake_wxObject(result, 0);
8086 }
8087 return resultobj;
8088fail:
8089 return NULL;
d14a1e28
RD
8090}
8091
8092
554f62e9
RD
8093SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8094 PyObject *resultobj = 0;
8095 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8096 unsigned int result;
8097 void *argp1 = 0 ;
8098 int res1 = 0 ;
8099 PyObject *swig_obj[1] ;
8100
8101 if (!args) SWIG_fail;
8102 swig_obj[0] = args;
8103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8104 if (!SWIG_IsOK(res1)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8106 }
8107 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8115 return resultobj;
8116fail:
8117 return NULL;
8118}
8119
8120
8121SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj = 0;
8123 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8124 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8125 bool result;
8126 void *argp1 = 0 ;
8127 int res1 = 0 ;
8128 void *argp2 = 0 ;
8129 int res2 = 0 ;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 char * kwnames[] = {
8133 (char *) "self",(char *) "cell", NULL
8134 };
8135
8136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8138 if (!SWIG_IsOK(res1)) {
8139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8140 }
8141 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8143 if (!SWIG_IsOK(res2)) {
8144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8145 }
8146 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 {
8154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8155 }
8156 return resultobj;
8157fail:
8158 return NULL;
8159}
8160
8161
8162SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8163 PyObject *resultobj = 0;
8164 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8165 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8166 wxString result;
8167 void *argp1 = 0 ;
8168 int res1 = 0 ;
8169 void *argp2 = 0 ;
8170 int res2 = 0 ;
8171 PyObject * obj0 = 0 ;
8172 PyObject * obj1 = 0 ;
8173 char * kwnames[] = {
8174 (char *) "self",(char *) "sel", NULL
8175 };
8176
8177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8179 if (!SWIG_IsOK(res1)) {
8180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8181 }
8182 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8184 if (!SWIG_IsOK(res2)) {
8185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8186 }
8187 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 {
8195#if wxUSE_UNICODE
8196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8197#else
8198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8199#endif
8200 }
8201 return resultobj;
8202fail:
8203 return NULL;
d14a1e28
RD
8204}
8205
8206
554f62e9
RD
8207SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8208 PyObject *obj;
8209 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8210 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8211 return SWIG_Py_Void();
d14a1e28
RD
8212}
8213
554f62e9
RD
8214SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8215 return SWIG_Python_InitShadowInstance(args);
8216}
d14a1e28 8217
554f62e9
RD
8218SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj = 0;
8220 wxString *arg1 = 0 ;
8221 wxDC *arg2 = 0 ;
8222 wxHtmlWordCell *result = 0 ;
8223 bool temp1 = false ;
8224 void *argp2 = 0 ;
8225 int res2 = 0 ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char * kwnames[] = {
8229 (char *) "word",(char *) "dc", NULL
8230 };
8231
8232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8233 {
8234 arg1 = wxString_in_helper(obj0);
8235 if (arg1 == NULL) SWIG_fail;
8236 temp1 = true;
8237 }
8238 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8239 if (!SWIG_IsOK(res2)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8241 }
8242 if (!argp2) {
8243 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8244 }
8245 arg2 = reinterpret_cast< wxDC * >(argp2);
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8253 {
8254 if (temp1)
8255 delete arg1;
8256 }
8257 return resultobj;
8258fail:
8259 {
8260 if (temp1)
8261 delete arg1;
8262 }
8263 return NULL;
8264}
8265
8266
8267SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8268 PyObject *resultobj = 0;
8269 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8270 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8271 wxString result;
8272 void *argp1 = 0 ;
8273 int res1 = 0 ;
8274 void *argp2 = 0 ;
8275 int res2 = 0 ;
8276 PyObject * obj0 = 0 ;
8277 PyObject * obj1 = 0 ;
8278 char * kwnames[] = {
8279 (char *) "self",(char *) "sel", NULL
8280 };
8281
8282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8284 if (!SWIG_IsOK(res1)) {
8285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8286 }
8287 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8288 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8289 if (!SWIG_IsOK(res2)) {
8290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8291 }
8292 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 {
8300#if wxUSE_UNICODE
8301 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8302#else
8303 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8304#endif
8305 }
8306 return resultobj;
8307fail:
8308 return NULL;
d14a1e28
RD
8309}
8310
8311
554f62e9
RD
8312SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8313 PyObject *resultobj = 0;
8314 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8315 bool result;
8316 void *argp1 = 0 ;
8317 int res1 = 0 ;
8318 PyObject *swig_obj[1] ;
8319
8320 if (!args) SWIG_fail;
8321 swig_obj[0] = args;
8322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8323 if (!SWIG_IsOK(res1)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8325 }
8326 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 {
8334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8335 }
8336 return resultobj;
8337fail:
8338 return NULL;
8339}
8340
8341
8342SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj = 0;
8344 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8345 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8346 void *argp1 = 0 ;
8347 int res1 = 0 ;
8348 void *argp2 = 0 ;
8349 int res2 = 0 ;
8350 PyObject * obj0 = 0 ;
8351 PyObject * obj1 = 0 ;
8352 char * kwnames[] = {
8353 (char *) "self",(char *) "cell", NULL
8354 };
8355
8356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8358 if (!SWIG_IsOK(res1)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8360 }
8361 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8362 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8363 if (!SWIG_IsOK(res2)) {
8364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8365 }
8366 arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 (arg1)->SetPreviousWord(arg2);
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 resultobj = SWIG_Py_Void();
8374 return resultobj;
8375fail:
8376 return NULL;
d14a1e28
RD
8377}
8378
8379
554f62e9
RD
8380SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8381 PyObject *obj;
8382 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8383 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8384 return SWIG_Py_Void();
d14a1e28
RD
8385}
8386
554f62e9
RD
8387SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8388 return SWIG_Python_InitShadowInstance(args);
8389}
d14a1e28 8390
554f62e9
RD
8391SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8392 PyObject *resultobj = 0;
8393 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8394 wxHtmlContainerCell *result = 0 ;
8395 void *argp1 = 0 ;
8396 int res1 = 0 ;
8397 PyObject * obj0 = 0 ;
8398 char * kwnames[] = {
8399 (char *) "parent", NULL
8400 };
8401
8402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8404 if (!SWIG_IsOK(res1)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8406 }
8407 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8415 return resultobj;
8416fail:
8417 return NULL;
8418}
8419
8420
8421SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj = 0;
8423 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8424 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8425 void *argp1 = 0 ;
8426 int res1 = 0 ;
8427 int res2 = 0 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char * kwnames[] = {
8431 (char *) "self",(char *) "cell", NULL
8432 };
8433
8434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8438 }
8439 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8440 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8441 if (!SWIG_IsOK(res2)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8443 }
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 (arg1)->InsertCell(arg2);
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 resultobj = SWIG_Py_Void();
8451 return resultobj;
8452fail:
8453 return NULL;
8454}
8455
8456
8457SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj = 0;
8459 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8460 int arg2 ;
8461 void *argp1 = 0 ;
8462 int res1 = 0 ;
8463 int val2 ;
8464 int ecode2 = 0 ;
8465 PyObject * obj0 = 0 ;
8466 PyObject * obj1 = 0 ;
8467 char * kwnames[] = {
8468 (char *) "self",(char *) "al", NULL
8469 };
8470
8471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8473 if (!SWIG_IsOK(res1)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8475 }
8476 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8477 ecode2 = SWIG_AsVal_int(obj1, &val2);
8478 if (!SWIG_IsOK(ecode2)) {
8479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8480 }
8481 arg2 = static_cast< int >(val2);
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 (arg1)->SetAlignHor(arg2);
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = SWIG_Py_Void();
8489 return resultobj;
8490fail:
8491 return NULL;
d14a1e28 8492}
554f62e9
RD
8493
8494
8495SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8496 PyObject *resultobj = 0;
8497 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8498 int result;
8499 void *argp1 = 0 ;
8500 int res1 = 0 ;
8501 PyObject *swig_obj[1] ;
8502
8503 if (!args) SWIG_fail;
8504 swig_obj[0] = args;
8505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8506 if (!SWIG_IsOK(res1)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8508 }
8509 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (int)(arg1)->GetAlignHor();
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = SWIG_From_int(static_cast< int >(result));
8517 return resultobj;
8518fail:
8519 return NULL;
8520}
8521
8522
8523SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj = 0;
8525 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8526 int arg2 ;
8527 void *argp1 = 0 ;
8528 int res1 = 0 ;
8529 int val2 ;
8530 int ecode2 = 0 ;
8531 PyObject * obj0 = 0 ;
8532 PyObject * obj1 = 0 ;
8533 char * kwnames[] = {
8534 (char *) "self",(char *) "al", NULL
8535 };
8536
8537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8539 if (!SWIG_IsOK(res1)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8541 }
8542 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8543 ecode2 = SWIG_AsVal_int(obj1, &val2);
8544 if (!SWIG_IsOK(ecode2)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8546 }
8547 arg2 = static_cast< int >(val2);
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 (arg1)->SetAlignVer(arg2);
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = SWIG_Py_Void();
8555 return resultobj;
8556fail:
8557 return NULL;
d14a1e28
RD
8558}
8559
8560
554f62e9
RD
8561SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8562 PyObject *resultobj = 0;
8563 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8564 int result;
8565 void *argp1 = 0 ;
8566 int res1 = 0 ;
8567 PyObject *swig_obj[1] ;
8568
8569 if (!args) SWIG_fail;
8570 swig_obj[0] = args;
8571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8572 if (!SWIG_IsOK(res1)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8574 }
8575 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 result = (int)(arg1)->GetAlignVer();
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 resultobj = SWIG_From_int(static_cast< int >(result));
8583 return resultobj;
8584fail:
8585 return NULL;
8586}
8587
8588
8589SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj = 0;
8591 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8592 int arg2 ;
8593 int arg3 ;
8594 int arg4 = (int) wxHTML_UNITS_PIXELS ;
8595 void *argp1 = 0 ;
8596 int res1 = 0 ;
8597 int val2 ;
8598 int ecode2 = 0 ;
8599 int val3 ;
8600 int ecode3 = 0 ;
8601 int val4 ;
8602 int ecode4 = 0 ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 PyObject * obj2 = 0 ;
8606 PyObject * obj3 = 0 ;
8607 char * kwnames[] = {
8608 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8609 };
8610
8611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8613 if (!SWIG_IsOK(res1)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8615 }
8616 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8617 ecode2 = SWIG_AsVal_int(obj1, &val2);
8618 if (!SWIG_IsOK(ecode2)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8620 }
8621 arg2 = static_cast< int >(val2);
8622 ecode3 = SWIG_AsVal_int(obj2, &val3);
8623 if (!SWIG_IsOK(ecode3)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8625 }
8626 arg3 = static_cast< int >(val3);
8627 if (obj3) {
8628 ecode4 = SWIG_AsVal_int(obj3, &val4);
8629 if (!SWIG_IsOK(ecode4)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8631 }
8632 arg4 = static_cast< int >(val4);
8633 }
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 (arg1)->SetIndent(arg2,arg3,arg4);
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 resultobj = SWIG_Py_Void();
8641 return resultobj;
8642fail:
8643 return NULL;
8644}
8645
8646
8647SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8648 PyObject *resultobj = 0;
8649 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8650 int arg2 ;
8651 int result;
8652 void *argp1 = 0 ;
8653 int res1 = 0 ;
8654 int val2 ;
8655 int ecode2 = 0 ;
8656 PyObject * obj0 = 0 ;
8657 PyObject * obj1 = 0 ;
8658 char * kwnames[] = {
8659 (char *) "self",(char *) "ind", NULL
8660 };
8661
8662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8664 if (!SWIG_IsOK(res1)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8666 }
8667 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8668 ecode2 = SWIG_AsVal_int(obj1, &val2);
8669 if (!SWIG_IsOK(ecode2)) {
8670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8671 }
8672 arg2 = static_cast< int >(val2);
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 result = (int)(arg1)->GetIndent(arg2);
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_From_int(static_cast< int >(result));
8680 return resultobj;
8681fail:
8682 return NULL;
8683}
8684
8685
8686SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj = 0;
8688 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8689 int arg2 ;
8690 int result;
8691 void *argp1 = 0 ;
8692 int res1 = 0 ;
8693 int val2 ;
8694 int ecode2 = 0 ;
8695 PyObject * obj0 = 0 ;
8696 PyObject * obj1 = 0 ;
8697 char * kwnames[] = {
8698 (char *) "self",(char *) "ind", NULL
8699 };
8700
8701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8703 if (!SWIG_IsOK(res1)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8705 }
8706 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8707 ecode2 = SWIG_AsVal_int(obj1, &val2);
8708 if (!SWIG_IsOK(ecode2)) {
8709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8710 }
8711 arg2 = static_cast< int >(val2);
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (int)(arg1)->GetIndentUnits(arg2);
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 resultobj = SWIG_From_int(static_cast< int >(result));
8719 return resultobj;
8720fail:
8721 return NULL;
8722}
8723
8724
8725SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = 0;
8727 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8728 wxHtmlTag *arg2 = 0 ;
8729 void *argp1 = 0 ;
8730 int res1 = 0 ;
8731 void *argp2 = 0 ;
8732 int res2 = 0 ;
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8735 char * kwnames[] = {
8736 (char *) "self",(char *) "tag", NULL
8737 };
8738
8739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8741 if (!SWIG_IsOK(res1)) {
8742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8743 }
8744 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8745 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8746 if (!SWIG_IsOK(res2)) {
8747 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8748 }
8749 if (!argp2) {
8750 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8751 }
8752 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 resultobj = SWIG_Py_Void();
8760 return resultobj;
8761fail:
8762 return NULL;
8763}
8764
8765
8766SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8767 PyObject *resultobj = 0;
8768 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8769 int arg2 ;
8770 int arg3 ;
8771 void *argp1 = 0 ;
8772 int res1 = 0 ;
8773 int val2 ;
8774 int ecode2 = 0 ;
8775 int val3 ;
8776 int ecode3 = 0 ;
8777 PyObject * obj0 = 0 ;
8778 PyObject * obj1 = 0 ;
8779 PyObject * obj2 = 0 ;
8780 char * kwnames[] = {
8781 (char *) "self",(char *) "w",(char *) "units", NULL
8782 };
8783
8784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8786 if (!SWIG_IsOK(res1)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8788 }
8789 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8790 ecode2 = SWIG_AsVal_int(obj1, &val2);
8791 if (!SWIG_IsOK(ecode2)) {
8792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8793 }
8794 arg2 = static_cast< int >(val2);
8795 ecode3 = SWIG_AsVal_int(obj2, &val3);
8796 if (!SWIG_IsOK(ecode3)) {
8797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8798 }
8799 arg3 = static_cast< int >(val3);
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 (arg1)->SetWidthFloat(arg2,arg3);
8803 wxPyEndAllowThreads(__tstate);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 resultobj = SWIG_Py_Void();
8807 return resultobj;
8808fail:
8809 return NULL;
8810}
8811
8812
8813SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8814 PyObject *resultobj = 0;
8815 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8816 wxHtmlTag *arg2 = 0 ;
8817 void *argp1 = 0 ;
8818 int res1 = 0 ;
8819 void *argp2 = 0 ;
8820 int res2 = 0 ;
8821 PyObject * obj0 = 0 ;
8822 PyObject * obj1 = 0 ;
8823 char * kwnames[] = {
8824 (char *) "self",(char *) "tag", NULL
8825 };
8826
8827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8829 if (!SWIG_IsOK(res1)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8831 }
8832 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8834 if (!SWIG_IsOK(res2)) {
8835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8836 }
8837 if (!argp2) {
8838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8839 }
8840 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 resultobj = SWIG_Py_Void();
8848 return resultobj;
8849fail:
8850 return NULL;
8851}
8852
8853
8854SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj = 0;
8856 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8857 int arg2 ;
8858 int arg3 = (int) wxHTML_ALIGN_TOP ;
8859 void *argp1 = 0 ;
8860 int res1 = 0 ;
8861 int val2 ;
8862 int ecode2 = 0 ;
8863 int val3 ;
8864 int ecode3 = 0 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj2 = 0 ;
8868 char * kwnames[] = {
8869 (char *) "self",(char *) "h",(char *) "align", NULL
8870 };
8871
8872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8874 if (!SWIG_IsOK(res1)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8876 }
8877 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8878 ecode2 = SWIG_AsVal_int(obj1, &val2);
8879 if (!SWIG_IsOK(ecode2)) {
8880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8881 }
8882 arg2 = static_cast< int >(val2);
8883 if (obj2) {
8884 ecode3 = SWIG_AsVal_int(obj2, &val3);
8885 if (!SWIG_IsOK(ecode3)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8887 }
8888 arg3 = static_cast< int >(val3);
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 (arg1)->SetMinHeight(arg2,arg3);
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 resultobj = SWIG_Py_Void();
8897 return resultobj;
8898fail:
8899 return NULL;
8900}
8901
8902
8903SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj = 0;
8905 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8906 wxColour *arg2 = 0 ;
8907 void *argp1 = 0 ;
8908 int res1 = 0 ;
8909 wxColour temp2 ;
8910 PyObject * obj0 = 0 ;
8911 PyObject * obj1 = 0 ;
8912 char * kwnames[] = {
8913 (char *) "self",(char *) "clr", NULL
8914 };
8915
8916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8918 if (!SWIG_IsOK(res1)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8920 }
8921 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8922 {
8923 arg2 = &temp2;
8924 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8925 }
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 resultobj = SWIG_Py_Void();
8933 return resultobj;
8934fail:
8935 return NULL;
d14a1e28
RD
8936}
8937
8938
554f62e9
RD
8939SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8940 PyObject *resultobj = 0;
8941 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8942 wxColour result;
8943 void *argp1 = 0 ;
8944 int res1 = 0 ;
8945 PyObject *swig_obj[1] ;
8946
8947 if (!args) SWIG_fail;
8948 swig_obj[0] = args;
8949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8950 if (!SWIG_IsOK(res1)) {
8951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8952 }
8953 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (arg1)->GetBackgroundColour();
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8961 return resultobj;
8962fail:
8963 return NULL;
8964}
8965
8966
8967SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8968 PyObject *resultobj = 0;
8969 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8970 wxColour *arg2 = 0 ;
8971 wxColour *arg3 = 0 ;
8972 void *argp1 = 0 ;
8973 int res1 = 0 ;
8974 wxColour temp2 ;
8975 wxColour temp3 ;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 PyObject * obj2 = 0 ;
8979 char * kwnames[] = {
8980 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8981 };
8982
8983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8985 if (!SWIG_IsOK(res1)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8987 }
8988 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8989 {
8990 arg2 = &temp2;
8991 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8992 }
8993 {
8994 arg3 = &temp3;
8995 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8996 }
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 resultobj = SWIG_Py_Void();
9004 return resultobj;
9005fail:
9006 return NULL;
d14a1e28
RD
9007}
9008
9009
554f62e9
RD
9010SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9011 PyObject *resultobj = 0;
9012 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9013 wxHtmlCell *result = 0 ;
9014 void *argp1 = 0 ;
9015 int res1 = 0 ;
9016 PyObject *swig_obj[1] ;
9017
9018 if (!args) SWIG_fail;
9019 swig_obj[0] = args;
9020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9021 if (!SWIG_IsOK(res1)) {
9022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9023 }
9024 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 result = (wxHtmlCell *)(arg1)->GetFirstChild();
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 {
9032 resultobj = wxPyMake_wxObject(result, 0);
9033 }
9034 return resultobj;
9035fail:
9036 return NULL;
d14a1e28
RD
9037}
9038
9039
554f62e9
RD
9040SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9041 PyObject *obj;
9042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9043 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
9044 return SWIG_Py_Void();
d14a1e28
RD
9045}
9046
554f62e9
RD
9047SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9048 return SWIG_Python_InitShadowInstance(args);
9049}
d14a1e28 9050
554f62e9
RD
9051SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj = 0;
9053 wxColour *arg1 = 0 ;
9054 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9055 wxHtmlColourCell *result = 0 ;
9056 wxColour temp1 ;
9057 int val2 ;
9058 int ecode2 = 0 ;
9059 PyObject * obj0 = 0 ;
9060 PyObject * obj1 = 0 ;
9061 char * kwnames[] = {
9062 (char *) "clr",(char *) "flags", NULL
9063 };
9064
9065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9066 {
9067 arg1 = &temp1;
9068 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9069 }
9070 if (obj1) {
9071 ecode2 = SWIG_AsVal_int(obj1, &val2);
9072 if (!SWIG_IsOK(ecode2)) {
9073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9074 }
9075 arg2 = static_cast< int >(val2);
9076 }
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9084 return resultobj;
9085fail:
9086 return NULL;
d14a1e28
RD
9087}
9088
9089
554f62e9
RD
9090SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9091 PyObject *obj;
9092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9093 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9094 return SWIG_Py_Void();
d00d1b88
RD
9095}
9096
554f62e9
RD
9097SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9098 return SWIG_Python_InitShadowInstance(args);
9099}
d00d1b88 9100
554f62e9
RD
9101SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj = 0;
9103 wxFont *arg1 = (wxFont *) 0 ;
9104 wxHtmlFontCell *result = 0 ;
9105 void *argp1 = 0 ;
9106 int res1 = 0 ;
9107 PyObject * obj0 = 0 ;
9108 char * kwnames[] = {
9109 (char *) "font", NULL
9110 };
9111
9112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9114 if (!SWIG_IsOK(res1)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9116 }
9117 arg1 = reinterpret_cast< wxFont * >(argp1);
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9125 return resultobj;
9126fail:
9127 return NULL;
cbd72d4f
RD
9128}
9129
9130
554f62e9
RD
9131SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9132 PyObject *obj;
9133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9134 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9135 return SWIG_Py_Void();
cbd72d4f
RD
9136}
9137
554f62e9
RD
9138SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9139 return SWIG_Python_InitShadowInstance(args);
9140}
cbd72d4f 9141
554f62e9
RD
9142SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj = 0;
9144 wxWindow *arg1 = (wxWindow *) 0 ;
9145 int arg2 = (int) 0 ;
9146 wxHtmlWidgetCell *result = 0 ;
9147 void *argp1 = 0 ;
9148 int res1 = 0 ;
9149 int val2 ;
9150 int ecode2 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 char * kwnames[] = {
9154 (char *) "wnd",(char *) "w", NULL
9155 };
9156
9157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9159 if (!SWIG_IsOK(res1)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9161 }
9162 arg1 = reinterpret_cast< wxWindow * >(argp1);
9163 if (obj1) {
9164 ecode2 = SWIG_AsVal_int(obj1, &val2);
9165 if (!SWIG_IsOK(ecode2)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9167 }
9168 arg2 = static_cast< int >(val2);
9169 }
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9177 return resultobj;
9178fail:
9179 return NULL;
d14a1e28
RD
9180}
9181
9182
554f62e9
RD
9183SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9184 PyObject *obj;
9185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9186 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9187 return SWIG_Py_Void();
d14a1e28
RD
9188}
9189
554f62e9
RD
9190SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9191 return SWIG_Python_InitShadowInstance(args);
9192}
d14a1e28 9193
554f62e9
RD
9194SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9195 PyObject *resultobj = 0;
9196 wxPyHtmlFilter *result = 0 ;
9197
9198 if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9206 return resultobj;
9207fail:
9208 return NULL;
9209}
9210
9211
9212SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj = 0;
9214 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9215 PyObject *arg2 = (PyObject *) 0 ;
9216 PyObject *arg3 = (PyObject *) 0 ;
9217 void *argp1 = 0 ;
9218 int res1 = 0 ;
9219 PyObject * obj0 = 0 ;
9220 PyObject * obj1 = 0 ;
9221 PyObject * obj2 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "self",(char *) "_class", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9230 }
9231 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9232 arg2 = obj1;
9233 arg3 = obj2;
9234 {
9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
9236 (arg1)->_setCallbackInfo(arg2,arg3);
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 resultobj = SWIG_Py_Void();
9241 return resultobj;
9242fail:
9243 return NULL;
9244}
9245
9246
9247SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9248 PyObject *obj;
9249 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9251 return SWIG_Py_Void();
9252}
9253
9254SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9255 return SWIG_Python_InitShadowInstance(args);
9256}
9257
e9d6f3a4
RD
9258SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9259 PyObject *resultobj = 0;
9260 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9261 void *argp1 = 0 ;
9262 int res1 = 0 ;
9263 PyObject *swig_obj[1] ;
9264
9265 if (!args) SWIG_fail;
9266 swig_obj[0] = args;
9267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9268 if (!SWIG_IsOK(res1)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9270 }
9271 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 delete arg1;
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = SWIG_Py_Void();
9280 return resultobj;
9281fail:
9282 return NULL;
9283}
9284
9285
9286SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj = 0;
9288 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9289 wxString *arg2 = 0 ;
9290 void *argp1 = 0 ;
9291 int res1 = 0 ;
9292 bool temp2 = false ;
9293 PyObject * obj0 = 0 ;
9294 PyObject * obj1 = 0 ;
9295 char * kwnames[] = {
9296 (char *) "self",(char *) "title", NULL
9297 };
9298
9299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9301 if (!SWIG_IsOK(res1)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9303 }
9304 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9305 {
9306 arg2 = wxString_in_helper(obj1);
9307 if (arg2 == NULL) SWIG_fail;
9308 temp2 = true;
9309 }
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
9316 resultobj = SWIG_Py_Void();
9317 {
9318 if (temp2)
9319 delete arg2;
9320 }
9321 return resultobj;
9322fail:
9323 {
9324 if (temp2)
9325 delete arg2;
9326 }
9327 return NULL;
9328}
9329
9330
9331SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj = 0;
9333 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9334 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9335 wxPoint *arg3 = 0 ;
9336 wxPoint result;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 void *argp2 = 0 ;
9340 int res2 = 0 ;
9341 wxPoint temp3 ;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 PyObject * obj2 = 0 ;
9345 char * kwnames[] = {
9346 (char *) "self",(char *) "cell",(char *) "pos", NULL
9347 };
9348
9349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9351 if (!SWIG_IsOK(res1)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9353 }
9354 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9355 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9356 if (!SWIG_IsOK(res2)) {
9357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9358 }
9359 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9360 {
9361 arg3 = &temp3;
9362 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9363 }
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9371 return resultobj;
9372fail:
9373 return NULL;
9374}
9375
9376
9377SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9378 PyObject *resultobj = 0;
9379 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9380 wxWindow *result = 0 ;
9381 void *argp1 = 0 ;
9382 int res1 = 0 ;
9383 PyObject *swig_obj[1] ;
9384
9385 if (!args) SWIG_fail;
9386 swig_obj[0] = args;
9387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9388 if (!SWIG_IsOK(res1)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9390 }
9391 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (wxWindow *)(arg1)->GetHTMLWindow();
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 {
9399 resultobj = wxPyMake_wxObject(result, 0);
9400 }
9401 return resultobj;
9402fail:
9403 return NULL;
9404}
9405
9406
9407SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9408 PyObject *resultobj = 0;
9409 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9410 wxColour result;
9411 void *argp1 = 0 ;
9412 int res1 = 0 ;
9413 PyObject *swig_obj[1] ;
9414
9415 if (!args) SWIG_fail;
9416 swig_obj[0] = args;
9417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9418 if (!SWIG_IsOK(res1)) {
9419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9420 }
9421 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9429 return resultobj;
9430fail:
9431 return NULL;
9432}
9433
9434
9435SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj = 0;
9437 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9438 wxColour *arg2 = 0 ;
9439 void *argp1 = 0 ;
9440 int res1 = 0 ;
9441 wxColour temp2 ;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char * kwnames[] = {
9445 (char *) "self",(char *) "clr", NULL
9446 };
9447
9448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9450 if (!SWIG_IsOK(res1)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9452 }
9453 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9454 {
9455 arg2 = &temp2;
9456 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9457 }
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 resultobj = SWIG_Py_Void();
9465 return resultobj;
9466fail:
9467 return NULL;
9468}
9469
9470
9471SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj = 0;
9473 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9474 wxBitmap *arg2 = 0 ;
9475 void *argp1 = 0 ;
9476 int res1 = 0 ;
9477 void *argp2 = 0 ;
9478 int res2 = 0 ;
9479 PyObject * obj0 = 0 ;
9480 PyObject * obj1 = 0 ;
9481 char * kwnames[] = {
9482 (char *) "self",(char *) "bmpBg", NULL
9483 };
9484
9485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9487 if (!SWIG_IsOK(res1)) {
9488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9489 }
9490 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9491 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9492 if (!SWIG_IsOK(res2)) {
9493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9494 }
9495 if (!argp2) {
9496 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9497 }
9498 arg2 = reinterpret_cast< wxBitmap * >(argp2);
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 resultobj = SWIG_Py_Void();
9506 return resultobj;
9507fail:
9508 return NULL;
9509}
9510
9511
9512SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj = 0;
9514 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9515 wxString *arg2 = 0 ;
9516 void *argp1 = 0 ;
9517 int res1 = 0 ;
9518 bool temp2 = false ;
9519 PyObject * obj0 = 0 ;
9520 PyObject * obj1 = 0 ;
9521 char * kwnames[] = {
9522 (char *) "self",(char *) "text", NULL
9523 };
9524
9525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9527 if (!SWIG_IsOK(res1)) {
9528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9529 }
9530 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9531 {
9532 arg2 = wxString_in_helper(obj1);
9533 if (arg2 == NULL) SWIG_fail;
9534 temp2 = true;
9535 }
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 (arg1)->SetHTMLStatusText((wxString const &)*arg2);
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
9542 resultobj = SWIG_Py_Void();
9543 {
9544 if (temp2)
9545 delete arg2;
9546 }
9547 return resultobj;
9548fail:
9549 {
9550 if (temp2)
9551 delete arg2;
9552 }
9553 return NULL;
9554}
9555
9556
9557SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9558 PyObject *obj;
9559 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9560 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9561 return SWIG_Py_Void();
9562}
9563
554f62e9
RD
9564SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj = 0;
9566 wxWindow *arg1 = (wxWindow *) 0 ;
9567 int arg2 = (int) -1 ;
9568 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9569 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9570 wxSize const &arg4_defvalue = wxDefaultSize ;
9571 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9572 int arg5 = (int) wxHW_DEFAULT_STYLE ;
9573 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9574 wxString *arg6 = (wxString *) &arg6_defvalue ;
9575 wxPyHtmlWindow *result = 0 ;
9576 void *argp1 = 0 ;
9577 int res1 = 0 ;
9578 int val2 ;
9579 int ecode2 = 0 ;
9580 wxPoint temp3 ;
9581 wxSize temp4 ;
9582 int val5 ;
9583 int ecode5 = 0 ;
9584 bool temp6 = false ;
9585 PyObject * obj0 = 0 ;
9586 PyObject * obj1 = 0 ;
9587 PyObject * obj2 = 0 ;
9588 PyObject * obj3 = 0 ;
9589 PyObject * obj4 = 0 ;
9590 PyObject * obj5 = 0 ;
9591 char * kwnames[] = {
9592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9593 };
9594
9595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9597 if (!SWIG_IsOK(res1)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9599 }
9600 arg1 = reinterpret_cast< wxWindow * >(argp1);
9601 if (obj1) {
9602 ecode2 = SWIG_AsVal_int(obj1, &val2);
9603 if (!SWIG_IsOK(ecode2)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9605 }
9606 arg2 = static_cast< int >(val2);
9607 }
9608 if (obj2) {
d14a1e28 9609 {
554f62e9
RD
9610 arg3 = &temp3;
9611 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 9612 }
554f62e9
RD
9613 }
9614 if (obj3) {
d14a1e28 9615 {
554f62e9
RD
9616 arg4 = &temp4;
9617 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9618 }
554f62e9
RD
9619 }
9620 if (obj4) {
9621 ecode5 = SWIG_AsVal_int(obj4, &val5);
9622 if (!SWIG_IsOK(ecode5)) {
9623 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9624 }
9625 arg5 = static_cast< int >(val5);
9626 }
9627 if (obj5) {
b1fcee84 9628 {
554f62e9
RD
9629 arg6 = wxString_in_helper(obj5);
9630 if (arg6 == NULL) SWIG_fail;
9631 temp6 = true;
b1fcee84 9632 }
554f62e9
RD
9633 }
9634 {
9635 if (!wxPyCheckForApp()) SWIG_fail;
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9642 {
9643 if (temp6)
9644 delete arg6;
9645 }
9646 return resultobj;
9647fail:
9648 {
9649 if (temp6)
9650 delete arg6;
9651 }
9652 return NULL;
d14a1e28
RD
9653}
9654
9655
554f62e9
RD
9656SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9657 PyObject *resultobj = 0;
9658 wxPyHtmlWindow *result = 0 ;
9659
9660 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9661 {
9662 if (!wxPyCheckForApp()) SWIG_fail;
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9669 return resultobj;
9670fail:
9671 return NULL;
9672}
9673
9674
9675SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj = 0;
9677 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9678 wxWindow *arg2 = (wxWindow *) 0 ;
9679 int arg3 = (int) -1 ;
9680 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9681 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9682 wxSize const &arg5_defvalue = wxDefaultSize ;
9683 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9684 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9685 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9686 wxString *arg7 = (wxString *) &arg7_defvalue ;
9687 bool result;
9688 void *argp1 = 0 ;
9689 int res1 = 0 ;
9690 void *argp2 = 0 ;
9691 int res2 = 0 ;
9692 int val3 ;
9693 int ecode3 = 0 ;
9694 wxPoint temp4 ;
9695 wxSize temp5 ;
9696 int val6 ;
9697 int ecode6 = 0 ;
9698 bool temp7 = false ;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 PyObject * obj2 = 0 ;
9702 PyObject * obj3 = 0 ;
9703 PyObject * obj4 = 0 ;
9704 PyObject * obj5 = 0 ;
9705 PyObject * obj6 = 0 ;
9706 char * kwnames[] = {
9707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9708 };
9709
9710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9712 if (!SWIG_IsOK(res1)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9714 }
9715 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9717 if (!SWIG_IsOK(res2)) {
9718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9719 }
9720 arg2 = reinterpret_cast< wxWindow * >(argp2);
9721 if (obj2) {
9722 ecode3 = SWIG_AsVal_int(obj2, &val3);
9723 if (!SWIG_IsOK(ecode3)) {
9724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9725 }
9726 arg3 = static_cast< int >(val3);
9727 }
9728 if (obj3) {
d14a1e28 9729 {
554f62e9
RD
9730 arg4 = &temp4;
9731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9732 }
554f62e9
RD
9733 }
9734 if (obj4) {
d14a1e28 9735 {
554f62e9
RD
9736 arg5 = &temp5;
9737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9738 }
554f62e9
RD
9739 }
9740 if (obj5) {
9741 ecode6 = SWIG_AsVal_int(obj5, &val6);
9742 if (!SWIG_IsOK(ecode6)) {
9743 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9744 }
9745 arg6 = static_cast< int >(val6);
9746 }
9747 if (obj6) {
4f89f6a3 9748 {
554f62e9
RD
9749 arg7 = wxString_in_helper(obj6);
9750 if (arg7 == NULL) SWIG_fail;
9751 temp7 = true;
4f89f6a3 9752 }
554f62e9
RD
9753 }
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 {
9761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9762 }
9763 {
9764 if (temp7)
9765 delete arg7;
9766 }
9767 return resultobj;
9768fail:
9769 {
9770 if (temp7)
9771 delete arg7;
9772 }
9773 return NULL;
9774}
9775
9776
9777SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj = 0;
9779 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9780 PyObject *arg2 = (PyObject *) 0 ;
9781 PyObject *arg3 = (PyObject *) 0 ;
9782 void *argp1 = 0 ;
9783 int res1 = 0 ;
9784 PyObject * obj0 = 0 ;
9785 PyObject * obj1 = 0 ;
9786 PyObject * obj2 = 0 ;
9787 char * kwnames[] = {
9788 (char *) "self",(char *) "self",(char *) "_class", NULL
9789 };
9790
9791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9793 if (!SWIG_IsOK(res1)) {
9794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9795 }
9796 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9797 arg2 = obj1;
9798 arg3 = obj2;
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 (arg1)->_setCallbackInfo(arg2,arg3);
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_Py_Void();
9806 return resultobj;
9807fail:
9808 return NULL;
9809}
9810
9811
9812SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj = 0;
9814 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9815 wxString *arg2 = 0 ;
9816 bool result;
9817 void *argp1 = 0 ;
9818 int res1 = 0 ;
9819 bool temp2 = false ;
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
9822 char * kwnames[] = {
9823 (char *) "self",(char *) "source", NULL
9824 };
9825
9826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9828 if (!SWIG_IsOK(res1)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9830 }
9831 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9832 {
9833 arg2 = wxString_in_helper(obj1);
9834 if (arg2 == NULL) SWIG_fail;
9835 temp2 = true;
9836 }
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 {
9844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9845 }
9846 {
9847 if (temp2)
9848 delete arg2;
9849 }
9850 return resultobj;
9851fail:
9852 {
9853 if (temp2)
9854 delete arg2;
9855 }
9856 return NULL;
9857}
9858
9859
9860SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj = 0;
9862 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9863 wxString *arg2 = 0 ;
9864 bool result;
9865 void *argp1 = 0 ;
9866 int res1 = 0 ;
9867 bool temp2 = false ;
9868 PyObject * obj0 = 0 ;
9869 PyObject * obj1 = 0 ;
9870 char * kwnames[] = {
9871 (char *) "self",(char *) "location", NULL
9872 };
9873
9874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9876 if (!SWIG_IsOK(res1)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9878 }
9879 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9880 {
9881 arg2 = wxString_in_helper(obj1);
9882 if (arg2 == NULL) SWIG_fail;
9883 temp2 = true;
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 {
9892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9893 }
9894 {
9895 if (temp2)
9896 delete arg2;
9897 }
9898 return resultobj;
9899fail:
9900 {
9901 if (temp2)
9902 delete arg2;
9903 }
9904 return NULL;
9905}
9906
9907
9908SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj = 0;
9910 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9911 wxString *arg2 = 0 ;
9912 bool result;
9913 void *argp1 = 0 ;
9914 int res1 = 0 ;
9915 bool temp2 = false ;
9916 PyObject * obj0 = 0 ;
9917 PyObject * obj1 = 0 ;
9918 char * kwnames[] = {
9919 (char *) "self",(char *) "filename", NULL
9920 };
9921
9922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9924 if (!SWIG_IsOK(res1)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9926 }
9927 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9928 {
9929 arg2 = wxString_in_helper(obj1);
9930 if (arg2 == NULL) SWIG_fail;
9931 temp2 = true;
9932 }
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 {
9940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9941 }
9942 {
9943 if (temp2)
9944 delete arg2;
9945 }
9946 return resultobj;
9947fail:
9948 {
9949 if (temp2)
9950 delete arg2;
9951 }
9952 return NULL;
9953}
9954
9955
9956SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj = 0;
9958 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9959 wxString *arg2 = 0 ;
9960 bool result;
9961 void *argp1 = 0 ;
9962 int res1 = 0 ;
9963 bool temp2 = false ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 char * kwnames[] = {
9967 (char *) "self",(char *) "source", NULL
9968 };
9969
9970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
9971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9972 if (!SWIG_IsOK(res1)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9974 }
9975 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9976 {
9977 arg2 = wxString_in_helper(obj1);
9978 if (arg2 == NULL) SWIG_fail;
9979 temp2 = true;
9980 }
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
9987 {
9988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9989 }
9990 {
9991 if (temp2)
9992 delete arg2;
9993 }
9994 return resultobj;
9995fail:
9996 {
9997 if (temp2)
9998 delete arg2;
9999 }
10000 return NULL;
d14a1e28
RD
10001}
10002
10003
554f62e9
RD
10004SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10005 PyObject *resultobj = 0;
10006 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10007 wxString result;
10008 void *argp1 = 0 ;
10009 int res1 = 0 ;
10010 PyObject *swig_obj[1] ;
10011
10012 if (!args) SWIG_fail;
10013 swig_obj[0] = args;
10014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10015 if (!SWIG_IsOK(res1)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10017 }
10018 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (arg1)->GetOpenedPage();
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 {
10026#if wxUSE_UNICODE
10027 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10028#else
10029 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10030#endif
10031 }
10032 return resultobj;
10033fail:
10034 return NULL;
d14a1e28
RD
10035}
10036
10037
554f62e9
RD
10038SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10039 PyObject *resultobj = 0;
10040 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10041 wxString result;
10042 void *argp1 = 0 ;
10043 int res1 = 0 ;
10044 PyObject *swig_obj[1] ;
10045
10046 if (!args) SWIG_fail;
10047 swig_obj[0] = args;
10048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10049 if (!SWIG_IsOK(res1)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10051 }
10052 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 result = (arg1)->GetOpenedAnchor();
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 {
10060#if wxUSE_UNICODE
10061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10062#else
10063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10064#endif
10065 }
10066 return resultobj;
10067fail:
10068 return NULL;
d14a1e28
RD
10069}
10070
10071
554f62e9
RD
10072SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10073 PyObject *resultobj = 0;
10074 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10075 wxString result;
10076 void *argp1 = 0 ;
10077 int res1 = 0 ;
10078 PyObject *swig_obj[1] ;
10079
10080 if (!args) SWIG_fail;
10081 swig_obj[0] = args;
10082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10083 if (!SWIG_IsOK(res1)) {
10084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10085 }
10086 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10087 {
10088 PyThreadState* __tstate = wxPyBeginAllowThreads();
10089 result = (arg1)->GetOpenedPageTitle();
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) SWIG_fail;
10092 }
10093 {
10094#if wxUSE_UNICODE
10095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10096#else
10097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10098#endif
10099 }
10100 return resultobj;
10101fail:
10102 return NULL;
10103}
10104
10105
10106SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj = 0;
10108 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10109 wxFrame *arg2 = (wxFrame *) 0 ;
10110 wxString *arg3 = 0 ;
10111 void *argp1 = 0 ;
10112 int res1 = 0 ;
10113 void *argp2 = 0 ;
10114 int res2 = 0 ;
10115 bool temp3 = false ;
10116 PyObject * obj0 = 0 ;
10117 PyObject * obj1 = 0 ;
10118 PyObject * obj2 = 0 ;
10119 char * kwnames[] = {
10120 (char *) "self",(char *) "frame",(char *) "format", NULL
10121 };
10122
10123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10125 if (!SWIG_IsOK(res1)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10127 }
10128 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10129 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10130 if (!SWIG_IsOK(res2)) {
10131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10132 }
10133 arg2 = reinterpret_cast< wxFrame * >(argp2);
10134 {
10135 arg3 = wxString_in_helper(obj2);
10136 if (arg3 == NULL) SWIG_fail;
10137 temp3 = true;
10138 }
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 resultobj = SWIG_Py_Void();
10146 {
10147 if (temp3)
10148 delete arg3;
10149 }
10150 return resultobj;
10151fail:
10152 {
10153 if (temp3)
10154 delete arg3;
10155 }
10156 return NULL;
d14a1e28
RD
10157}
10158
10159
554f62e9
RD
10160SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10161 PyObject *resultobj = 0;
10162 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10163 wxFrame *result = 0 ;
10164 void *argp1 = 0 ;
10165 int res1 = 0 ;
10166 PyObject *swig_obj[1] ;
10167
10168 if (!args) SWIG_fail;
10169 swig_obj[0] = args;
10170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10171 if (!SWIG_IsOK(res1)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10173 }
10174 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (wxFrame *)(arg1)->GetRelatedFrame();
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 {
10182 resultobj = wxPyMake_wxObject(result, 0);
10183 }
10184 return resultobj;
10185fail:
10186 return NULL;
10187}
10188
10189
10190SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj = 0;
10192 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10193 int arg2 ;
10194 void *argp1 = 0 ;
10195 int res1 = 0 ;
10196 int val2 ;
10197 int ecode2 = 0 ;
10198 PyObject * obj0 = 0 ;
10199 PyObject * obj1 = 0 ;
10200 char * kwnames[] = {
10201 (char *) "self",(char *) "bar", NULL
10202 };
10203
10204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10206 if (!SWIG_IsOK(res1)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10208 }
10209 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10210 ecode2 = SWIG_AsVal_int(obj1, &val2);
10211 if (!SWIG_IsOK(ecode2)) {
10212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10213 }
10214 arg2 = static_cast< int >(val2);
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 (arg1)->SetRelatedStatusBar(arg2);
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_Py_Void();
10222 return resultobj;
10223fail:
10224 return NULL;
10225}
10226
10227
10228SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj = 0;
10230 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10231 wxString arg2 ;
10232 wxString arg3 ;
10233 PyObject *arg4 = (PyObject *) NULL ;
10234 void *argp1 = 0 ;
10235 int res1 = 0 ;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10238 PyObject * obj2 = 0 ;
10239 PyObject * obj3 = 0 ;
10240 char * kwnames[] = {
10241 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10242 };
10243
10244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10246 if (!SWIG_IsOK(res1)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10248 }
10249 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10250 {
10251 wxString* sptr = wxString_in_helper(obj1);
10252 if (sptr == NULL) SWIG_fail;
10253 arg2 = *sptr;
10254 delete sptr;
10255 }
10256 {
10257 wxString* sptr = wxString_in_helper(obj2);
10258 if (sptr == NULL) SWIG_fail;
10259 arg3 = *sptr;
10260 delete sptr;
10261 }
10262 if (obj3) {
10263 arg4 = obj3;
10264 }
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 resultobj = SWIG_Py_Void();
10272 return resultobj;
10273fail:
10274 return NULL;
10275}
10276
10277
10278SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj = 0;
10280 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10281 int arg2 = (int) -1 ;
10282 wxString const &arg3_defvalue = wxPyEmptyString ;
10283 wxString *arg3 = (wxString *) &arg3_defvalue ;
10284 wxString const &arg4_defvalue = wxPyEmptyString ;
10285 wxString *arg4 = (wxString *) &arg4_defvalue ;
10286 void *argp1 = 0 ;
10287 int res1 = 0 ;
10288 int val2 ;
10289 int ecode2 = 0 ;
10290 bool temp3 = false ;
10291 bool temp4 = false ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 PyObject * obj2 = 0 ;
10295 PyObject * obj3 = 0 ;
10296 char * kwnames[] = {
10297 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10298 };
10299
10300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10302 if (!SWIG_IsOK(res1)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10304 }
10305 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10306 if (obj1) {
10307 ecode2 = SWIG_AsVal_int(obj1, &val2);
10308 if (!SWIG_IsOK(ecode2)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10310 }
10311 arg2 = static_cast< int >(val2);
10312 }
10313 if (obj2) {
093d3ff1 10314 {
554f62e9
RD
10315 arg3 = wxString_in_helper(obj2);
10316 if (arg3 == NULL) SWIG_fail;
10317 temp3 = true;
093d3ff1 10318 }
554f62e9
RD
10319 }
10320 if (obj3) {
d14a1e28 10321 {
554f62e9
RD
10322 arg4 = wxString_in_helper(obj3);
10323 if (arg4 == NULL) SWIG_fail;
10324 temp4 = true;
093d3ff1 10325 }
554f62e9
RD
10326 }
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 resultobj = SWIG_Py_Void();
10334 {
10335 if (temp3)
10336 delete arg3;
10337 }
10338 {
10339 if (temp4)
10340 delete arg4;
10341 }
10342 return resultobj;
10343fail:
10344 {
10345 if (temp3)
10346 delete arg3;
10347 }
10348 {
10349 if (temp4)
10350 delete arg4;
10351 }
10352 return NULL;
10353}
10354
10355
10356SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj = 0;
10358 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10359 int arg2 ;
10360 void *argp1 = 0 ;
10361 int res1 = 0 ;
10362 int val2 ;
10363 int ecode2 = 0 ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 char * kwnames[] = {
10367 (char *) "self",(char *) "b", NULL
10368 };
10369
10370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10372 if (!SWIG_IsOK(res1)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10374 }
10375 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10376 ecode2 = SWIG_AsVal_int(obj1, &val2);
10377 if (!SWIG_IsOK(ecode2)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10379 }
10380 arg2 = static_cast< int >(val2);
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->SetBorders(arg2);
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 resultobj = SWIG_Py_Void();
10388 return resultobj;
10389fail:
10390 return NULL;
10391}
10392
10393
10394SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10395 PyObject *resultobj = 0;
10396 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10397 wxBitmap *arg2 = 0 ;
10398 void *argp1 = 0 ;
10399 int res1 = 0 ;
10400 void *argp2 = 0 ;
10401 int res2 = 0 ;
10402 PyObject * obj0 = 0 ;
10403 PyObject * obj1 = 0 ;
10404 char * kwnames[] = {
10405 (char *) "self",(char *) "bmpBg", NULL
10406 };
10407
10408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
10409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10410 if (!SWIG_IsOK(res1)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10412 }
10413 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10414 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10415 if (!SWIG_IsOK(res2)) {
10416 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10417 }
10418 if (!argp2) {
10419 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10420 }
10421 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 resultobj = SWIG_Py_Void();
10429 return resultobj;
10430fail:
10431 return NULL;
10432}
10433
10434
10435SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj = 0;
10437 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10438 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10439 wxString arg3 = (wxString) wxPyEmptyString ;
10440 void *argp1 = 0 ;
10441 int res1 = 0 ;
10442 void *argp2 = 0 ;
10443 int res2 = 0 ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 PyObject * obj2 = 0 ;
10447 char * kwnames[] = {
10448 (char *) "self",(char *) "cfg",(char *) "path", NULL
10449 };
10450
10451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10453 if (!SWIG_IsOK(res1)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10455 }
10456 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10457 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10458 if (!SWIG_IsOK(res2)) {
10459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10460 }
10461 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10462 if (obj2) {
093d3ff1 10463 {
554f62e9
RD
10464 wxString* sptr = wxString_in_helper(obj2);
10465 if (sptr == NULL) SWIG_fail;
10466 arg3 = *sptr;
10467 delete sptr;
d14a1e28 10468 }
554f62e9
RD
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 (arg1)->ReadCustomization(arg2,arg3);
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 resultobj = SWIG_Py_Void();
10477 return resultobj;
10478fail:
10479 return NULL;
10480}
10481
10482
10483SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj = 0;
10485 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10486 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10487 wxString arg3 = (wxString) wxPyEmptyString ;
10488 void *argp1 = 0 ;
10489 int res1 = 0 ;
10490 void *argp2 = 0 ;
10491 int res2 = 0 ;
10492 PyObject * obj0 = 0 ;
10493 PyObject * obj1 = 0 ;
10494 PyObject * obj2 = 0 ;
10495 char * kwnames[] = {
10496 (char *) "self",(char *) "cfg",(char *) "path", NULL
10497 };
10498
10499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10501 if (!SWIG_IsOK(res1)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10503 }
10504 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10506 if (!SWIG_IsOK(res2)) {
10507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10508 }
10509 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10510 if (obj2) {
d14a1e28 10511 {
554f62e9
RD
10512 wxString* sptr = wxString_in_helper(obj2);
10513 if (sptr == NULL) SWIG_fail;
10514 arg3 = *sptr;
10515 delete sptr;
d14a1e28 10516 }
554f62e9
RD
10517 }
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 (arg1)->WriteCustomization(arg2,arg3);
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = SWIG_Py_Void();
10525 return resultobj;
10526fail:
10527 return NULL;
d14a1e28
RD
10528}
10529
10530
554f62e9
RD
10531SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10532 PyObject *resultobj = 0;
10533 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10534 bool result;
10535 void *argp1 = 0 ;
10536 int res1 = 0 ;
10537 PyObject *swig_obj[1] ;
10538
10539 if (!args) SWIG_fail;
10540 swig_obj[0] = args;
10541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10542 if (!SWIG_IsOK(res1)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10544 }
10545 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 result = (bool)(arg1)->HistoryBack();
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 {
10553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10554 }
10555 return resultobj;
10556fail:
10557 return NULL;
d14a1e28
RD
10558}
10559
10560
554f62e9
RD
10561SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10562 PyObject *resultobj = 0;
10563 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10564 bool result;
10565 void *argp1 = 0 ;
10566 int res1 = 0 ;
10567 PyObject *swig_obj[1] ;
10568
10569 if (!args) SWIG_fail;
10570 swig_obj[0] = args;
10571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10572 if (!SWIG_IsOK(res1)) {
10573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10574 }
10575 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (bool)(arg1)->HistoryForward();
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 {
10583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10584 }
10585 return resultobj;
10586fail:
10587 return NULL;
d14a1e28
RD
10588}
10589
10590
554f62e9
RD
10591SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10592 PyObject *resultobj = 0;
10593 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10594 bool result;
10595 void *argp1 = 0 ;
10596 int res1 = 0 ;
10597 PyObject *swig_obj[1] ;
10598
10599 if (!args) SWIG_fail;
10600 swig_obj[0] = args;
10601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10602 if (!SWIG_IsOK(res1)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10604 }
10605 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (bool)(arg1)->HistoryCanBack();
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 {
10613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10614 }
10615 return resultobj;
10616fail:
10617 return NULL;
d14a1e28
RD
10618}
10619
10620
554f62e9
RD
10621SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10622 PyObject *resultobj = 0;
10623 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10624 bool result;
10625 void *argp1 = 0 ;
10626 int res1 = 0 ;
10627 PyObject *swig_obj[1] ;
10628
10629 if (!args) SWIG_fail;
10630 swig_obj[0] = args;
10631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10632 if (!SWIG_IsOK(res1)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10634 }
10635 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 result = (bool)(arg1)->HistoryCanForward();
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10644 }
10645 return resultobj;
10646fail:
10647 return NULL;
d14a1e28
RD
10648}
10649
10650
554f62e9
RD
10651SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10652 PyObject *resultobj = 0;
10653 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10654 void *argp1 = 0 ;
10655 int res1 = 0 ;
10656 PyObject *swig_obj[1] ;
10657
10658 if (!args) SWIG_fail;
10659 swig_obj[0] = args;
10660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10661 if (!SWIG_IsOK(res1)) {
10662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10663 }
10664 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 (arg1)->HistoryClear();
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 resultobj = SWIG_Py_Void();
10672 return resultobj;
10673fail:
10674 return NULL;
d14a1e28
RD
10675}
10676
10677
554f62e9
RD
10678SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10679 PyObject *resultobj = 0;
10680 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10681 wxHtmlContainerCell *result = 0 ;
10682 void *argp1 = 0 ;
10683 int res1 = 0 ;
10684 PyObject *swig_obj[1] ;
10685
10686 if (!args) SWIG_fail;
10687 swig_obj[0] = args;
10688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10689 if (!SWIG_IsOK(res1)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10691 }
10692 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10700 return resultobj;
10701fail:
10702 return NULL;
d14a1e28
RD
10703}
10704
10705
554f62e9
RD
10706SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10707 PyObject *resultobj = 0;
10708 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10709 wxHtmlWinParser *result = 0 ;
10710 void *argp1 = 0 ;
10711 int res1 = 0 ;
10712 PyObject *swig_obj[1] ;
10713
10714 if (!args) SWIG_fail;
10715 swig_obj[0] = args;
10716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10717 if (!SWIG_IsOK(res1)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10719 }
10720 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = (wxHtmlWinParser *)(arg1)->GetParser();
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10728 return resultobj;
10729fail:
10730 return NULL;
10731}
10732
10733
10734SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10735 PyObject *resultobj = 0;
10736 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10737 wxString *arg2 = 0 ;
10738 bool result;
10739 void *argp1 = 0 ;
10740 int res1 = 0 ;
10741 bool temp2 = false ;
10742 PyObject * obj0 = 0 ;
10743 PyObject * obj1 = 0 ;
10744 char * kwnames[] = {
10745 (char *) "self",(char *) "anchor", NULL
10746 };
10747
10748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10750 if (!SWIG_IsOK(res1)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10752 }
10753 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10754 {
10755 arg2 = wxString_in_helper(obj1);
10756 if (arg2 == NULL) SWIG_fail;
10757 temp2 = true;
10758 }
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 {
10766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10767 }
10768 {
10769 if (temp2)
10770 delete arg2;
10771 }
10772 return resultobj;
10773fail:
10774 {
10775 if (temp2)
10776 delete arg2;
10777 }
10778 return NULL;
10779}
10780
10781
10782SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj = 0;
10784 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10785 wxString *arg2 = 0 ;
10786 bool result;
10787 void *argp1 = 0 ;
10788 int res1 = 0 ;
10789 bool temp2 = false ;
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 char * kwnames[] = {
10793 (char *) "self",(char *) "anchor", NULL
10794 };
10795
10796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10798 if (!SWIG_IsOK(res1)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10800 }
10801 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10802 {
10803 arg2 = wxString_in_helper(obj1);
10804 if (arg2 == NULL) SWIG_fail;
10805 temp2 = true;
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 {
10814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10815 }
10816 {
10817 if (temp2)
10818 delete arg2;
10819 }
10820 return resultobj;
10821fail:
10822 {
10823 if (temp2)
10824 delete arg2;
10825 }
10826 return NULL;
d14a1e28
RD
10827}
10828
10829
554f62e9
RD
10830SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj = 0;
10832 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10833 void *argp1 = 0 ;
10834 int res1 = 0 ;
10835 PyObject * obj0 = 0 ;
10836 char * kwnames[] = {
10837 (char *) "filter", NULL
10838 };
10839
10840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10842 if (!SWIG_IsOK(res1)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10844 }
10845 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 wxPyHtmlWindow::AddFilter(arg1);
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 resultobj = SWIG_Py_Void();
10853 return resultobj;
10854fail:
10855 return NULL;
10856}
10857
10858
10859SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj = 0;
10861 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10862 wxPoint *arg2 = 0 ;
10863 void *argp1 = 0 ;
10864 int res1 = 0 ;
10865 wxPoint temp2 ;
10866 PyObject * obj0 = 0 ;
10867 PyObject * obj1 = 0 ;
10868 char * kwnames[] = {
10869 (char *) "self",(char *) "pos", NULL
10870 };
10871
10872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10874 if (!SWIG_IsOK(res1)) {
10875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10876 }
10877 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10878 {
10879 arg2 = &temp2;
10880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10881 }
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 (arg1)->SelectWord((wxPoint const &)*arg2);
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 resultobj = SWIG_Py_Void();
10889 return resultobj;
10890fail:
10891 return NULL;
10892}
10893
10894
10895SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10896 PyObject *resultobj = 0;
10897 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10898 wxPoint *arg2 = 0 ;
10899 void *argp1 = 0 ;
10900 int res1 = 0 ;
10901 wxPoint temp2 ;
10902 PyObject * obj0 = 0 ;
10903 PyObject * obj1 = 0 ;
10904 char * kwnames[] = {
10905 (char *) "self",(char *) "pos", NULL
10906 };
10907
10908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10910 if (!SWIG_IsOK(res1)) {
10911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10912 }
10913 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10914 {
10915 arg2 = &temp2;
10916 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10917 }
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 (arg1)->SelectLine((wxPoint const &)*arg2);
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 resultobj = SWIG_Py_Void();
10925 return resultobj;
10926fail:
10927 return NULL;
d14a1e28
RD
10928}
10929
10930
554f62e9
RD
10931SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10932 PyObject *resultobj = 0;
10933 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10934 void *argp1 = 0 ;
10935 int res1 = 0 ;
10936 PyObject *swig_obj[1] ;
10937
10938 if (!args) SWIG_fail;
10939 swig_obj[0] = args;
10940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10941 if (!SWIG_IsOK(res1)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10943 }
10944 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 (arg1)->SelectAll();
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 resultobj = SWIG_Py_Void();
10952 return resultobj;
10953fail:
10954 return NULL;
d14a1e28
RD
10955}
10956
10957
554f62e9
RD
10958SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10959 PyObject *resultobj = 0;
10960 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10961 wxString result;
10962 void *argp1 = 0 ;
10963 int res1 = 0 ;
10964 PyObject *swig_obj[1] ;
10965
10966 if (!args) SWIG_fail;
10967 swig_obj[0] = args;
10968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10969 if (!SWIG_IsOK(res1)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10971 }
10972 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (arg1)->SelectionToText();
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 {
10980#if wxUSE_UNICODE
10981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10982#else
10983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10984#endif
10985 }
10986 return resultobj;
10987fail:
10988 return NULL;
d14a1e28
RD
10989}
10990
10991
554f62e9
RD
10992SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10993 PyObject *resultobj = 0;
10994 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10995 wxString result;
10996 void *argp1 = 0 ;
10997 int res1 = 0 ;
10998 PyObject *swig_obj[1] ;
10999
11000 if (!args) SWIG_fail;
11001 swig_obj[0] = args;
11002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11003 if (!SWIG_IsOK(res1)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11005 }
11006 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = (arg1)->ToText();
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 {
d14a1e28 11014#if wxUSE_UNICODE
554f62e9 11015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 11016#else
554f62e9 11017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 11018#endif
554f62e9
RD
11019 }
11020 return resultobj;
11021fail:
11022 return NULL;
11023}
11024
11025
11026SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11027 PyObject *resultobj = 0;
11028 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11029 wxHtmlLinkInfo *arg2 = 0 ;
11030 void *argp1 = 0 ;
11031 int res1 = 0 ;
11032 void *argp2 = 0 ;
11033 int res2 = 0 ;
11034 PyObject * obj0 = 0 ;
11035 PyObject * obj1 = 0 ;
11036 char * kwnames[] = {
11037 (char *) "self",(char *) "link", NULL
11038 };
11039
11040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
11041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11042 if (!SWIG_IsOK(res1)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11044 }
11045 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11046 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
11047 if (!SWIG_IsOK(res2)) {
11048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11049 }
11050 if (!argp2) {
11051 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11052 }
11053 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 resultobj = SWIG_Py_Void();
11061 return resultobj;
11062fail:
11063 return NULL;
11064}
11065
11066
11067SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj = 0;
11069 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11070 wxString *arg2 = 0 ;
11071 void *argp1 = 0 ;
11072 int res1 = 0 ;
11073 bool temp2 = false ;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 char * kwnames[] = {
11077 (char *) "self",(char *) "title", NULL
11078 };
11079
11080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11082 if (!SWIG_IsOK(res1)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11084 }
11085 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11086 {
11087 arg2 = wxString_in_helper(obj1);
11088 if (arg2 == NULL) SWIG_fail;
11089 temp2 = true;
11090 }
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 (arg1)->OnSetTitle((wxString const &)*arg2);
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 resultobj = SWIG_Py_Void();
11098 {
11099 if (temp2)
11100 delete arg2;
11101 }
11102 return resultobj;
11103fail:
11104 {
11105 if (temp2)
11106 delete arg2;
11107 }
11108 return NULL;
11109}
11110
11111
11112SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj = 0;
11114 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11115 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11116 int arg3 ;
11117 int arg4 ;
11118 void *argp1 = 0 ;
11119 int res1 = 0 ;
11120 void *argp2 = 0 ;
11121 int res2 = 0 ;
11122 int val3 ;
11123 int ecode3 = 0 ;
11124 int val4 ;
11125 int ecode4 = 0 ;
11126 PyObject * obj0 = 0 ;
11127 PyObject * obj1 = 0 ;
11128 PyObject * obj2 = 0 ;
11129 PyObject * obj3 = 0 ;
11130 char * kwnames[] = {
11131 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11132 };
11133
11134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11136 if (!SWIG_IsOK(res1)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11138 }
11139 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11140 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11141 if (!SWIG_IsOK(res2)) {
11142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11143 }
11144 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11145 ecode3 = SWIG_AsVal_int(obj2, &val3);
11146 if (!SWIG_IsOK(ecode3)) {
11147 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11148 }
11149 arg3 = static_cast< int >(val3);
11150 ecode4 = SWIG_AsVal_int(obj3, &val4);
11151 if (!SWIG_IsOK(ecode4)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11153 }
11154 arg4 = static_cast< int >(val4);
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 resultobj = SWIG_Py_Void();
11162 return resultobj;
11163fail:
11164 return NULL;
11165}
11166
11167
11168SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj = 0;
11170 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11171 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11172 int arg3 ;
11173 int arg4 ;
11174 wxMouseEvent *arg5 = 0 ;
e9d6f3a4 11175 bool result;
554f62e9
RD
11176 void *argp1 = 0 ;
11177 int res1 = 0 ;
11178 void *argp2 = 0 ;
11179 int res2 = 0 ;
11180 int val3 ;
11181 int ecode3 = 0 ;
11182 int val4 ;
11183 int ecode4 = 0 ;
11184 void *argp5 = 0 ;
11185 int res5 = 0 ;
11186 PyObject * obj0 = 0 ;
11187 PyObject * obj1 = 0 ;
11188 PyObject * obj2 = 0 ;
11189 PyObject * obj3 = 0 ;
11190 PyObject * obj4 = 0 ;
11191 char * kwnames[] = {
11192 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11193 };
11194
11195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11197 if (!SWIG_IsOK(res1)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11199 }
11200 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11201 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11202 if (!SWIG_IsOK(res2)) {
11203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11204 }
11205 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11206 ecode3 = SWIG_AsVal_int(obj2, &val3);
11207 if (!SWIG_IsOK(ecode3)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11209 }
11210 arg3 = static_cast< int >(val3);
11211 ecode4 = SWIG_AsVal_int(obj3, &val4);
11212 if (!SWIG_IsOK(ecode4)) {
11213 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11214 }
11215 arg4 = static_cast< int >(val4);
11216 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11217 if (!SWIG_IsOK(res5)) {
11218 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11219 }
11220 if (!argp5) {
11221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11222 }
11223 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 11226 result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
554f62e9
RD
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
e9d6f3a4
RD
11230 {
11231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11232 }
11233 return resultobj;
11234fail:
11235 return NULL;
11236}
11237
11238
11239SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj = 0;
11241 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11242 wxHtmlURLType arg2 ;
11243 wxString *arg3 = 0 ;
11244 wxString *arg4 = (wxString *) 0 ;
11245 wxHtmlOpeningStatus result;
11246 void *argp1 = 0 ;
11247 int res1 = 0 ;
11248 int val2 ;
11249 int ecode2 = 0 ;
11250 bool temp3 = false ;
11251 bool temp4 = false ;
11252 PyObject * obj0 = 0 ;
11253 PyObject * obj1 = 0 ;
11254 PyObject * obj2 = 0 ;
11255 PyObject * obj3 = 0 ;
11256 char * kwnames[] = {
11257 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11258 };
11259
11260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11262 if (!SWIG_IsOK(res1)) {
11263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11264 }
11265 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11266 ecode2 = SWIG_AsVal_int(obj1, &val2);
11267 if (!SWIG_IsOK(ecode2)) {
11268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11269 }
11270 arg2 = static_cast< wxHtmlURLType >(val2);
11271 {
11272 arg3 = wxString_in_helper(obj2);
11273 if (arg3 == NULL) SWIG_fail;
11274 temp3 = true;
11275 }
11276 {
11277 arg4 = wxString_in_helper(obj3);
11278 if (arg4 == NULL) SWIG_fail;
11279 temp4 = true;
11280 }
11281 {
11282 PyThreadState* __tstate = wxPyBeginAllowThreads();
11283 result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 resultobj = SWIG_From_int(static_cast< int >(result));
11288 {
11289 if (temp3)
11290 delete arg3;
11291 }
11292 {
11293 if (temp4)
11294 delete arg4;
11295 }
554f62e9
RD
11296 return resultobj;
11297fail:
e9d6f3a4
RD
11298 {
11299 if (temp3)
11300 delete arg3;
11301 }
11302 {
11303 if (temp4)
11304 delete arg4;
11305 }
554f62e9
RD
11306 return NULL;
11307}
11308
11309
11310SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj = 0;
11312 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11313 SwigValueWrapper<wxVisualAttributes > result;
11314 int val1 ;
11315 int ecode1 = 0 ;
11316 PyObject * obj0 = 0 ;
11317 char * kwnames[] = {
11318 (char *) "variant", NULL
11319 };
11320
11321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11322 if (obj0) {
11323 ecode1 = SWIG_AsVal_int(obj0, &val1);
11324 if (!SWIG_IsOK(ecode1)) {
11325 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11326 }
11327 arg1 = static_cast< wxWindowVariant >(val1);
11328 }
11329 {
11330 if (!wxPyCheckForApp()) SWIG_fail;
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
11332 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11337 return resultobj;
11338fail:
11339 return NULL;
d14a1e28
RD
11340}
11341
11342
e9d6f3a4
RD
11343SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj = 0;
11345 wxPyHtmlWindow::HTMLCursor arg1 ;
11346 wxCursor result;
11347 int val1 ;
11348 int ecode1 = 0 ;
11349 PyObject * obj0 = 0 ;
11350 char * kwnames[] = {
11351 (char *) "type", NULL
11352 };
11353
11354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11355 ecode1 = SWIG_AsVal_int(obj0, &val1);
11356 if (!SWIG_IsOK(ecode1)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11358 }
11359 arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11367 return resultobj;
11368fail:
11369 return NULL;
11370}
11371
11372
554f62e9
RD
11373SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11374 PyObject *obj;
11375 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11377 return SWIG_Py_Void();
b1fcee84
RD
11378}
11379
554f62e9
RD
11380SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11381 return SWIG_Python_InitShadowInstance(args);
b1fcee84
RD
11382}
11383
554f62e9
RD
11384SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11385 PyObject *resultobj = 0;
11386 wxHtmlDCRenderer *result = 0 ;
11387
11388 if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11389 {
11390 if (!wxPyCheckForApp()) SWIG_fail;
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11397 return resultobj;
11398fail:
11399 return NULL;
b1fcee84
RD
11400}
11401
11402
554f62e9
RD
11403SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11404 PyObject *resultobj = 0;
11405 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11406 void *argp1 = 0 ;
11407 int res1 = 0 ;
11408 PyObject *swig_obj[1] ;
11409
11410 if (!args) SWIG_fail;
11411 swig_obj[0] = args;
11412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11413 if (!SWIG_IsOK(res1)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11415 }
11416 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 delete arg1;
d14a1e28 11420
554f62e9
RD
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 resultobj = SWIG_Py_Void();
11425 return resultobj;
11426fail:
11427 return NULL;
11428}
11429
11430
11431SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj = 0;
11433 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11434 wxDC *arg2 = (wxDC *) 0 ;
11435 int arg3 ;
11436 void *argp1 = 0 ;
11437 int res1 = 0 ;
11438 void *argp2 = 0 ;
11439 int res2 = 0 ;
11440 int val3 ;
11441 int ecode3 = 0 ;
11442 PyObject * obj0 = 0 ;
11443 PyObject * obj1 = 0 ;
11444 PyObject * obj2 = 0 ;
11445 char * kwnames[] = {
11446 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11447 };
11448
11449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11451 if (!SWIG_IsOK(res1)) {
11452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11453 }
11454 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11455 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11456 if (!SWIG_IsOK(res2)) {
11457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11458 }
11459 arg2 = reinterpret_cast< wxDC * >(argp2);
11460 ecode3 = SWIG_AsVal_int(obj2, &val3);
11461 if (!SWIG_IsOK(ecode3)) {
11462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11463 }
11464 arg3 = static_cast< int >(val3);
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 (arg1)->SetDC(arg2,arg3);
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 resultobj = SWIG_Py_Void();
11472 return resultobj;
11473fail:
11474 return NULL;
11475}
11476
11477
11478SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11479 PyObject *resultobj = 0;
11480 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11481 int arg2 ;
11482 int arg3 ;
11483 void *argp1 = 0 ;
11484 int res1 = 0 ;
11485 int val2 ;
11486 int ecode2 = 0 ;
11487 int val3 ;
11488 int ecode3 = 0 ;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 PyObject * obj2 = 0 ;
11492 char * kwnames[] = {
11493 (char *) "self",(char *) "width",(char *) "height", NULL
11494 };
11495
11496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11498 if (!SWIG_IsOK(res1)) {
11499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11500 }
11501 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11502 ecode2 = SWIG_AsVal_int(obj1, &val2);
11503 if (!SWIG_IsOK(ecode2)) {
11504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11505 }
11506 arg2 = static_cast< int >(val2);
11507 ecode3 = SWIG_AsVal_int(obj2, &val3);
11508 if (!SWIG_IsOK(ecode3)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11510 }
11511 arg3 = static_cast< int >(val3);
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 (arg1)->SetSize(arg2,arg3);
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_Py_Void();
11519 return resultobj;
11520fail:
11521 return NULL;
11522}
11523
11524
11525SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj = 0;
11527 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11528 wxString *arg2 = 0 ;
11529 wxString const &arg3_defvalue = wxPyEmptyString ;
11530 wxString *arg3 = (wxString *) &arg3_defvalue ;
11531 bool arg4 = (bool) true ;
11532 void *argp1 = 0 ;
11533 int res1 = 0 ;
11534 bool temp2 = false ;
11535 bool temp3 = false ;
11536 bool val4 ;
11537 int ecode4 = 0 ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 PyObject * obj2 = 0 ;
11541 PyObject * obj3 = 0 ;
11542 char * kwnames[] = {
11543 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11544 };
11545
11546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11548 if (!SWIG_IsOK(res1)) {
11549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11550 }
11551 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11552 {
11553 arg2 = wxString_in_helper(obj1);
11554 if (arg2 == NULL) SWIG_fail;
11555 temp2 = true;
11556 }
11557 if (obj2) {
d14a1e28 11558 {
554f62e9
RD
11559 arg3 = wxString_in_helper(obj2);
11560 if (arg3 == NULL) SWIG_fail;
11561 temp3 = true;
d14a1e28 11562 }
554f62e9
RD
11563 }
11564 if (obj3) {
11565 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11566 if (!SWIG_IsOK(ecode4)) {
11567 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11568 }
11569 arg4 = static_cast< bool >(val4);
11570 }
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 resultobj = SWIG_Py_Void();
11578 {
11579 if (temp2)
11580 delete arg2;
11581 }
11582 {
11583 if (temp3)
11584 delete arg3;
11585 }
11586 return resultobj;
11587fail:
11588 {
11589 if (temp2)
11590 delete arg2;
11591 }
11592 {
11593 if (temp3)
11594 delete arg3;
11595 }
11596 return NULL;
11597}
11598
11599
11600SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj = 0;
11602 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11603 wxString arg2 ;
11604 wxString arg3 ;
11605 PyObject *arg4 = (PyObject *) NULL ;
11606 void *argp1 = 0 ;
11607 int res1 = 0 ;
11608 PyObject * obj0 = 0 ;
11609 PyObject * obj1 = 0 ;
11610 PyObject * obj2 = 0 ;
11611 PyObject * obj3 = 0 ;
11612 char * kwnames[] = {
11613 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11614 };
11615
11616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11618 if (!SWIG_IsOK(res1)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11620 }
11621 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11622 {
11623 wxString* sptr = wxString_in_helper(obj1);
11624 if (sptr == NULL) SWIG_fail;
11625 arg2 = *sptr;
11626 delete sptr;
11627 }
11628 {
11629 wxString* sptr = wxString_in_helper(obj2);
11630 if (sptr == NULL) SWIG_fail;
11631 arg3 = *sptr;
11632 delete sptr;
11633 }
11634 if (obj3) {
11635 arg4 = obj3;
11636 }
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 resultobj = SWIG_Py_Void();
11644 return resultobj;
11645fail:
11646 return NULL;
11647}
11648
11649
11650SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj = 0;
11652 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11653 int arg2 = (int) -1 ;
11654 wxString const &arg3_defvalue = wxPyEmptyString ;
11655 wxString *arg3 = (wxString *) &arg3_defvalue ;
11656 wxString const &arg4_defvalue = wxPyEmptyString ;
11657 wxString *arg4 = (wxString *) &arg4_defvalue ;
11658 void *argp1 = 0 ;
11659 int res1 = 0 ;
11660 int val2 ;
11661 int ecode2 = 0 ;
11662 bool temp3 = false ;
11663 bool temp4 = false ;
11664 PyObject * obj0 = 0 ;
11665 PyObject * obj1 = 0 ;
11666 PyObject * obj2 = 0 ;
11667 PyObject * obj3 = 0 ;
11668 char * kwnames[] = {
11669 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11670 };
11671
11672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11674 if (!SWIG_IsOK(res1)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11676 }
11677 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11678 if (obj1) {
11679 ecode2 = SWIG_AsVal_int(obj1, &val2);
11680 if (!SWIG_IsOK(ecode2)) {
11681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11682 }
11683 arg2 = static_cast< int >(val2);
11684 }
11685 if (obj2) {
d14a1e28 11686 {
554f62e9
RD
11687 arg3 = wxString_in_helper(obj2);
11688 if (arg3 == NULL) SWIG_fail;
11689 temp3 = true;
d14a1e28 11690 }
554f62e9
RD
11691 }
11692 if (obj3) {
093d3ff1 11693 {
554f62e9
RD
11694 arg4 = wxString_in_helper(obj3);
11695 if (arg4 == NULL) SWIG_fail;
11696 temp4 = true;
093d3ff1 11697 }
554f62e9
RD
11698 }
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 resultobj = SWIG_Py_Void();
11706 {
11707 if (temp3)
11708 delete arg3;
11709 }
11710 {
11711 if (temp4)
11712 delete arg4;
11713 }
11714 return resultobj;
11715fail:
11716 {
11717 if (temp3)
11718 delete arg3;
11719 }
11720 {
11721 if (temp4)
11722 delete arg4;
11723 }
11724 return NULL;
11725}
11726
11727
11728SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11729 PyObject *resultobj = 0;
11730 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11731 int arg2 ;
11732 int arg3 ;
704eda0c
RD
11733 wxArrayInt *arg4 = 0 ;
11734 int arg5 = (int) 0 ;
11735 int arg6 = (int) FALSE ;
11736 int arg7 = (int) INT_MAX ;
554f62e9
RD
11737 int result;
11738 void *argp1 = 0 ;
11739 int res1 = 0 ;
11740 int val2 ;
11741 int ecode2 = 0 ;
11742 int val3 ;
11743 int ecode3 = 0 ;
704eda0c 11744 bool temp4 = false ;
554f62e9
RD
11745 int val5 ;
11746 int ecode5 = 0 ;
11747 int val6 ;
11748 int ecode6 = 0 ;
704eda0c
RD
11749 int val7 ;
11750 int ecode7 = 0 ;
554f62e9
RD
11751 PyObject * obj0 = 0 ;
11752 PyObject * obj1 = 0 ;
11753 PyObject * obj2 = 0 ;
11754 PyObject * obj3 = 0 ;
11755 PyObject * obj4 = 0 ;
11756 PyObject * obj5 = 0 ;
11757 PyObject * obj6 = 0 ;
554f62e9 11758 char * kwnames[] = {
704eda0c 11759 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
554f62e9
RD
11760 };
11761
704eda0c 11762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
554f62e9
RD
11763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11764 if (!SWIG_IsOK(res1)) {
11765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11766 }
11767 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11768 ecode2 = SWIG_AsVal_int(obj1, &val2);
11769 if (!SWIG_IsOK(ecode2)) {
11770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11771 }
11772 arg2 = static_cast< int >(val2);
11773 ecode3 = SWIG_AsVal_int(obj2, &val3);
11774 if (!SWIG_IsOK(ecode3)) {
11775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11776 }
11777 arg3 = static_cast< int >(val3);
704eda0c
RD
11778 {
11779 if (! PySequence_Check(obj3)) {
11780 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11781 SWIG_fail;
11782 }
11783 arg4 = new wxArrayInt;
11784 temp4 = true;
11785 int i, len=PySequence_Length(obj3);
11786 for (i=0; i<len; i++) {
11787 PyObject* item = PySequence_GetItem(obj3, i);
11788 PyObject* number = PyNumber_Int(item);
11789 arg4->Add(PyInt_AS_LONG(number));
11790 Py_DECREF(item);
11791 Py_DECREF(number);
11792 }
554f62e9
RD
11793 }
11794 if (obj4) {
11795 ecode5 = SWIG_AsVal_int(obj4, &val5);
11796 if (!SWIG_IsOK(ecode5)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11798 }
11799 arg5 = static_cast< int >(val5);
11800 }
11801 if (obj5) {
11802 ecode6 = SWIG_AsVal_int(obj5, &val6);
11803 if (!SWIG_IsOK(ecode6)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11805 }
11806 arg6 = static_cast< int >(val6);
11807 }
11808 if (obj6) {
704eda0c
RD
11809 ecode7 = SWIG_AsVal_int(obj6, &val7);
11810 if (!SWIG_IsOK(ecode7)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
554f62e9 11812 }
704eda0c 11813 arg7 = static_cast< int >(val7);
554f62e9
RD
11814 }
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 11817 result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
554f62e9
RD
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 resultobj = SWIG_From_int(static_cast< int >(result));
704eda0c
RD
11822 {
11823 if (temp4) delete arg4;
11824 }
554f62e9
RD
11825 return resultobj;
11826fail:
704eda0c
RD
11827 {
11828 if (temp4) delete arg4;
11829 }
554f62e9 11830 return NULL;
d14a1e28
RD
11831}
11832
11833
554f62e9
RD
11834SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11835 PyObject *resultobj = 0;
11836 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11837 int result;
11838 void *argp1 = 0 ;
11839 int res1 = 0 ;
11840 PyObject *swig_obj[1] ;
11841
11842 if (!args) SWIG_fail;
11843 swig_obj[0] = args;
11844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11845 if (!SWIG_IsOK(res1)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11847 }
11848 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 result = (int)(arg1)->GetTotalHeight();
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 resultobj = SWIG_From_int(static_cast< int >(result));
11856 return resultobj;
11857fail:
11858 return NULL;
d14a1e28
RD
11859}
11860
11861
554f62e9
RD
11862SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11863 PyObject *obj;
11864 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11865 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11866 return SWIG_Py_Void();
d14a1e28
RD
11867}
11868
554f62e9
RD
11869SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11870 return SWIG_Python_InitShadowInstance(args);
11871}
d14a1e28 11872
554f62e9
RD
11873SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11874 PyObject *resultobj = 0;
11875 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11876 wxString *arg1 = (wxString *) &arg1_defvalue ;
11877 wxHtmlPrintout *result = 0 ;
11878 bool temp1 = false ;
11879 PyObject * obj0 = 0 ;
11880 char * kwnames[] = {
11881 (char *) "title", NULL
11882 };
11883
11884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11885 if (obj0) {
d14a1e28 11886 {
554f62e9
RD
11887 arg1 = wxString_in_helper(obj0);
11888 if (arg1 == NULL) SWIG_fail;
11889 temp1 = true;
d14a1e28 11890 }
554f62e9
RD
11891 }
11892 {
11893 if (!wxPyCheckForApp()) SWIG_fail;
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11900 {
11901 if (temp1)
11902 delete arg1;
11903 }
11904 return resultobj;
11905fail:
11906 {
11907 if (temp1)
11908 delete arg1;
11909 }
11910 return NULL;
11911}
11912
11913
11914SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11915 PyObject *resultobj = 0;
11916 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11917 wxString *arg2 = 0 ;
11918 wxString const &arg3_defvalue = wxPyEmptyString ;
11919 wxString *arg3 = (wxString *) &arg3_defvalue ;
11920 bool arg4 = (bool) true ;
11921 void *argp1 = 0 ;
11922 int res1 = 0 ;
11923 bool temp2 = false ;
11924 bool temp3 = false ;
11925 bool val4 ;
11926 int ecode4 = 0 ;
11927 PyObject * obj0 = 0 ;
11928 PyObject * obj1 = 0 ;
11929 PyObject * obj2 = 0 ;
11930 PyObject * obj3 = 0 ;
11931 char * kwnames[] = {
11932 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11933 };
11934
11935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11937 if (!SWIG_IsOK(res1)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11939 }
11940 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11941 {
11942 arg2 = wxString_in_helper(obj1);
11943 if (arg2 == NULL) SWIG_fail;
11944 temp2 = true;
11945 }
11946 if (obj2) {
093d3ff1 11947 {
554f62e9
RD
11948 arg3 = wxString_in_helper(obj2);
11949 if (arg3 == NULL) SWIG_fail;
11950 temp3 = true;
093d3ff1 11951 }
554f62e9
RD
11952 }
11953 if (obj3) {
11954 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11955 if (!SWIG_IsOK(ecode4)) {
11956 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11957 }
11958 arg4 = static_cast< bool >(val4);
11959 }
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 resultobj = SWIG_Py_Void();
11967 {
11968 if (temp2)
11969 delete arg2;
11970 }
11971 {
11972 if (temp3)
11973 delete arg3;
11974 }
11975 return resultobj;
11976fail:
11977 {
11978 if (temp2)
11979 delete arg2;
11980 }
11981 {
11982 if (temp3)
11983 delete arg3;
11984 }
11985 return NULL;
d14a1e28
RD
11986}
11987
11988
554f62e9
RD
11989SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj = 0;
11991 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11992 wxString *arg2 = 0 ;
11993 void *argp1 = 0 ;
11994 int res1 = 0 ;
11995 bool temp2 = false ;
11996 PyObject * obj0 = 0 ;
11997 PyObject * obj1 = 0 ;
11998 char * kwnames[] = {
11999 (char *) "self",(char *) "htmlfile", NULL
12000 };
12001
12002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
12003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12004 if (!SWIG_IsOK(res1)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12006 }
12007 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12008 {
12009 arg2 = wxString_in_helper(obj1);
12010 if (arg2 == NULL) SWIG_fail;
12011 temp2 = true;
12012 }
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 (arg1)->SetHtmlFile((wxString const &)*arg2);
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 resultobj = SWIG_Py_Void();
12020 {
12021 if (temp2)
12022 delete arg2;
12023 }
12024 return resultobj;
12025fail:
12026 {
12027 if (temp2)
12028 delete arg2;
12029 }
12030 return NULL;
12031}
12032
12033
12034SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj = 0;
12036 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12037 wxString *arg2 = 0 ;
12038 int arg3 = (int) wxPAGE_ALL ;
12039 void *argp1 = 0 ;
12040 int res1 = 0 ;
12041 bool temp2 = false ;
12042 int val3 ;
12043 int ecode3 = 0 ;
12044 PyObject * obj0 = 0 ;
12045 PyObject * obj1 = 0 ;
12046 PyObject * obj2 = 0 ;
12047 char * kwnames[] = {
12048 (char *) "self",(char *) "header",(char *) "pg", NULL
12049 };
12050
12051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12053 if (!SWIG_IsOK(res1)) {
12054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12055 }
12056 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12057 {
12058 arg2 = wxString_in_helper(obj1);
12059 if (arg2 == NULL) SWIG_fail;
12060 temp2 = true;
12061 }
12062 if (obj2) {
12063 ecode3 = SWIG_AsVal_int(obj2, &val3);
12064 if (!SWIG_IsOK(ecode3)) {
12065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12066 }
12067 arg3 = static_cast< int >(val3);
12068 }
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 resultobj = SWIG_Py_Void();
12076 {
12077 if (temp2)
12078 delete arg2;
12079 }
12080 return resultobj;
12081fail:
12082 {
12083 if (temp2)
12084 delete arg2;
12085 }
12086 return NULL;
12087}
12088
12089
12090SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj = 0;
12092 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12093 wxString *arg2 = 0 ;
12094 int arg3 = (int) wxPAGE_ALL ;
12095 void *argp1 = 0 ;
12096 int res1 = 0 ;
12097 bool temp2 = false ;
12098 int val3 ;
12099 int ecode3 = 0 ;
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 PyObject * obj2 = 0 ;
12103 char * kwnames[] = {
12104 (char *) "self",(char *) "footer",(char *) "pg", NULL
12105 };
12106
12107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12109 if (!SWIG_IsOK(res1)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12111 }
12112 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12113 {
12114 arg2 = wxString_in_helper(obj1);
12115 if (arg2 == NULL) SWIG_fail;
12116 temp2 = true;
12117 }
12118 if (obj2) {
12119 ecode3 = SWIG_AsVal_int(obj2, &val3);
12120 if (!SWIG_IsOK(ecode3)) {
12121 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12122 }
12123 arg3 = static_cast< int >(val3);
12124 }
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 resultobj = SWIG_Py_Void();
12132 {
12133 if (temp2)
12134 delete arg2;
12135 }
12136 return resultobj;
12137fail:
12138 {
12139 if (temp2)
12140 delete arg2;
12141 }
12142 return NULL;
12143}
12144
12145
12146SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj = 0;
12148 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12149 wxString arg2 ;
12150 wxString arg3 ;
12151 PyObject *arg4 = (PyObject *) NULL ;
12152 void *argp1 = 0 ;
12153 int res1 = 0 ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 PyObject * obj2 = 0 ;
12157 PyObject * obj3 = 0 ;
12158 char * kwnames[] = {
12159 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12160 };
12161
12162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12164 if (!SWIG_IsOK(res1)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12166 }
12167 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12168 {
12169 wxString* sptr = wxString_in_helper(obj1);
12170 if (sptr == NULL) SWIG_fail;
12171 arg2 = *sptr;
12172 delete sptr;
12173 }
12174 {
12175 wxString* sptr = wxString_in_helper(obj2);
12176 if (sptr == NULL) SWIG_fail;
12177 arg3 = *sptr;
12178 delete sptr;
12179 }
12180 if (obj3) {
12181 arg4 = obj3;
12182 }
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_Py_Void();
12190 return resultobj;
12191fail:
12192 return NULL;
12193}
12194
12195
12196SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj = 0;
12198 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12199 int arg2 = (int) -1 ;
12200 wxString const &arg3_defvalue = wxPyEmptyString ;
12201 wxString *arg3 = (wxString *) &arg3_defvalue ;
12202 wxString const &arg4_defvalue = wxPyEmptyString ;
12203 wxString *arg4 = (wxString *) &arg4_defvalue ;
12204 void *argp1 = 0 ;
12205 int res1 = 0 ;
12206 int val2 ;
12207 int ecode2 = 0 ;
12208 bool temp3 = false ;
12209 bool temp4 = false ;
12210 PyObject * obj0 = 0 ;
12211 PyObject * obj1 = 0 ;
12212 PyObject * obj2 = 0 ;
12213 PyObject * obj3 = 0 ;
12214 char * kwnames[] = {
12215 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12216 };
12217
12218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12222 }
12223 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12224 if (obj1) {
12225 ecode2 = SWIG_AsVal_int(obj1, &val2);
12226 if (!SWIG_IsOK(ecode2)) {
12227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12228 }
12229 arg2 = static_cast< int >(val2);
12230 }
12231 if (obj2) {
12232 {
12233 arg3 = wxString_in_helper(obj2);
12234 if (arg3 == NULL) SWIG_fail;
12235 temp3 = true;
8edf1c75 12236 }
554f62e9
RD
12237 }
12238 if (obj3) {
d14a1e28 12239 {
554f62e9
RD
12240 arg4 = wxString_in_helper(obj3);
12241 if (arg4 == NULL) SWIG_fail;
12242 temp4 = true;
d14a1e28 12243 }
554f62e9
RD
12244 }
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_Py_Void();
12252 {
12253 if (temp3)
12254 delete arg3;
12255 }
12256 {
12257 if (temp4)
12258 delete arg4;
12259 }
12260 return resultobj;
12261fail:
12262 {
12263 if (temp3)
12264 delete arg3;
12265 }
12266 {
12267 if (temp4)
12268 delete arg4;
12269 }
12270 return NULL;
12271}
12272
12273
12274SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj = 0;
12276 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12277 float arg2 = (float) 25.2 ;
12278 float arg3 = (float) 25.2 ;
12279 float arg4 = (float) 25.2 ;
12280 float arg5 = (float) 25.2 ;
12281 float arg6 = (float) 5 ;
12282 void *argp1 = 0 ;
12283 int res1 = 0 ;
12284 float val2 ;
12285 int ecode2 = 0 ;
12286 float val3 ;
12287 int ecode3 = 0 ;
12288 float val4 ;
12289 int ecode4 = 0 ;
12290 float val5 ;
12291 int ecode5 = 0 ;
12292 float val6 ;
12293 int ecode6 = 0 ;
12294 PyObject * obj0 = 0 ;
12295 PyObject * obj1 = 0 ;
12296 PyObject * obj2 = 0 ;
12297 PyObject * obj3 = 0 ;
12298 PyObject * obj4 = 0 ;
12299 PyObject * obj5 = 0 ;
12300 char * kwnames[] = {
12301 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12302 };
12303
12304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12306 if (!SWIG_IsOK(res1)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12308 }
12309 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12310 if (obj1) {
12311 ecode2 = SWIG_AsVal_float(obj1, &val2);
12312 if (!SWIG_IsOK(ecode2)) {
12313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12314 }
12315 arg2 = static_cast< float >(val2);
12316 }
12317 if (obj2) {
12318 ecode3 = SWIG_AsVal_float(obj2, &val3);
12319 if (!SWIG_IsOK(ecode3)) {
12320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12321 }
12322 arg3 = static_cast< float >(val3);
12323 }
12324 if (obj3) {
12325 ecode4 = SWIG_AsVal_float(obj3, &val4);
12326 if (!SWIG_IsOK(ecode4)) {
12327 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12328 }
12329 arg4 = static_cast< float >(val4);
12330 }
12331 if (obj4) {
12332 ecode5 = SWIG_AsVal_float(obj4, &val5);
12333 if (!SWIG_IsOK(ecode5)) {
12334 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12335 }
12336 arg5 = static_cast< float >(val5);
12337 }
12338 if (obj5) {
12339 ecode6 = SWIG_AsVal_float(obj5, &val6);
12340 if (!SWIG_IsOK(ecode6)) {
12341 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12342 }
12343 arg6 = static_cast< float >(val6);
12344 }
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 resultobj = SWIG_Py_Void();
12352 return resultobj;
12353fail:
12354 return NULL;
d14a1e28
RD
12355}
12356
12357
554f62e9
RD
12358SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj = 0;
12360 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12361 void *argp1 = 0 ;
12362 int res1 = 0 ;
12363 PyObject * obj0 = 0 ;
12364 char * kwnames[] = {
12365 (char *) "filter", NULL
12366 };
12367
12368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12370 if (!SWIG_IsOK(res1)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12372 }
12373 arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 wxHtmlPrintout::AddFilter(arg1);
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = SWIG_Py_Void();
12381 return resultobj;
12382fail:
12383 return NULL;
d14a1e28
RD
12384}
12385
12386
554f62e9
RD
12387SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12388 PyObject *resultobj = 0;
12389
12390 if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12391 {
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 wxHtmlPrintout::CleanUpStatics();
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 resultobj = SWIG_Py_Void();
12398 return resultobj;
12399fail:
12400 return NULL;
d14a1e28
RD
12401}
12402
12403
554f62e9
RD
12404SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12405 PyObject *obj;
12406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12407 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12408 return SWIG_Py_Void();
d14a1e28
RD
12409}
12410
554f62e9
RD
12411SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12412 return SWIG_Python_InitShadowInstance(args);
12413}
d14a1e28 12414
554f62e9
RD
12415SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj = 0;
12417 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12418 wxString *arg1 = (wxString *) &arg1_defvalue ;
12419 wxWindow *arg2 = (wxWindow *) NULL ;
12420 wxHtmlEasyPrinting *result = 0 ;
12421 bool temp1 = false ;
12422 void *argp2 = 0 ;
12423 int res2 = 0 ;
12424 PyObject * obj0 = 0 ;
12425 PyObject * obj1 = 0 ;
12426 char * kwnames[] = {
12427 (char *) "name",(char *) "parentWindow", NULL
12428 };
12429
12430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12431 if (obj0) {
093d3ff1 12432 {
554f62e9
RD
12433 arg1 = wxString_in_helper(obj0);
12434 if (arg1 == NULL) SWIG_fail;
12435 temp1 = true;
093d3ff1 12436 }
554f62e9
RD
12437 }
12438 if (obj1) {
12439 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12440 if (!SWIG_IsOK(res2)) {
12441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 12442 }
554f62e9
RD
12443 arg2 = reinterpret_cast< wxWindow * >(argp2);
12444 }
12445 {
12446 if (!wxPyCheckForApp()) SWIG_fail;
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12453 {
12454 if (temp1)
12455 delete arg1;
12456 }
12457 return resultobj;
12458fail:
12459 {
12460 if (temp1)
12461 delete arg1;
12462 }
12463 return NULL;
d14a1e28
RD
12464}
12465
12466
554f62e9
RD
12467SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12468 PyObject *resultobj = 0;
12469 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12470 void *argp1 = 0 ;
12471 int res1 = 0 ;
12472 PyObject *swig_obj[1] ;
12473
12474 if (!args) SWIG_fail;
12475 swig_obj[0] = args;
12476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12477 if (!SWIG_IsOK(res1)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12479 }
12480 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 delete arg1;
d14a1e28 12484
554f62e9
RD
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 resultobj = SWIG_Py_Void();
12489 return resultobj;
12490fail:
12491 return NULL;
12492}
12493
12494
12495SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj = 0;
12497 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12498 wxString *arg2 = 0 ;
12499 void *argp1 = 0 ;
12500 int res1 = 0 ;
12501 bool temp2 = false ;
12502 PyObject * obj0 = 0 ;
12503 PyObject * obj1 = 0 ;
12504 char * kwnames[] = {
12505 (char *) "self",(char *) "htmlfile", NULL
12506 };
12507
12508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12510 if (!SWIG_IsOK(res1)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12512 }
12513 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12514 {
12515 arg2 = wxString_in_helper(obj1);
12516 if (arg2 == NULL) SWIG_fail;
12517 temp2 = true;
12518 }
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 (arg1)->PreviewFile((wxString const &)*arg2);
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 resultobj = SWIG_Py_Void();
12526 {
12527 if (temp2)
12528 delete arg2;
12529 }
12530 return resultobj;
12531fail:
12532 {
12533 if (temp2)
12534 delete arg2;
12535 }
12536 return NULL;
12537}
12538
12539
12540SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj = 0;
12542 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12543 wxString *arg2 = 0 ;
12544 wxString const &arg3_defvalue = wxPyEmptyString ;
12545 wxString *arg3 = (wxString *) &arg3_defvalue ;
12546 void *argp1 = 0 ;
12547 int res1 = 0 ;
12548 bool temp2 = false ;
12549 bool temp3 = false ;
12550 PyObject * obj0 = 0 ;
12551 PyObject * obj1 = 0 ;
12552 PyObject * obj2 = 0 ;
12553 char * kwnames[] = {
12554 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12555 };
12556
12557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12559 if (!SWIG_IsOK(res1)) {
12560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12561 }
12562 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12563 {
12564 arg2 = wxString_in_helper(obj1);
12565 if (arg2 == NULL) SWIG_fail;
12566 temp2 = true;
12567 }
12568 if (obj2) {
d14a1e28 12569 {
554f62e9
RD
12570 arg3 = wxString_in_helper(obj2);
12571 if (arg3 == NULL) SWIG_fail;
12572 temp3 = true;
d14a1e28 12573 }
554f62e9
RD
12574 }
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 resultobj = SWIG_Py_Void();
12582 {
12583 if (temp2)
12584 delete arg2;
12585 }
12586 {
12587 if (temp3)
12588 delete arg3;
12589 }
12590 return resultobj;
12591fail:
12592 {
12593 if (temp2)
12594 delete arg2;
12595 }
12596 {
12597 if (temp3)
12598 delete arg3;
12599 }
12600 return NULL;
d14a1e28
RD
12601}
12602
12603
554f62e9
RD
12604SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj = 0;
12606 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12607 wxString *arg2 = 0 ;
12608 void *argp1 = 0 ;
12609 int res1 = 0 ;
12610 bool temp2 = false ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 char * kwnames[] = {
12614 (char *) "self",(char *) "htmlfile", NULL
12615 };
12616
12617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12619 if (!SWIG_IsOK(res1)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12621 }
12622 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12623 {
12624 arg2 = wxString_in_helper(obj1);
12625 if (arg2 == NULL) SWIG_fail;
12626 temp2 = true;
12627 }
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 (arg1)->PrintFile((wxString const &)*arg2);
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 resultobj = SWIG_Py_Void();
12635 {
12636 if (temp2)
12637 delete arg2;
12638 }
12639 return resultobj;
12640fail:
12641 {
12642 if (temp2)
12643 delete arg2;
12644 }
12645 return NULL;
12646}
12647
12648
12649SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12650 PyObject *resultobj = 0;
12651 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12652 wxString *arg2 = 0 ;
12653 wxString const &arg3_defvalue = wxPyEmptyString ;
12654 wxString *arg3 = (wxString *) &arg3_defvalue ;
12655 void *argp1 = 0 ;
12656 int res1 = 0 ;
12657 bool temp2 = false ;
12658 bool temp3 = false ;
12659 PyObject * obj0 = 0 ;
12660 PyObject * obj1 = 0 ;
12661 PyObject * obj2 = 0 ;
12662 char * kwnames[] = {
12663 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12664 };
12665
12666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12668 if (!SWIG_IsOK(res1)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12670 }
12671 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12672 {
12673 arg2 = wxString_in_helper(obj1);
12674 if (arg2 == NULL) SWIG_fail;
12675 temp2 = true;
12676 }
12677 if (obj2) {
d14a1e28 12678 {
554f62e9
RD
12679 arg3 = wxString_in_helper(obj2);
12680 if (arg3 == NULL) SWIG_fail;
12681 temp3 = true;
d14a1e28 12682 }
554f62e9
RD
12683 }
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 resultobj = SWIG_Py_Void();
12691 {
12692 if (temp2)
12693 delete arg2;
12694 }
12695 {
12696 if (temp3)
12697 delete arg3;
12698 }
12699 return resultobj;
12700fail:
12701 {
12702 if (temp2)
12703 delete arg2;
12704 }
12705 {
12706 if (temp3)
12707 delete arg3;
12708 }
12709 return NULL;
d14a1e28
RD
12710}
12711
12712
554f62e9
RD
12713SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12714 PyObject *resultobj = 0;
12715 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12716 void *argp1 = 0 ;
12717 int res1 = 0 ;
12718 PyObject *swig_obj[1] ;
12719
12720 if (!args) SWIG_fail;
12721 swig_obj[0] = args;
12722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12723 if (!SWIG_IsOK(res1)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12725 }
12726 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->PageSetup();
12730 wxPyEndAllowThreads(__tstate);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 }
12733 resultobj = SWIG_Py_Void();
12734 return resultobj;
12735fail:
12736 return NULL;
12737}
12738
12739
12740SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12741 PyObject *resultobj = 0;
12742 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12743 wxString *arg2 = 0 ;
12744 int arg3 = (int) wxPAGE_ALL ;
12745 void *argp1 = 0 ;
12746 int res1 = 0 ;
12747 bool temp2 = false ;
12748 int val3 ;
12749 int ecode3 = 0 ;
12750 PyObject * obj0 = 0 ;
12751 PyObject * obj1 = 0 ;
12752 PyObject * obj2 = 0 ;
12753 char * kwnames[] = {
12754 (char *) "self",(char *) "header",(char *) "pg", NULL
12755 };
12756
12757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12759 if (!SWIG_IsOK(res1)) {
12760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12761 }
12762 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12763 {
12764 arg2 = wxString_in_helper(obj1);
12765 if (arg2 == NULL) SWIG_fail;
12766 temp2 = true;
12767 }
12768 if (obj2) {
12769 ecode3 = SWIG_AsVal_int(obj2, &val3);
12770 if (!SWIG_IsOK(ecode3)) {
12771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12772 }
12773 arg3 = static_cast< int >(val3);
12774 }
12775 {
12776 PyThreadState* __tstate = wxPyBeginAllowThreads();
12777 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = SWIG_Py_Void();
12782 {
12783 if (temp2)
12784 delete arg2;
12785 }
12786 return resultobj;
12787fail:
12788 {
12789 if (temp2)
12790 delete arg2;
12791 }
12792 return NULL;
12793}
12794
12795
12796SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj = 0;
12798 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12799 wxString *arg2 = 0 ;
12800 int arg3 = (int) wxPAGE_ALL ;
12801 void *argp1 = 0 ;
12802 int res1 = 0 ;
12803 bool temp2 = false ;
12804 int val3 ;
12805 int ecode3 = 0 ;
12806 PyObject * obj0 = 0 ;
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
12809 char * kwnames[] = {
12810 (char *) "self",(char *) "footer",(char *) "pg", NULL
12811 };
12812
12813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12815 if (!SWIG_IsOK(res1)) {
12816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12817 }
12818 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12819 {
12820 arg2 = wxString_in_helper(obj1);
12821 if (arg2 == NULL) SWIG_fail;
12822 temp2 = true;
12823 }
12824 if (obj2) {
12825 ecode3 = SWIG_AsVal_int(obj2, &val3);
12826 if (!SWIG_IsOK(ecode3)) {
12827 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12828 }
12829 arg3 = static_cast< int >(val3);
12830 }
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
12833 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 resultobj = SWIG_Py_Void();
12838 {
12839 if (temp2)
12840 delete arg2;
12841 }
12842 return resultobj;
12843fail:
12844 {
12845 if (temp2)
12846 delete arg2;
12847 }
12848 return NULL;
12849}
12850
12851
12852SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj = 0;
12854 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12855 wxString arg2 ;
12856 wxString arg3 ;
12857 PyObject *arg4 = (PyObject *) NULL ;
12858 void *argp1 = 0 ;
12859 int res1 = 0 ;
12860 PyObject * obj0 = 0 ;
12861 PyObject * obj1 = 0 ;
12862 PyObject * obj2 = 0 ;
12863 PyObject * obj3 = 0 ;
12864 char * kwnames[] = {
12865 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12866 };
12867
12868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12870 if (!SWIG_IsOK(res1)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12872 }
12873 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12874 {
12875 wxString* sptr = wxString_in_helper(obj1);
12876 if (sptr == NULL) SWIG_fail;
12877 arg2 = *sptr;
12878 delete sptr;
12879 }
12880 {
12881 wxString* sptr = wxString_in_helper(obj2);
12882 if (sptr == NULL) SWIG_fail;
12883 arg3 = *sptr;
12884 delete sptr;
12885 }
12886 if (obj3) {
12887 arg4 = obj3;
12888 }
12889 {
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 resultobj = SWIG_Py_Void();
12896 return resultobj;
12897fail:
12898 return NULL;
12899}
12900
12901
12902SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj = 0;
12904 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12905 int arg2 = (int) -1 ;
12906 wxString const &arg3_defvalue = wxPyEmptyString ;
12907 wxString *arg3 = (wxString *) &arg3_defvalue ;
12908 wxString const &arg4_defvalue = wxPyEmptyString ;
12909 wxString *arg4 = (wxString *) &arg4_defvalue ;
12910 void *argp1 = 0 ;
12911 int res1 = 0 ;
12912 int val2 ;
12913 int ecode2 = 0 ;
12914 bool temp3 = false ;
12915 bool temp4 = false ;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 PyObject * obj2 = 0 ;
12919 PyObject * obj3 = 0 ;
12920 char * kwnames[] = {
12921 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12922 };
12923
12924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12926 if (!SWIG_IsOK(res1)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12928 }
12929 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12930 if (obj1) {
12931 ecode2 = SWIG_AsVal_int(obj1, &val2);
12932 if (!SWIG_IsOK(ecode2)) {
12933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12934 }
12935 arg2 = static_cast< int >(val2);
12936 }
12937 if (obj2) {
d14a1e28 12938 {
554f62e9
RD
12939 arg3 = wxString_in_helper(obj2);
12940 if (arg3 == NULL) SWIG_fail;
12941 temp3 = true;
d14a1e28 12942 }
554f62e9
RD
12943 }
12944 if (obj3) {
d14a1e28 12945 {
554f62e9
RD
12946 arg4 = wxString_in_helper(obj3);
12947 if (arg4 == NULL) SWIG_fail;
12948 temp4 = true;
d14a1e28 12949 }
554f62e9
RD
12950 }
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
12957 resultobj = SWIG_Py_Void();
12958 {
12959 if (temp3)
12960 delete arg3;
12961 }
12962 {
12963 if (temp4)
12964 delete arg4;
12965 }
12966 return resultobj;
12967fail:
12968 {
12969 if (temp3)
12970 delete arg3;
12971 }
12972 {
12973 if (temp4)
12974 delete arg4;
12975 }
12976 return NULL;
d14a1e28
RD
12977}
12978
12979
554f62e9
RD
12980SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12981 PyObject *resultobj = 0;
12982 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12983 wxPrintData *result = 0 ;
12984 void *argp1 = 0 ;
12985 int res1 = 0 ;
12986 PyObject *swig_obj[1] ;
12987
12988 if (!args) SWIG_fail;
12989 swig_obj[0] = args;
12990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12991 if (!SWIG_IsOK(res1)) {
12992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12993 }
12994 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 result = (wxPrintData *)(arg1)->GetPrintData();
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
13002 return resultobj;
13003fail:
13004 return NULL;
d14a1e28
RD
13005}
13006
13007
554f62e9
RD
13008SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13009 PyObject *resultobj = 0;
13010 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13011 wxPageSetupDialogData *result = 0 ;
13012 void *argp1 = 0 ;
13013 int res1 = 0 ;
13014 PyObject *swig_obj[1] ;
13015
13016 if (!args) SWIG_fail;
13017 swig_obj[0] = args;
13018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13019 if (!SWIG_IsOK(res1)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13021 }
13022 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
13026 wxPyEndAllowThreads(__tstate);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 }
13029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
13030 return resultobj;
13031fail:
13032 return NULL;
13033}
13034
13035
13036SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13037 PyObject *obj;
13038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13039 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
13040 return SWIG_Py_Void();
13041}
13042
13043SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13044 return SWIG_Python_InitShadowInstance(args);
13045}
13046
13047SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13048 PyObject *resultobj = 0;
13049 wxString *arg1 = 0 ;
13050 wxString *arg2 = 0 ;
13051 wxString *arg3 = 0 ;
13052 wxString *arg4 = 0 ;
13053 wxHtmlBookRecord *result = 0 ;
13054 bool temp1 = false ;
13055 bool temp2 = false ;
13056 bool temp3 = false ;
13057 bool temp4 = false ;
13058 PyObject * obj0 = 0 ;
13059 PyObject * obj1 = 0 ;
13060 PyObject * obj2 = 0 ;
13061 PyObject * obj3 = 0 ;
13062 char * kwnames[] = {
13063 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13064 };
13065
13066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13067 {
13068 arg1 = wxString_in_helper(obj0);
13069 if (arg1 == NULL) SWIG_fail;
13070 temp1 = true;
13071 }
13072 {
13073 arg2 = wxString_in_helper(obj1);
13074 if (arg2 == NULL) SWIG_fail;
13075 temp2 = true;
13076 }
13077 {
13078 arg3 = wxString_in_helper(obj2);
13079 if (arg3 == NULL) SWIG_fail;
13080 temp3 = true;
13081 }
13082 {
13083 arg4 = wxString_in_helper(obj3);
13084 if (arg4 == NULL) SWIG_fail;
13085 temp4 = true;
13086 }
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
13093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13094 {
13095 if (temp1)
13096 delete arg1;
13097 }
13098 {
13099 if (temp2)
13100 delete arg2;
13101 }
13102 {
13103 if (temp3)
13104 delete arg3;
13105 }
13106 {
13107 if (temp4)
13108 delete arg4;
13109 }
13110 return resultobj;
13111fail:
13112 {
13113 if (temp1)
13114 delete arg1;
13115 }
13116 {
13117 if (temp2)
13118 delete arg2;
13119 }
13120 {
13121 if (temp3)
13122 delete arg3;
13123 }
13124 {
13125 if (temp4)
13126 delete arg4;
13127 }
13128 return NULL;
d14a1e28
RD
13129}
13130
13131
554f62e9
RD
13132SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13133 PyObject *resultobj = 0;
13134 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13135 wxString result;
13136 void *argp1 = 0 ;
13137 int res1 = 0 ;
13138 PyObject *swig_obj[1] ;
13139
13140 if (!args) SWIG_fail;
13141 swig_obj[0] = args;
13142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13143 if (!SWIG_IsOK(res1)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13145 }
13146 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (arg1)->GetBookFile();
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 {
13154#if wxUSE_UNICODE
13155 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13156#else
13157 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13158#endif
13159 }
13160 return resultobj;
13161fail:
13162 return NULL;
d14a1e28
RD
13163}
13164
13165
554f62e9
RD
13166SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13167 PyObject *resultobj = 0;
13168 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13169 wxString result;
13170 void *argp1 = 0 ;
13171 int res1 = 0 ;
13172 PyObject *swig_obj[1] ;
13173
13174 if (!args) SWIG_fail;
13175 swig_obj[0] = args;
13176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13177 if (!SWIG_IsOK(res1)) {
13178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13179 }
13180 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (arg1)->GetTitle();
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 {
13188#if wxUSE_UNICODE
13189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13190#else
13191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13192#endif
13193 }
13194 return resultobj;
13195fail:
13196 return NULL;
d14a1e28
RD
13197}
13198
13199
554f62e9
RD
13200SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13201 PyObject *resultobj = 0;
13202 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13203 wxString result;
13204 void *argp1 = 0 ;
13205 int res1 = 0 ;
13206 PyObject *swig_obj[1] ;
13207
13208 if (!args) SWIG_fail;
13209 swig_obj[0] = args;
13210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13211 if (!SWIG_IsOK(res1)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13213 }
13214 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = (arg1)->GetStart();
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 {
13222#if wxUSE_UNICODE
13223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13224#else
13225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13226#endif
13227 }
13228 return resultobj;
13229fail:
13230 return NULL;
d14a1e28
RD
13231}
13232
13233
554f62e9
RD
13234SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13235 PyObject *resultobj = 0;
13236 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13237 wxString result;
13238 void *argp1 = 0 ;
13239 int res1 = 0 ;
13240 PyObject *swig_obj[1] ;
13241
13242 if (!args) SWIG_fail;
13243 swig_obj[0] = args;
13244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13245 if (!SWIG_IsOK(res1)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13247 }
13248 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 result = (arg1)->GetBasePath();
13252 wxPyEndAllowThreads(__tstate);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 {
13256#if wxUSE_UNICODE
13257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13258#else
13259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13260#endif
13261 }
13262 return resultobj;
13263fail:
13264 return NULL;
13265}
13266
13267
13268SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj = 0;
13270 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13271 int arg2 ;
13272 int arg3 ;
13273 void *argp1 = 0 ;
13274 int res1 = 0 ;
13275 int val2 ;
13276 int ecode2 = 0 ;
13277 int val3 ;
13278 int ecode3 = 0 ;
13279 PyObject * obj0 = 0 ;
13280 PyObject * obj1 = 0 ;
13281 PyObject * obj2 = 0 ;
13282 char * kwnames[] = {
13283 (char *) "self",(char *) "start",(char *) "end", NULL
13284 };
13285
13286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13288 if (!SWIG_IsOK(res1)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13290 }
13291 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13292 ecode2 = SWIG_AsVal_int(obj1, &val2);
13293 if (!SWIG_IsOK(ecode2)) {
13294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13295 }
13296 arg2 = static_cast< int >(val2);
13297 ecode3 = SWIG_AsVal_int(obj2, &val3);
13298 if (!SWIG_IsOK(ecode3)) {
13299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13300 }
13301 arg3 = static_cast< int >(val3);
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 (arg1)->SetContentsRange(arg2,arg3);
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 resultobj = SWIG_Py_Void();
13309 return resultobj;
13310fail:
13311 return NULL;
d14a1e28
RD
13312}
13313
13314
554f62e9
RD
13315SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13316 PyObject *resultobj = 0;
13317 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13318 int result;
13319 void *argp1 = 0 ;
13320 int res1 = 0 ;
13321 PyObject *swig_obj[1] ;
13322
13323 if (!args) SWIG_fail;
13324 swig_obj[0] = args;
13325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13326 if (!SWIG_IsOK(res1)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13328 }
13329 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (int)(arg1)->GetContentsStart();
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = SWIG_From_int(static_cast< int >(result));
13337 return resultobj;
13338fail:
13339 return NULL;
d14a1e28 13340}
554f62e9
RD
13341
13342
13343SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13344 PyObject *resultobj = 0;
13345 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13346 int result;
13347 void *argp1 = 0 ;
13348 int res1 = 0 ;
13349 PyObject *swig_obj[1] ;
13350
13351 if (!args) SWIG_fail;
13352 swig_obj[0] = args;
13353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13354 if (!SWIG_IsOK(res1)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13356 }
13357 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 result = (int)(arg1)->GetContentsEnd();
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 resultobj = SWIG_From_int(static_cast< int >(result));
13365 return resultobj;
13366fail:
13367 return NULL;
13368}
13369
13370
13371SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13372 PyObject *resultobj = 0;
13373 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13374 wxString *arg2 = 0 ;
13375 void *argp1 = 0 ;
13376 int res1 = 0 ;
13377 bool temp2 = false ;
13378 PyObject * obj0 = 0 ;
13379 PyObject * obj1 = 0 ;
13380 char * kwnames[] = {
13381 (char *) "self",(char *) "title", NULL
13382 };
13383
13384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13386 if (!SWIG_IsOK(res1)) {
13387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13388 }
13389 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13390 {
13391 arg2 = wxString_in_helper(obj1);
13392 if (arg2 == NULL) SWIG_fail;
13393 temp2 = true;
13394 }
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 (arg1)->SetTitle((wxString const &)*arg2);
13398 wxPyEndAllowThreads(__tstate);
13399 if (PyErr_Occurred()) SWIG_fail;
13400 }
13401 resultobj = SWIG_Py_Void();
13402 {
13403 if (temp2)
13404 delete arg2;
13405 }
13406 return resultobj;
13407fail:
13408 {
13409 if (temp2)
13410 delete arg2;
13411 }
13412 return NULL;
d14a1e28
RD
13413}
13414
13415
554f62e9
RD
13416SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj = 0;
13418 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13419 wxString *arg2 = 0 ;
13420 void *argp1 = 0 ;
13421 int res1 = 0 ;
13422 bool temp2 = false ;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 char * kwnames[] = {
13426 (char *) "self",(char *) "path", NULL
13427 };
13428
13429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13431 if (!SWIG_IsOK(res1)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13433 }
13434 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13435 {
13436 arg2 = wxString_in_helper(obj1);
13437 if (arg2 == NULL) SWIG_fail;
13438 temp2 = true;
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->SetBasePath((wxString const &)*arg2);
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 resultobj = SWIG_Py_Void();
13447 {
13448 if (temp2)
13449 delete arg2;
13450 }
13451 return resultobj;
13452fail:
13453 {
13454 if (temp2)
13455 delete arg2;
13456 }
13457 return NULL;
d14a1e28
RD
13458}
13459
13460
554f62e9
RD
13461SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj = 0;
13463 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13464 wxString *arg2 = 0 ;
13465 void *argp1 = 0 ;
13466 int res1 = 0 ;
13467 bool temp2 = false ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 char * kwnames[] = {
13471 (char *) "self",(char *) "start", NULL
13472 };
13473
13474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
13475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13476 if (!SWIG_IsOK(res1)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13478 }
13479 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13480 {
13481 arg2 = wxString_in_helper(obj1);
13482 if (arg2 == NULL) SWIG_fail;
13483 temp2 = true;
13484 }
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 (arg1)->SetStart((wxString const &)*arg2);
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 resultobj = SWIG_Py_Void();
13492 {
13493 if (temp2)
13494 delete arg2;
13495 }
13496 return resultobj;
13497fail:
13498 {
13499 if (temp2)
13500 delete arg2;
13501 }
13502 return NULL;
13503}
13504
13505
13506SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj = 0;
13508 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13509 wxString *arg2 = 0 ;
13510 wxString result;
13511 void *argp1 = 0 ;
13512 int res1 = 0 ;
13513 bool temp2 = false ;
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj1 = 0 ;
13516 char * kwnames[] = {
13517 (char *) "self",(char *) "page", NULL
13518 };
13519
13520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13522 if (!SWIG_IsOK(res1)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13524 }
13525 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13526 {
13527 arg2 = wxString_in_helper(obj1);
13528 if (arg2 == NULL) SWIG_fail;
13529 temp2 = true;
13530 }
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 {
13538#if wxUSE_UNICODE
13539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13540#else
13541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13542#endif
13543 }
13544 {
13545 if (temp2)
13546 delete arg2;
13547 }
13548 return resultobj;
13549fail:
13550 {
13551 if (temp2)
13552 delete arg2;
13553 }
13554 return NULL;
d14a1e28
RD
13555}
13556
13557
554f62e9
RD
13558SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13559 PyObject *obj;
13560 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13561 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13562 return SWIG_Py_Void();
d14a1e28
RD
13563}
13564
554f62e9
RD
13565SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13566 return SWIG_Python_InitShadowInstance(args);
13567}
d14a1e28 13568
554f62e9
RD
13569SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13570 PyObject *resultobj = 0;
13571 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13572 bool result;
13573 void *argp1 = 0 ;
13574 int res1 = 0 ;
13575 PyObject *swig_obj[1] ;
13576
13577 if (!args) SWIG_fail;
13578 swig_obj[0] = args;
13579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13580 if (!SWIG_IsOK(res1)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13582 }
13583 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (bool)(arg1)->Search();
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 {
13591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13592 }
13593 return resultobj;
13594fail:
13595 return NULL;
d14a1e28
RD
13596}
13597
13598
554f62e9
RD
13599SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13600 PyObject *resultobj = 0;
13601 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13602 bool result;
13603 void *argp1 = 0 ;
13604 int res1 = 0 ;
13605 PyObject *swig_obj[1] ;
13606
13607 if (!args) SWIG_fail;
13608 swig_obj[0] = args;
13609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13610 if (!SWIG_IsOK(res1)) {
13611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13612 }
13613 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 result = (bool)(arg1)->IsActive();
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 {
13621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13622 }
13623 return resultobj;
13624fail:
13625 return NULL;
d14a1e28
RD
13626}
13627
13628
554f62e9
RD
13629SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13630 PyObject *resultobj = 0;
13631 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13632 int result;
13633 void *argp1 = 0 ;
13634 int res1 = 0 ;
13635 PyObject *swig_obj[1] ;
13636
13637 if (!args) SWIG_fail;
13638 swig_obj[0] = args;
13639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13640 if (!SWIG_IsOK(res1)) {
13641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13642 }
13643 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 result = (int)(arg1)->GetCurIndex();
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 resultobj = SWIG_From_int(static_cast< int >(result));
13651 return resultobj;
13652fail:
13653 return NULL;
d14a1e28
RD
13654}
13655
13656
554f62e9
RD
13657SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13658 PyObject *resultobj = 0;
13659 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13660 int result;
13661 void *argp1 = 0 ;
13662 int res1 = 0 ;
13663 PyObject *swig_obj[1] ;
13664
13665 if (!args) SWIG_fail;
13666 swig_obj[0] = args;
13667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13668 if (!SWIG_IsOK(res1)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13670 }
13671 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13672 {
13673 PyThreadState* __tstate = wxPyBeginAllowThreads();
13674 result = (int)(arg1)->GetMaxIndex();
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 resultobj = SWIG_From_int(static_cast< int >(result));
13679 return resultobj;
13680fail:
13681 return NULL;
d14a1e28
RD
13682}
13683
13684
554f62e9
RD
13685SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13686 PyObject *resultobj = 0;
13687 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13688 wxString *result = 0 ;
13689 void *argp1 = 0 ;
13690 int res1 = 0 ;
13691 PyObject *swig_obj[1] ;
13692
13693 if (!args) SWIG_fail;
13694 swig_obj[0] = args;
13695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13696 if (!SWIG_IsOK(res1)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13698 }
13699 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 13702 {
554f62e9
RD
13703 wxString const &_result_ref = (arg1)->GetName();
13704 result = (wxString *) &_result_ref;
d14a1e28 13705 }
554f62e9
RD
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 {
13710#if wxUSE_UNICODE
13711 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13712#else
13713 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13714#endif
13715 }
13716 return resultobj;
13717fail:
13718 return NULL;
d14a1e28
RD
13719}
13720
13721
554f62e9
RD
13722SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13723 PyObject *obj;
13724 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13725 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13726 return SWIG_Py_Void();
13727}
13728
13729SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13730 PyObject *resultobj = 0;
13731 wxHtmlHelpData *result = 0 ;
13732
13733 if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 result = (wxHtmlHelpData *)new wxHtmlHelpData();
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13741 return resultobj;
13742fail:
13743 return NULL;
d14a1e28
RD
13744}
13745
13746
554f62e9
RD
13747SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13748 PyObject *resultobj = 0;
13749 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13750 void *argp1 = 0 ;
13751 int res1 = 0 ;
13752 PyObject *swig_obj[1] ;
13753
13754 if (!args) SWIG_fail;
13755 swig_obj[0] = args;
13756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13757 if (!SWIG_IsOK(res1)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13759 }
13760 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 delete arg1;
d14a1e28 13764
554f62e9
RD
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 resultobj = SWIG_Py_Void();
13769 return resultobj;
13770fail:
13771 return NULL;
13772}
13773
13774
13775SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj = 0;
13777 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13778 wxString *arg2 = 0 ;
13779 void *argp1 = 0 ;
13780 int res1 = 0 ;
13781 bool temp2 = false ;
13782 PyObject * obj0 = 0 ;
13783 PyObject * obj1 = 0 ;
13784 char * kwnames[] = {
13785 (char *) "self",(char *) "path", NULL
13786 };
13787
13788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13790 if (!SWIG_IsOK(res1)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13792 }
13793 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13794 {
13795 arg2 = wxString_in_helper(obj1);
13796 if (arg2 == NULL) SWIG_fail;
13797 temp2 = true;
13798 }
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 (arg1)->SetTempDir((wxString const &)*arg2);
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_Py_Void();
13806 {
13807 if (temp2)
13808 delete arg2;
13809 }
13810 return resultobj;
13811fail:
13812 {
13813 if (temp2)
13814 delete arg2;
13815 }
13816 return NULL;
13817}
13818
13819
13820SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj = 0;
13822 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13823 wxString *arg2 = 0 ;
13824 bool result;
13825 void *argp1 = 0 ;
13826 int res1 = 0 ;
13827 bool temp2 = false ;
13828 PyObject * obj0 = 0 ;
13829 PyObject * obj1 = 0 ;
13830 char * kwnames[] = {
13831 (char *) "self",(char *) "book", NULL
13832 };
13833
13834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13836 if (!SWIG_IsOK(res1)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13838 }
13839 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13840 {
13841 arg2 = wxString_in_helper(obj1);
13842 if (arg2 == NULL) SWIG_fail;
13843 temp2 = true;
13844 }
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 {
13852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13853 }
13854 {
13855 if (temp2)
13856 delete arg2;
13857 }
13858 return resultobj;
13859fail:
13860 {
13861 if (temp2)
13862 delete arg2;
13863 }
13864 return NULL;
13865}
13866
13867
13868SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj = 0;
13870 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13871 wxString *arg2 = 0 ;
13872 wxString result;
13873 void *argp1 = 0 ;
13874 int res1 = 0 ;
13875 bool temp2 = false ;
13876 PyObject * obj0 = 0 ;
13877 PyObject * obj1 = 0 ;
13878 char * kwnames[] = {
13879 (char *) "self",(char *) "page", NULL
13880 };
13881
13882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
13883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13884 if (!SWIG_IsOK(res1)) {
13885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13886 }
13887 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13888 {
13889 arg2 = wxString_in_helper(obj1);
13890 if (arg2 == NULL) SWIG_fail;
13891 temp2 = true;
13892 }
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 result = (arg1)->FindPageByName((wxString const &)*arg2);
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
13899 {
d14a1e28 13900#if wxUSE_UNICODE
554f62e9 13901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 13902#else
554f62e9 13903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 13904#endif
554f62e9
RD
13905 }
13906 {
13907 if (temp2)
13908 delete arg2;
13909 }
13910 return resultobj;
13911fail:
13912 {
13913 if (temp2)
13914 delete arg2;
13915 }
13916 return NULL;
13917}
13918
13919
13920SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj = 0;
13922 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13923 int arg2 ;
13924 wxString result;
13925 void *argp1 = 0 ;
13926 int res1 = 0 ;
13927 int val2 ;
13928 int ecode2 = 0 ;
13929 PyObject * obj0 = 0 ;
13930 PyObject * obj1 = 0 ;
13931 char * kwnames[] = {
13932 (char *) "self",(char *) "id", NULL
13933 };
13934
13935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
13936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13937 if (!SWIG_IsOK(res1)) {
13938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13939 }
13940 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13941 ecode2 = SWIG_AsVal_int(obj1, &val2);
13942 if (!SWIG_IsOK(ecode2)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13944 }
13945 arg2 = static_cast< int >(val2);
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (arg1)->FindPageById(arg2);
13949 wxPyEndAllowThreads(__tstate);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 {
d14a1e28 13953#if wxUSE_UNICODE
554f62e9 13954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 13955#else
554f62e9 13956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 13957#endif
554f62e9
RD
13958 }
13959 return resultobj;
13960fail:
13961 return NULL;
d14a1e28
RD
13962}
13963
13964
554f62e9
RD
13965SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13966 PyObject *resultobj = 0;
13967 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13968 wxHtmlBookRecArray *result = 0 ;
13969 void *argp1 = 0 ;
13970 int res1 = 0 ;
13971 PyObject *swig_obj[1] ;
13972
13973 if (!args) SWIG_fail;
13974 swig_obj[0] = args;
13975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13976 if (!SWIG_IsOK(res1)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13978 }
13979 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 13982 {
554f62e9
RD
13983 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
13984 result = (wxHtmlBookRecArray *) &_result_ref;
d14a1e28 13985 }
554f62e9
RD
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
13990 return resultobj;
13991fail:
13992 return NULL;
13993}
13994
13995
13996SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13997 PyObject *obj;
13998 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13999 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
14000 return SWIG_Py_Void();
14001}
14002
14003SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14004 return SWIG_Python_InitShadowInstance(args);
14005}
14006
14007SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj = 0;
14009 wxWindow *arg1 = (wxWindow *) 0 ;
14010 int arg2 ;
14011 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14012 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14013 wxSize const &arg4_defvalue = wxDefaultSize ;
14014 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14015 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14016 int arg6 = (int) wxHF_DEFAULT_STYLE ;
14017 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
14018 wxHtmlHelpWindow *result = 0 ;
14019 void *argp1 = 0 ;
14020 int res1 = 0 ;
14021 int val2 ;
14022 int ecode2 = 0 ;
14023 wxPoint temp3 ;
14024 wxSize temp4 ;
14025 int val5 ;
14026 int ecode5 = 0 ;
14027 int val6 ;
14028 int ecode6 = 0 ;
14029 void *argp7 = 0 ;
14030 int res7 = 0 ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 PyObject * obj2 = 0 ;
14034 PyObject * obj3 = 0 ;
14035 PyObject * obj4 = 0 ;
14036 PyObject * obj5 = 0 ;
14037 PyObject * obj6 = 0 ;
14038 char * kwnames[] = {
14039 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14040 };
14041
14042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14044 if (!SWIG_IsOK(res1)) {
14045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14046 }
14047 arg1 = reinterpret_cast< wxWindow * >(argp1);
14048 ecode2 = SWIG_AsVal_int(obj1, &val2);
14049 if (!SWIG_IsOK(ecode2)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14051 }
14052 arg2 = static_cast< int >(val2);
14053 if (obj2) {
d14a1e28 14054 {
554f62e9
RD
14055 arg3 = &temp3;
14056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14057 }
554f62e9
RD
14058 }
14059 if (obj3) {
d14a1e28 14060 {
554f62e9
RD
14061 arg4 = &temp4;
14062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14063 }
554f62e9
RD
14064 }
14065 if (obj4) {
14066 ecode5 = SWIG_AsVal_int(obj4, &val5);
14067 if (!SWIG_IsOK(ecode5)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14069 }
14070 arg5 = static_cast< int >(val5);
14071 }
14072 if (obj5) {
14073 ecode6 = SWIG_AsVal_int(obj5, &val6);
14074 if (!SWIG_IsOK(ecode6)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14076 }
14077 arg6 = static_cast< int >(val6);
14078 }
14079 if (obj6) {
14080 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14081 if (!SWIG_IsOK(res7)) {
14082 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14083 }
14084 arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14085 }
14086 {
14087 if (!wxPyCheckForApp()) SWIG_fail;
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14094 return resultobj;
14095fail:
14096 return NULL;
14097}
14098
14099
14100SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj = 0;
14102 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14103 wxHtmlHelpWindow *result = 0 ;
14104 void *argp1 = 0 ;
14105 int res1 = 0 ;
14106 PyObject * obj0 = 0 ;
14107 char * kwnames[] = {
14108 (char *) "data", NULL
14109 };
14110
14111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14112 if (obj0) {
14113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14114 if (!SWIG_IsOK(res1)) {
14115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 14116 }
554f62e9
RD
14117 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14118 }
14119 {
14120 if (!wxPyCheckForApp()) SWIG_fail;
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14127 return resultobj;
14128fail:
14129 return NULL;
14130}
14131
14132
14133SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj = 0;
14135 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14136 wxWindow *arg2 = (wxWindow *) 0 ;
14137 int arg3 ;
14138 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14139 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14140 wxSize const &arg5_defvalue = wxDefaultSize ;
14141 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14142 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14143 int arg7 = (int) wxHF_DEFAULT_STYLE ;
14144 bool result;
14145 void *argp1 = 0 ;
14146 int res1 = 0 ;
14147 void *argp2 = 0 ;
14148 int res2 = 0 ;
14149 int val3 ;
14150 int ecode3 = 0 ;
14151 wxPoint temp4 ;
14152 wxSize temp5 ;
14153 int val6 ;
14154 int ecode6 = 0 ;
14155 int val7 ;
14156 int ecode7 = 0 ;
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj1 = 0 ;
14159 PyObject * obj2 = 0 ;
14160 PyObject * obj3 = 0 ;
14161 PyObject * obj4 = 0 ;
14162 PyObject * obj5 = 0 ;
14163 PyObject * obj6 = 0 ;
14164 char * kwnames[] = {
14165 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14166 };
14167
14168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14170 if (!SWIG_IsOK(res1)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14172 }
14173 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14174 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14175 if (!SWIG_IsOK(res2)) {
14176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14177 }
14178 arg2 = reinterpret_cast< wxWindow * >(argp2);
14179 ecode3 = SWIG_AsVal_int(obj2, &val3);
14180 if (!SWIG_IsOK(ecode3)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14182 }
14183 arg3 = static_cast< int >(val3);
14184 if (obj3) {
d14a1e28 14185 {
554f62e9
RD
14186 arg4 = &temp4;
14187 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14188 }
554f62e9
RD
14189 }
14190 if (obj4) {
d14a1e28 14191 {
554f62e9
RD
14192 arg5 = &temp5;
14193 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14194 }
554f62e9
RD
14195 }
14196 if (obj5) {
14197 ecode6 = SWIG_AsVal_int(obj5, &val6);
14198 if (!SWIG_IsOK(ecode6)) {
14199 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14200 }
14201 arg6 = static_cast< int >(val6);
14202 }
14203 if (obj6) {
14204 ecode7 = SWIG_AsVal_int(obj6, &val7);
14205 if (!SWIG_IsOK(ecode7)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14207 }
14208 arg7 = static_cast< int >(val7);
14209 }
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14213 wxPyEndAllowThreads(__tstate);
14214 if (PyErr_Occurred()) SWIG_fail;
14215 }
14216 {
14217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14218 }
14219 return resultobj;
14220fail:
14221 return NULL;
d14a1e28
RD
14222}
14223
14224
554f62e9
RD
14225SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14226 PyObject *resultobj = 0;
14227 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14228 wxHtmlHelpData *result = 0 ;
14229 void *argp1 = 0 ;
14230 int res1 = 0 ;
14231 PyObject *swig_obj[1] ;
14232
14233 if (!args) SWIG_fail;
14234 swig_obj[0] = args;
14235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14236 if (!SWIG_IsOK(res1)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14238 }
14239 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (wxHtmlHelpData *)(arg1)->GetData();
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14247 return resultobj;
14248fail:
14249 return NULL;
d14a1e28
RD
14250}
14251
14252
554f62e9
RD
14253SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14254 PyObject *resultobj = 0;
14255 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14256 wxHtmlHelpController *result = 0 ;
14257 void *argp1 = 0 ;
14258 int res1 = 0 ;
14259 PyObject *swig_obj[1] ;
14260
14261 if (!args) SWIG_fail;
14262 swig_obj[0] = args;
14263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14264 if (!SWIG_IsOK(res1)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14266 }
14267 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14275 return resultobj;
14276fail:
14277 return NULL;
14278}
14279
14280
14281SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj = 0;
14283 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14284 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14285 void *argp1 = 0 ;
14286 int res1 = 0 ;
14287 int res2 = 0 ;
14288 PyObject * obj0 = 0 ;
14289 PyObject * obj1 = 0 ;
14290 char * kwnames[] = {
14291 (char *) "self",(char *) "controller", NULL
14292 };
14293
14294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14296 if (!SWIG_IsOK(res1)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14298 }
14299 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14300 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14301 if (!SWIG_IsOK(res2)) {
14302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14303 }
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 (arg1)->SetController(arg2);
14307 wxPyEndAllowThreads(__tstate);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 resultobj = SWIG_Py_Void();
14311 return resultobj;
14312fail:
14313 return NULL;
14314}
14315
14316
14317SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14318 PyObject *resultobj = 0;
14319 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14320 wxString *arg2 = 0 ;
14321 bool result;
14322 void *argp1 = 0 ;
14323 int res1 = 0 ;
14324 bool temp2 = false ;
14325 PyObject * obj0 = 0 ;
14326 PyObject * obj1 = 0 ;
14327 char * kwnames[] = {
14328 (char *) "self",(char *) "x", NULL
14329 };
14330
14331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14333 if (!SWIG_IsOK(res1)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14335 }
14336 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14337 {
14338 arg2 = wxString_in_helper(obj1);
14339 if (arg2 == NULL) SWIG_fail;
14340 temp2 = true;
14341 }
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 result = (bool)(arg1)->Display((wxString const &)*arg2);
14345 wxPyEndAllowThreads(__tstate);
14346 if (PyErr_Occurred()) SWIG_fail;
14347 }
14348 {
14349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14350 }
14351 {
14352 if (temp2)
14353 delete arg2;
14354 }
14355 return resultobj;
14356fail:
14357 {
14358 if (temp2)
14359 delete arg2;
14360 }
14361 return NULL;
14362}
14363
14364
14365SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj = 0;
14367 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14368 int arg2 ;
14369 bool result;
14370 void *argp1 = 0 ;
14371 int res1 = 0 ;
14372 int val2 ;
14373 int ecode2 = 0 ;
14374 PyObject * obj0 = 0 ;
14375 PyObject * obj1 = 0 ;
14376 char * kwnames[] = {
14377 (char *) "self",(char *) "id", NULL
14378 };
14379
14380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14382 if (!SWIG_IsOK(res1)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14384 }
14385 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14386 ecode2 = SWIG_AsVal_int(obj1, &val2);
14387 if (!SWIG_IsOK(ecode2)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14389 }
14390 arg2 = static_cast< int >(val2);
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 result = (bool)(arg1)->Display(arg2);
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 {
14398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14399 }
14400 return resultobj;
14401fail:
14402 return NULL;
d14a1e28
RD
14403}
14404
14405
554f62e9
RD
14406SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14407 PyObject *resultobj = 0;
14408 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14409 bool result;
14410 void *argp1 = 0 ;
14411 int res1 = 0 ;
14412 PyObject *swig_obj[1] ;
14413
14414 if (!args) SWIG_fail;
14415 swig_obj[0] = args;
14416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14417 if (!SWIG_IsOK(res1)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14419 }
14420 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14421 {
14422 PyThreadState* __tstate = wxPyBeginAllowThreads();
14423 result = (bool)(arg1)->DisplayContents();
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 {
14428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14429 }
14430 return resultobj;
14431fail:
14432 return NULL;
d14a1e28
RD
14433}
14434
14435
554f62e9
RD
14436SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14437 PyObject *resultobj = 0;
14438 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14439 bool result;
14440 void *argp1 = 0 ;
14441 int res1 = 0 ;
14442 PyObject *swig_obj[1] ;
14443
14444 if (!args) SWIG_fail;
14445 swig_obj[0] = args;
14446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14447 if (!SWIG_IsOK(res1)) {
14448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14449 }
14450 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = (bool)(arg1)->DisplayIndex();
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 {
14458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14459 }
14460 return resultobj;
14461fail:
14462 return NULL;
14463}
14464
14465
14466SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj = 0;
14468 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14469 wxString *arg2 = 0 ;
14470 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14471 bool result;
14472 void *argp1 = 0 ;
14473 int res1 = 0 ;
14474 bool temp2 = false ;
14475 void *argp3 ;
14476 int res3 = 0 ;
14477 PyObject * obj0 = 0 ;
14478 PyObject * obj1 = 0 ;
14479 PyObject * obj2 = 0 ;
14480 char * kwnames[] = {
14481 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14482 };
14483
14484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14486 if (!SWIG_IsOK(res1)) {
14487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14488 }
14489 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14490 {
14491 arg2 = wxString_in_helper(obj1);
14492 if (arg2 == NULL) SWIG_fail;
14493 temp2 = true;
14494 }
14495 if (obj2) {
14496 {
14497 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14498 if (!SWIG_IsOK(res3)) {
14499 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14500 }
14501 if (!argp3) {
14502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14503 } else {
14504 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14505 arg3 = *temp;
14506 if (SWIG_IsNewObj(res3)) delete temp;
14507 }
ae8162c8 14508 }
554f62e9
RD
14509 }
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 {
14517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14518 }
14519 {
14520 if (temp2)
14521 delete arg2;
14522 }
14523 return resultobj;
14524fail:
14525 {
14526 if (temp2)
14527 delete arg2;
14528 }
14529 return NULL;
14530}
14531
14532
14533SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj = 0;
14535 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14536 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14537 wxString const &arg3_defvalue = wxEmptyString ;
14538 wxString *arg3 = (wxString *) &arg3_defvalue ;
14539 void *argp1 = 0 ;
14540 int res1 = 0 ;
14541 void *argp2 = 0 ;
14542 int res2 = 0 ;
14543 bool temp3 = false ;
14544 PyObject * obj0 = 0 ;
14545 PyObject * obj1 = 0 ;
14546 PyObject * obj2 = 0 ;
14547 char * kwnames[] = {
14548 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14549 };
14550
14551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14553 if (!SWIG_IsOK(res1)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14555 }
14556 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14557 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14558 if (!SWIG_IsOK(res2)) {
14559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14560 }
14561 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14562 if (obj2) {
ae8162c8 14563 {
554f62e9
RD
14564 arg3 = wxString_in_helper(obj2);
14565 if (arg3 == NULL) SWIG_fail;
14566 temp3 = true;
ae8162c8 14567 }
554f62e9
RD
14568 }
14569 {
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 resultobj = SWIG_Py_Void();
14576 {
14577 if (temp3)
14578 delete arg3;
14579 }
14580 return resultobj;
14581fail:
14582 {
14583 if (temp3)
14584 delete arg3;
14585 }
14586 return NULL;
14587}
14588
14589
14590SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj = 0;
14592 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14593 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14594 wxString const &arg3_defvalue = wxEmptyString ;
14595 wxString *arg3 = (wxString *) &arg3_defvalue ;
14596 void *argp1 = 0 ;
14597 int res1 = 0 ;
14598 void *argp2 = 0 ;
14599 int res2 = 0 ;
14600 bool temp3 = false ;
14601 PyObject * obj0 = 0 ;
14602 PyObject * obj1 = 0 ;
14603 PyObject * obj2 = 0 ;
14604 char * kwnames[] = {
14605 (char *) "self",(char *) "cfg",(char *) "path", NULL
14606 };
14607
14608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14610 if (!SWIG_IsOK(res1)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14612 }
14613 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14614 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14615 if (!SWIG_IsOK(res2)) {
14616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14617 }
14618 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14619 if (obj2) {
ae8162c8 14620 {
554f62e9
RD
14621 arg3 = wxString_in_helper(obj2);
14622 if (arg3 == NULL) SWIG_fail;
14623 temp3 = true;
ae8162c8 14624 }
554f62e9
RD
14625 }
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 resultobj = SWIG_Py_Void();
14633 {
14634 if (temp3)
14635 delete arg3;
14636 }
14637 return resultobj;
14638fail:
14639 {
14640 if (temp3)
14641 delete arg3;
14642 }
14643 return NULL;
14644}
14645
14646
14647SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj = 0;
14649 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14650 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14651 wxString const &arg3_defvalue = wxEmptyString ;
14652 wxString *arg3 = (wxString *) &arg3_defvalue ;
14653 void *argp1 = 0 ;
14654 int res1 = 0 ;
14655 void *argp2 = 0 ;
14656 int res2 = 0 ;
14657 bool temp3 = false ;
14658 PyObject * obj0 = 0 ;
14659 PyObject * obj1 = 0 ;
14660 PyObject * obj2 = 0 ;
14661 char * kwnames[] = {
14662 (char *) "self",(char *) "cfg",(char *) "path", NULL
14663 };
14664
14665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14667 if (!SWIG_IsOK(res1)) {
14668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14669 }
14670 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14672 if (!SWIG_IsOK(res2)) {
14673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14674 }
14675 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14676 if (obj2) {
ae8162c8 14677 {
554f62e9
RD
14678 arg3 = wxString_in_helper(obj2);
14679 if (arg3 == NULL) SWIG_fail;
14680 temp3 = true;
ae8162c8 14681 }
554f62e9
RD
14682 }
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 resultobj = SWIG_Py_Void();
14690 {
14691 if (temp3)
14692 delete arg3;
14693 }
14694 return resultobj;
14695fail:
14696 {
14697 if (temp3)
14698 delete arg3;
14699 }
14700 return NULL;
30ee79f7
RD
14701}
14702
14703
554f62e9
RD
14704SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14705 PyObject *resultobj = 0;
14706 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14707 void *argp1 = 0 ;
14708 int res1 = 0 ;
14709 PyObject *swig_obj[1] ;
14710
14711 if (!args) SWIG_fail;
14712 swig_obj[0] = args;
14713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14714 if (!SWIG_IsOK(res1)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14716 }
14717 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 (arg1)->NotifyPageChanged();
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 resultobj = SWIG_Py_Void();
14725 return resultobj;
14726fail:
14727 return NULL;
d14a1e28
RD
14728}
14729
14730
554f62e9
RD
14731SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14732 PyObject *resultobj = 0;
14733 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14734 void *argp1 = 0 ;
14735 int res1 = 0 ;
14736 PyObject *swig_obj[1] ;
14737
14738 if (!args) SWIG_fail;
14739 swig_obj[0] = args;
14740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14741 if (!SWIG_IsOK(res1)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14743 }
14744 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14745 {
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 (arg1)->RefreshLists();
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = SWIG_Py_Void();
14752 return resultobj;
14753fail:
14754 return NULL;
d14a1e28
RD
14755}
14756
14757
554f62e9
RD
14758SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14759 PyObject *resultobj = 0;
14760 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14761 wxHtmlWindow *result = 0 ;
14762 void *argp1 = 0 ;
14763 int res1 = 0 ;
14764 PyObject *swig_obj[1] ;
14765
14766 if (!args) SWIG_fail;
14767 swig_obj[0] = args;
14768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14769 if (!SWIG_IsOK(res1)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14771 }
14772 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14773 {
14774 PyThreadState* __tstate = wxPyBeginAllowThreads();
14775 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
14779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 );
14780 return resultobj;
14781fail:
14782 return NULL;
53aa7709
RD
14783}
14784
14785
554f62e9
RD
14786SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14787 PyObject *resultobj = 0;
14788 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14789 wxSplitterWindow *result = 0 ;
14790 void *argp1 = 0 ;
14791 int res1 = 0 ;
14792 PyObject *swig_obj[1] ;
14793
14794 if (!args) SWIG_fail;
14795 swig_obj[0] = args;
14796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14797 if (!SWIG_IsOK(res1)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14799 }
14800 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14801 {
14802 PyThreadState* __tstate = wxPyBeginAllowThreads();
14803 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14808 return resultobj;
14809fail:
14810 return NULL;
d14a1e28
RD
14811}
14812
14813
554f62e9
RD
14814SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14815 PyObject *resultobj = 0;
14816 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14817 wxToolBar *result = 0 ;
14818 void *argp1 = 0 ;
14819 int res1 = 0 ;
14820 PyObject *swig_obj[1] ;
14821
14822 if (!args) SWIG_fail;
14823 swig_obj[0] = args;
14824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14825 if (!SWIG_IsOK(res1)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14827 }
14828 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 {
14836 resultobj = wxPyMake_wxObject(result, (bool)0);
14837 }
14838 return resultobj;
14839fail:
14840 return NULL;
d14a1e28
RD
14841}
14842
14843
554f62e9
RD
14844SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14845 PyObject *resultobj = 0;
14846 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14847 wxHtmlHelpFrameCfg *result = 0 ;
14848 void *argp1 = 0 ;
14849 int res1 = 0 ;
14850 PyObject *swig_obj[1] ;
14851
14852 if (!args) SWIG_fail;
14853 swig_obj[0] = args;
14854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14855 if (!SWIG_IsOK(res1)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14857 }
14858 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 14861 {
554f62e9
RD
14862 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14863 result = (wxHtmlHelpFrameCfg *) &_result_ref;
4f89f6a3 14864 }
554f62e9
RD
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14869 return resultobj;
14870fail:
14871 return NULL;
d14a1e28
RD
14872}
14873
14874
554f62e9
RD
14875SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14876 PyObject *resultobj = 0;
14877 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
10044bf1 14878 wxPyTreeCtrl *result = 0 ;
554f62e9
RD
14879 void *argp1 = 0 ;
14880 int res1 = 0 ;
14881 PyObject *swig_obj[1] ;
14882
14883 if (!args) SWIG_fail;
14884 swig_obj[0] = args;
14885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14886 if (!SWIG_IsOK(res1)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14888 }
14889 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 14892 result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
554f62e9
RD
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
10044bf1
RD
14896 {
14897 resultobj = wxPyMake_wxObject(result, (bool)0);
14898 }
554f62e9
RD
14899 return resultobj;
14900fail:
14901 return NULL;
d14a1e28
RD
14902}
14903
14904
554f62e9
RD
14905SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14906 PyObject *obj;
14907 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14908 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
14909 return SWIG_Py_Void();
14910}
14911
14912SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14913 return SWIG_Python_InitShadowInstance(args);
14914}
14915
14916SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj = 0;
14918 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14919 int arg2 = (int) 0 ;
14920 wxHtmlWindowEvent *result = 0 ;
14921 int val1 ;
14922 int ecode1 = 0 ;
14923 int val2 ;
14924 int ecode2 = 0 ;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 char * kwnames[] = {
14928 (char *) "commandType",(char *) "id", NULL
14929 };
14930
14931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail;
14932 if (obj0) {
14933 ecode1 = SWIG_AsVal_int(obj0, &val1);
14934 if (!SWIG_IsOK(ecode1)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14936 }
14937 arg1 = static_cast< wxEventType >(val1);
14938 }
14939 if (obj1) {
14940 ecode2 = SWIG_AsVal_int(obj1, &val2);
14941 if (!SWIG_IsOK(ecode2)) {
14942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14943 }
14944 arg2 = static_cast< int >(val2);
14945 }
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 );
14953 return resultobj;
14954fail:
14955 return NULL;
14956}
14957
14958
14959SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj = 0;
14961 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
14962 wxString *arg2 = 0 ;
14963 void *argp1 = 0 ;
14964 int res1 = 0 ;
14965 bool temp2 = false ;
14966 PyObject * obj0 = 0 ;
14967 PyObject * obj1 = 0 ;
14968 char * kwnames[] = {
14969 (char *) "self",(char *) "url", NULL
14970 };
14971
14972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
14973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
14974 if (!SWIG_IsOK(res1)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14976 }
14977 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
14978 {
14979 arg2 = wxString_in_helper(obj1);
14980 if (arg2 == NULL) SWIG_fail;
14981 temp2 = true;
14982 }
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 (arg1)->SetURL((wxString const &)*arg2);
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 resultobj = SWIG_Py_Void();
14990 {
14991 if (temp2)
14992 delete arg2;
14993 }
14994 return resultobj;
14995fail:
14996 {
14997 if (temp2)
14998 delete arg2;
14999 }
15000 return NULL;
15001}
15002
15003
15004SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15005 PyObject *resultobj = 0;
15006 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
15007 wxString *result = 0 ;
15008 void *argp1 = 0 ;
15009 int res1 = 0 ;
15010 PyObject *swig_obj[1] ;
15011
15012 if (!args) SWIG_fail;
15013 swig_obj[0] = args;
15014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15015 if (!SWIG_IsOK(res1)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15017 }
15018 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 15021 {
554f62e9
RD
15022 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
15023 result = (wxString *) &_result_ref;
d14a1e28 15024 }
554f62e9
RD
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 {
15029#if wxUSE_UNICODE
15030 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15031#else
15032 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15033#endif
15034 }
15035 return resultobj;
15036fail:
15037 return NULL;
15038}
15039
15040
15041SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15042 PyObject *obj;
15043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15044 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj));
15045 return SWIG_Py_Void();
15046}
15047
15048SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15049 return SWIG_Python_InitShadowInstance(args);
15050}
15051
15052SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj = 0;
15054 wxWindow *arg1 = (wxWindow *) 0 ;
15055 int arg2 ;
15056 wxString const &arg3_defvalue = wxPyEmptyString ;
15057 wxString *arg3 = (wxString *) &arg3_defvalue ;
15058 int arg4 = (int) wxHF_DEFAULTSTYLE ;
15059 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15060 wxHtmlHelpFrame *result = 0 ;
15061 void *argp1 = 0 ;
15062 int res1 = 0 ;
15063 int val2 ;
15064 int ecode2 = 0 ;
15065 bool temp3 = false ;
15066 int val4 ;
15067 int ecode4 = 0 ;
15068 void *argp5 = 0 ;
15069 int res5 = 0 ;
15070 PyObject * obj0 = 0 ;
15071 PyObject * obj1 = 0 ;
15072 PyObject * obj2 = 0 ;
15073 PyObject * obj3 = 0 ;
15074 PyObject * obj4 = 0 ;
15075 char * kwnames[] = {
15076 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15077 };
15078
15079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15081 if (!SWIG_IsOK(res1)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15083 }
15084 arg1 = reinterpret_cast< wxWindow * >(argp1);
15085 ecode2 = SWIG_AsVal_int(obj1, &val2);
15086 if (!SWIG_IsOK(ecode2)) {
15087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15088 }
15089 arg2 = static_cast< int >(val2);
15090 if (obj2) {
4f89f6a3 15091 {
554f62e9
RD
15092 arg3 = wxString_in_helper(obj2);
15093 if (arg3 == NULL) SWIG_fail;
15094 temp3 = true;
4f89f6a3 15095 }
554f62e9
RD
15096 }
15097 if (obj3) {
15098 ecode4 = SWIG_AsVal_int(obj3, &val4);
15099 if (!SWIG_IsOK(ecode4)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15101 }
15102 arg4 = static_cast< int >(val4);
15103 }
15104 if (obj4) {
15105 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15106 if (!SWIG_IsOK(res5)) {
15107 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15108 }
15109 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15110 }
15111 {
15112 if (!wxPyCheckForApp()) SWIG_fail;
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15119 {
15120 if (temp3)
15121 delete arg3;
15122 }
15123 return resultobj;
15124fail:
15125 {
15126 if (temp3)
15127 delete arg3;
15128 }
15129 return NULL;
d14a1e28
RD
15130}
15131
15132
554f62e9
RD
15133SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj = 0;
15135 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15136 wxHtmlHelpFrame *result = 0 ;
15137 void *argp1 = 0 ;
15138 int res1 = 0 ;
15139 PyObject * obj0 = 0 ;
15140 char * kwnames[] = {
15141 (char *) "data", NULL
15142 };
15143
15144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15145 if (obj0) {
15146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15147 if (!SWIG_IsOK(res1)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15149 }
554f62e9
RD
15150 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15151 }
15152 {
15153 if (!wxPyCheckForApp()) SWIG_fail;
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15160 return resultobj;
15161fail:
15162 return NULL;
15163}
15164
15165
15166SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj = 0;
15168 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15169 wxWindow *arg2 = (wxWindow *) 0 ;
15170 int arg3 ;
15171 wxString const &arg4_defvalue = wxPyEmptyString ;
15172 wxString *arg4 = (wxString *) &arg4_defvalue ;
15173 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15174 bool result;
15175 void *argp1 = 0 ;
15176 int res1 = 0 ;
15177 void *argp2 = 0 ;
15178 int res2 = 0 ;
15179 int val3 ;
15180 int ecode3 = 0 ;
15181 bool temp4 = false ;
15182 int val5 ;
15183 int ecode5 = 0 ;
15184 PyObject * obj0 = 0 ;
15185 PyObject * obj1 = 0 ;
15186 PyObject * obj2 = 0 ;
15187 PyObject * obj3 = 0 ;
15188 PyObject * obj4 = 0 ;
15189 char * kwnames[] = {
15190 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15191 };
15192
15193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15195 if (!SWIG_IsOK(res1)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15197 }
15198 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15199 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15200 if (!SWIG_IsOK(res2)) {
15201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15202 }
15203 arg2 = reinterpret_cast< wxWindow * >(argp2);
15204 ecode3 = SWIG_AsVal_int(obj2, &val3);
15205 if (!SWIG_IsOK(ecode3)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15207 }
15208 arg3 = static_cast< int >(val3);
15209 if (obj3) {
4f89f6a3 15210 {
554f62e9
RD
15211 arg4 = wxString_in_helper(obj3);
15212 if (arg4 == NULL) SWIG_fail;
15213 temp4 = true;
4f89f6a3 15214 }
554f62e9
RD
15215 }
15216 if (obj4) {
15217 ecode5 = SWIG_AsVal_int(obj4, &val5);
15218 if (!SWIG_IsOK(ecode5)) {
15219 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15220 }
15221 arg5 = static_cast< int >(val5);
15222 }
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 {
15230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15231 }
15232 {
15233 if (temp4)
15234 delete arg4;
15235 }
15236 return resultobj;
15237fail:
15238 {
15239 if (temp4)
15240 delete arg4;
15241 }
15242 return NULL;
d14a1e28
RD
15243}
15244
15245
554f62e9
RD
15246SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15247 PyObject *resultobj = 0;
15248 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15249 wxHtmlHelpData *result = 0 ;
15250 void *argp1 = 0 ;
15251 int res1 = 0 ;
15252 PyObject *swig_obj[1] ;
15253
15254 if (!args) SWIG_fail;
15255 swig_obj[0] = args;
15256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15257 if (!SWIG_IsOK(res1)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15259 }
15260 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (wxHtmlHelpData *)(arg1)->GetData();
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15268 return resultobj;
15269fail:
15270 return NULL;
15271}
15272
15273
15274SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj = 0;
15276 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15277 wxString *arg2 = 0 ;
15278 void *argp1 = 0 ;
15279 int res1 = 0 ;
15280 bool temp2 = false ;
15281 PyObject * obj0 = 0 ;
15282 PyObject * obj1 = 0 ;
15283 char * kwnames[] = {
15284 (char *) "self",(char *) "format", NULL
15285 };
15286
15287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15289 if (!SWIG_IsOK(res1)) {
15290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15291 }
15292 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15293 {
15294 arg2 = wxString_in_helper(obj1);
15295 if (arg2 == NULL) SWIG_fail;
15296 temp2 = true;
15297 }
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 (arg1)->SetTitleFormat((wxString const &)*arg2);
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 resultobj = SWIG_Py_Void();
15305 {
15306 if (temp2)
15307 delete arg2;
15308 }
15309 return resultobj;
15310fail:
15311 {
15312 if (temp2)
15313 delete arg2;
15314 }
15315 return NULL;
d14a1e28
RD
15316}
15317
15318
554f62e9
RD
15319SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15320 PyObject *resultobj = 0;
15321 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15322 void *argp1 = 0 ;
15323 int res1 = 0 ;
15324 PyObject *swig_obj[1] ;
15325
15326 if (!args) SWIG_fail;
15327 swig_obj[0] = args;
15328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15329 if (!SWIG_IsOK(res1)) {
15330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15331 }
15332 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 (arg1)->AddGrabIfNeeded();
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 resultobj = SWIG_Py_Void();
15340 return resultobj;
15341fail:
15342 return NULL;
d14a1e28
RD
15343}
15344
15345
554f62e9
RD
15346SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15347 PyObject *resultobj = 0;
15348 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15349 wxHtmlHelpController *result = 0 ;
15350 void *argp1 = 0 ;
15351 int res1 = 0 ;
15352 PyObject *swig_obj[1] ;
15353
15354 if (!args) SWIG_fail;
15355 swig_obj[0] = args;
15356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15357 if (!SWIG_IsOK(res1)) {
15358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15359 }
15360 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15368 return resultobj;
15369fail:
15370 return NULL;
15371}
15372
15373
15374SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj = 0;
15376 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15377 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15378 void *argp1 = 0 ;
15379 int res1 = 0 ;
15380 int res2 = 0 ;
15381 PyObject * obj0 = 0 ;
15382 PyObject * obj1 = 0 ;
15383 char * kwnames[] = {
15384 (char *) "self",(char *) "controller", NULL
15385 };
15386
15387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15389 if (!SWIG_IsOK(res1)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15391 }
15392 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15393 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15394 if (!SWIG_IsOK(res2)) {
15395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15396 }
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 (arg1)->SetController(arg2);
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 resultobj = SWIG_Py_Void();
15404 return resultobj;
15405fail:
15406 return NULL;
d14a1e28
RD
15407}
15408
15409
554f62e9
RD
15410SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15411 PyObject *resultobj = 0;
15412 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15413 wxHtmlHelpWindow *result = 0 ;
15414 void *argp1 = 0 ;
15415 int res1 = 0 ;
15416 PyObject *swig_obj[1] ;
15417
15418 if (!args) SWIG_fail;
15419 swig_obj[0] = args;
15420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15421 if (!SWIG_IsOK(res1)) {
15422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15423 }
15424 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15425 {
15426 PyThreadState* __tstate = wxPyBeginAllowThreads();
15427 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 {
15432 resultobj = wxPyMake_wxObject(result, 0);
15433 }
15434 return resultobj;
15435fail:
15436 return NULL;
15437}
15438
15439
15440SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15441 PyObject *obj;
15442 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15443 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15444 return SWIG_Py_Void();
15445}
15446
15447SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15448 return SWIG_Python_InitShadowInstance(args);
15449}
15450
15451SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15452 PyObject *resultobj = 0;
15453 wxWindow *arg1 = (wxWindow *) 0 ;
15454 int arg2 ;
15455 wxString const &arg3_defvalue = wxPyEmptyString ;
15456 wxString *arg3 = (wxString *) &arg3_defvalue ;
15457 int arg4 = (int) wxHF_DEFAULT_STYLE ;
15458 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15459 wxHtmlHelpDialog *result = 0 ;
15460 void *argp1 = 0 ;
15461 int res1 = 0 ;
15462 int val2 ;
15463 int ecode2 = 0 ;
15464 bool temp3 = false ;
15465 int val4 ;
15466 int ecode4 = 0 ;
15467 void *argp5 = 0 ;
15468 int res5 = 0 ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 PyObject * obj2 = 0 ;
15472 PyObject * obj3 = 0 ;
15473 PyObject * obj4 = 0 ;
15474 char * kwnames[] = {
15475 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15476 };
15477
15478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15480 if (!SWIG_IsOK(res1)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15482 }
15483 arg1 = reinterpret_cast< wxWindow * >(argp1);
15484 ecode2 = SWIG_AsVal_int(obj1, &val2);
15485 if (!SWIG_IsOK(ecode2)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15487 }
15488 arg2 = static_cast< int >(val2);
15489 if (obj2) {
d14a1e28 15490 {
554f62e9
RD
15491 arg3 = wxString_in_helper(obj2);
15492 if (arg3 == NULL) SWIG_fail;
15493 temp3 = true;
d14a1e28 15494 }
554f62e9
RD
15495 }
15496 if (obj3) {
15497 ecode4 = SWIG_AsVal_int(obj3, &val4);
15498 if (!SWIG_IsOK(ecode4)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15500 }
15501 arg4 = static_cast< int >(val4);
15502 }
15503 if (obj4) {
15504 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15505 if (!SWIG_IsOK(res5)) {
15506 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15507 }
554f62e9
RD
15508 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15509 }
15510 {
15511 if (!wxPyCheckForApp()) SWIG_fail;
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15514 wxPyEndAllowThreads(__tstate);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15518 {
15519 if (temp3)
15520 delete arg3;
15521 }
15522 return resultobj;
15523fail:
15524 {
15525 if (temp3)
15526 delete arg3;
15527 }
15528 return NULL;
d14a1e28
RD
15529}
15530
15531
554f62e9
RD
15532SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj = 0;
15534 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15535 wxHtmlHelpDialog *result = 0 ;
15536 void *argp1 = 0 ;
15537 int res1 = 0 ;
15538 PyObject * obj0 = 0 ;
15539 char * kwnames[] = {
15540 (char *) "data", NULL
15541 };
15542
15543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15544 if (obj0) {
15545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15546 if (!SWIG_IsOK(res1)) {
15547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15548 }
554f62e9
RD
15549 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15550 }
15551 {
15552 if (!wxPyCheckForApp()) SWIG_fail;
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15559 return resultobj;
15560fail:
15561 return NULL;
15562}
15563
15564
15565SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj = 0;
15567 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15568 wxWindow *arg2 = (wxWindow *) 0 ;
15569 int arg3 ;
15570 wxString const &arg4_defvalue = wxPyEmptyString ;
15571 wxString *arg4 = (wxString *) &arg4_defvalue ;
15572 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15573 bool result;
15574 void *argp1 = 0 ;
15575 int res1 = 0 ;
15576 void *argp2 = 0 ;
15577 int res2 = 0 ;
15578 int val3 ;
15579 int ecode3 = 0 ;
15580 bool temp4 = false ;
15581 int val5 ;
15582 int ecode5 = 0 ;
15583 PyObject * obj0 = 0 ;
15584 PyObject * obj1 = 0 ;
15585 PyObject * obj2 = 0 ;
15586 PyObject * obj3 = 0 ;
15587 PyObject * obj4 = 0 ;
15588 char * kwnames[] = {
15589 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15590 };
15591
15592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15594 if (!SWIG_IsOK(res1)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15596 }
15597 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15598 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15599 if (!SWIG_IsOK(res2)) {
15600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15601 }
15602 arg2 = reinterpret_cast< wxWindow * >(argp2);
15603 ecode3 = SWIG_AsVal_int(obj2, &val3);
15604 if (!SWIG_IsOK(ecode3)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15606 }
15607 arg3 = static_cast< int >(val3);
15608 if (obj3) {
d14a1e28 15609 {
554f62e9
RD
15610 arg4 = wxString_in_helper(obj3);
15611 if (arg4 == NULL) SWIG_fail;
15612 temp4 = true;
d14a1e28 15613 }
554f62e9
RD
15614 }
15615 if (obj4) {
15616 ecode5 = SWIG_AsVal_int(obj4, &val5);
15617 if (!SWIG_IsOK(ecode5)) {
15618 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15619 }
15620 arg5 = static_cast< int >(val5);
15621 }
15622 {
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15625 wxPyEndAllowThreads(__tstate);
15626 if (PyErr_Occurred()) SWIG_fail;
15627 }
15628 {
15629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15630 }
15631 {
15632 if (temp4)
15633 delete arg4;
15634 }
15635 return resultobj;
15636fail:
15637 {
15638 if (temp4)
15639 delete arg4;
15640 }
15641 return NULL;
d14a1e28
RD
15642}
15643
15644
554f62e9
RD
15645SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15646 PyObject *resultobj = 0;
15647 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15648 wxHtmlHelpData *result = 0 ;
15649 void *argp1 = 0 ;
15650 int res1 = 0 ;
15651 PyObject *swig_obj[1] ;
15652
15653 if (!args) SWIG_fail;
15654 swig_obj[0] = args;
15655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15656 if (!SWIG_IsOK(res1)) {
15657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15658 }
15659 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 result = (wxHtmlHelpData *)(arg1)->GetData();
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15667 return resultobj;
15668fail:
15669 return NULL;
d14a1e28
RD
15670}
15671
15672
554f62e9
RD
15673SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15674 PyObject *resultobj = 0;
15675 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15676 wxHtmlHelpController *result = 0 ;
15677 void *argp1 = 0 ;
15678 int res1 = 0 ;
15679 PyObject *swig_obj[1] ;
15680
15681 if (!args) SWIG_fail;
15682 swig_obj[0] = args;
15683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15684 if (!SWIG_IsOK(res1)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15686 }
15687 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15695 return resultobj;
15696fail:
15697 return NULL;
15698}
15699
15700
15701SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj = 0;
15703 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15704 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15705 void *argp1 = 0 ;
15706 int res1 = 0 ;
15707 int res2 = 0 ;
15708 PyObject * obj0 = 0 ;
15709 PyObject * obj1 = 0 ;
15710 char * kwnames[] = {
15711 (char *) "self",(char *) "controller", NULL
15712 };
15713
15714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15716 if (!SWIG_IsOK(res1)) {
15717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15718 }
15719 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15720 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15721 if (!SWIG_IsOK(res2)) {
15722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15723 }
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 (arg1)->SetController(arg2);
15727 wxPyEndAllowThreads(__tstate);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 resultobj = SWIG_Py_Void();
15731 return resultobj;
15732fail:
15733 return NULL;
db914595
RD
15734}
15735
15736
554f62e9
RD
15737SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15738 PyObject *resultobj = 0;
15739 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15740 wxHtmlHelpWindow *result = 0 ;
15741 void *argp1 = 0 ;
15742 int res1 = 0 ;
15743 PyObject *swig_obj[1] ;
15744
15745 if (!args) SWIG_fail;
15746 swig_obj[0] = args;
15747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15748 if (!SWIG_IsOK(res1)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15750 }
15751 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
15755 wxPyEndAllowThreads(__tstate);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 {
15759 resultobj = wxPyMake_wxObject(result, 0);
15760 }
15761 return resultobj;
15762fail:
15763 return NULL;
15764}
15765
15766
15767SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj = 0;
15769 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15770 wxString *arg2 = 0 ;
15771 void *argp1 = 0 ;
15772 int res1 = 0 ;
15773 bool temp2 = false ;
15774 PyObject * obj0 = 0 ;
15775 PyObject * obj1 = 0 ;
15776 char * kwnames[] = {
15777 (char *) "self",(char *) "format", NULL
15778 };
15779
15780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15782 if (!SWIG_IsOK(res1)) {
15783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15784 }
15785 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15786 {
15787 arg2 = wxString_in_helper(obj1);
15788 if (arg2 == NULL) SWIG_fail;
15789 temp2 = true;
15790 }
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 (arg1)->SetTitleFormat((wxString const &)*arg2);
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = SWIG_Py_Void();
15798 {
15799 if (temp2)
15800 delete arg2;
15801 }
15802 return resultobj;
15803fail:
15804 {
15805 if (temp2)
15806 delete arg2;
15807 }
15808 return NULL;
db914595
RD
15809}
15810
15811
554f62e9
RD
15812SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15813 PyObject *obj;
15814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15815 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
15816 return SWIG_Py_Void();
db914595
RD
15817}
15818
554f62e9
RD
15819SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15820 return SWIG_Python_InitShadowInstance(args);
15821}
db914595 15822
554f62e9
RD
15823SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15824 PyObject *resultobj = 0;
15825 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15826 wxString *arg2 = 0 ;
15827 int arg3 ;
15828 bool result;
15829 void *argp1 = 0 ;
15830 int res1 = 0 ;
15831 bool temp2 = false ;
15832 int val3 ;
15833 int ecode3 = 0 ;
15834
15835 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
15836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15837 if (!SWIG_IsOK(res1)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15839 }
15840 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15841 {
15842 arg2 = wxString_in_helper(swig_obj[1]);
15843 if (arg2 == NULL) SWIG_fail;
15844 temp2 = true;
15845 }
15846 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
15847 if (!SWIG_IsOK(ecode3)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15849 }
15850 arg3 = static_cast< int >(val3);
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 {
15858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15859 }
15860 {
15861 if (temp2)
15862 delete arg2;
15863 }
15864 return resultobj;
15865fail:
15866 {
15867 if (temp2)
15868 delete arg2;
15869 }
15870 return NULL;
b0f7404b
RD
15871}
15872
15873
554f62e9
RD
15874SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15875 PyObject *resultobj = 0;
15876 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15877 wxString *arg2 = 0 ;
15878 bool result;
15879 void *argp1 = 0 ;
15880 int res1 = 0 ;
15881 bool temp2 = false ;
15882
15883 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
15884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15885 if (!SWIG_IsOK(res1)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15887 }
15888 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15889 {
15890 arg2 = wxString_in_helper(swig_obj[1]);
15891 if (arg2 == NULL) SWIG_fail;
15892 temp2 = true;
15893 }
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
15897 wxPyEndAllowThreads(__tstate);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 {
15901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15902 }
15903 {
15904 if (temp2)
15905 delete arg2;
15906 }
15907 return resultobj;
15908fail:
15909 {
15910 if (temp2)
15911 delete arg2;
15912 }
15913 return NULL;
b0f7404b
RD
15914}
15915
15916
554f62e9
RD
15917SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
15918 int argc;
15919 PyObject *argv[4];
15920
15921 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
15922 --argc;
15923 if (argc == 2) {
15924 return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
15925 }
15926 if (argc == 3) {
15927 return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
15928 }
15929
15930fail:
15931 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15932 return NULL;
15933}
15934
15935
15936SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj = 0;
15938 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15939 wxString *arg2 = 0 ;
15940 long arg3 = (long) 0 ;
15941 void *argp1 = 0 ;
15942 int res1 = 0 ;
15943 bool temp2 = false ;
15944 long val3 ;
15945 int ecode3 = 0 ;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 PyObject * obj2 = 0 ;
15949 char * kwnames[] = {
15950 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15951 };
15952
15953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15955 if (!SWIG_IsOK(res1)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15957 }
15958 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15959 {
15960 arg2 = wxString_in_helper(obj1);
15961 if (arg2 == NULL) SWIG_fail;
15962 temp2 = true;
15963 }
15964 if (obj2) {
15965 ecode3 = SWIG_AsVal_long(obj2, &val3);
15966 if (!SWIG_IsOK(ecode3)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15968 }
15969 arg3 = static_cast< long >(val3);
15970 }
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 (arg1)->SetViewer((wxString const &)*arg2,arg3);
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 resultobj = SWIG_Py_Void();
15978 {
15979 if (temp2)
15980 delete arg2;
15981 }
15982 return resultobj;
15983fail:
15984 {
15985 if (temp2)
15986 delete arg2;
15987 }
15988 return NULL;
15989}
15990
15991
15992SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15993 PyObject *resultobj = 0;
15994 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15995 wxString const &arg2_defvalue = wxEmptyString ;
15996 wxString *arg2 = (wxString *) &arg2_defvalue ;
15997 bool result;
15998 void *argp1 = 0 ;
15999 int res1 = 0 ;
16000 bool temp2 = false ;
16001 PyObject * obj0 = 0 ;
16002 PyObject * obj1 = 0 ;
16003 char * kwnames[] = {
16004 (char *) "self",(char *) "file", NULL
16005 };
16006
16007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
16008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16009 if (!SWIG_IsOK(res1)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16011 }
16012 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16013 if (obj1) {
d14a1e28 16014 {
554f62e9
RD
16015 arg2 = wxString_in_helper(obj1);
16016 if (arg2 == NULL) SWIG_fail;
16017 temp2 = true;
d14a1e28 16018 }
554f62e9
RD
16019 }
16020 {
16021 PyThreadState* __tstate = wxPyBeginAllowThreads();
16022 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 {
16027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16028 }
16029 {
16030 if (temp2)
16031 delete arg2;
16032 }
16033 return resultobj;
16034fail:
16035 {
16036 if (temp2)
16037 delete arg2;
16038 }
16039 return NULL;
d14a1e28
RD
16040}
16041
16042
554f62e9
RD
16043SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16044 PyObject *resultobj = 0;
16045 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16046 bool result;
16047 void *argp1 = 0 ;
16048 int res1 = 0 ;
16049 PyObject *swig_obj[1] ;
16050
16051 if (!args) SWIG_fail;
16052 swig_obj[0] = args;
16053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16054 if (!SWIG_IsOK(res1)) {
16055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16056 }
16057 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16058 {
16059 PyThreadState* __tstate = wxPyBeginAllowThreads();
16060 result = (bool)(arg1)->DisplayContents();
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 {
16065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16066 }
16067 return resultobj;
16068fail:
16069 return NULL;
d14a1e28
RD
16070}
16071
16072
554f62e9
RD
16073SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16074 PyObject *resultobj = 0;
16075 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16076 int arg2 ;
16077 bool result;
16078 void *argp1 = 0 ;
16079 int res1 = 0 ;
16080 int val2 ;
16081 int ecode2 = 0 ;
16082
16083 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16085 if (!SWIG_IsOK(res1)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16087 }
16088 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16089 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16090 if (!SWIG_IsOK(ecode2)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16092 }
16093 arg2 = static_cast< int >(val2);
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (bool)(arg1)->DisplaySection(arg2);
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 {
16101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16102 }
16103 return resultobj;
16104fail:
16105 return NULL;
16106}
16107
16108
16109SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16110 PyObject *resultobj = 0;
16111 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16112 int arg2 ;
16113 bool result;
16114 void *argp1 = 0 ;
16115 int res1 = 0 ;
16116 int val2 ;
16117 int ecode2 = 0 ;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 char * kwnames[] = {
16121 (char *) "self",(char *) "contextId", NULL
16122 };
16123
16124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16126 if (!SWIG_IsOK(res1)) {
16127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16128 }
16129 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16130 ecode2 = SWIG_AsVal_int(obj1, &val2);
16131 if (!SWIG_IsOK(ecode2)) {
16132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16133 }
16134 arg2 = static_cast< int >(val2);
16135 {
16136 PyThreadState* __tstate = wxPyBeginAllowThreads();
16137 result = (bool)(arg1)->DisplayContextPopup(arg2);
16138 wxPyEndAllowThreads(__tstate);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
16141 {
16142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16143 }
16144 return resultobj;
16145fail:
16146 return NULL;
16147}
16148
16149
16150SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj = 0;
16152 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16153 wxString *arg2 = 0 ;
16154 wxPoint *arg3 = 0 ;
16155 bool result;
16156 void *argp1 = 0 ;
16157 int res1 = 0 ;
16158 bool temp2 = false ;
16159 wxPoint temp3 ;
16160 PyObject * obj0 = 0 ;
16161 PyObject * obj1 = 0 ;
16162 PyObject * obj2 = 0 ;
16163 char * kwnames[] = {
16164 (char *) "self",(char *) "text",(char *) "pos", NULL
16165 };
16166
16167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16169 if (!SWIG_IsOK(res1)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16171 }
16172 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16173 {
16174 arg2 = wxString_in_helper(obj1);
16175 if (arg2 == NULL) SWIG_fail;
16176 temp2 = true;
16177 }
16178 {
16179 arg3 = &temp3;
16180 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16181 }
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 {
16189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16190 }
16191 {
16192 if (temp2)
16193 delete arg2;
16194 }
16195 return resultobj;
16196fail:
16197 {
16198 if (temp2)
16199 delete arg2;
16200 }
16201 return NULL;
d14a1e28
RD
16202}
16203
16204
554f62e9
RD
16205SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16206 PyObject *resultobj = 0;
16207 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16208 wxString *arg2 = 0 ;
16209 bool result;
16210 void *argp1 = 0 ;
16211 int res1 = 0 ;
16212 bool temp2 = false ;
16213
16214 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16216 if (!SWIG_IsOK(res1)) {
16217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16218 }
16219 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16220 {
16221 arg2 = wxString_in_helper(swig_obj[1]);
16222 if (arg2 == NULL) SWIG_fail;
16223 temp2 = true;
16224 }
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 {
16232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16233 }
16234 {
16235 if (temp2)
16236 delete arg2;
16237 }
16238 return resultobj;
16239fail:
16240 {
16241 if (temp2)
16242 delete arg2;
16243 }
16244 return NULL;
d14a1e28
RD
16245}
16246
16247
554f62e9
RD
16248SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16249 int argc;
16250 PyObject *argv[3];
16251
16252 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16253 --argc;
16254 if (argc == 2) {
16255 int _v = 0;
f20a2e1f 16256 {
554f62e9
RD
16257 {
16258 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16259 }
f20a2e1f 16260 }
554f62e9
RD
16261 if (!_v) goto check_1;
16262 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16263 }
16264check_1:
16265
16266 if (argc == 2) {
16267 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16268 }
16269
16270fail:
16271 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16272 return NULL;
16273}
16274
16275
16276SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj = 0;
16278 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16279 long arg2 ;
16280 bool result;
16281 void *argp1 = 0 ;
16282 int res1 = 0 ;
16283 long val2 ;
16284 int ecode2 = 0 ;
16285 PyObject * obj0 = 0 ;
16286 PyObject * obj1 = 0 ;
16287 char * kwnames[] = {
16288 (char *) "self",(char *) "blockNo", NULL
16289 };
16290
16291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16293 if (!SWIG_IsOK(res1)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16295 }
16296 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16297 ecode2 = SWIG_AsVal_long(obj1, &val2);
16298 if (!SWIG_IsOK(ecode2)) {
16299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16300 }
16301 arg2 = static_cast< long >(val2);
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 result = (bool)(arg1)->DisplayBlock(arg2);
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 {
16309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16310 }
16311 return resultobj;
16312fail:
16313 return NULL;
16314}
16315
16316
16317SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj = 0;
16319 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16320 wxString *arg2 = 0 ;
16321 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16322 bool result;
16323 void *argp1 = 0 ;
16324 int res1 = 0 ;
16325 bool temp2 = false ;
16326 void *argp3 ;
16327 int res3 = 0 ;
16328 PyObject * obj0 = 0 ;
16329 PyObject * obj1 = 0 ;
16330 PyObject * obj2 = 0 ;
16331 char * kwnames[] = {
16332 (char *) "self",(char *) "k",(char *) "mode", NULL
16333 };
16334
16335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16337 if (!SWIG_IsOK(res1)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16339 }
16340 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16341 {
16342 arg2 = wxString_in_helper(obj1);
16343 if (arg2 == NULL) SWIG_fail;
16344 temp2 = true;
16345 }
16346 if (obj2) {
16347 {
16348 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16349 if (!SWIG_IsOK(res3)) {
16350 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16351 }
16352 if (!argp3) {
16353 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16354 } else {
16355 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16356 arg3 = *temp;
16357 if (SWIG_IsNewObj(res3)) delete temp;
16358 }
f20a2e1f 16359 }
554f62e9
RD
16360 }
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 {
16368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16369 }
16370 {
16371 if (temp2)
16372 delete arg2;
16373 }
16374 return resultobj;
16375fail:
16376 {
16377 if (temp2)
16378 delete arg2;
16379 }
16380 return NULL;
16381}
16382
16383
16384SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj = 0;
16386 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16387 wxString *arg2 = 0 ;
16388 wxSize *arg3 = 0 ;
16389 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16390 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16391 bool arg5 = (bool) false ;
16392 void *argp1 = 0 ;
16393 int res1 = 0 ;
16394 bool temp2 = false ;
16395 wxSize temp3 ;
16396 wxPoint temp4 ;
16397 bool val5 ;
16398 int ecode5 = 0 ;
16399 PyObject * obj0 = 0 ;
16400 PyObject * obj1 = 0 ;
16401 PyObject * obj2 = 0 ;
16402 PyObject * obj3 = 0 ;
16403 PyObject * obj4 = 0 ;
16404 char * kwnames[] = {
16405 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16406 };
16407
16408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16410 if (!SWIG_IsOK(res1)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16412 }
16413 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16414 {
16415 arg2 = wxString_in_helper(obj1);
16416 if (arg2 == NULL) SWIG_fail;
16417 temp2 = true;
16418 }
16419 {
16420 arg3 = &temp3;
16421 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16422 }
16423 if (obj3) {
d14a1e28 16424 {
554f62e9
RD
16425 arg4 = &temp4;
16426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 16427 }
554f62e9
RD
16428 }
16429 if (obj4) {
16430 ecode5 = SWIG_AsVal_bool(obj4, &val5);
16431 if (!SWIG_IsOK(ecode5)) {
16432 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16433 }
16434 arg5 = static_cast< bool >(val5);
16435 }
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 resultobj = SWIG_Py_Void();
16443 {
16444 if (temp2)
16445 delete arg2;
16446 }
16447 return resultobj;
16448fail:
16449 {
16450 if (temp2)
16451 delete arg2;
16452 }
16453 return NULL;
16454}
16455
16456
16457SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16458 PyObject *resultobj = 0;
16459 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16460 wxSize *arg2 = (wxSize *) NULL ;
16461 wxPoint *arg3 = (wxPoint *) NULL ;
16462 bool *arg4 = (bool *) NULL ;
16463 wxFrame *result = 0 ;
16464 void *argp1 = 0 ;
16465 int res1 = 0 ;
16466 void *argp2 = 0 ;
16467 int res2 = 0 ;
16468 void *argp3 = 0 ;
16469 int res3 = 0 ;
16470 void *argp4 = 0 ;
16471 int res4 = 0 ;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 PyObject * obj2 = 0 ;
16475 PyObject * obj3 = 0 ;
16476 char * kwnames[] = {
16477 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16478 };
16479
16480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16482 if (!SWIG_IsOK(res1)) {
16483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16484 }
16485 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16486 if (obj1) {
16487 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
16488 if (!SWIG_IsOK(res2)) {
16489 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
d14a1e28 16490 }
554f62e9
RD
16491 arg2 = reinterpret_cast< wxSize * >(argp2);
16492 }
16493 if (obj2) {
16494 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
16495 if (!SWIG_IsOK(res3)) {
16496 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
093d3ff1 16497 }
554f62e9
RD
16498 arg3 = reinterpret_cast< wxPoint * >(argp3);
16499 }
16500 if (obj3) {
16501 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
16502 if (!SWIG_IsOK(res4)) {
16503 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
d14a1e28 16504 }
554f62e9
RD
16505 arg4 = reinterpret_cast< bool * >(argp4);
16506 }
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 {
16514 resultobj = wxPyMake_wxObject(result, 0);
16515 }
16516 return resultobj;
16517fail:
16518 return NULL;
d14a1e28
RD
16519}
16520
16521
554f62e9
RD
16522SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16523 PyObject *resultobj = 0;
16524 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16525 bool result;
16526 void *argp1 = 0 ;
16527 int res1 = 0 ;
16528 PyObject *swig_obj[1] ;
16529
16530 if (!args) SWIG_fail;
16531 swig_obj[0] = args;
16532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16533 if (!SWIG_IsOK(res1)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16535 }
16536 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (bool)(arg1)->Quit();
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16545 }
16546 return resultobj;
16547fail:
16548 return NULL;
d14a1e28
RD
16549}
16550
16551
554f62e9
RD
16552SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16553 PyObject *resultobj = 0;
16554 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16555 void *argp1 = 0 ;
16556 int res1 = 0 ;
16557 PyObject *swig_obj[1] ;
16558
16559 if (!args) SWIG_fail;
16560 swig_obj[0] = args;
16561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16562 if (!SWIG_IsOK(res1)) {
16563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16564 }
16565 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 (arg1)->OnQuit();
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 resultobj = SWIG_Py_Void();
16573 return resultobj;
16574fail:
16575 return NULL;
16576}
16577
16578
16579SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj = 0;
16581 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16582 wxWindow *arg2 = (wxWindow *) 0 ;
16583 void *argp1 = 0 ;
16584 int res1 = 0 ;
16585 void *argp2 = 0 ;
16586 int res2 = 0 ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 char * kwnames[] = {
16590 (char *) "self",(char *) "win", NULL
16591 };
16592
16593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16595 if (!SWIG_IsOK(res1)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16597 }
16598 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16599 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16600 if (!SWIG_IsOK(res2)) {
16601 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16602 }
16603 arg2 = reinterpret_cast< wxWindow * >(argp2);
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 (arg1)->SetParentWindow(arg2);
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = SWIG_Py_Void();
16611 return resultobj;
16612fail:
16613 return NULL;
d14a1e28
RD
16614}
16615
16616
554f62e9
RD
16617SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16618 PyObject *resultobj = 0;
16619 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16620 wxWindow *result = 0 ;
16621 void *argp1 = 0 ;
16622 int res1 = 0 ;
16623 PyObject *swig_obj[1] ;
16624
16625 if (!args) SWIG_fail;
16626 swig_obj[0] = args;
16627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16628 if (!SWIG_IsOK(res1)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16630 }
16631 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 {
16639 resultobj = wxPyMake_wxObject(result, 0);
16640 }
16641 return resultobj;
16642fail:
16643 return NULL;
16644}
16645
16646
16647SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16648 PyObject *obj;
16649 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16650 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16651 return SWIG_Py_Void();
16652}
16653
16654SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16655 PyObject *resultobj = 0;
16656 int arg1 = (int) wxHF_DEFAULT_STYLE ;
16657 wxWindow *arg2 = (wxWindow *) NULL ;
16658 wxHtmlHelpController *result = 0 ;
16659 int val1 ;
16660 int ecode1 = 0 ;
16661 void *argp2 = 0 ;
16662 int res2 = 0 ;
16663 PyObject * obj0 = 0 ;
16664 PyObject * obj1 = 0 ;
16665 char * kwnames[] = {
16666 (char *) "style",(char *) "parentWindow", NULL
16667 };
16668
16669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16670 if (obj0) {
16671 ecode1 = SWIG_AsVal_int(obj0, &val1);
16672 if (!SWIG_IsOK(ecode1)) {
16673 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16674 }
16675 arg1 = static_cast< int >(val1);
16676 }
16677 if (obj1) {
16678 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16679 if (!SWIG_IsOK(res2)) {
16680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 16681 }
554f62e9
RD
16682 arg2 = reinterpret_cast< wxWindow * >(argp2);
16683 }
16684 {
16685 if (!wxPyCheckForApp()) SWIG_fail;
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16692 return resultobj;
16693fail:
16694 return NULL;
d14a1e28
RD
16695}
16696
16697
554f62e9
RD
16698SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16699 PyObject *resultobj = 0;
16700 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16701 void *argp1 = 0 ;
16702 int res1 = 0 ;
16703 PyObject *swig_obj[1] ;
16704
16705 if (!args) SWIG_fail;
16706 swig_obj[0] = args;
16707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16708 if (!SWIG_IsOK(res1)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16710 }
16711 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 delete arg1;
30ee79f7 16715
554f62e9
RD
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 resultobj = SWIG_Py_Void();
16720 return resultobj;
16721fail:
16722 return NULL;
30ee79f7
RD
16723}
16724
16725
554f62e9
RD
16726SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16727 PyObject *resultobj = 0;
16728 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16729 wxHtmlHelpWindow *result = 0 ;
16730 void *argp1 = 0 ;
16731 int res1 = 0 ;
16732 PyObject *swig_obj[1] ;
16733
16734 if (!args) SWIG_fail;
16735 swig_obj[0] = args;
16736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16737 if (!SWIG_IsOK(res1)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16739 }
16740 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16741 {
16742 PyThreadState* __tstate = wxPyBeginAllowThreads();
16743 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 {
16748 resultobj = wxPyMake_wxObject(result, 0);
16749 }
16750 return resultobj;
16751fail:
16752 return NULL;
16753}
16754
16755
16756SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj = 0;
16758 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16759 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
16760 void *argp1 = 0 ;
16761 int res1 = 0 ;
16762 void *argp2 = 0 ;
16763 int res2 = 0 ;
16764 PyObject * obj0 = 0 ;
16765 PyObject * obj1 = 0 ;
16766 char * kwnames[] = {
16767 (char *) "self",(char *) "helpWindow", NULL
16768 };
16769
16770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16772 if (!SWIG_IsOK(res1)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16774 }
16775 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16776 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
16777 if (!SWIG_IsOK(res2)) {
16778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16779 }
16780 arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 (arg1)->SetHelpWindow(arg2);
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 resultobj = SWIG_Py_Void();
16788 return resultobj;
16789fail:
16790 return NULL;
d14a1e28
RD
16791}
16792
16793
554f62e9
RD
16794SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16795 PyObject *resultobj = 0;
16796 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16797 wxHtmlHelpFrame *result = 0 ;
16798 void *argp1 = 0 ;
16799 int res1 = 0 ;
16800 PyObject *swig_obj[1] ;
16801
16802 if (!args) SWIG_fail;
16803 swig_obj[0] = args;
16804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16805 if (!SWIG_IsOK(res1)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16807 }
16808 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
16811 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 {
16816 resultobj = wxPyMake_wxObject(result, 0);
16817 }
16818 return resultobj;
16819fail:
16820 return NULL;
d14a1e28
RD
16821}
16822
16823
554f62e9
RD
16824SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16825 PyObject *resultobj = 0;
16826 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16827 wxHtmlHelpDialog *result = 0 ;
16828 void *argp1 = 0 ;
16829 int res1 = 0 ;
16830 PyObject *swig_obj[1] ;
16831
16832 if (!args) SWIG_fail;
16833 swig_obj[0] = args;
16834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16835 if (!SWIG_IsOK(res1)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16837 }
16838 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 {
16846 resultobj = wxPyMake_wxObject(result, 0);
16847 }
16848 return resultobj;
16849fail:
16850 return NULL;
16851}
16852
16853
16854SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj = 0;
16856 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16857 wxString *arg2 = 0 ;
16858 void *argp1 = 0 ;
16859 int res1 = 0 ;
16860 bool temp2 = false ;
16861 PyObject * obj0 = 0 ;
16862 PyObject * obj1 = 0 ;
16863 char * kwnames[] = {
16864 (char *) "self",(char *) "format", NULL
16865 };
16866
16867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
16868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16869 if (!SWIG_IsOK(res1)) {
16870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16871 }
16872 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16873 {
16874 arg2 = wxString_in_helper(obj1);
16875 if (arg2 == NULL) SWIG_fail;
16876 temp2 = true;
16877 }
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 (arg1)->SetTitleFormat((wxString const &)*arg2);
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 resultobj = SWIG_Py_Void();
16885 {
16886 if (temp2)
16887 delete arg2;
16888 }
16889 return resultobj;
16890fail:
16891 {
16892 if (temp2)
16893 delete arg2;
16894 }
16895 return NULL;
d14a1e28
RD
16896}
16897
16898
554f62e9
RD
16899SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16900 PyObject *resultobj = 0;
16901 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16902 wxString *arg2 = 0 ;
16903 void *argp1 = 0 ;
16904 int res1 = 0 ;
16905 bool temp2 = false ;
16906 PyObject * obj0 = 0 ;
16907 PyObject * obj1 = 0 ;
16908 char * kwnames[] = {
16909 (char *) "self",(char *) "path", NULL
16910 };
16911
16912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
16913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16914 if (!SWIG_IsOK(res1)) {
16915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16916 }
16917 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16918 {
16919 arg2 = wxString_in_helper(obj1);
16920 if (arg2 == NULL) SWIG_fail;
16921 temp2 = true;
16922 }
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 (arg1)->SetTempDir((wxString const &)*arg2);
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 resultobj = SWIG_Py_Void();
16930 {
16931 if (temp2)
16932 delete arg2;
16933 }
16934 return resultobj;
16935fail:
16936 {
16937 if (temp2)
16938 delete arg2;
16939 }
16940 return NULL;
16941}
16942
16943
16944SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj = 0;
16946 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16947 wxString *arg2 = 0 ;
16948 int arg3 = (int) false ;
16949 bool result;
16950 void *argp1 = 0 ;
16951 int res1 = 0 ;
16952 bool temp2 = false ;
16953 int val3 ;
16954 int ecode3 = 0 ;
16955 PyObject * obj0 = 0 ;
16956 PyObject * obj1 = 0 ;
16957 PyObject * obj2 = 0 ;
16958 char * kwnames[] = {
16959 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16960 };
16961
16962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16964 if (!SWIG_IsOK(res1)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16966 }
16967 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16968 {
16969 arg2 = wxString_in_helper(obj1);
16970 if (arg2 == NULL) SWIG_fail;
16971 temp2 = true;
16972 }
16973 if (obj2) {
16974 ecode3 = SWIG_AsVal_int(obj2, &val3);
16975 if (!SWIG_IsOK(ecode3)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16977 }
16978 arg3 = static_cast< int >(val3);
16979 }
16980 {
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
16987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16988 }
16989 {
16990 if (temp2)
16991 delete arg2;
16992 }
16993 return resultobj;
16994fail:
16995 {
16996 if (temp2)
16997 delete arg2;
16998 }
16999 return NULL;
d14a1e28
RD
17000}
17001
17002
554f62e9
RD
17003SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17004 PyObject *resultobj = 0;
17005 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17006 wxString *arg2 = 0 ;
17007 void *argp1 = 0 ;
17008 int res1 = 0 ;
17009 bool temp2 = false ;
17010 PyObject * obj0 = 0 ;
17011 PyObject * obj1 = 0 ;
17012 char * kwnames[] = {
17013 (char *) "self",(char *) "x", NULL
17014 };
17015
17016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17018 if (!SWIG_IsOK(res1)) {
17019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17020 }
17021 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17022 {
17023 arg2 = wxString_in_helper(obj1);
17024 if (arg2 == NULL) SWIG_fail;
17025 temp2 = true;
17026 }
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 (arg1)->Display((wxString const &)*arg2);
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 resultobj = SWIG_Py_Void();
17034 {
17035 if (temp2)
17036 delete arg2;
17037 }
17038 return resultobj;
17039fail:
17040 {
17041 if (temp2)
17042 delete arg2;
17043 }
17044 return NULL;
17045}
17046
17047
17048SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj = 0;
17050 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17051 int arg2 ;
17052 void *argp1 = 0 ;
17053 int res1 = 0 ;
17054 int val2 ;
17055 int ecode2 = 0 ;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 char * kwnames[] = {
17059 (char *) "self",(char *) "id", NULL
17060 };
17061
17062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17064 if (!SWIG_IsOK(res1)) {
17065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17066 }
17067 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17068 ecode2 = SWIG_AsVal_int(obj1, &val2);
17069 if (!SWIG_IsOK(ecode2)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17071 }
17072 arg2 = static_cast< int >(val2);
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 (arg1)->Display(arg2);
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 resultobj = SWIG_Py_Void();
17080 return resultobj;
17081fail:
17082 return NULL;
d14a1e28
RD
17083}
17084
17085
554f62e9
RD
17086SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17087 PyObject *resultobj = 0;
17088 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17089 void *argp1 = 0 ;
17090 int res1 = 0 ;
17091 PyObject *swig_obj[1] ;
17092
17093 if (!args) SWIG_fail;
17094 swig_obj[0] = args;
17095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17096 if (!SWIG_IsOK(res1)) {
17097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17098 }
17099 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 (arg1)->DisplayContents();
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 resultobj = SWIG_Py_Void();
17107 return resultobj;
17108fail:
17109 return NULL;
d14a1e28
RD
17110}
17111
17112
554f62e9
RD
17113SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17114 PyObject *resultobj = 0;
17115 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17116 void *argp1 = 0 ;
17117 int res1 = 0 ;
17118 PyObject *swig_obj[1] ;
17119
17120 if (!args) SWIG_fail;
17121 swig_obj[0] = args;
17122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17123 if (!SWIG_IsOK(res1)) {
17124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17125 }
17126 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17127 {
17128 PyThreadState* __tstate = wxPyBeginAllowThreads();
17129 (arg1)->DisplayIndex();
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
17133 resultobj = SWIG_Py_Void();
17134 return resultobj;
17135fail:
17136 return NULL;
17137}
17138
17139
17140SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj = 0;
17142 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17143 wxString *arg2 = 0 ;
17144 bool result;
17145 void *argp1 = 0 ;
17146 int res1 = 0 ;
17147 bool temp2 = false ;
17148 PyObject * obj0 = 0 ;
17149 PyObject * obj1 = 0 ;
17150 char * kwnames[] = {
17151 (char *) "self",(char *) "keyword", NULL
17152 };
17153
17154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17156 if (!SWIG_IsOK(res1)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17158 }
17159 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17160 {
17161 arg2 = wxString_in_helper(obj1);
17162 if (arg2 == NULL) SWIG_fail;
17163 temp2 = true;
17164 }
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 {
17172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17173 }
17174 {
17175 if (temp2)
17176 delete arg2;
17177 }
17178 return resultobj;
17179fail:
17180 {
17181 if (temp2)
17182 delete arg2;
17183 }
17184 return NULL;
17185}
17186
17187
17188SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj = 0;
17190 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17191 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17192 wxString const &arg3_defvalue = wxPyEmptyString ;
17193 wxString *arg3 = (wxString *) &arg3_defvalue ;
17194 void *argp1 = 0 ;
17195 int res1 = 0 ;
17196 void *argp2 = 0 ;
17197 int res2 = 0 ;
17198 bool temp3 = false ;
17199 PyObject * obj0 = 0 ;
17200 PyObject * obj1 = 0 ;
17201 PyObject * obj2 = 0 ;
17202 char * kwnames[] = {
17203 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17204 };
17205
17206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17208 if (!SWIG_IsOK(res1)) {
17209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17210 }
17211 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17213 if (!SWIG_IsOK(res2)) {
17214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17215 }
17216 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17217 if (obj2) {
ae8162c8 17218 {
554f62e9
RD
17219 arg3 = wxString_in_helper(obj2);
17220 if (arg3 == NULL) SWIG_fail;
17221 temp3 = true;
ae8162c8 17222 }
554f62e9
RD
17223 }
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 resultobj = SWIG_Py_Void();
17231 {
17232 if (temp3)
17233 delete arg3;
17234 }
17235 return resultobj;
17236fail:
17237 {
17238 if (temp3)
17239 delete arg3;
17240 }
17241 return NULL;
17242}
17243
17244
17245SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj = 0;
17247 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17248 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17249 wxString arg3 = (wxString) wxPyEmptyString ;
17250 void *argp1 = 0 ;
17251 int res1 = 0 ;
17252 void *argp2 = 0 ;
17253 int res2 = 0 ;
17254 PyObject * obj0 = 0 ;
17255 PyObject * obj1 = 0 ;
17256 PyObject * obj2 = 0 ;
17257 char * kwnames[] = {
17258 (char *) "self",(char *) "cfg",(char *) "path", NULL
17259 };
17260
17261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17263 if (!SWIG_IsOK(res1)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17265 }
17266 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17267 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17268 if (!SWIG_IsOK(res2)) {
17269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17270 }
17271 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17272 if (obj2) {
ae8162c8 17273 {
554f62e9
RD
17274 wxString* sptr = wxString_in_helper(obj2);
17275 if (sptr == NULL) SWIG_fail;
17276 arg3 = *sptr;
17277 delete sptr;
8edf1c75 17278 }
554f62e9
RD
17279 }
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 (arg1)->ReadCustomization(arg2,arg3);
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 resultobj = SWIG_Py_Void();
17287 return resultobj;
17288fail:
17289 return NULL;
17290}
17291
17292
17293SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj = 0;
17295 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17296 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17297 wxString arg3 = (wxString) wxPyEmptyString ;
17298 void *argp1 = 0 ;
17299 int res1 = 0 ;
17300 void *argp2 = 0 ;
17301 int res2 = 0 ;
17302 PyObject * obj0 = 0 ;
17303 PyObject * obj1 = 0 ;
17304 PyObject * obj2 = 0 ;
17305 char * kwnames[] = {
17306 (char *) "self",(char *) "cfg",(char *) "path", NULL
17307 };
17308
17309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17311 if (!SWIG_IsOK(res1)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17313 }
17314 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17315 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17316 if (!SWIG_IsOK(res2)) {
17317 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17318 }
17319 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17320 if (obj2) {
d14a1e28 17321 {
554f62e9
RD
17322 wxString* sptr = wxString_in_helper(obj2);
17323 if (sptr == NULL) SWIG_fail;
17324 arg3 = *sptr;
17325 delete sptr;
d14a1e28 17326 }
554f62e9
RD
17327 }
17328 {
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 (arg1)->WriteCustomization(arg2,arg3);
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 resultobj = SWIG_Py_Void();
17335 return resultobj;
17336fail:
17337 return NULL;
d14a1e28
RD
17338}
17339
17340
554f62e9
RD
17341SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17342 PyObject *resultobj = 0;
17343 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17344 void *argp1 = 0 ;
17345 int res1 = 0 ;
17346 PyObject *swig_obj[1] ;
17347
17348 if (!args) SWIG_fail;
17349 swig_obj[0] = args;
17350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17351 if (!SWIG_IsOK(res1)) {
17352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17353 }
17354 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->MakeModalIfNeeded();
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 resultobj = SWIG_Py_Void();
17362 return resultobj;
17363fail:
17364 return NULL;
d14a1e28
RD
17365}
17366
17367
554f62e9
RD
17368SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17369 PyObject *resultobj = 0;
17370 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17371 wxWindow *result = 0 ;
17372 void *argp1 = 0 ;
17373 int res1 = 0 ;
17374 PyObject *swig_obj[1] ;
17375
17376 if (!args) SWIG_fail;
17377 swig_obj[0] = args;
17378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17379 if (!SWIG_IsOK(res1)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17381 }
17382 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (wxWindow *)(arg1)->FindTopLevelWindow();
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 {
17390 resultobj = wxPyMake_wxObject(result, 0);
17391 }
17392 return resultobj;
17393fail:
17394 return NULL;
17395}
17396
17397
17398SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17399 PyObject *obj;
17400 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17401 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17402 return SWIG_Py_Void();
17403}
17404
17405SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17406 return SWIG_Python_InitShadowInstance(args);
17407}
17408
17409SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj = 0;
17411 wxWindow *arg1 = (wxWindow *) 0 ;
17412 wxString *arg2 = 0 ;
17413 wxString const &arg3_defvalue = wxEmptyString ;
17414 wxString *arg3 = (wxString *) &arg3_defvalue ;
17415 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17416 wxHtmlModalHelp *result = 0 ;
17417 void *argp1 = 0 ;
17418 int res1 = 0 ;
17419 bool temp2 = false ;
17420 bool temp3 = false ;
17421 int val4 ;
17422 int ecode4 = 0 ;
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 PyObject * obj2 = 0 ;
17426 PyObject * obj3 = 0 ;
17427 char * kwnames[] = {
17428 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17429 };
17430
17431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17433 if (!SWIG_IsOK(res1)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17435 }
17436 arg1 = reinterpret_cast< wxWindow * >(argp1);
17437 {
17438 arg2 = wxString_in_helper(obj1);
17439 if (arg2 == NULL) SWIG_fail;
17440 temp2 = true;
17441 }
17442 if (obj2) {
d14a1e28 17443 {
554f62e9
RD
17444 arg3 = wxString_in_helper(obj2);
17445 if (arg3 == NULL) SWIG_fail;
17446 temp3 = true;
d14a1e28 17447 }
554f62e9
RD
17448 }
17449 if (obj3) {
17450 ecode4 = SWIG_AsVal_int(obj3, &val4);
17451 if (!SWIG_IsOK(ecode4)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17453 }
17454 arg4 = static_cast< int >(val4);
17455 }
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17463 {
17464 if (temp2)
17465 delete arg2;
17466 }
17467 {
17468 if (temp3)
17469 delete arg3;
17470 }
17471 return resultobj;
17472fail:
17473 {
17474 if (temp2)
17475 delete arg2;
17476 }
17477 {
17478 if (temp3)
17479 delete arg3;
17480 }
17481 return NULL;
d14a1e28
RD
17482}
17483
17484
554f62e9
RD
17485SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17486 PyObject *obj;
17487 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17488 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17489 return SWIG_Py_Void();
d14a1e28
RD
17490}
17491
554f62e9
RD
17492SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17493 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
17494}
17495
d14a1e28 17496static PyMethodDef SwigMethods[] = {
093d3ff1 17497 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17498 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17499 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17500 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17501 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
093d3ff1
RD
17502 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17503 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17504 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17505 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17506 { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
093d3ff1
RD
17507 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17508 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17509 { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17510 { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17511 { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17512 { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17513 { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
093d3ff1
RD
17514 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17515 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17516 { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
093d3ff1
RD
17517 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17518 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17519 { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
093d3ff1 17520 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17521 { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
093d3ff1 17522 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17523 { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
093d3ff1 17524 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17525 { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
e9d6f3a4 17526 { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
17527 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17528 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17529 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17530 { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17531 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17532 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
17533 { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
e9d6f3a4 17534 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
093d3ff1
RD
17535 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17536 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17537 { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17538 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
093d3ff1 17539 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17540 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17541 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
093d3ff1 17542 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17543 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
093d3ff1 17544 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17545 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
093d3ff1 17546 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17547 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
093d3ff1 17548 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17549 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
093d3ff1 17550 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17551 { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
093d3ff1 17552 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17553 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
093d3ff1 17554 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17555 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
093d3ff1
RD
17556 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17557 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17558 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17559 { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
093d3ff1 17560 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17561 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17562 { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
093d3ff1
RD
17563 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17564 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17565 { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
093d3ff1
RD
17566 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17567 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17568 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17569 { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
093d3ff1
RD
17570 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17571 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17572 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
093d3ff1
RD
17573 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17574 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
554f62e9 17575 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
093d3ff1 17576 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17577 { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17578 { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
093d3ff1
RD
17579 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17580 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17581 { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17582 { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17583 { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17584 { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17585 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17586 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
093d3ff1
RD
17587 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17588 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17589 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17590 { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
093d3ff1 17591 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17592 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17593 { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17594 { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
093d3ff1 17595 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17596 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
093d3ff1 17597 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17598 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
093d3ff1 17599 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17600 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
093d3ff1 17601 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
554f62e9 17602 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17603 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17604 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17605 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
093d3ff1 17606 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17607 { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17608 { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
093d3ff1 17609 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17610 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
093d3ff1 17611 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17612 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17613 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
093d3ff1 17614 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17615 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17616 { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17617 { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17618 { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17619 { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17620 { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17621 { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17622 { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17623 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17624 { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
093d3ff1
RD
17625 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17626 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17627 { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17628 { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17629 { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
e9d6f3a4 17630 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17631 { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
17632 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
093d3ff1
RD
17633 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17634 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17635 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17636 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17637 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17638 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17639 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17640 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17641 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17642 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17643 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17644 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
093d3ff1 17645 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4
RD
17646 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17647 { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
554f62e9
RD
17648 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17649 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17650 { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
093d3ff1
RD
17651 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17652 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17653 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
554f62e9 17654 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
093d3ff1 17655 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 17656 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17657 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
b1fcee84 17658 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17659 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
554f62e9 17660 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17661 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17662 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17663 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17664 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
093d3ff1 17665 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17666 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
093d3ff1
RD
17667 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17668 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17669 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17670 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17671 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17672 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17673 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17674 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17675 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
093d3ff1 17676 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17677 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
093d3ff1 17678 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
554f62e9 17679 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17680 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17681 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
554f62e9 17682 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17683 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17684 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
554f62e9 17685 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17686 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17687 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17688 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17689 { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
093d3ff1
RD
17690 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17691 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
554f62e9 17692 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
e9d6f3a4
RD
17693 { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17694 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17695 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17697 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17698 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17699 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17700 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17701 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
093d3ff1 17702 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17703 { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
093d3ff1
RD
17704 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17705 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17706 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17707 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17708 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17709 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17710 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17711 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17712 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
093d3ff1 17713 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17714 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
093d3ff1
RD
17715 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
17716 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17717 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17718 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 17719 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
17720 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17721 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17722 { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
17723 { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
17724 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
17725 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
17726 { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
17727 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
17728 { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
093d3ff1
RD
17729 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17730 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17731 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17732 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
17733 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17734 { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
17735 { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
17736 { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
b06b3e70
RD
17737 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17738 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17739 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
17740 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17741 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17742 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17743 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17744 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17745 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
17746 { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
17747 { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
093d3ff1
RD
17748 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17749 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17750 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17751 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17752 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17753 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17754 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
093d3ff1 17755 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
554f62e9 17756 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17757 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
17758 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17759 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
17760 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17761 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17762 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17763 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17764 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17765 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17766 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
093d3ff1 17767 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
554f62e9 17768 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
093d3ff1 17769 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17770 { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
093d3ff1
RD
17771 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
17772 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
17773 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
17774 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17775 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
093d3ff1
RD
17776 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17777 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17778 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17779 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17780 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
17781 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
093d3ff1 17782 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
554f62e9 17783 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
093d3ff1 17784 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17785 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
17786 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
17787 { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
17788 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
093d3ff1 17789 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17790 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
17791 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
093d3ff1
RD
17792 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17793 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
17794 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17795 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
17796 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17797 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
17798 { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
17799 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
17800 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
17801 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
17802 { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
093d3ff1 17803 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17804 { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
17805 { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
093d3ff1
RD
17806 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17807 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17808 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
17809 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17810 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
093d3ff1 17811 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
554f62e9 17812 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
7449af73
RD
17813 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17814 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17815 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17816 { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
17817 { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
7449af73
RD
17818 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17819 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17820 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17821 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
17822 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
7449af73
RD
17823 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17824 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17825 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17826 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17827 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
17828 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
17829 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
17830 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
17831 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
17832 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
17833 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
7449af73 17834 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
554f62e9 17835 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
7449af73
RD
17836 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17837 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17838 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL},
7449af73 17839 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
554f62e9 17840 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 17841 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
7449af73
RD
17842 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17843 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17844 { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
093d3ff1 17845 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17846 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
17847 { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
7449af73 17848 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17849 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
093d3ff1 17850 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
554f62e9 17851 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
7449af73
RD
17852 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17853 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17854 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17855 { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
17856 { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
7449af73 17857 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17858 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
7449af73
RD
17859 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17860 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
554f62e9 17861 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
7449af73
RD
17862 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
17863 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
17864 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17865 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
7449af73
RD
17866 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17867 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17868 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
17869 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
17870 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17871 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17872 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17873 { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
17874 { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
7449af73 17875 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17876 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
7449af73 17877 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
093d3ff1 17878 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17879 { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
17880 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
7449af73 17881 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17882 { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
17883 { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
093d3ff1
RD
17884 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17885 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17886 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17887 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17888 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17889 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
17890 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
093d3ff1
RD
17891 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17892 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17893 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17894 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17895 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
17896 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
093d3ff1 17897 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
554f62e9 17898 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
7449af73
RD
17899 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
17900 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
554f62e9 17901 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
c32bde28 17902 { NULL, NULL, 0, NULL }
d14a1e28
RD
17903};
17904
17905
17906/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17907
17908static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
17909 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
17910}
7449af73
RD
17911static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17912 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 17913}
7449af73
RD
17914static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17915 return (void *)((wxEvent *) ((wxMenuEvent *) x));
d14a1e28 17916}
7449af73
RD
17917static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17918 return (void *)((wxEvent *) ((wxCloseEvent *) x));
a2482628 17919}
7449af73
RD
17920static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17921 return (void *)((wxEvent *) ((wxMouseEvent *) x));
d14a1e28 17922}
7449af73
RD
17923static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17924 return (void *)((wxEvent *) ((wxEraseEvent *) x));
d14a1e28 17925}
7449af73
RD
17926static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17927 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 17928}
7449af73
RD
17929static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
17930 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 17931}
7449af73
RD
17932static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17933 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 17934}
7449af73
RD
17935static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17936 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
d14a1e28 17937}
7449af73
RD
17938static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
17939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
17940}
7449af73
RD
17941static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17943}
2131d850
RD
17944static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17945 return (void *)((wxEvent *) ((wxPyEvent *) x));
17946}
7449af73
RD
17947static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
17948 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
17949}
17950static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17951 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17952}
17953static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17955}
17956static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17957 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17958}
17959static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17960 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17961}
17962static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17963 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17964}
17965static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17966 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17967}
17968static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17969 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17970}
17971static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17972 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17973}
17974static void *_p_wxDateEventTo_p_wxEvent(void *x) {
17975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
17976}
2131d850
RD
17977static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
17978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
17979}
7449af73
RD
17980static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17981 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17982}
17983static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17984 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17985}
17986static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17988}
17989static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17990 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17991}
17992static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17993 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17994}
17995static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
17996 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17997}
17998static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
17999 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18000}
18001static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18002 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18003}
18004static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18005 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18006}
18007static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18008 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18009}
18010static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18011 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18012}
18013static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18014 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18015}
18016static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18017 return (void *)((wxEvent *) ((wxShowEvent *) x));
18018}
18019static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
18020 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18021}
18022static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18023 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18024}
18025static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18026 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18027}
18028static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18029 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18030}
18031static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18032 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18033}
18034static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18035 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18036}
18037static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18038 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18039}
18040static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18041 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18042}
18043static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18044 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18045}
18046static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18047 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18048}
18049static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18050 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18051}
18052static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18053 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18054}
18055static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18056 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18057}
18058static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
18059 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18060}
18061static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
18062 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
18063}
18064static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18065 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18066}
18067static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18068 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18069}
18070static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18071 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18072}
18073static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18075}
18076static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18077 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18078}
18079static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18080 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18081}
18082static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18083 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18084}
18085static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18086 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18087}
18088static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18089 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18090}
18091static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18093}
18094static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18096}
18097static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18099}
27e45892
RD
18100static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
18101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18102}
7449af73
RD
18103static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18105}
18106static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18108}
18109static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18111}
18112static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18114}
18115static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18117}
18118static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18119 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18120}
18121static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18122 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18123}
18124static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18126}
18127static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18128 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18129}
18130static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18131 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 18132}
7449af73
RD
18133static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18134 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
a2482628 18135}
7449af73
RD
18136static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18137 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 18138}
7449af73
RD
18139static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18140 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 18141}
7449af73
RD
18142static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18143 return (void *)((wxEvtHandler *) ((wxWindow *) x));
d14a1e28 18144}
7449af73
RD
18145static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18146 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 18147}
7449af73
RD
18148static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 18150}
7449af73
RD
18151static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 18153}
7449af73
RD
18154static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18156}
7449af73
RD
18157static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18158 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18159}
7449af73
RD
18160static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18161 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 18162}
7449af73
RD
18163static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18164 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
c1cb24a4 18165}
7449af73
RD
18166static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18168}
7449af73
RD
18169static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18170 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18171}
7449af73
RD
18172static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18173 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18174}
7449af73
RD
18175static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18176 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 18177}
7449af73
RD
18178static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 18180}
7449af73
RD
18181static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18182 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
d14a1e28 18183}
7449af73
RD
18184static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18185 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18186}
7449af73
RD
18187static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18188 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 18189}
7449af73
RD
18190static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 18192}
7449af73
RD
18193static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18194 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 18195}
7449af73
RD
18196static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18197 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 18198}
7449af73
RD
18199static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18200 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 18201}
7449af73
RD
18202static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18204}
7449af73
RD
18205static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18207}
7449af73
RD
18208static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18209 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 18210}
7449af73
RD
18211static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18212 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 18213}
7449af73
RD
18214static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18215 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
c1cb24a4 18216}
7449af73
RD
18217static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18218 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
a2482628 18219}
7449af73
RD
18220static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18221 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18222}
7449af73
RD
18223static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18224 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18225}
7449af73
RD
18226static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18227 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 18228}
7449af73
RD
18229static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18230 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18231}
7449af73
RD
18232static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
18233 return (void *)((wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18234}
7449af73
RD
18235static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18236 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18237}
7449af73
RD
18238static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18239 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18240}
7449af73
RD
18241static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18242 return (void *)((wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18243}
7449af73
RD
18244static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18245 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18246}
7449af73
RD
18247static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18248 return (void *)((wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18249}
7449af73
RD
18250static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18251 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18252}
7449af73
RD
18253static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18254 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 18255}
7449af73
RD
18256static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
d14a1e28 18258}
7449af73
RD
18259static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18261}
7449af73
RD
18262static void *_p_wxEventTo_p_wxObject(void *x) {
18263 return (void *)((wxObject *) ((wxEvent *) x));
d14a1e28 18264}
7449af73
RD
18265static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 18267}
7449af73
RD
18268static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18269 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 18270}
7449af73
RD
18271static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18272 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
c1cb24a4 18273}
7449af73
RD
18274static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18275 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 18276}
7449af73
RD
18277static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18279}
7449af73
RD
18280static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18282}
7449af73
RD
18283static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18284 return (void *)((wxObject *) ((wxHtmlTag *) x));
d14a1e28 18285}
7449af73
RD
18286static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18287 return (void *)((wxObject *) ((wxMenuItem *) x));
c1cb24a4 18288}
7449af73
RD
18289static void *_p_wxImageTo_p_wxObject(void *x) {
18290 return (void *)((wxObject *) ((wxImage *) x));
d14a1e28 18291}
7449af73
RD
18292static void *_p_wxPySizerTo_p_wxObject(void *x) {
18293 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
d14a1e28 18294}
7449af73
RD
18295static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18296 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
2f91e3df 18297}
7449af73
RD
18298static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18299 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
2f91e3df 18300}
7449af73
RD
18301static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18302 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
2f91e3df 18303}
7449af73
RD
18304static void *_p_wxPyAppTo_p_wxObject(void *x) {
18305 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
2f91e3df 18306}
7449af73
RD
18307static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
2f91e3df 18309}
7449af73
RD
18310static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
2f91e3df 18312}
7449af73
RD
18313static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18314 return (void *)((wxObject *) ((wxFindReplaceData *) x));
2f91e3df 18315}
7449af73
RD
18316static void *_p_wxValidatorTo_p_wxObject(void *x) {
18317 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
2f91e3df 18318}
7449af73
RD
18319static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18320 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
2f91e3df 18321}
7449af73
RD
18322static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18323 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
2f91e3df 18324}
7449af73
RD
18325static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18326 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
2f91e3df 18327}
7449af73
RD
18328static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18329 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
2f91e3df 18330}
7449af73
RD
18331static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18332 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
2f91e3df 18333}
7449af73
RD
18334static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
2f91e3df 18336}
7449af73
RD
18337static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18338 return (void *)((wxObject *) ((wxPrintDialogData *) x));
d14a1e28 18339}
7449af73
RD
18340static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18341 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
d14a1e28 18342}
7449af73
RD
18343static void *_p_wxPrinterTo_p_wxObject(void *x) {
18344 return (void *)((wxObject *) ((wxPrinter *) x));
d14a1e28 18345}
7449af73
RD
18346static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 18348}
7449af73
RD
18349static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18350 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 18351}
7449af73
RD
18352static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18353 return (void *)((wxObject *) ((wxHtmlParser *) x));
d14a1e28 18354}
7449af73
RD
18355static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18356 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
d14a1e28 18357}
7449af73
RD
18358static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18359 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
d14a1e28 18360}
7449af73
RD
18361static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18362 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
d14a1e28 18363}
7449af73
RD
18364static void *_p_wxControlTo_p_wxObject(void *x) {
18365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
d14a1e28 18366}
7449af73
RD
18367static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18369}
7449af73
RD
18370static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18371 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
d14a1e28 18372}
7449af73
RD
18373static void *_p_wxColourDataTo_p_wxObject(void *x) {
18374 return (void *)((wxObject *) ((wxColourData *) x));
d14a1e28 18375}
7449af73
RD
18376static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18377 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
d14a1e28 18378}
7449af73
RD
18379static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18380 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
d14a1e28 18381}
7449af73
RD
18382static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18383 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
d14a1e28 18384}
7449af73
RD
18385static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18386 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
d14a1e28 18387}
7449af73
RD
18388static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18389 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
d14a1e28 18390}
7449af73
RD
18391static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18392 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
d14a1e28 18393}
7449af73
RD
18394static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
d14a1e28 18396}
7449af73
RD
18397static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18398 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
d14a1e28 18399}
7449af73
RD
18400static void *_p_wxDateEventTo_p_wxObject(void *x) {
18401 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
d14a1e28 18402}
7449af73
RD
18403static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18404 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
d14a1e28 18405}
7449af73
RD
18406static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18407 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 18408}
7449af73
RD
18409static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18410 return (void *)((wxObject *) ((wxPyPrintout *) x));
d14a1e28 18411}
7449af73
RD
18412static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18414}
7449af73
RD
18415static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18416 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
d14a1e28 18417}
7449af73
RD
18418static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18419 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
d14a1e28 18420}
7449af73
RD
18421static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18422 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
d14a1e28 18423}
7449af73
RD
18424static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18425 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
d14a1e28 18426}
7449af73
RD
18427static void *_p_wxSashEventTo_p_wxObject(void *x) {
18428 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
d14a1e28 18429}
7449af73
RD
18430static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 18432}
7449af73
RD
18433static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 18435}
7449af73
RD
18436static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18437 return (void *)((wxObject *) ((wxPrintData *) x));
d14a1e28 18438}
7449af73
RD
18439static void *_p_wxFontDataTo_p_wxObject(void *x) {
18440 return (void *)((wxObject *) ((wxFontData *) x));
d14a1e28 18441}
7449af73
RD
18442static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18444}
7449af73
RD
18445static void *_p_wxFrameTo_p_wxObject(void *x) {
18446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18447}
7449af73
RD
18448static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18449 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
d14a1e28 18450}
7449af73
RD
18451static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18452 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
d14a1e28 18453}
7449af73
RD
18454static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18456}
7449af73
RD
18457static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18458 return (void *)((wxObject *) ((wxFileSystem *) x));
d14a1e28 18459}
7449af73
RD
18460static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18461 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
d14a1e28 18462}
7449af73
RD
18463static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18464 return (void *)((wxObject *) ((wxPrintPreview *) x));
d14a1e28 18465}
7449af73
RD
18466static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18467 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
d14a1e28 18468}
7449af73
RD
18469static void *_p_wxSizerTo_p_wxObject(void *x) {
18470 return (void *)((wxObject *) ((wxSizer *) x));
d14a1e28 18471}
7449af73
RD
18472static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18473 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
d14a1e28 18474}
7449af73
RD
18475static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18476 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
d14a1e28 18477}
7449af73
RD
18478static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18479 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
d14a1e28 18480}
7449af73
RD
18481static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18482 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
d14a1e28 18483}
7449af73
RD
18484static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18485 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
d14a1e28 18486}
7449af73
RD
18487static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18488 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
d14a1e28 18489}
2131d850
RD
18490static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
18491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
18492}
7449af73
RD
18493static void *_p_wxFSFileTo_p_wxObject(void *x) {
18494 return (void *)((wxObject *) ((wxFSFile *) x));
d14a1e28 18495}
7449af73
RD
18496static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 18498}
7449af73
RD
18499static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18500 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 18501}
7449af73
RD
18502static void *_p_wxMenuTo_p_wxObject(void *x) {
18503 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
c1cb24a4 18504}
7449af73
RD
18505static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18506 return (void *)((wxObject *) ((wxSizerItem *) x));
d14a1e28 18507}
7449af73
RD
18508static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18509 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
d14a1e28 18510}
7449af73
RD
18511static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18512 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28 18513}
7449af73
RD
18514static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18515 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28 18516}
7449af73
RD
18517static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 18519}
7449af73
RD
18520static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
53aa7709 18522}
7449af73
RD
18523static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 18525}
7449af73
RD
18526static void *_p_wxDialogTo_p_wxObject(void *x) {
18527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 18528}
7449af73
RD
18529static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
d14a1e28 18531}
7449af73
RD
18532static void *_p_wxPyEventTo_p_wxObject(void *x) {
18533 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
d14a1e28 18534}
27e45892
RD
18535static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18537}
7449af73
RD
18538static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18539 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 18540}
7449af73
RD
18541static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18542 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
d14a1e28 18543}
7449af73
RD
18544static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18545 return (void *)((wxObject *) ((wxEvtHandler *) x));
d14a1e28 18546}
7449af73
RD
18547static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18548 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
d14a1e28 18549}
7449af73
RD
18550static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18551 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
d14a1e28 18552}
7449af73
RD
18553static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18554 return (void *)((wxObject *) ((wxImageHandler *) x));
d14a1e28 18555}
7449af73
RD
18556static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18557 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
d14a1e28 18558}
7449af73
RD
18559static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18560 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
d14a1e28 18561}
7449af73
RD
18562static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18563 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
d14a1e28 18564}
7449af73
RD
18565static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18566 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
d14a1e28
RD
18567}
18568static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18569 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18570}
7449af73
RD
18571static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18572 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
d14a1e28 18573}
7449af73
RD
18574static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18575 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
d14a1e28 18576}
7449af73
RD
18577static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18578 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
d14a1e28 18579}
7449af73
RD
18580static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18581 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
9d7dfdff 18582}
7449af73
RD
18583static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18584 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
d14a1e28 18585}
7449af73
RD
18586static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
18587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
9d7dfdff 18588}
7449af73
RD
18589static void *_p_wxShowEventTo_p_wxObject(void *x) {
18590 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
d14a1e28 18591}
7449af73
RD
18592static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 18594}
7449af73
RD
18595static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18597}
7449af73
RD
18598static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18600}
7449af73
RD
18601static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 18603}
7449af73
RD
18604static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 18606}
7449af73
RD
18607static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 18609}
7449af73
RD
18610static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
51b83b37 18612}
7449af73
RD
18613static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
d14a1e28 18615}
7449af73
RD
18616static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 18618}
7449af73
RD
18619static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
d14a1e28 18621}
7449af73
RD
18622static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 18624}
7449af73
RD
18625static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 18627}
7449af73
RD
18628static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 18630}
7449af73
RD
18631static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 18633}
7449af73
RD
18634static void *_p_wxWindowTo_p_wxObject(void *x) {
18635 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
d14a1e28 18636}
7449af73
RD
18637static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18638 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
d14a1e28
RD
18639}
18640static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18641 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
18642}
7449af73
RD
18643static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 18645}
7449af73
RD
18646static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18648}
7449af73
RD
18649static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 18651}
27e45892
RD
18652static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
18653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18654}
7449af73
RD
18655static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 18657}
7449af73
RD
18658static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18660}
7449af73
RD
18661static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 18663}
7449af73
RD
18664static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18666}
7449af73
RD
18667static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 18669}
7449af73
RD
18670static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18671 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
41f1cec7 18672}
7449af73
RD
18673static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
d14a1e28 18675}
7449af73
RD
18676static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18677 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
d14a1e28 18678}
7449af73
RD
18679static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18680 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
d14a1e28 18681}
7449af73
RD
18682static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18683 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
d14a1e28 18684}
7449af73
RD
18685static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18686 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
d14a1e28 18687}
7449af73
RD
18688static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18689 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
d14a1e28 18690}
7449af73
RD
18691static void *_p_wxPanelTo_p_wxObject(void *x) {
18692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
d14a1e28 18693}
7449af73
RD
18694static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
18695 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
d14a1e28 18696}
7449af73
RD
18697static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18698 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
d14a1e28 18699}
7449af73
RD
18700static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
18701 return (void *)((wxObject *) ((wxHtmlCell *) x));
d14a1e28 18702}
7449af73
RD
18703static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18704 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
a2482628 18705}
7449af73
RD
18706static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 18708}
7449af73
RD
18709static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18710 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
d14a1e28 18711}
7449af73
RD
18712static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18713 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
d14a1e28 18714}
7449af73
RD
18715static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
18716 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
d14a1e28 18717}
7449af73
RD
18718static void *_p_wxStatusBarTo_p_wxObject(void *x) {
18719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
d14a1e28 18720}
7449af73
RD
18721static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18723}
18724static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18725 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18726}
18727static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18728 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18729}
18730static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
18731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18732}
7449af73
RD
18733static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
18734 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
d14a1e28 18735}
7449af73
RD
18736static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
d14a1e28 18738}
7449af73
RD
18739static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
18740 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18741}
7449af73
RD
18742static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
18743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18744}
7449af73
RD
18745static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
18746 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 18747}
7449af73
RD
18748static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18749 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 18750}
7449af73
RD
18751static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
18752 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 18753}
7449af73
RD
18754static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
18755 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18756}
7449af73
RD
18757static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
18758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 18759}
27e45892
RD
18760static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
18761 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18762}
7449af73
RD
18763static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
18764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 18765}
7449af73
RD
18766static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
18767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18768}
7449af73
RD
18769static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
18770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 18771}
7449af73
RD
18772static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
18773 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18774}
7449af73
RD
18775static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
18776 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 18777}
7449af73
RD
18778static void *_p_wxPanelTo_p_wxWindow(void *x) {
18779 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 18780}
7449af73
RD
18781static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
18782 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 18783}
7449af73
RD
18784static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
18785 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 18786}
7449af73
RD
18787static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
18788 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 18789}
7449af73
RD
18790static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
18791 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 18792}
7449af73
RD
18793static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
18794 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 18795}
7449af73
RD
18796static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
18797 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 18798}
7449af73
RD
18799static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
18800 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 18801}
7449af73
RD
18802static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
18803 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 18804}
7449af73
RD
18805static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
18806 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 18807}
7449af73
RD
18808static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
18809 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 18810}
7449af73
RD
18811static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
18812 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 18813}
7449af73
RD
18814static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
18815 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 18816}
7449af73
RD
18817static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
18818 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18819}
7449af73
RD
18820static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
18821 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18822}
7449af73
RD
18823static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
18824 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 18825}
7449af73
RD
18826static void *_p_wxControlTo_p_wxWindow(void *x) {
18827 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 18828}
7449af73
RD
18829static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
18830 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18831}
7449af73
RD
18832static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
18833 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18834}
7449af73
RD
18835static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
18836 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18837}
7449af73
RD
18838static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18839 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 18840}
7449af73
RD
18841static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
18842 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 18843}
7449af73
RD
18844static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
18845 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18846}
7449af73
RD
18847static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
18848 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 18849}
7449af73
RD
18850static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
18851 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 18852}
7449af73
RD
18853static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
18854 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 18855}
7449af73
RD
18856static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
18857 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 18858}
7449af73
RD
18859static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
18860 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18861}
7449af73
RD
18862static void *_p_wxFrameTo_p_wxWindow(void *x) {
18863 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18864}
7449af73
RD
18865static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
18866 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 18867}
7449af73
RD
18868static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
18869 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 18870}
7449af73
RD
18871static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
18872 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 18873}
7449af73
RD
18874static void *_p_wxDialogTo_p_wxWindow(void *x) {
18875 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
a2482628 18876}
7449af73
RD
18877static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
18878 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18879}
7449af73
RD
18880static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
18881 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18882}
7449af73
RD
18883static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
18884 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18885}
7449af73
RD
18886static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
18887 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18888}
7449af73
RD
18889static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
18890 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18891}
7449af73
RD
18892static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
18893 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18894}
7449af73
RD
18895static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
18896 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18897}
7449af73
RD
18898static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
18899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
d14a1e28 18900}
7449af73
RD
18901static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
18902 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
d14a1e28 18903}
7449af73
RD
18904static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
18905 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
d14a1e28 18906}
7449af73
RD
18907static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
18908 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 18909}
7449af73
RD
18910static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
18911 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18912}
7449af73
RD
18913static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
18914 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18915}
7449af73
RD
18916static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
18917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18918}
7449af73
RD
18919static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
18920 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18921}
7449af73
RD
18922static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
18923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
d14a1e28 18924}
27e45892
RD
18925static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
18926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
18927}
7449af73
RD
18928static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
18929 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 18930}
7449af73
RD
18931static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
18932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18933}
7449af73
RD
18934static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
c1cb24a4 18936}
7449af73
RD
18937static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18938 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18939}
7449af73
RD
18940static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
18941 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
d14a1e28 18942}
27e45892
RD
18943static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
18944 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
18945}
7449af73
RD
18946static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
18947 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 18948}
7449af73
RD
18949static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
18950 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18951}
7449af73
RD
18952static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18953 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18954}
7449af73
RD
18955static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18956 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18957}
7449af73
RD
18958static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
18959 return (void *)((wxDialog *) ((wxColourDialog *) x));
d14a1e28 18960}
7449af73
RD
18961static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
18962 return (void *)((wxDialog *) ((wxDirDialog *) x));
d14a1e28 18963}
7449af73
RD
18964static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
18965 return (void *)((wxDialog *) ((wxFontDialog *) x));
d14a1e28 18966}
7449af73
RD
18967static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
18968 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18969}
7449af73
RD
18970static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
18971 return (void *)((wxDialog *) ((wxFileDialog *) x));
d14a1e28 18972}
7449af73
RD
18973static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
18974 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18975}
7449af73
RD
18976static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
18977 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 18978}
7449af73
RD
18979static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
18980 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18981}
7449af73
RD
18982static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
18983 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
53aa7709 18984}
27e45892
RD
18985static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
18986 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
18987}
7449af73
RD
18988static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
18989 return (void *)((wxDialog *) ((wxMessageDialog *) x));
53aa7709 18990}
7449af73
RD
18991static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
18992 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
53aa7709 18993}
7449af73
RD
18994static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
18995 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
53aa7709 18996}
7449af73
RD
18997static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
18998 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
53aa7709 18999}
7449af73
RD
19000static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
19001 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
53aa7709 19002}
7449af73
RD
19003static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
19004 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
53aa7709 19005}
7449af73
RD
19006static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
19007 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
53aa7709 19008}
7449af73
RD
19009static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
19010 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
53aa7709 19011}
7449af73
RD
19012static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
19013 return (void *)((wxPanel *) ((wxPyPanel *) x));
53aa7709 19014}
7449af73
RD
19015static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
19016 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
53aa7709 19017}
7449af73
RD
19018static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
19019 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
53aa7709 19020}
7449af73
RD
19021static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
19022 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
53aa7709 19023}
7449af73
RD
19024static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19025 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 19026}
7449af73
RD
19027static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19028 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
19029}
2131d850
RD
19030static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19031 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
7449af73 19032}
2131d850
RD
19033static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19034 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
7449af73 19035}
2131d850
RD
19036static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19037 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
7449af73 19038}
2131d850
RD
19039static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
19040 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
7449af73 19041}
2131d850
RD
19042static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19043 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
7449af73 19044}
2131d850
RD
19045static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19046 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
7449af73
RD
19047}
19048static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19049 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19050}
2131d850
RD
19051static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19052 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19053}
19054static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19055 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19056}
19057static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19058 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
7449af73
RD
19059}
19060static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19061 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19062}
2131d850
RD
19063static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
19064 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
7449af73 19065}
2131d850
RD
19066static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19067 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19068}
19069static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19070 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
7449af73 19071}
554f62e9
RD
19072static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19073static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19074static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
704eda0c 19075static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
554f62e9
RD
19076static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19077static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19078static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
704eda0c 19079static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
554f62e9
RD
19080static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19081static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19082static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19083static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19084static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19085static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
2131d850 19086static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9
RD
19087static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19088static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19089static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19090static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
554f62e9 19091static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
2131d850 19092static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
554f62e9
RD
19093static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19094static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19095static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19096static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19097static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19098static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19099static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19100static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19101static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19102static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19103static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19104static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19105static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19106static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19107static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
27e45892 19108static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
554f62e9
RD
19109static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19110static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19111static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19112static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19113static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19114static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19115static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19116static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19117static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19118static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19119static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19120static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19121static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19122static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19123static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19124static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19125static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19126static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19127static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19128static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19129static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19130static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19131static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19132static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
554f62e9 19133static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
2131d850 19134static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
554f62e9
RD
19135static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19136static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19137static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19138static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19139static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19140static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19141static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19142static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19143static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19144static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19145static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19146static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19147static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19148static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19149static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19150static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19151static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19152static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19153static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19154static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19155static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19156static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19157static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19158static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19159static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19160static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19161static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19162static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19163static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19164static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19165static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19166static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19167static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19168static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19169static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19170static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19171static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19172static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19173static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19174static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19175static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19176static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19177static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19178static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19179static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19180static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19181static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19182static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19183static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19184static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19185static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19186static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19187static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19188static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19189static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19190static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19191static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19192static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19193static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19194static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19195static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19196static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19197static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19198static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19199static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19200static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19201static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19202static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19203static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19204static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19205static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19206static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19207static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19208static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
e9d6f3a4 19209static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
554f62e9
RD
19210static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19211static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19212static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19213static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19214static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19215static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19216static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19217static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19218static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19219static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19220static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19221static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
19222static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19223static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19224static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19225static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19226static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19227static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19228static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19229static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19230static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19231static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19232static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
19233static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19234static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19235static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
19236static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19237static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19238static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19239static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19240static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19241static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19242static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19243static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19244static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19245static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19246static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19247static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19248static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19249static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19250static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19251static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19252static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19253static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19254static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19255static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19256static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19257static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19258static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19259static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19260static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19261static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19262static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19263static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19264static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19265static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19266static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19267static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
554f62e9
RD
19268static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19269static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
19270
19271static swig_type_info *swig_type_initial[] = {
19272 &_swigt__p_bool,
19273 &_swigt__p_char,
19274 &_swigt__p_form_ops_t,
19275 &_swigt__p_int,
19276 &_swigt__p_unsigned_char,
19277 &_swigt__p_unsigned_int,
19278 &_swigt__p_unsigned_long,
19279 &_swigt__p_wxANIHandler,
19280 &_swigt__p_wxAcceleratorTable,
19281 &_swigt__p_wxActivateEvent,
704eda0c 19282 &_swigt__p_wxArrayInt,
7449af73
RD
19283 &_swigt__p_wxBMPHandler,
19284 &_swigt__p_wxBitmap,
19285 &_swigt__p_wxBoxSizer,
19286 &_swigt__p_wxCURHandler,
19287 &_swigt__p_wxCalculateLayoutEvent,
19288 &_swigt__p_wxChildFocusEvent,
2131d850 19289 &_swigt__p_wxClipboardTextEvent,
7449af73
RD
19290 &_swigt__p_wxCloseEvent,
19291 &_swigt__p_wxColour,
19292 &_swigt__p_wxColourData,
19293 &_swigt__p_wxColourDialog,
19294 &_swigt__p_wxCommandEvent,
19295 &_swigt__p_wxConfigBase,
19296 &_swigt__p_wxContextMenuEvent,
19297 &_swigt__p_wxControl,
19298 &_swigt__p_wxControlWithItems,
19299 &_swigt__p_wxCursor,
19300 &_swigt__p_wxDC,
19301 &_swigt__p_wxDateEvent,
19302 &_swigt__p_wxDefaultHtmlRenderingStyle,
19303 &_swigt__p_wxDialog,
19304 &_swigt__p_wxDirDialog,
19305 &_swigt__p_wxDisplayChangedEvent,
19306 &_swigt__p_wxDropFilesEvent,
19307 &_swigt__p_wxDuplexMode,
19308 &_swigt__p_wxEraseEvent,
19309 &_swigt__p_wxEvent,
19310 &_swigt__p_wxEvtHandler,
19311 &_swigt__p_wxFSFile,
19312 &_swigt__p_wxFileDialog,
19313 &_swigt__p_wxFileSystem,
19314 &_swigt__p_wxFindDialogEvent,
19315 &_swigt__p_wxFindReplaceData,
19316 &_swigt__p_wxFindReplaceDialog,
19317 &_swigt__p_wxFlexGridSizer,
19318 &_swigt__p_wxFocusEvent,
19319 &_swigt__p_wxFont,
19320 &_swigt__p_wxFontData,
19321 &_swigt__p_wxFontDialog,
19322 &_swigt__p_wxFrame,
19323 &_swigt__p_wxGBSizerItem,
19324 &_swigt__p_wxGIFHandler,
19325 &_swigt__p_wxGridBagSizer,
19326 &_swigt__p_wxGridSizer,
19327 &_swigt__p_wxHelpControllerBase,
19328 &_swigt__p_wxHelpSearchMode,
19329 &_swigt__p_wxHtmlBookRecArray,
19330 &_swigt__p_wxHtmlBookRecord,
19331 &_swigt__p_wxHtmlCell,
19332 &_swigt__p_wxHtmlColourCell,
19333 &_swigt__p_wxHtmlContainerCell,
19334 &_swigt__p_wxHtmlDCRenderer,
19335 &_swigt__p_wxHtmlEasyPrinting,
19336 &_swigt__p_wxHtmlFilter,
19337 &_swigt__p_wxHtmlFontCell,
19338 &_swigt__p_wxHtmlHelpController,
19339 &_swigt__p_wxHtmlHelpData,
19340 &_swigt__p_wxHtmlHelpDialog,
19341 &_swigt__p_wxHtmlHelpFrame,
19342 &_swigt__p_wxHtmlHelpFrameCfg,
19343 &_swigt__p_wxHtmlHelpWindow,
19344 &_swigt__p_wxHtmlLinkInfo,
19345 &_swigt__p_wxHtmlModalHelp,
19346 &_swigt__p_wxHtmlParser,
19347 &_swigt__p_wxHtmlPrintout,
19348 &_swigt__p_wxHtmlRenderingInfo,
19349 &_swigt__p_wxHtmlRenderingState,
19350 &_swigt__p_wxHtmlRenderingStyle,
19351 &_swigt__p_wxHtmlSearchStatus,
19352 &_swigt__p_wxHtmlSelection,
19353 &_swigt__p_wxHtmlTag,
19354 &_swigt__p_wxHtmlTagHandler,
19355 &_swigt__p_wxHtmlWidgetCell,
19356 &_swigt__p_wxHtmlWinParser,
19357 &_swigt__p_wxHtmlWindow,
19358 &_swigt__p_wxHtmlWindowEvent,
e9d6f3a4 19359 &_swigt__p_wxHtmlWindowInterface,
7449af73
RD
19360 &_swigt__p_wxHtmlWordCell,
19361 &_swigt__p_wxICOHandler,
19362 &_swigt__p_wxIconizeEvent,
19363 &_swigt__p_wxIdleEvent,
19364 &_swigt__p_wxImage,
19365 &_swigt__p_wxImageHandler,
19366 &_swigt__p_wxIndividualLayoutConstraint,
19367 &_swigt__p_wxInitDialogEvent,
19368 &_swigt__p_wxJPEGHandler,
19369 &_swigt__p_wxKeyEvent,
19370 &_swigt__p_wxLayoutAlgorithm,
19371 &_swigt__p_wxLayoutConstraints,
19372 &_swigt__p_wxMDIChildFrame,
19373 &_swigt__p_wxMDIClientWindow,
19374 &_swigt__p_wxMDIParentFrame,
19375 &_swigt__p_wxMaximizeEvent,
19376 &_swigt__p_wxMenu,
19377 &_swigt__p_wxMenuBar,
19378 &_swigt__p_wxMenuEvent,
19379 &_swigt__p_wxMenuItem,
19380 &_swigt__p_wxMessageDialog,
19381 &_swigt__p_wxMiniFrame,
19382 &_swigt__p_wxMouseCaptureChangedEvent,
19383 &_swigt__p_wxMouseEvent,
19384 &_swigt__p_wxMoveEvent,
19385 &_swigt__p_wxMultiChoiceDialog,
19386 &_swigt__p_wxNavigationKeyEvent,
19387 &_swigt__p_wxNcPaintEvent,
19388 &_swigt__p_wxNotifyEvent,
27e45892 19389 &_swigt__p_wxNumberEntryDialog,
7449af73
RD
19390 &_swigt__p_wxObject,
19391 &_swigt__p_wxPCXHandler,
19392 &_swigt__p_wxPNGHandler,
19393 &_swigt__p_wxPNMHandler,
19394 &_swigt__p_wxPageSetupDialog,
19395 &_swigt__p_wxPageSetupDialogData,
19396 &_swigt__p_wxPaintEvent,
19397 &_swigt__p_wxPaletteChangedEvent,
19398 &_swigt__p_wxPanel,
19399 &_swigt__p_wxPaperSize,
19400 &_swigt__p_wxPasswordEntryDialog,
19401 &_swigt__p_wxPoint,
19402 &_swigt__p_wxPopupWindow,
19403 &_swigt__p_wxPreviewCanvas,
19404 &_swigt__p_wxPreviewControlBar,
19405 &_swigt__p_wxPreviewFrame,
19406 &_swigt__p_wxPrintData,
19407 &_swigt__p_wxPrintDialog,
19408 &_swigt__p_wxPrintDialogData,
19409 &_swigt__p_wxPrintPreview,
19410 &_swigt__p_wxPrinter,
19411 &_swigt__p_wxProgressDialog,
19412 &_swigt__p_wxPyApp,
19413 &_swigt__p_wxPyCommandEvent,
19414 &_swigt__p_wxPyEvent,
19415 &_swigt__p_wxPyHtmlFilter,
19416 &_swigt__p_wxPyHtmlListBox,
19417 &_swigt__p_wxPyHtmlTagHandler,
19418 &_swigt__p_wxPyHtmlWinTagHandler,
19419 &_swigt__p_wxPyHtmlWindow,
19420 &_swigt__p_wxPyImageHandler,
19421 &_swigt__p_wxPyPanel,
19422 &_swigt__p_wxPyPopupTransientWindow,
19423 &_swigt__p_wxPyPreviewControlBar,
19424 &_swigt__p_wxPyPreviewFrame,
19425 &_swigt__p_wxPyPrintPreview,
19426 &_swigt__p_wxPyPrintout,
19427 &_swigt__p_wxPyScrolledWindow,
19428 &_swigt__p_wxPySizer,
19429 &_swigt__p_wxPyTaskBarIcon,
19430 &_swigt__p_wxPyVListBox,
19431 &_swigt__p_wxPyVScrolledWindow,
19432 &_swigt__p_wxPyValidator,
19433 &_swigt__p_wxPyWindow,
19434 &_swigt__p_wxQueryLayoutInfoEvent,
19435 &_swigt__p_wxQueryNewPaletteEvent,
19436 &_swigt__p_wxSashEvent,
19437 &_swigt__p_wxSashLayoutWindow,
19438 &_swigt__p_wxSashWindow,
19439 &_swigt__p_wxScrollEvent,
19440 &_swigt__p_wxScrollWinEvent,
19441 &_swigt__p_wxScrolledWindow,
19442 &_swigt__p_wxSetCursorEvent,
19443 &_swigt__p_wxShowEvent,
19444 &_swigt__p_wxSingleChoiceDialog,
19445 &_swigt__p_wxSize,
19446 &_swigt__p_wxSizeEvent,
19447 &_swigt__p_wxSizer,
19448 &_swigt__p_wxSizerItem,
19449 &_swigt__p_wxSplashScreen,
19450 &_swigt__p_wxSplashScreenWindow,
19451 &_swigt__p_wxSplitterEvent,
19452 &_swigt__p_wxSplitterWindow,
19453 &_swigt__p_wxStaticBoxSizer,
19454 &_swigt__p_wxStatusBar,
19455 &_swigt__p_wxStdDialogButtonSizer,
19456 &_swigt__p_wxString,
19457 &_swigt__p_wxSysColourChangedEvent,
19458 &_swigt__p_wxTIFFHandler,
19459 &_swigt__p_wxTaskBarIconEvent,
19460 &_swigt__p_wxTextEntryDialog,
19461 &_swigt__p_wxTipWindow,
19462 &_swigt__p_wxTopLevelWindow,
7449af73
RD
19463 &_swigt__p_wxUpdateUIEvent,
19464 &_swigt__p_wxValidator,
19465 &_swigt__p_wxVisualAttributes,
19466 &_swigt__p_wxWindow,
19467 &_swigt__p_wxWindowCreateEvent,
19468 &_swigt__p_wxWindowDestroyEvent,
19469 &_swigt__p_wxXPMHandler,
7449af73
RD
19470};
19471
19472static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
19473static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19474static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19475static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19476static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19477static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19478static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 19479static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19480static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19481static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19482static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19483static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19484static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19485static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19486static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19487static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19488static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19489static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 19490static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19491static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19492static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19493static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19494static 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}};
7449af73
RD
19495static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19496static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19497static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19498static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19499static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19500static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19501static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19502static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19503static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19504static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19505static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19506static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19507static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19508static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19509static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19510static 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}};
7449af73
RD
19511static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19512static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19513static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19514static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19515static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19516static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19517static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19518static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19519static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19520static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19521static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19522static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19523static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19524static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19525static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19526static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19527static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19528static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19529static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19530static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19531static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 19532static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19533static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19534static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19535static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19536static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19537static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19538static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19539static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19540static 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}};
7449af73
RD
19541static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19542static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19543static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
19544static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19545static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19546static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19547static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19548static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19549static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19550static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19551static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19552static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19553static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19554static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19555static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19556static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19557static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
19558static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19559static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19560static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19561static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19562static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19563static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19564static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19565static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
19566static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19567static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19568static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19569static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19570static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19571static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19572static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19573static 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}};
7449af73
RD
19574static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19575static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19576static 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}};
19577static 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}};
19578static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19579static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19580static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19581static 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}};
19582static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19583static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19584static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19585static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19586static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19587static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19588static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19589static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19590static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19591static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19592static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19593static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
19594static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19595static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19596static 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}};
19597static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19598static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19599static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19600static 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}};
19601static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19602static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19603static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19604static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19605static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19606static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
19607static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19608static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 19609static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19610static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19611static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19612static 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}};
19613static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19614static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19615static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19616static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19617static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19618static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19619static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19620static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
19621static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19622static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19623static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19624static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19625static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19626static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19627static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19628static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19629static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
19630static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19631static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
19632static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19633static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19634static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
19635static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19636static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19637static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19638static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
19639static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19640static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19641static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19642static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19643static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19644static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19645static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19646static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19647static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19648static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19649static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19650static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19651static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19652static 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}};
7449af73
RD
19653static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
19654static 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}};
19655static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19656static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19657static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19658static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19659static 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}};
19660static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19661static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19662static 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}};
19663static 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}};
19664static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
19665static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19666static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19667static 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}};
7449af73 19668static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19669static 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}};
7449af73
RD
19670
19671static swig_cast_info *swig_cast_initial[] = {
19672 _swigc__p_bool,
19673 _swigc__p_char,
19674 _swigc__p_form_ops_t,
19675 _swigc__p_int,
19676 _swigc__p_unsigned_char,
19677 _swigc__p_unsigned_int,
19678 _swigc__p_unsigned_long,
19679 _swigc__p_wxANIHandler,
19680 _swigc__p_wxAcceleratorTable,
19681 _swigc__p_wxActivateEvent,
704eda0c 19682 _swigc__p_wxArrayInt,
7449af73
RD
19683 _swigc__p_wxBMPHandler,
19684 _swigc__p_wxBitmap,
19685 _swigc__p_wxBoxSizer,
19686 _swigc__p_wxCURHandler,
19687 _swigc__p_wxCalculateLayoutEvent,
19688 _swigc__p_wxChildFocusEvent,
2131d850 19689 _swigc__p_wxClipboardTextEvent,
7449af73
RD
19690 _swigc__p_wxCloseEvent,
19691 _swigc__p_wxColour,
19692 _swigc__p_wxColourData,
19693 _swigc__p_wxColourDialog,
19694 _swigc__p_wxCommandEvent,
19695 _swigc__p_wxConfigBase,
19696 _swigc__p_wxContextMenuEvent,
19697 _swigc__p_wxControl,
19698 _swigc__p_wxControlWithItems,
19699 _swigc__p_wxCursor,
19700 _swigc__p_wxDC,
19701 _swigc__p_wxDateEvent,
19702 _swigc__p_wxDefaultHtmlRenderingStyle,
19703 _swigc__p_wxDialog,
19704 _swigc__p_wxDirDialog,
19705 _swigc__p_wxDisplayChangedEvent,
19706 _swigc__p_wxDropFilesEvent,
19707 _swigc__p_wxDuplexMode,
19708 _swigc__p_wxEraseEvent,
19709 _swigc__p_wxEvent,
19710 _swigc__p_wxEvtHandler,
19711 _swigc__p_wxFSFile,
19712 _swigc__p_wxFileDialog,
19713 _swigc__p_wxFileSystem,
19714 _swigc__p_wxFindDialogEvent,
19715 _swigc__p_wxFindReplaceData,
19716 _swigc__p_wxFindReplaceDialog,
19717 _swigc__p_wxFlexGridSizer,
19718 _swigc__p_wxFocusEvent,
19719 _swigc__p_wxFont,
19720 _swigc__p_wxFontData,
19721 _swigc__p_wxFontDialog,
19722 _swigc__p_wxFrame,
19723 _swigc__p_wxGBSizerItem,
19724 _swigc__p_wxGIFHandler,
19725 _swigc__p_wxGridBagSizer,
19726 _swigc__p_wxGridSizer,
19727 _swigc__p_wxHelpControllerBase,
19728 _swigc__p_wxHelpSearchMode,
19729 _swigc__p_wxHtmlBookRecArray,
19730 _swigc__p_wxHtmlBookRecord,
19731 _swigc__p_wxHtmlCell,
19732 _swigc__p_wxHtmlColourCell,
19733 _swigc__p_wxHtmlContainerCell,
19734 _swigc__p_wxHtmlDCRenderer,
19735 _swigc__p_wxHtmlEasyPrinting,
19736 _swigc__p_wxHtmlFilter,
19737 _swigc__p_wxHtmlFontCell,
19738 _swigc__p_wxHtmlHelpController,
19739 _swigc__p_wxHtmlHelpData,
19740 _swigc__p_wxHtmlHelpDialog,
19741 _swigc__p_wxHtmlHelpFrame,
19742 _swigc__p_wxHtmlHelpFrameCfg,
19743 _swigc__p_wxHtmlHelpWindow,
19744 _swigc__p_wxHtmlLinkInfo,
19745 _swigc__p_wxHtmlModalHelp,
19746 _swigc__p_wxHtmlParser,
19747 _swigc__p_wxHtmlPrintout,
19748 _swigc__p_wxHtmlRenderingInfo,
19749 _swigc__p_wxHtmlRenderingState,
19750 _swigc__p_wxHtmlRenderingStyle,
19751 _swigc__p_wxHtmlSearchStatus,
19752 _swigc__p_wxHtmlSelection,
19753 _swigc__p_wxHtmlTag,
19754 _swigc__p_wxHtmlTagHandler,
19755 _swigc__p_wxHtmlWidgetCell,
19756 _swigc__p_wxHtmlWinParser,
19757 _swigc__p_wxHtmlWindow,
19758 _swigc__p_wxHtmlWindowEvent,
e9d6f3a4 19759 _swigc__p_wxHtmlWindowInterface,
7449af73
RD
19760 _swigc__p_wxHtmlWordCell,
19761 _swigc__p_wxICOHandler,
19762 _swigc__p_wxIconizeEvent,
19763 _swigc__p_wxIdleEvent,
19764 _swigc__p_wxImage,
19765 _swigc__p_wxImageHandler,
19766 _swigc__p_wxIndividualLayoutConstraint,
19767 _swigc__p_wxInitDialogEvent,
19768 _swigc__p_wxJPEGHandler,
19769 _swigc__p_wxKeyEvent,
19770 _swigc__p_wxLayoutAlgorithm,
19771 _swigc__p_wxLayoutConstraints,
19772 _swigc__p_wxMDIChildFrame,
19773 _swigc__p_wxMDIClientWindow,
19774 _swigc__p_wxMDIParentFrame,
19775 _swigc__p_wxMaximizeEvent,
19776 _swigc__p_wxMenu,
19777 _swigc__p_wxMenuBar,
19778 _swigc__p_wxMenuEvent,
19779 _swigc__p_wxMenuItem,
19780 _swigc__p_wxMessageDialog,
19781 _swigc__p_wxMiniFrame,
19782 _swigc__p_wxMouseCaptureChangedEvent,
19783 _swigc__p_wxMouseEvent,
19784 _swigc__p_wxMoveEvent,
19785 _swigc__p_wxMultiChoiceDialog,
19786 _swigc__p_wxNavigationKeyEvent,
19787 _swigc__p_wxNcPaintEvent,
19788 _swigc__p_wxNotifyEvent,
27e45892 19789 _swigc__p_wxNumberEntryDialog,
7449af73
RD
19790 _swigc__p_wxObject,
19791 _swigc__p_wxPCXHandler,
19792 _swigc__p_wxPNGHandler,
19793 _swigc__p_wxPNMHandler,
19794 _swigc__p_wxPageSetupDialog,
19795 _swigc__p_wxPageSetupDialogData,
19796 _swigc__p_wxPaintEvent,
19797 _swigc__p_wxPaletteChangedEvent,
19798 _swigc__p_wxPanel,
19799 _swigc__p_wxPaperSize,
19800 _swigc__p_wxPasswordEntryDialog,
19801 _swigc__p_wxPoint,
19802 _swigc__p_wxPopupWindow,
19803 _swigc__p_wxPreviewCanvas,
19804 _swigc__p_wxPreviewControlBar,
19805 _swigc__p_wxPreviewFrame,
19806 _swigc__p_wxPrintData,
19807 _swigc__p_wxPrintDialog,
19808 _swigc__p_wxPrintDialogData,
19809 _swigc__p_wxPrintPreview,
19810 _swigc__p_wxPrinter,
19811 _swigc__p_wxProgressDialog,
19812 _swigc__p_wxPyApp,
19813 _swigc__p_wxPyCommandEvent,
19814 _swigc__p_wxPyEvent,
19815 _swigc__p_wxPyHtmlFilter,
19816 _swigc__p_wxPyHtmlListBox,
19817 _swigc__p_wxPyHtmlTagHandler,
19818 _swigc__p_wxPyHtmlWinTagHandler,
19819 _swigc__p_wxPyHtmlWindow,
19820 _swigc__p_wxPyImageHandler,
19821 _swigc__p_wxPyPanel,
19822 _swigc__p_wxPyPopupTransientWindow,
19823 _swigc__p_wxPyPreviewControlBar,
19824 _swigc__p_wxPyPreviewFrame,
19825 _swigc__p_wxPyPrintPreview,
19826 _swigc__p_wxPyPrintout,
19827 _swigc__p_wxPyScrolledWindow,
19828 _swigc__p_wxPySizer,
19829 _swigc__p_wxPyTaskBarIcon,
19830 _swigc__p_wxPyVListBox,
19831 _swigc__p_wxPyVScrolledWindow,
19832 _swigc__p_wxPyValidator,
19833 _swigc__p_wxPyWindow,
19834 _swigc__p_wxQueryLayoutInfoEvent,
19835 _swigc__p_wxQueryNewPaletteEvent,
19836 _swigc__p_wxSashEvent,
19837 _swigc__p_wxSashLayoutWindow,
19838 _swigc__p_wxSashWindow,
19839 _swigc__p_wxScrollEvent,
19840 _swigc__p_wxScrollWinEvent,
19841 _swigc__p_wxScrolledWindow,
19842 _swigc__p_wxSetCursorEvent,
19843 _swigc__p_wxShowEvent,
19844 _swigc__p_wxSingleChoiceDialog,
19845 _swigc__p_wxSize,
19846 _swigc__p_wxSizeEvent,
19847 _swigc__p_wxSizer,
19848 _swigc__p_wxSizerItem,
19849 _swigc__p_wxSplashScreen,
19850 _swigc__p_wxSplashScreenWindow,
19851 _swigc__p_wxSplitterEvent,
19852 _swigc__p_wxSplitterWindow,
19853 _swigc__p_wxStaticBoxSizer,
19854 _swigc__p_wxStatusBar,
19855 _swigc__p_wxStdDialogButtonSizer,
19856 _swigc__p_wxString,
19857 _swigc__p_wxSysColourChangedEvent,
19858 _swigc__p_wxTIFFHandler,
19859 _swigc__p_wxTaskBarIconEvent,
19860 _swigc__p_wxTextEntryDialog,
19861 _swigc__p_wxTipWindow,
19862 _swigc__p_wxTopLevelWindow,
7449af73
RD
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,
d14a1e28
RD
19870};
19871
19872
19873/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19874
19875static swig_const_info swig_const_table[] = {
c32bde28 19876{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
19877
19878#ifdef __cplusplus
19879}
19880#endif
554f62e9 19881/* -----------------------------------------------------------------------------
7449af73
RD
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.
554f62e9 19893 *
7449af73
RD
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.
554f62e9 19907 *
7449af73
RD
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.
554f62e9 19920 * ----------------------------------------------------------------------------- */
7449af73
RD
19921
19922#ifdef __cplusplus
19923extern "C" {
19924#if 0
19925} /* c-mode */
19926#endif
19927#endif
19928
19929#if 0
19930#define SWIGRUNTIME_DEBUG
19931#endif
19932
19933SWIGRUNTIME void
19934SWIG_InitializeModule(void *clientdata) {
554f62e9
RD
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 */
7449af73 19960#ifdef SWIGRUNTIME_DEBUG
554f62e9 19961 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
7449af73 19962#endif
554f62e9
RD
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
7449af73 19968#ifdef SWIGRUNTIME_DEBUG
554f62e9 19969 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
7449af73 19970#endif
554f62e9
RD
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 */
7449af73 19978#ifdef SWIGRUNTIME_DEBUG
554f62e9 19979 printf("SWIG_InitializeModule: found type %s\n", type->name);
7449af73 19980#endif
554f62e9
RD
19981 if (swig_module.type_initial[i]->clientdata) {
19982 type->clientdata = swig_module.type_initial[i]->clientdata;
7449af73 19983#ifdef SWIGRUNTIME_DEBUG
554f62e9 19984 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
7449af73 19985#endif
554f62e9
RD
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;
7449af73 19996#ifdef SWIGRUNTIME_DEBUG
554f62e9 19997 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
7449af73 19998#endif
554f62e9
RD
19999 if (swig_module.next != &swig_module) {
20000 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
7449af73 20001#ifdef SWIGRUNTIME_DEBUG
554f62e9 20002 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
7449af73 20003#endif
554f62e9
RD
20004 }
20005 if (ret) {
20006 if (type == swig_module.type_initial[i]) {
7449af73 20007#ifdef SWIGRUNTIME_DEBUG
554f62e9 20008 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
7449af73 20009#endif
554f62e9
RD
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);
7449af73 20015#ifdef SWIGRUNTIME_DEBUG
554f62e9 20016 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
7449af73 20017#endif
554f62e9
RD
20018 if (!ocast) ret = 0;
20019 }
20020 }
20021
20022 if (!ret) {
7449af73 20023#ifdef SWIGRUNTIME_DEBUG
554f62e9 20024 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
7449af73 20025#endif
554f62e9
RD
20026 if (type->cast) {
20027 type->cast->prev = cast;
20028 cast->next = type->cast;
7449af73 20029 }
554f62e9
RD
20030 type->cast = cast;
20031 }
20032 cast++;
7449af73 20033 }
554f62e9
RD
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
7449af73 20039#ifdef SWIGRUNTIME_DEBUG
554f62e9
RD
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");
7449af73
RD
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*/
20061SWIGRUNTIME void
20062SWIG_PropagateClientData(void) {
554f62e9
RD
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);
7449af73 20077 }
554f62e9
RD
20078 equiv = equiv->next;
20079 }
7449af73 20080 }
554f62e9 20081 }
7449af73
RD
20082}
20083
20084#ifdef __cplusplus
20085#if 0
20086{
554f62e9 20087 /* c-mode */
7449af73
RD
20088#endif
20089}
20090#endif
20091
d14a1e28 20092
093d3ff1
RD
20093
20094#ifdef __cplusplus
20095extern "C" {
20096#endif
554f62e9
RD
20097
20098 /* Python-specific SWIG API */
093d3ff1
RD
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)
554f62e9
RD
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;
093d3ff1 20153 }
554f62e9
RD
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;
093d3ff1 20166 }
554f62e9
RD
20167 if (res == NULL && !PyErr_Occurred()) {
20168 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 20169 }
554f62e9
RD
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;
093d3ff1 20183 }
554f62e9
RD
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 */
093d3ff1 20224#if PY_VERSION_HEX >= 0x02020000
554f62e9 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 */
093d3ff1
RD
20226#endif
20227#if PY_VERSION_HEX >= 0x02030000
554f62e9 20228 0, /* tp_del */
093d3ff1
RD
20229#endif
20230#ifdef COUNT_ALLOCS
554f62e9 20231 0,0,0,0 /* tp_alloc -> tp_next */
7449af73 20232#endif
554f62e9
RD
20233 };
20234 varlink_type = tmp;
20235 varlink_type.ob_type = &PyType_Type;
20236 type_init = 1;
7449af73 20237 }
554f62e9
RD
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 }
093d3ff1 20264 }
554f62e9
RD
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 }
093d3ff1 20300 }
554f62e9
RD
20301 }
20302
20303 /* -----------------------------------------------------------------------------*/
20304 /* Fix SwigMethods to carry the callback ptrs when needed */
20305 /* -----------------------------------------------------------------------------*/
20306
20307 SWIGINTERN void
20308 SWIG_Python_FixMethods(PyMethodDef *methods,
093d3ff1
RD
20309 swig_const_info *const_table,
20310 swig_type_info **types,
20311 swig_type_info **types_initial) {
554f62e9
RD
20312 size_t i;
20313 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 20314 const char *c = methods[i].ml_doc;
554f62e9
RD
20315 if (c && (c = strstr(c, "swig_ptr: "))) {
20316 int j;
20317 swig_const_info *ci = 0;
453fb36b 20318 const char *name = c + 10;
554f62e9
RD
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;
093d3ff1 20342 }
554f62e9 20343 }
093d3ff1 20344 }
554f62e9 20345 }
093d3ff1 20346 }
554f62e9
RD
20347 }
20348
093d3ff1
RD
20349#ifdef __cplusplus
20350}
20351#endif
20352
20353/* -----------------------------------------------------------------------------*
20354 * Partial Init method
20355 * -----------------------------------------------------------------------------*/
20356
d14a1e28
RD
20357#ifdef __cplusplus
20358extern "C"
20359#endif
7449af73 20360SWIGEXPORT void SWIG_init(void) {
554f62e9
RD
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)));
e9d6f3a4
RD
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)));
554f62e9
RD
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
d14a1e28
RD
20476}
20477